From c37e977b4f8abc56d0b3a5a48bd10a1013536d29 Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Fri, 6 Nov 2020 17:49:51 +0800 Subject: [PATCH 01/30] add storagepool --- src/storagepool/HISTORY.rst | 8 + src/storagepool/README.md | 65 ++ src/storagepool/azext_storagepool/__init__.py | 50 + src/storagepool/azext_storagepool/action.py | 17 + .../azext_storagepool/azext_metadata.json | 4 + src/storagepool/azext_storagepool/custom.py | 17 + .../azext_storagepool/generated/__init__.py | 12 + .../generated/_client_factory.py | 24 + .../azext_storagepool/generated/_help.py | 205 +++++ .../azext_storagepool/generated/_params.py | 112 +++ .../generated/_validators.py | 9 + .../azext_storagepool/generated/action.py | 66 ++ .../azext_storagepool/generated/commands.py | 44 + .../azext_storagepool/generated/custom.py | 137 +++ .../azext_storagepool/manual/__init__.py | 12 + .../azext_storagepool/tests/__init__.py | 114 +++ .../tests/latest/__init__.py | 12 + .../tests/latest/preparers.py | 159 ++++ .../tests/latest/test_storagepool_scenario.py | 216 +++++ .../vendored_sdks/__init__.py | 12 + .../vendored_sdks/storagepool/__init__.py | 16 + .../storagepool/_configuration.py | 70 ++ .../storagepool/_storage_pool_management.py | 80 ++ .../vendored_sdks/storagepool/aio/__init__.py | 10 + .../storagepool/aio/_configuration.py | 66 ++ .../aio/_storage_pool_management.py | 74 ++ .../storagepool/aio/operations/__init__.py | 17 + .../aio/operations/_disk_pool_operations.py | 590 ++++++++++++ .../aio/operations/_disk_pools_operations.py | 546 +++++++++++ .../operations/_iscsi_target_operations.py | 442 +++++++++ .../operations/_iscsi_targets_operations.py | 434 +++++++++ .../aio/operations/_operation_operations.py | 105 +++ .../storagepool/aio/operations/_operations.py | 105 +++ .../storagepool/models/__init__.py | 82 ++ .../storagepool/models/_models.py | 800 ++++++++++++++++ .../storagepool/models/_models_py3.py | 867 ++++++++++++++++++ .../models/_storage_pool_management_enums.py | 59 ++ .../storagepool/operations/__init__.py | 17 + .../operations/_disk_pool_operations.py | 602 ++++++++++++ .../operations/_disk_pools_operations.py | 558 +++++++++++ .../operations/_iscsi_target_operations.py | 452 +++++++++ .../operations/_iscsi_targets_operations.py | 444 +++++++++ .../operations/_operation_operations.py | 110 +++ .../storagepool/operations/_operations.py | 110 +++ .../vendored_sdks/storagepool/py.typed | 1 + src/storagepool/gen.zip | Bin 0 -> 8632 bytes src/storagepool/report.md | 199 ++++ src/storagepool/setup.cfg | 1 + src/storagepool/setup.py | 58 ++ 49 files changed, 8210 insertions(+) create mode 100644 src/storagepool/HISTORY.rst create mode 100644 src/storagepool/README.md create mode 100644 src/storagepool/azext_storagepool/__init__.py create mode 100644 src/storagepool/azext_storagepool/action.py create mode 100644 src/storagepool/azext_storagepool/azext_metadata.json create mode 100644 src/storagepool/azext_storagepool/custom.py create mode 100644 src/storagepool/azext_storagepool/generated/__init__.py create mode 100644 src/storagepool/azext_storagepool/generated/_client_factory.py create mode 100644 src/storagepool/azext_storagepool/generated/_help.py create mode 100644 src/storagepool/azext_storagepool/generated/_params.py create mode 100644 src/storagepool/azext_storagepool/generated/_validators.py create mode 100644 src/storagepool/azext_storagepool/generated/action.py create mode 100644 src/storagepool/azext_storagepool/generated/commands.py create mode 100644 src/storagepool/azext_storagepool/generated/custom.py create mode 100644 src/storagepool/azext_storagepool/manual/__init__.py create mode 100644 src/storagepool/azext_storagepool/tests/__init__.py create mode 100644 src/storagepool/azext_storagepool/tests/latest/__init__.py create mode 100644 src/storagepool/azext_storagepool/tests/latest/preparers.py create mode 100644 src/storagepool/azext_storagepool/tests/latest/test_storagepool_scenario.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/__init__.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/__init__.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/_configuration.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/_storage_pool_management.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/__init__.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/_configuration.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/_storage_pool_management.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/__init__.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_disk_pool_operations.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_disk_pools_operations.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_iscsi_target_operations.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_iscsi_targets_operations.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_operation_operations.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_operations.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/__init__.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_models.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_models_py3.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_storage_pool_management_enums.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/__init__.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_disk_pool_operations.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_disk_pools_operations.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_iscsi_target_operations.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_iscsi_targets_operations.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_operation_operations.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_operations.py create mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/py.typed create mode 100644 src/storagepool/gen.zip create mode 100644 src/storagepool/report.md create mode 100644 src/storagepool/setup.cfg create mode 100644 src/storagepool/setup.py diff --git a/src/storagepool/HISTORY.rst b/src/storagepool/HISTORY.rst new file mode 100644 index 00000000000..1c139576ba0 --- /dev/null +++ b/src/storagepool/HISTORY.rst @@ -0,0 +1,8 @@ +.. :changelog: + +Release History +=============== + +0.1.0 +++++++ +* Initial release. diff --git a/src/storagepool/README.md b/src/storagepool/README.md new file mode 100644 index 00000000000..ffff492bec1 --- /dev/null +++ b/src/storagepool/README.md @@ -0,0 +1,65 @@ +# Azure CLI storagepool Extension # +This is the extension for storagepool + +### How to use ### +Install this extension using the below CLI command +``` +az extension add --name storagepool +``` + +### Included Features ### +#### storagepool disk-pool #### +##### Create ##### +``` +az storagepool 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" \ + --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" + +az storagepool disk-pool wait --created --name "{myDiskPool}" --resource-group "{rg}" +``` +##### Show ##### +``` +az storagepool disk-pool show --name "myDiskPool" --resource-group "myResourceGroup" +``` +##### List ##### +``` +az storagepool disk-pool list --resource-group "myResourceGroup" +``` +##### Update ##### +``` +az storagepool 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" +``` +##### Delete ##### +``` +az storagepool disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" +``` +#### storagepool iscsi-target #### +##### Create ##### +``` +az storagepool 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 storagepool iscsi-target wait --created --name "{myIscsiTarget}" --resource-group "{rg}" +``` +##### Show ##### +``` +az storagepool iscsi-target show --disk-pool-name "myDiskPool" --name "myIscsiTarget" \ + --resource-group "myResourceGroup" +``` +##### List ##### +``` +az storagepool iscsi-target list --disk-pool-name "myDiskPool" --resource-group "myResourceGroup" +``` +##### Delete ##### +``` +az storagepool iscsi-target delete --disk-pool-name "myDiskPool" --name "myIscsiTarget" \ + --resource-group "myResourceGroup" +``` \ No newline at end of file diff --git a/src/storagepool/azext_storagepool/__init__.py b/src/storagepool/azext_storagepool/__init__.py new file mode 100644 index 00000000000..05db9b2234a --- /dev/null +++ b/src/storagepool/azext_storagepool/__init__.py @@ -0,0 +1,50 @@ +# -------------------------------------------------------------------------- +# 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.cli.core import AzCommandsLoader +from azext_storagepool.generated._help import helps # pylint: disable=unused-import +try: + from azext_storagepool.manual._help import helps # pylint: disable=reimported +except ImportError: + pass + + +class StoragePoolManagementCommandsLoader(AzCommandsLoader): + + def __init__(self, cli_ctx=None): + from azure.cli.core.commands import CliCommandType + from azext_storagepool.generated._client_factory import cf_storagepool_cl + storagepool_custom = CliCommandType( + operations_tmpl='azext_storagepool.custom#{}', + client_factory=cf_storagepool_cl) + parent = super(StoragePoolManagementCommandsLoader, self) + parent.__init__(cli_ctx=cli_ctx, custom_command_type=storagepool_custom) + + def load_command_table(self, args): + from azext_storagepool.generated.commands import load_command_table + load_command_table(self, args) + try: + from azext_storagepool.manual.commands import load_command_table as load_command_table_manual + load_command_table_manual(self, args) + except ImportError: + pass + return self.command_table + + def load_arguments(self, command): + from azext_storagepool.generated._params import load_arguments + load_arguments(self, command) + try: + from azext_storagepool.manual._params import load_arguments as load_arguments_manual + load_arguments_manual(self, command) + except ImportError: + pass + + +COMMAND_LOADER_CLS = StoragePoolManagementCommandsLoader diff --git a/src/storagepool/azext_storagepool/action.py b/src/storagepool/azext_storagepool/action.py new file mode 100644 index 00000000000..d95d53bf711 --- /dev/null +++ b/src/storagepool/azext_storagepool/action.py @@ -0,0 +1,17 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# pylint: disable=wildcard-import +# pylint: disable=unused-wildcard-import + +from .generated.action import * # noqa: F403 +try: + from .manual.action import * # noqa: F403 +except ImportError: + pass diff --git a/src/storagepool/azext_storagepool/azext_metadata.json b/src/storagepool/azext_storagepool/azext_metadata.json new file mode 100644 index 00000000000..4f48fa652a5 --- /dev/null +++ b/src/storagepool/azext_storagepool/azext_metadata.json @@ -0,0 +1,4 @@ +{ + "azext.isExperimental": true, + "azext.minCliCoreVersion": "2.11.0" +} \ No newline at end of file diff --git a/src/storagepool/azext_storagepool/custom.py b/src/storagepool/azext_storagepool/custom.py new file mode 100644 index 00000000000..dbe9d5f9742 --- /dev/null +++ b/src/storagepool/azext_storagepool/custom.py @@ -0,0 +1,17 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# pylint: disable=wildcard-import +# pylint: disable=unused-wildcard-import + +from .generated.custom import * # noqa: F403 +try: + from .manual.custom import * # noqa: F403 +except ImportError: + pass diff --git a/src/storagepool/azext_storagepool/generated/__init__.py b/src/storagepool/azext_storagepool/generated/__init__.py new file mode 100644 index 00000000000..c9cfdc73e77 --- /dev/null +++ b/src/storagepool/azext_storagepool/generated/__init__.py @@ -0,0 +1,12 @@ +# 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. +# -------------------------------------------------------------------------- + +__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/src/storagepool/azext_storagepool/generated/_client_factory.py b/src/storagepool/azext_storagepool/generated/_client_factory.py new file mode 100644 index 00000000000..3eae4a7bb69 --- /dev/null +++ b/src/storagepool/azext_storagepool/generated/_client_factory.py @@ -0,0 +1,24 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- + + +def cf_storagepool_cl(cli_ctx, *_): + from azure.cli.core.commands.client_factory import get_mgmt_service_client + from ..vendored_sdks.storagepool import StoragePoolManagement + return get_mgmt_service_client(cli_ctx, + StoragePoolManagement) + + +def cf_disk_pool(cli_ctx, *_): + return cf_storagepool_cl(cli_ctx).disk_pool + + +def cf_iscsi_target(cli_ctx, *_): + return cf_storagepool_cl(cli_ctx).iscsi_target diff --git a/src/storagepool/azext_storagepool/generated/_help.py b/src/storagepool/azext_storagepool/generated/_help.py new file mode 100644 index 00000000000..7919dffa5ba --- /dev/null +++ b/src/storagepool/azext_storagepool/generated/_help.py @@ -0,0 +1,205 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# pylint: disable=too-many-lines + +from knack.help_files import helps + + +helps['storagepool disk-pool'] = """ + type: group + short-summary: storagepool disk-pool +""" + +helps['storagepool disk-pool list'] = """ + type: command + short-summary: "Gets a list of DiskPools. And Gets a list of Disk Pools in a subscription." + examples: + - name: List Disk Pools + text: |- + az storagepool disk-pool list --resource-group "myResourceGroup" + - name: List Disk Pools by subscription + text: |- + az storagepool disk-pool list +""" + +helps['storagepool disk-pool show'] = """ + type: command + short-summary: "Get a Disk Pool." + examples: + - name: Get a diskPool + text: |- + az storagepool disk-pool show --name "myDiskPool" --resource-group "myResourceGroup" +""" + +helps['storagepool disk-pool create'] = """ + type: command + short-summary: "Create a new Disk Pool." + parameters: + - name: --sku + short-summary: "Sku description." + long-summary: | + Usage: --sku name=XX tier=XX size=XX family=XX capacity=XX + + name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code + tier: This field is required to be implemented by the Resource Provider if the service has more than one \ +tier, but is not required on a PUT. + size: The SKU size. When the name field is the combination of tier and some other value, this would be the \ +standalone code. + family: If the service has different generations of hardware, for the same SKU, then that can be captured \ +here. + capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in \ +is not possible for the resource this may be omitted. + - name: --disks + short-summary: "List of Azure managed disks to attach to a DiskPool" + long-summary: | + Usage: --disks id=XX + + id: Required. Unique Azure resource id of the managed disk. Required. + + Multiple actions can be specified by using more than one --disks argument. + examples: + - name: Create or Update a Disk Pool + text: |- + az storagepool disk-pool create --name "myDiskPool" --location "westus" --availability-zones "1" \ +--disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Comp\ +ute/disks/vm-name_DataDisk_0" --disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResource\ +Group/providers/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-0000000\ +00000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --sku \ +name="Standard_ABC" --tags key="value" --resource-group "myResourceGroup" +""" + +helps['storagepool disk-pool update'] = """ + type: command + short-summary: "Update a Storage Pool." + parameters: + - name: --sku + short-summary: "Sku description." + long-summary: | + Usage: --sku name=XX tier=XX size=XX family=XX capacity=XX + + name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code + tier: This field is required to be implemented by the Resource Provider if the service has more than one \ +tier, but is not required on a PUT. + size: The SKU size. When the name field is the combination of tier and some other value, this would be the \ +standalone code. + family: If the service has different generations of hardware, for the same SKU, then that can be captured \ +here. + capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in \ +is not possible for the resource this may be omitted. + - name: --disks + short-summary: "List of Azure managed disks to attach to a DiskPool" + long-summary: | + Usage: --disks id=XX + + id: Required. Unique Azure resource id of the managed disk. Required. + + Multiple actions can be specified by using more than one --disks argument. + examples: + - name: Update Disk Pool + text: |- + az storagepool disk-pool update --name "myDiskPool" --location "westus" --availability-zones "1" \ +--disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Comp\ +ute/disks/vm-name_DataDisk_0" --disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResource\ +Group/providers/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-0000000\ +00000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --tags \ +key="value" --resource-group "myResourceGroup" +""" + +helps['storagepool disk-pool delete'] = """ + type: command + short-summary: "Delete a Disk Pool." + examples: + - name: Update Disk Pool + text: |- + az storagepool disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" +""" + +helps['storagepool disk-pool wait'] = """ + type: command + short-summary: Place the CLI in a waiting state until a condition of the storagepool disk-pool is met. + examples: + - name: Pause executing next line of CLI script until the storagepool disk-pool is successfully created. + text: |- + az storagepool disk-pool wait --name "myDiskPool" --resource-group "myResourceGroup" --created + - name: Pause executing next line of CLI script until the storagepool disk-pool is successfully deleted. + text: |- + az storagepool disk-pool wait --name "myDiskPool" --resource-group "myResourceGroup" --deleted +""" + +helps['storagepool iscsi-target'] = """ + type: group + short-summary: storagepool iscsi-target +""" + +helps['storagepool iscsi-target list'] = """ + type: command + short-summary: "Get iSCSI Targets within a Disk Pool." + examples: + - name: List Disk Pools by Resource Group + text: |- + az storagepool iscsi-target list --disk-pool-name "myDiskPool" --resource-group "myResourceGroup" +""" + +helps['storagepool iscsi-target show'] = """ + type: command + short-summary: "Gets an iSCSI Target." + examples: + - name: Get an iscsiTarget + text: |- + az storagepool iscsi-target show --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ +"myResourceGroup" +""" + +helps['storagepool iscsi-target create'] = """ + type: command + short-summary: "Create an iSCSI target." + examples: + - name: Create or Update an iSCSI Target + text: |- + az storagepool iscsi-target create --disk-pool-name "myDiskPool" --name "myIscsiTarget" --target-iqn \ +"iqn.2005-03.org.iscsi:server1" --tpgs "[{\\"acls\\":[{\\"credentials\\":{\\"password\\":\\"some_pa$$word\\",\\"usernam\ +e\\":\\"some_username\\"},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}],\\"attr\ +ibutes\\":{\\"authentication\\":true,\\"prodModeWriteProtect\\":false},\\"luns\\":[{\\"name\\":\\"lun0\\",\\"managedDis\ +kAzureResourceId\\":\\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Mic\ +rosoft.Compute/disks/vm-name_DataDisk_1\\"}]}]" --resource-group "myResourceGroup" +""" + +helps['storagepool iscsi-target update'] = """ + type: command + short-summary: "Update an iSCSI target." +""" + +helps['storagepool iscsi-target delete'] = """ + type: command + short-summary: "Deletes an iSCSI Target." + examples: + - name: Delete an iscsiTarget + text: |- + az storagepool iscsi-target delete --disk-pool-name "myDiskPool" --name "myIscsiTarget" \ +--resource-group "myResourceGroup" +""" + +helps['storagepool iscsi-target wait'] = """ + type: command + short-summary: Place the CLI in a waiting state until a condition of the storagepool iscsi-target is met. + examples: + - name: Pause executing next line of CLI script until the storagepool iscsi-target is successfully created. + text: |- + az storagepool iscsi-target wait --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ +"myResourceGroup" --created + - name: Pause executing next line of CLI script until the storagepool iscsi-target is successfully updated. + text: |- + az storagepool iscsi-target wait --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ +"myResourceGroup" --updated + - name: Pause executing next line of CLI script until the storagepool iscsi-target is successfully deleted. + text: |- + az storagepool iscsi-target wait --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ +"myResourceGroup" --deleted +""" diff --git a/src/storagepool/azext_storagepool/generated/_params.py b/src/storagepool/azext_storagepool/generated/_params.py new file mode 100644 index 00000000000..83327f67d53 --- /dev/null +++ b/src/storagepool/azext_storagepool/generated/_params.py @@ -0,0 +1,112 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements + +from azure.cli.core.commands.parameters import ( + tags_type, + resource_group_name_type, + get_location_type +) +from azure.cli.core.commands.validators import ( + get_default_location_from_resource_group, + validate_file_or_dict +) +from azext_storagepool.action import ( + AddSku, + AddDisks +) + + +def load_arguments(self, _): + + with self.argument_context('storagepool disk-pool list') as c: + c.argument('resource_group_name', resource_group_name_type) + + with self.argument_context('storagepool disk-pool show') 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('storagepool disk-pool create') 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.') + c.argument('tags', tags_type) + c.argument('location', arg_type=get_location_type(self.cli_ctx), + validator=get_default_location_from_resource_group) + c.argument('sku', action=AddSku, nargs='*', help='Sku description.') + c.argument('availability_zones', nargs='*', help='Logical zone for DiskPool resource.') + c.argument('disks', action=AddDisks, nargs='*', help='List of Azure managed disks to attach to a DiskPool') + c.argument('subnet_id', type=str, help='Azure resource id of the subnet for the DiskPool') + + with self.argument_context('storagepool disk-pool update') 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') + c.argument('tags', tags_type) + c.argument('location', arg_type=get_location_type(self.cli_ctx), + validator=get_default_location_from_resource_group) + c.argument('sku', action=AddSku, nargs='*', help='Sku description.') + c.argument('availability_zones', nargs='*', help='Logical zone for DiskPool resource.') + c.argument('disks', action=AddDisks, nargs='*', help='List of Azure managed disks to attach to a DiskPool') + c.argument('subnet_id', type=str, help='Azure resource id of the subnet for the DiskPool') + + with self.argument_context('storagepool disk-pool delete') 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('storagepool disk-pool wait') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' + 'the Disk Pool.', id_part='name') + + with self.argument_context('storagepool 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.') + + with self.argument_context('storagepool iscsi-target show') 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.', 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') + + with self.argument_context('storagepool iscsi-target create') 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.') + c.argument('iscsi_target_name', options_list=['--name', '-n', '--iscsi-target-name'], type=str, help='The name ' + 'of the iSCSI target.') + c.argument('tpgs', type=validate_file_or_dict, help='list of iSCSI target portal groups Expected value: ' + 'json-string/@json-file.') + c.argument('target_iqn', type=str, help='iSCSI target iqn (iSCSI Qualified Name); example: ' + 'iqn.2005-03.org.iscsi:server') + + with self.argument_context('storagepool iscsi-target update') 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.', 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('tpgs', type=validate_file_or_dict, help='list of iSCSI target portal groups Expected value: ' + 'json-string/@json-file.') + c.argument('target_iqn', type=str, help='iSCSI target iqn (iSCSI Qualified Name); example: ' + 'iqn.2005-03.org.iscsi:server') + + with self.argument_context('storagepool iscsi-target delete') 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.', 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') + + with self.argument_context('storagepool iscsi-target wait') 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.', 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') diff --git a/src/storagepool/azext_storagepool/generated/_validators.py b/src/storagepool/azext_storagepool/generated/_validators.py new file mode 100644 index 00000000000..b33a44c1ebf --- /dev/null +++ b/src/storagepool/azext_storagepool/generated/_validators.py @@ -0,0 +1,9 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- diff --git a/src/storagepool/azext_storagepool/generated/action.py b/src/storagepool/azext_storagepool/generated/action.py new file mode 100644 index 00000000000..4bc8d6f923b --- /dev/null +++ b/src/storagepool/azext_storagepool/generated/action.py @@ -0,0 +1,66 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# pylint: disable=protected-access + +import argparse +from collections import defaultdict +from knack.util import CLIError + + +class AddSku(argparse.Action): + 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 + try: + properties = defaultdict(list) + for (k, v) in (x.split('=', 1) for x in values): + properties[k].append(v) + properties = dict(properties) + except ValueError: + raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) + d = {} + for k in properties: + kl = k.lower() + v = properties[k] + if kl == 'name': + d['name'] = v[0] + elif kl == 'tier': + d['tier'] = v[0] + elif kl == 'size': + d['size'] = v[0] + elif kl == 'family': + d['family'] = v[0] + elif kl == 'capacity': + d['capacity'] = v[0] + return d + + +class AddDisks(argparse._AppendAction): + def __call__(self, parser, namespace, values, option_string=None): + action = self.get_action(values, option_string) + super(AddDisks, self).__call__(parser, namespace, action, option_string) + + def get_action(self, values, option_string): # pylint: disable=no-self-use + try: + properties = defaultdict(list) + for (k, v) in (x.split('=', 1) for x in values): + properties[k].append(v) + properties = dict(properties) + except ValueError: + raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) + d = {} + for k in properties: + kl = k.lower() + v = properties[k] + if kl == 'id': + d['id'] = v[0] + return d diff --git a/src/storagepool/azext_storagepool/generated/commands.py b/src/storagepool/azext_storagepool/generated/commands.py new file mode 100644 index 00000000000..508985e496c --- /dev/null +++ b/src/storagepool/azext_storagepool/generated/commands.py @@ -0,0 +1,44 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# pylint: disable=too-many-statements +# pylint: disable=too-many-locals + +from azure.cli.core.commands import CliCommandType + + +def load_command_table(self, _): + + from azext_storagepool.generated._client_factory import cf_disk_pool + storagepool_disk_pool = CliCommandType( + operations_tmpl='azext_storagepool.vendored_sdks.storagepool.operations._disk_pool_operations#DiskPoolOperation' + 's.{}', + client_factory=cf_disk_pool) + with self.command_group('storagepool disk-pool', storagepool_disk_pool, client_factory=cf_disk_pool, + is_experimental=True) as g: + g.custom_command('list', 'storagepool_disk_pool_list') + g.custom_show_command('show', 'storagepool_disk_pool_show') + g.custom_command('create', 'storagepool_disk_pool_create', supports_no_wait=True) + g.custom_command('update', 'storagepool_disk_pool_update') + g.custom_command('delete', 'storagepool_disk_pool_delete', supports_no_wait=True, confirmation=True) + g.custom_wait_command('wait', 'storagepool_disk_pool_show') + + from azext_storagepool.generated._client_factory import cf_iscsi_target + storagepool_iscsi_target = CliCommandType( + operations_tmpl='azext_storagepool.vendored_sdks.storagepool.operations._iscsi_target_operations#IscsiTargetOpe' + 'rations.{}', + client_factory=cf_iscsi_target) + with self.command_group('storagepool iscsi-target', storagepool_iscsi_target, client_factory=cf_iscsi_target, + is_experimental=True) as g: + g.custom_command('list', 'storagepool_iscsi_target_list') + g.custom_show_command('show', 'storagepool_iscsi_target_show') + g.custom_command('create', 'storagepool_iscsi_target_create', supports_no_wait=True) + g.custom_command('update', 'storagepool_iscsi_target_update', supports_no_wait=True) + g.custom_command('delete', 'storagepool_iscsi_target_delete', supports_no_wait=True, confirmation=True) + g.custom_wait_command('wait', 'storagepool_iscsi_target_show') diff --git a/src/storagepool/azext_storagepool/generated/custom.py b/src/storagepool/azext_storagepool/generated/custom.py new file mode 100644 index 00000000000..75e34898f52 --- /dev/null +++ b/src/storagepool/azext_storagepool/generated/custom.py @@ -0,0 +1,137 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# pylint: disable=too-many-lines + +from azure.cli.core.util import sdk_no_wait + + +def storagepool_disk_pool_list(client, + resource_group_name=None): + if resource_group_name: + return client.list_by_resource_group(resource_group_name=resource_group_name) + return client.list_by_subscription() + + +def storagepool_disk_pool_show(client, + resource_group_name, + disk_pool_name): + return client.get(resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name) + + +def storagepool_disk_pool_create(client, + resource_group_name, + disk_pool_name, + location, + tags=None, + sku=None, + availability_zones=None, + disks=None, + subnet_id=None, + no_wait=False): + return sdk_no_wait(no_wait, + client.begin_create_or_update, + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + tags=tags, + location=location, + sku=sku, + availability_zones=availability_zones, + disks=disks, + subnet_id=subnet_id) + + +def storagepool_disk_pool_update(client, + resource_group_name, + disk_pool_name, + location, + tags=None, + sku=None, + availability_zones=None, + disks=None, + subnet_id=None): + return client.update(resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + tags=tags, + location=location, + sku=sku, + availability_zones=availability_zones, + disks=disks, + subnet_id=subnet_id) + + +def storagepool_disk_pool_delete(client, + resource_group_name, + disk_pool_name, + no_wait=False): + return sdk_no_wait(no_wait, + client.begin_delete, + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name) + + +def storagepool_iscsi_target_list(client, + resource_group_name, + disk_pool_name): + return client.list_by_disk_pool(resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name) + + +def storagepool_iscsi_target_show(client, + resource_group_name, + disk_pool_name, + iscsi_target_name): + return client.get(resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name) + + +def storagepool_iscsi_target_create(client, + resource_group_name, + disk_pool_name, + iscsi_target_name, + tpgs=None, + target_iqn=None, + no_wait=False): + return sdk_no_wait(no_wait, + client.begin_create_or_update, + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name, + tpgs=tpgs, + target_iqn=target_iqn) + + +def storagepool_iscsi_target_update(client, + resource_group_name, + disk_pool_name, + iscsi_target_name, + tpgs=None, + target_iqn=None, + no_wait=False): + return sdk_no_wait(no_wait, + client.begin_create_or_update, + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name, + tpgs=tpgs, + target_iqn=target_iqn) + + +def storagepool_iscsi_target_delete(client, + resource_group_name, + disk_pool_name, + iscsi_target_name, + no_wait=False): + return sdk_no_wait(no_wait, + client.begin_delete, + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name) diff --git a/src/storagepool/azext_storagepool/manual/__init__.py b/src/storagepool/azext_storagepool/manual/__init__.py new file mode 100644 index 00000000000..c9cfdc73e77 --- /dev/null +++ b/src/storagepool/azext_storagepool/manual/__init__.py @@ -0,0 +1,12 @@ +# 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. +# -------------------------------------------------------------------------- + +__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/src/storagepool/azext_storagepool/tests/__init__.py b/src/storagepool/azext_storagepool/tests/__init__.py new file mode 100644 index 00000000000..50e0627daff --- /dev/null +++ b/src/storagepool/azext_storagepool/tests/__init__.py @@ -0,0 +1,114 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- +import inspect +import logging +import os +import sys +import traceback +import datetime as dt + +from azure.core.exceptions import AzureError +from azure.cli.testsdk.exceptions import CliTestError, CliExecutionError, JMESPathCheckAssertionError + + +logger = logging.getLogger('azure.cli.testsdk') +logger.addHandler(logging.StreamHandler()) +__path__ = __import__('pkgutil').extend_path(__path__, __name__) +exceptions = [] +test_map = dict() +SUCCESSED = "successed" +FAILED = "failed" + + +def try_manual(func): + def import_manual_function(origin_func): + from importlib import import_module + decorated_path = inspect.getfile(origin_func) + module_path = __path__[0] + if not decorated_path.startswith(module_path): + raise Exception("Decorator can only be used in submodules!") + manual_path = os.path.join( + decorated_path[module_path.rfind(os.path.sep) + 1:]) + manual_file_path, manual_file_name = os.path.split(manual_path) + module_name, _ = os.path.splitext(manual_file_name) + manual_module = "..manual." + \ + ".".join(manual_file_path.split(os.path.sep) + [module_name, ]) + return getattr(import_module(manual_module, package=__name__), origin_func.__name__) + + def get_func_to_call(): + func_to_call = func + try: + func_to_call = import_manual_function(func) + func_to_call = import_manual_function(func) + logger.info("Found manual override for %s(...)", func.__name__) + except (ImportError, AttributeError): + pass + return func_to_call + + def wrapper(*args, **kwargs): + func_to_call = get_func_to_call() + logger.info("running %s()...", func.__name__) + try: + test_map[func.__name__] = dict() + test_map[func.__name__]["result"] = SUCCESSED + test_map[func.__name__]["error_message"] = "" + test_map[func.__name__]["error_stack"] = "" + test_map[func.__name__]["error_normalized"] = "" + test_map[func.__name__]["start_dt"] = dt.datetime.utcnow() + ret = func_to_call(*args, **kwargs) + except (AssertionError, AzureError, CliTestError, CliExecutionError, SystemExit, + JMESPathCheckAssertionError) as e: + test_map[func.__name__]["end_dt"] = dt.datetime.utcnow() + test_map[func.__name__]["result"] = FAILED + test_map[func.__name__]["error_message"] = str(e).replace("\r\n", " ").replace("\n", " ")[:500] + test_map[func.__name__]["error_stack"] = traceback.format_exc().replace( + "\r\n", " ").replace("\n", " ")[:500] + logger.info("--------------------------------------") + logger.info("step exception: %s", e) + logger.error("--------------------------------------") + logger.error("step exception in %s: %s", func.__name__, e) + logger.info(traceback.format_exc()) + exceptions.append((func.__name__, sys.exc_info())) + else: + test_map[func.__name__]["end_dt"] = dt.datetime.utcnow() + return ret + + if inspect.isclass(func): + return get_func_to_call() + return wrapper + + +def calc_coverage(filename): + filename = filename.split(".")[0] + coverage_name = filename + "_coverage.md" + with open(coverage_name, "w") as f: + f.write("|Scenario|Result|ErrorMessage|ErrorStack|ErrorNormalized|StartDt|EndDt|\n") + total = len(test_map) + covered = 0 + for k, v in test_map.items(): + if not k.startswith("step_"): + total -= 1 + continue + if v["result"] == SUCCESSED: + covered += 1 + f.write("|{step_name}|{result}|{error_message}|{error_stack}|{error_normalized}|{start_dt}|" + "{end_dt}|\n".format(step_name=k, **v)) + f.write("Coverage: {}/{}\n".format(covered, total)) + print("Create coverage\n", file=sys.stderr) + + +def raise_if(): + if exceptions: + if len(exceptions) <= 1: + raise exceptions[0][1][1] + message = "{}\nFollowed with exceptions in other steps:\n".format(str(exceptions[0][1][1])) + message += "\n".join(["{}: {}".format(h[0], h[1][1]) for h in exceptions[1:]]) + raise exceptions[0][1][0](message).with_traceback(exceptions[0][1][2]) diff --git a/src/storagepool/azext_storagepool/tests/latest/__init__.py b/src/storagepool/azext_storagepool/tests/latest/__init__.py new file mode 100644 index 00000000000..c9cfdc73e77 --- /dev/null +++ b/src/storagepool/azext_storagepool/tests/latest/__init__.py @@ -0,0 +1,12 @@ +# 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. +# -------------------------------------------------------------------------- + +__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/src/storagepool/azext_storagepool/tests/latest/preparers.py b/src/storagepool/azext_storagepool/tests/latest/preparers.py new file mode 100644 index 00000000000..0879e51945a --- /dev/null +++ b/src/storagepool/azext_storagepool/tests/latest/preparers.py @@ -0,0 +1,159 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import os +from datetime import datetime +from azure_devtools.scenario_tests import SingleValueReplacer +from azure.cli.testsdk.preparers import NoTrafficRecordingPreparer +from azure.cli.testsdk.exceptions import CliTestError +from azure.cli.testsdk.reverse_dependency import get_dummy_cli + + +KEY_RESOURCE_GROUP = 'rg' +KEY_VIRTUAL_NETWORK = 'vnet' +KEY_VNET_SUBNET = 'subnet' +KEY_VNET_NIC = 'nic' + + +class VirtualNetworkPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): + def __init__(self, name_prefix='clitest.vn', + parameter_name='virtual_network', + resource_group_name=None, + resource_group_key=KEY_RESOURCE_GROUP, + dev_setting_name='AZURE_CLI_TEST_DEV_VIRTUAL_NETWORK_NAME', + random_name_length=24, key=KEY_VIRTUAL_NETWORK): + if ' ' in name_prefix: + raise CliTestError( + 'Error: Space character in name prefix \'%s\'' % name_prefix) + super(VirtualNetworkPreparer, self).__init__( + name_prefix, random_name_length) + self.cli_ctx = get_dummy_cli() + self.parameter_name = parameter_name + self.key = key + self.resource_group_name = resource_group_name + self.resource_group_key = resource_group_key + self.dev_setting_name = os.environ.get(dev_setting_name, None) + + def create_resource(self, name, **_): + if self.dev_setting_name: + return {self.parameter_name: self.dev_setting_name, } + + if not self.resource_group_name: + self.resource_group_name = self.test_class_instance.kwargs.get( + self.resource_group_key) + if not self.resource_group_name: + raise CliTestError("Error: No resource group configured!") + + tags = {'product': 'azurecli', 'cause': 'automation', + 'date': datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ')} + if 'ENV_JOB_NAME' in os.environ: + tags['job'] = os.environ['ENV_JOB_NAME'] + tags = ' '.join(['{}={}'.format(key, value) + for key, value in tags.items()]) + template = 'az network vnet create --resource-group {} --name {} --subnet-name default --tag ' + tags + self.live_only_execute(self.cli_ctx, template.format( + self.resource_group_name, name)) + + self.test_class_instance.kwargs[self.key] = name + return {self.parameter_name: name} + + def remove_resource(self, name, **_): + # delete vnet if test is being recorded and if the vnet is not a dev rg + if not self.dev_setting_name: + self.live_only_execute( + self.cli_ctx, + 'az network vnet delete --name {} --resource-group {}'.format(name, self.resource_group_name)) + + +class VnetSubnetPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): + def __init__(self, name_prefix='clitest.vn', + parameter_name='subnet', + resource_group_key=KEY_RESOURCE_GROUP, + vnet_key=KEY_VIRTUAL_NETWORK, + address_prefixes="11.0.0.0/24", + dev_setting_name='AZURE_CLI_TEST_DEV_VNET_SUBNET_NAME', + key=KEY_VNET_SUBNET): + if ' ' in name_prefix: + raise CliTestError( + 'Error: Space character in name prefix \'%s\'' % name_prefix) + super(VnetSubnetPreparer, self).__init__(name_prefix, 15) + self.cli_ctx = get_dummy_cli() + self.parameter_name = parameter_name + self.key = key + self.resource_group = [resource_group_key, None] + self.vnet = [vnet_key, None] + self.address_prefixes = address_prefixes + self.dev_setting_name = os.environ.get(dev_setting_name, None) + + def create_resource(self, name, **_): + if self.dev_setting_name: + return {self.parameter_name: self.dev_setting_name, } + + if not self.resource_group[1]: + self.resource_group[1] = self.test_class_instance.kwargs.get( + self.resource_group[0]) + if not self.resource_group[1]: + raise CliTestError("Error: No resource group configured!") + if not self.vnet[1]: + self.vnet[1] = self.test_class_instance.kwargs.get(self.vnet[0]) + if not self.vnet[1]: + raise CliTestError("Error: No vnet configured!") + + self.test_class_instance.kwargs[self.key] = 'default' + return {self.parameter_name: name} + + def remove_resource(self, name, **_): + pass + + +class VnetNicPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): + def __init__(self, name_prefix='clitest.nic', + parameter_name='subnet', + resource_group_key=KEY_RESOURCE_GROUP, + vnet_key=KEY_VIRTUAL_NETWORK, + dev_setting_name='AZURE_CLI_TEST_DEV_VNET_NIC_NAME', + key=KEY_VNET_NIC): + if ' ' in name_prefix: + raise CliTestError( + 'Error: Space character in name prefix \'%s\'' % name_prefix) + super(VnetNicPreparer, self).__init__(name_prefix, 15) + self.cli_ctx = get_dummy_cli() + self.parameter_name = parameter_name + self.key = key + self.resource_group = [resource_group_key, None] + self.vnet = [vnet_key, None] + self.dev_setting_name = os.environ.get(dev_setting_name, None) + + def create_resource(self, name, **_): + if self.dev_setting_name: + return {self.parameter_name: self.dev_setting_name, } + + if not self.resource_group[1]: + self.resource_group[1] = self.test_class_instance.kwargs.get( + self.resource_group[0]) + if not self.resource_group[1]: + raise CliTestError("Error: No resource group configured!") + if not self.vnet[1]: + self.vnet[1] = self.test_class_instance.kwargs.get(self.vnet[0]) + if not self.vnet[1]: + raise CliTestError("Error: No vnet configured!") + + template = 'az network nic create --resource-group {} --name {} --vnet-name {} --subnet default ' + self.live_only_execute(self.cli_ctx, template.format( + self.resource_group[1], name, self.vnet[1])) + + self.test_class_instance.kwargs[self.key] = name + return {self.parameter_name: name} + + def remove_resource(self, name, **_): + if not self.dev_setting_name: + self.live_only_execute( + self.cli_ctx, + 'az network nic delete --name {} --resource-group {}'.format(name, self.resource_group[1])) diff --git a/src/storagepool/azext_storagepool/tests/latest/test_storagepool_scenario.py b/src/storagepool/azext_storagepool/tests/latest/test_storagepool_scenario.py new file mode 100644 index 00000000000..5395f331c3a --- /dev/null +++ b/src/storagepool/azext_storagepool/tests/latest/test_storagepool_scenario.py @@ -0,0 +1,216 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import os +from azure.cli.testsdk import ScenarioTest +from .. import try_manual, raise_if, calc_coverage +from azure.cli.testsdk import ResourceGroupPreparer +from .preparers import VirtualNetworkPreparer + + +TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) + + +# Env setup +@try_manual +def setup(test, rg): + pass + + +# EXAMPLE: /DiskPools/put/Create or Update a Disk Pool +@try_manual +def step__diskpools_put_create_or_update_a_disk_pool(test, rg): + test.cmd('az storagepool disk-pool create ' + '--name "{myDiskPool}" ' + '--location "westus" ' + '--availability-zones "1" ' + '--disks id="/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Compute/disks/vm-nam' + 'e_DataDisk_0" ' + '--disks id="/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Compute/disks/vm-nam' + 'e_DataDisk_1" ' + '--subnet-id "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtualNetw' + 'orks/{vn}/subnets/default" ' + '--sku name="Standard_ABC" ' + '--tags key="value" ' + '--resource-group "{rg}"', + checks=[ + test.check("name", "{myDiskPool}", case_sensitive=False), + test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Netwo" + "rk/virtualNetworks/{vn}/subnets/default", case_sensitive=False), + ]) + test.cmd('az storagepool disk-pool wait --created ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=[]) + + +# EXAMPLE: /DiskPools/get/Get a diskPool +@try_manual +def step__diskpools_get_get_a_diskpool(test, rg): + test.cmd('az storagepool disk-pool show ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=[ + test.check("name", "{myDiskPool}", case_sensitive=False), + test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Netwo" + "rk/virtualNetworks/{vn}/subnets/default", case_sensitive=False), + ]) + + +# EXAMPLE: /DiskPools/get/List Disk Pools +@try_manual +def step__diskpools_get_list_disk_pools(test, rg): + test.cmd('az storagepool disk-pool list ' + '--resource-group "{rg}"', + checks=[ + test.check('length(@)', 1), + ]) + + +# EXAMPLE: /DiskPools/get/List Disk Pools by subscription +@try_manual +def step__diskpools_get(test, rg): + test.cmd('az storagepool disk-pool list ' + '-g ""', + checks=[ + test.check('length(@)', 1), + ]) + + +# EXAMPLE: /DiskPools/patch/Update Disk Pool +@try_manual +def step__diskpools_patch_update_disk_pool(test, rg): + test.cmd('az storagepool disk-pool update ' + '--name "{myDiskPool}" ' + '--location "westus" ' + '--availability-zones "1" ' + '--disks id="/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Compute/disks/vm-nam' + 'e_DataDisk_0" ' + '--disks id="/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Compute/disks/vm-nam' + 'e_DataDisk_1" ' + '--subnet-id "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtualNetw' + 'orks/{vn}/subnets/default" ' + '--tags key="value" ' + '--resource-group "{rg}"', + checks=[ + test.check("name", "{myDiskPool}", case_sensitive=False), + test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Netwo" + "rk/virtualNetworks/{vn}/subnets/default", case_sensitive=False), + ]) + + +# EXAMPLE: /IscsiTargets/put/Create or Update an iSCSI Target +@try_manual +def step__iscsitargets_put(test, rg): + test.cmd('az storagepool 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_us' + 'ername\\"}},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}}],\\"att' + 'ributes\\":{{\\"authentication\\":true,\\"prodModeWriteProtect\\":false}},\\"luns\\":[{{\\"name\\":\\"lun' + '0\\",\\"managedDiskAzureResourceId\\":\\"/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/M' + 'icrosoft.Compute/disks/vm-name_DataDisk_1\\"}}]}}]" ' + '--resource-group "{rg}"', + checks=[ + test.check("name", "{myIscsiTarget}", case_sensitive=False), + test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), + ]) + test.cmd('az storagepool iscsi-target wait --created ' + '--name "{myIscsiTarget}" ' + '--resource-group "{rg}"', + checks=[]) + + +# EXAMPLE: /IscsiTargets/get/Get an iscsiTarget +@try_manual +def step__iscsitargets_get_get_an_iscsitarget(test, rg): + test.cmd('az storagepool iscsi-target show ' + '--disk-pool-name "{myDiskPool}" ' + '--name "{myIscsiTarget}" ' + '--resource-group "{rg}"', + checks=[ + test.check("name", "{myIscsiTarget}", case_sensitive=False), + test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), + ]) + + +# EXAMPLE: /IscsiTargets/get/List Disk Pools by Resource Group +@try_manual +def step__iscsitargets_get(test, rg): + test.cmd('az storagepool iscsi-target list ' + '--disk-pool-name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=[ + test.check('length(@)', 1), + ]) + + +# EXAMPLE: /IscsiTargets/delete/Delete an iscsiTarget +@try_manual +def step__iscsitargets_delete_delete_an_iscsitarget(test, rg): + test.cmd('az storagepool iscsi-target delete -y ' + '--disk-pool-name "{myDiskPool}" ' + '--name "{myIscsiTarget}" ' + '--resource-group "{rg}"', + checks=[]) + + +# EXAMPLE: /DiskPools/delete/Update Disk Pool +@try_manual +def step__diskpools_delete_update_disk_pool(test, rg): + test.cmd('az storagepool disk-pool delete -y ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=[]) + + +# Env cleanup +@try_manual +def cleanup(test, rg): + pass + + +# Testcase +@try_manual +def call_scenario(test, rg): + setup(test, rg) + step__diskpools_put_create_or_update_a_disk_pool(test, rg) + step__diskpools_get_get_a_diskpool(test, rg) + step__diskpools_get_list_disk_pools(test, rg) + step__diskpools_get(test, rg) + step__diskpools_patch_update_disk_pool(test, rg) + step__iscsitargets_put(test, rg) + step__iscsitargets_get_get_an_iscsitarget(test, rg) + step__iscsitargets_get(test, rg) + step__iscsitargets_delete_delete_an_iscsitarget(test, rg) + step__diskpools_delete_update_disk_pool(test, rg) + cleanup(test, rg) + + +@try_manual +class StoragePoolManagementScenarioTest(ScenarioTest): + + @ResourceGroupPreparer(name_prefix='cliteststoragepool_myResourceGroup'[:7], key='rg', parameter_name='rg') + @VirtualNetworkPreparer(name_prefix='cliteststoragepool_myvnet'[:7], key='vn', resource_group_key='rg') + def test_storagepool(self, rg): + + self.kwargs.update({ + 'subscription_id': self.get_subscription_id() + }) + + self.kwargs.update({ + 'myDiskPool': 'myDiskPool', + 'myIscsiTarget': 'myIscsiTarget', + }) + + call_scenario(self, rg) + calc_coverage(__file__) + raise_if() diff --git a/src/storagepool/azext_storagepool/vendored_sdks/__init__.py b/src/storagepool/azext_storagepool/vendored_sdks/__init__.py new file mode 100644 index 00000000000..c9cfdc73e77 --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/__init__.py @@ -0,0 +1,12 @@ +# 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. +# -------------------------------------------------------------------------- + +__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/__init__.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/__init__.py new file mode 100644 index 00000000000..40013efe44d --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/__init__.py @@ -0,0 +1,16 @@ +# 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 ._storage_pool_management import StoragePoolManagement +__all__ = ['StoragePoolManagement'] + +try: + from ._patch import patch_sdk # type: ignore + patch_sdk() +except ImportError: + pass diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/_configuration.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/_configuration.py new file mode 100644 index 00000000000..cb67cb735d4 --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/_configuration.py @@ -0,0 +1,70 @@ +# 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 + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +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. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(StoragePoolManagementConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2020-03-15-preview" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'storagepoolmanagement/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/_storage_pool_management.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/_storage_pool_management.py new file mode 100644 index 00000000000..af766862e5a --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/_storage_pool_management.py @@ -0,0 +1,80 @@ +# 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 + +from azure.mgmt.core import ARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Optional + + from azure.core.credentials import TokenCredential + +from ._configuration import StoragePoolManagementConfiguration +from .operations import OperationOperations +from .operations import DiskPoolOperations +from .operations import IscsiTargetOperations +from . import models + + +class StoragePoolManagement(object): + """StoragePoolManagement. + + :ivar operation: OperationOperations operations + :vartype operation: storage_pool_management.operations.OperationOperations + :ivar disk_pool: DiskPoolOperations operations + :vartype disk_pool: storage_pool_management.operations.DiskPoolOperations + :ivar iscsi_target: IscsiTargetOperations operations + :vartype iscsi_target: storage_pool_management.operations.IscsiTargetOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + base_url=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> None + if not base_url: + base_url = 'https://management.azure.com' + self._config = StoragePoolManagementConfiguration(credential, subscription_id, **kwargs) + self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.operation = OperationOperations( + self._client, self._config, self._serialize, self._deserialize) + self.disk_pool = DiskPoolOperations( + self._client, self._config, self._serialize, self._deserialize) + self.iscsi_target = IscsiTargetOperations( + self._client, self._config, self._serialize, self._deserialize) + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> StoragePoolManagement + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/__init__.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/__init__.py new file mode 100644 index 00000000000..9eb7de1efa2 --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/__init__.py @@ -0,0 +1,10 @@ +# 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 ._storage_pool_management import StoragePoolManagement +__all__ = ['StoragePoolManagement'] diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/_configuration.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/_configuration.py new file mode 100644 index 00000000000..1aa64ffe5b1 --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/_configuration.py @@ -0,0 +1,66 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +VERSION = "unknown" + +class StoragePoolManagementConfiguration(Configuration): + """Configuration for StoragePoolManagement. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + **kwargs: Any + ) -> None: + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(StoragePoolManagementConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2020-03-15-preview" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'storagepoolmanagement/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs: Any + ) -> None: + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/_storage_pool_management.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/_storage_pool_management.py new file mode 100644 index 00000000000..66d98a2205d --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/_storage_pool_management.py @@ -0,0 +1,74 @@ +# 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, Optional, TYPE_CHECKING + +from azure.mgmt.core import AsyncARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +from ._configuration import StoragePoolManagementConfiguration +from .operations import OperationOperations +from .operations import DiskPoolOperations +from .operations import IscsiTargetOperations +from .. import models + + +class StoragePoolManagement(object): + """StoragePoolManagement. + + :ivar operation: OperationOperations operations + :vartype operation: storage_pool_management.aio.operations.OperationOperations + :ivar disk_pool: DiskPoolOperations operations + :vartype disk_pool: storage_pool_management.aio.operations.DiskPoolOperations + :ivar iscsi_target: IscsiTargetOperations operations + :vartype iscsi_target: storage_pool_management.aio.operations.IscsiTargetOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + base_url: Optional[str] = None, + **kwargs: Any + ) -> None: + if not base_url: + base_url = 'https://management.azure.com' + self._config = StoragePoolManagementConfiguration(credential, subscription_id, **kwargs) + self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.operation = OperationOperations( + self._client, self._config, self._serialize, self._deserialize) + self.disk_pool = DiskPoolOperations( + self._client, self._config, self._serialize, self._deserialize) + self.iscsi_target = IscsiTargetOperations( + self._client, self._config, self._serialize, self._deserialize) + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "StoragePoolManagement": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/__init__.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/__init__.py new file mode 100644 index 00000000000..ee3e1450aed --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/__init__.py @@ -0,0 +1,17 @@ +# 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 ._operation_operations import OperationOperations +from ._disk_pool_operations import DiskPoolOperations +from ._iscsi_target_operations import IscsiTargetOperations + +__all__ = [ + 'OperationOperations', + 'DiskPoolOperations', + 'IscsiTargetOperations', +] diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_disk_pool_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_disk_pool_operations.py new file mode 100644 index 00000000000..c6fe949cdd9 --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_disk_pool_operations.py @@ -0,0 +1,590 @@ +# 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, List, Optional, TypeVar, Union +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.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class DiskPoolOperations: + """DiskPoolOperations 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_by_subscription( + self, + **kwargs + ) -> AsyncIterable["models.DiskPoolListResult"]: + """Gets a list of Disk Pools in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.DiskPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + 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('DiskPoolListResult', 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_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["models.DiskPoolListResult"]: + """Gets a list of DiskPools. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.DiskPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_resource_group.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]$'), + } + 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('DiskPoolListResult', 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_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + disk_pool_name: str, + location: str, + tags: Optional[Dict[str, str]] = None, + sku: Optional["models.Sku"] = None, + availability_zones: Optional[List[str]] = None, + disks: Optional[List["models.Disk"]] = None, + subnet_id: Optional[str] = None, + **kwargs + ) -> "models.DiskPool": + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + disk_pool_payload = models.DiskPool(tags=tags, location=location, sku=sku, availability_zones=availability_zones, disks=disks, subnet_id=subnet_id) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(disk_pool_payload, 'DiskPool') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + disk_pool_name: str, + location: str, + tags: Optional[Dict[str, str]] = None, + sku: Optional["models.Sku"] = None, + availability_zones: Optional[List[str]] = None, + disks: Optional[List["models.Disk"]] = None, + subnet_id: Optional[str] = None, + **kwargs + ) -> AsyncLROPoller["models.DiskPool"]: + """Create a new Disk Pool. + + :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 + :param location: The geo-location where the resource lives. + :type location: str + :param tags: Resource tags. + :type tags: dict[str, str] + :param sku: Sku description. + :type sku: ~storage_pool_management.models.Sku + :param availability_zones: Logical zone for DiskPool resource. + :type availability_zones: list[str] + :param disks: List of Azure managed disks to attach to a DiskPool. + :type disks: list[~storage_pool_management.models.Disk] + :param subnet_id: Azure resource id of the subnet for the DiskPool. + :type subnet_id: 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 DiskPool or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.DiskPool] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + 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._create_or_update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + location=location, + tags=tags, + sku=sku, + availability_zones=availability_zones, + disks=disks, + subnet_id=subnet_id, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def update( + self, + resource_group_name: str, + disk_pool_name: str, + location: str, + tags: Optional[Dict[str, str]] = None, + sku: Optional["models.Sku"] = None, + availability_zones: Optional[List[str]] = None, + disks: Optional[List["models.Disk"]] = None, + subnet_id: Optional[str] = None, + **kwargs + ) -> "models.DiskPool": + """Update a Storage Pool. + + :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 + :param location: The geo-location where the resource lives. + :type location: str + :param tags: Resource tags. + :type tags: dict[str, str] + :param sku: Sku description. + :type sku: ~storage_pool_management.models.Sku + :param availability_zones: Logical zone for DiskPool resource. + :type availability_zones: list[str] + :param disks: List of Azure managed disks to attach to a DiskPool. + :type disks: list[~storage_pool_management.models.Disk] + :param subnet_id: Azure resource id of the subnet for the DiskPool. + :type subnet_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DiskPool, or the result of cls(response) + :rtype: ~storage_pool_management.models.DiskPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + disk_pool_payload = models.DiskPool(tags=tags, location=location, sku=sku, availability_zones=availability_zones, disks=disks, subnet_id=subnet_id) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(disk_pool_payload, 'DiskPool') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + 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) + + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def _delete_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 = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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.delete(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, 204]: + 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, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + disk_pool_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Delete a Disk Pool. + + :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._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + disk_pool_name: str, + **kwargs + ) -> "models.DiskPool": + """Get a Disk Pool. + + :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 + :return: DiskPool, or the result of cls(response) + :rtype: ~storage_pool_management.models.DiskPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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.get(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]: + 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) + + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_disk_pools_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_disk_pools_operations.py new file mode 100644 index 00000000000..cc0a1230259 --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_disk_pools_operations.py @@ -0,0 +1,546 @@ +# 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, Union +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.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class DiskPoolsOperations: + """DiskPoolsOperations 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_by_subscription( + self, + **kwargs + ) -> AsyncIterable["models.DiskPoolListResult"]: + """Gets a list of Disk Pools in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.DiskPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + 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('DiskPoolListResult', 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_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["models.DiskPoolListResult"]: + """Gets a list of DiskPools. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.DiskPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_resource_group.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]$'), + } + 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('DiskPoolListResult', 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_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + disk_pool_name: str, + disk_pool_payload: "models.DiskPool", + **kwargs + ) -> "models.DiskPool": + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(disk_pool_payload, 'DiskPool') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + disk_pool_name: str, + disk_pool_payload: "models.DiskPool", + **kwargs + ) -> AsyncLROPoller["models.DiskPool"]: + """Create a new Disk Pool. + + :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 + :param disk_pool_payload: Request payload for Disk Pool operations. + :type disk_pool_payload: ~storage_pool_management.models.DiskPool + :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 DiskPool or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.DiskPool] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + 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._create_or_update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + disk_pool_payload=disk_pool_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def update( + self, + resource_group_name: str, + disk_pool_name: str, + disk_pool_payload: "models.DiskPool", + **kwargs + ) -> "models.DiskPool": + """Update a Storage Pool. + + :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 + :param disk_pool_payload: Request payload for Disk Pool operations. + :type disk_pool_payload: ~storage_pool_management.models.DiskPool + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DiskPool, or the result of cls(response) + :rtype: ~storage_pool_management.models.DiskPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(disk_pool_payload, 'DiskPool') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + 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) + + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def _delete_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 = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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.delete(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, 204]: + 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, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + disk_pool_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Delete a Disk Pool. + + :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._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + disk_pool_name: str, + **kwargs + ) -> "models.DiskPool": + """Get a Disk Pool. + + :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 + :return: DiskPool, or the result of cls(response) + :rtype: ~storage_pool_management.models.DiskPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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.get(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]: + 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) + + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_iscsi_target_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_iscsi_target_operations.py new file mode 100644 index 00000000000..b8eb1d87aef --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_iscsi_target_operations.py @@ -0,0 +1,442 @@ +# 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, List, Optional, TypeVar, Union +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.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class IscsiTargetOperations: + """IscsiTargetOperations 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_by_disk_pool( + self, + resource_group_name: str, + disk_pool_name: str, + **kwargs + ) -> AsyncIterable["models.IscsiTargetList"]: + """Get iSCSI Targets within a Disk Pool. + + :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 + :return: An iterator like instance of either IscsiTargetList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.IscsiTargetList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTargetList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_disk_pool.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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('IscsiTargetList', 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_by_disk_pool.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + tpgs: Optional[List["models.TargetPortalGroup"]] = None, + target_iqn: Optional[str] = None, + **kwargs + ) -> "models.IscsiTarget": + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + iscsi_target_payload = models.IscsiTarget(tpgs=tpgs, target_iqn=target_iqn) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(iscsi_target_payload, 'IscsiTarget') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + tpgs: Optional[List["models.TargetPortalGroup"]] = None, + target_iqn: Optional[str] = None, + **kwargs + ) -> AsyncLROPoller["models.IscsiTarget"]: + """Create or Update an iSCSI target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :param tpgs: list of iSCSI target portal groups. + :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] + :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: + iqn.2005-03.org.iscsi:server. + :type target_iqn: 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 IscsiTarget or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.IscsiTarget] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + 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._create_or_update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name, + tpgs=tpgs, + target_iqn=target_iqn, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_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 = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.delete(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, 204]: + 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, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_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._delete_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + **kwargs + ) -> "models.IscsiTarget": + """Gets an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: IscsiTarget, or the result of cls(response) + :rtype: ~storage_pool_management.models.IscsiTarget + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.get(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]: + 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) + + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_iscsi_targets_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_iscsi_targets_operations.py new file mode 100644 index 00000000000..b136ab3a5e9 --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_iscsi_targets_operations.py @@ -0,0 +1,434 @@ +# 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, Union +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.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class IscsiTargetsOperations: + """IscsiTargetsOperations 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_by_disk_pool( + self, + resource_group_name: str, + disk_pool_name: str, + **kwargs + ) -> AsyncIterable["models.IscsiTargetList"]: + """Get iSCSI Targets within a Disk Pool. + + :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 + :return: An iterator like instance of either IscsiTargetList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.IscsiTargetList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTargetList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_disk_pool.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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('IscsiTargetList', 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_by_disk_pool.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + iscsi_target_payload: "models.IscsiTarget", + **kwargs + ) -> "models.IscsiTarget": + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(iscsi_target_payload, 'IscsiTarget') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + iscsi_target_payload: "models.IscsiTarget", + **kwargs + ) -> AsyncLROPoller["models.IscsiTarget"]: + """Create or Update an iSCSI target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :param iscsi_target_payload: Request payload for iSCSI target operations. + :type iscsi_target_payload: ~storage_pool_management.models.IscsiTarget + :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 IscsiTarget or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.IscsiTarget] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + 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._create_or_update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name, + iscsi_target_payload=iscsi_target_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_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 = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.delete(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, 204]: + 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, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_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._delete_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + **kwargs + ) -> "models.IscsiTarget": + """Gets an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: IscsiTarget, or the result of cls(response) + :rtype: ~storage_pool_management.models.IscsiTarget + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.get(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]: + 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) + + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_operation_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_operation_operations.py new file mode 100644 index 00000000000..a166417420e --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_operation_operations.py @@ -0,0 +1,105 @@ +# 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 OperationOperations: + """OperationOperations 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, + **kwargs + ) -> AsyncIterable["models.StoragePoolOperationListResult"]: + """Gets a list of StoragePool operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StoragePoolOperationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.StoragePoolOperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.StoragePoolOperationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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 + # 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('StoragePoolOperationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return 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': '/providers/Microsoft.StoragePool/operations'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_operations.py new file mode 100644 index 00000000000..0b14b016f3e --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_operations.py @@ -0,0 +1,105 @@ +# 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 Operations: + """Operations 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, + **kwargs + ) -> AsyncIterable["models.StoragePoolOperationListResult"]: + """Gets a list of StoragePool operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StoragePoolOperationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.StoragePoolOperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.StoragePoolOperationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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 + # 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('StoragePoolOperationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return 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': '/providers/Microsoft.StoragePool/operations'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/__init__.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/__init__.py new file mode 100644 index 00000000000..8263c9a93e7 --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/__init__.py @@ -0,0 +1,82 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +try: + from ._models_py3 import Acl + from ._models_py3 import Attributes + from ._models_py3 import Disk + from ._models_py3 import DiskPool + from ._models_py3 import DiskPoolListResult + from ._models_py3 import Error + from ._models_py3 import ErrorAdditionalInfo + from ._models_py3 import ErrorResponse + from ._models_py3 import IscsiLun + from ._models_py3 import IscsiTarget + from ._models_py3 import IscsiTargetList + from ._models_py3 import ProxyResource + from ._models_py3 import Resource + from ._models_py3 import Sku + from ._models_py3 import StoragePoolOperationDisplay + from ._models_py3 import StoragePoolOperationListResult + from ._models_py3 import StoragePoolRPOperation + from ._models_py3 import SystemMetadata + from ._models_py3 import TargetPortalGroup + from ._models_py3 import TrackedResource +except (SyntaxError, ImportError): + from ._models import Acl # type: ignore + from ._models import Attributes # type: ignore + from ._models import Disk # type: ignore + from ._models import DiskPool # type: ignore + from ._models import DiskPoolListResult # type: ignore + from ._models import Error # type: ignore + from ._models import ErrorAdditionalInfo # type: ignore + from ._models import ErrorResponse # type: ignore + from ._models import IscsiLun # type: ignore + from ._models import IscsiTarget # type: ignore + from ._models import IscsiTargetList # type: ignore + from ._models import ProxyResource # type: ignore + from ._models import Resource # type: ignore + from ._models import Sku # type: ignore + from ._models import StoragePoolOperationDisplay # type: ignore + from ._models import StoragePoolOperationListResult # type: ignore + from ._models import StoragePoolRPOperation # type: ignore + from ._models import SystemMetadata # type: ignore + from ._models import TargetPortalGroup # type: ignore + from ._models import TrackedResource # type: ignore + +from ._storage_pool_management_enums import ( + OperationalStatus, + ProvisioningStates, + SkuTier, +) + +__all__ = [ + 'Acl', + 'Attributes', + 'Disk', + 'DiskPool', + 'DiskPoolListResult', + 'Error', + 'ErrorAdditionalInfo', + 'ErrorResponse', + 'IscsiLun', + 'IscsiTarget', + 'IscsiTargetList', + 'ProxyResource', + 'Resource', + 'Sku', + 'StoragePoolOperationDisplay', + 'StoragePoolOperationListResult', + 'StoragePoolRPOperation', + 'SystemMetadata', + 'TargetPortalGroup', + 'TrackedResource', + 'OperationalStatus', + 'ProvisioningStates', + 'SkuTier', +] diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_models.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_models.py new file mode 100644 index 00000000000..ecc8ee7597c --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_models.py @@ -0,0 +1,800 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + + +class Acl(msrest.serialization.Model): + """Access Control List (ACL) for an iSCSI target lun. + + All required parameters must be populated in order to send to Azure. + + :param initiator_iqn: Required. iSCSI initiator iqn (iSCSI Qualified Name); example: + iqn.2005-03.org.iscsi:client. + :type initiator_iqn: str + :param mapped_luns: Required. Array of lun names mapped to the ACL. + :type mapped_luns: list[str] + :param username: Username for Challenge Handshake Authentication Protocol (CHAP) + authentication. + :type username: str + :param password: Password for Challenge Handshake Authentication Protocol (CHAP) + authentication. + :type password: str + """ + + _validation = { + 'initiator_iqn': {'required': True}, + 'mapped_luns': {'required': True}, + 'username': {'max_length': 128, 'min_length': 7}, + 'password': {'max_length': 512, 'min_length': 12}, + } + + _attribute_map = { + 'initiator_iqn': {'key': 'initiatorIqn', 'type': 'str'}, + 'mapped_luns': {'key': 'mappedLuns', 'type': '[str]'}, + 'username': {'key': 'credentials.username', 'type': 'str'}, + 'password': {'key': 'credentials.password', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Acl, self).__init__(**kwargs) + self.initiator_iqn = kwargs['initiator_iqn'] + self.mapped_luns = kwargs['mapped_luns'] + self.username = kwargs.get('username', None) + self.password = kwargs.get('password', None) + + +class Attributes(msrest.serialization.Model): + """Attributes of an iSCSI target. + + All required parameters must be populated in order to send to Azure. + + :param authentication: Required. Indicates whether or not authentication is enabled on the ACL. + :type authentication: bool + :param prod_mode_write_protect: Required. Indicates whether or not write protect is enabled on + the luns. + :type prod_mode_write_protect: bool + """ + + _validation = { + 'authentication': {'required': True}, + 'prod_mode_write_protect': {'required': True}, + } + + _attribute_map = { + 'authentication': {'key': 'authentication', 'type': 'bool'}, + 'prod_mode_write_protect': {'key': 'prodModeWriteProtect', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(Attributes, self).__init__(**kwargs) + self.authentication = kwargs['authentication'] + self.prod_mode_write_protect = kwargs['prod_mode_write_protect'] + + +class Disk(msrest.serialization.Model): + """Managed disk to attach to the DiskPool. Required. + + All required parameters must be populated in order to send to Azure. + + :param id: Required. Unique Azure resource id of the managed disk. Required. + :type id: str + """ + + _validation = { + 'id': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Disk, self).__init__(**kwargs) + self.id = kwargs['id'] + + +class Resource(msrest.serialization.Model): + """ARM resource model definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class TrackedResource(Resource): + """The resource model definition for a ARM tracked top level resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TrackedResource, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) + self.location = kwargs['location'] + + +class DiskPool(TrackedResource): + """Request payload for Create or Update Disk Pool requests. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + :param sku: Sku description. + :type sku: ~storage_pool_management.models.Sku + :ivar system_data: Resource metadata required by ARM RPC. + :vartype system_data: ~storage_pool_management.models.SystemMetadata + :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: + "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". + :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates + :param availability_zones: Logical zone for DiskPool resource. + :type availability_zones: list[str] + :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", + "Unknown", "Healthy", "Unhealthy". + :vartype status: str or ~storage_pool_management.models.OperationalStatus + :param disks: List of Azure managed disks to attach to a DiskPool. + :type disks: list[~storage_pool_management.models.Disk] + :param subnet_id: Azure resource id of the subnet for the DiskPool. + :type subnet_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'system_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'status': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, + 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DiskPool, self).__init__(**kwargs) + self.sku = kwargs.get('sku', None) + self.system_data = None + self.provisioning_state = None + self.availability_zones = kwargs.get('availability_zones', None) + self.status = None + self.disks = kwargs.get('disks', None) + self.subnet_id = kwargs.get('subnet_id', None) + + +class DiskPoolListResult(msrest.serialization.Model): + """List of Disk Pools. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of Disk Pool objects. + :type value: list[~storage_pool_management.models.DiskPool] + :ivar next_link: URI to fetch the next section of the paginated response. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DiskPool]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DiskPoolListResult, self).__init__(**kwargs) + self.value = kwargs['value'] + self.next_link = None + + +class Error(msrest.serialization.Model): + """The resource management error response. + + :param error: RP error response. + :type error: ~storage_pool_management.models.ErrorResponse + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ErrorResponse'}, + } + + def __init__( + self, + **kwargs + ): + super(Error, self).__init__(**kwargs) + self.error = kwargs.get('error', None) + + +class ErrorAdditionalInfo(msrest.serialization.Model): + """The resource management error additional info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: The additional info type. + :vartype type: str + :ivar info: The additional info. + :vartype info: object + """ + + _validation = { + 'type': {'readonly': True}, + 'info': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'info': {'key': 'info', 'type': 'object'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorAdditionalInfo, self).__init__(**kwargs) + self.type = None + self.info = None + + +class ErrorResponse(msrest.serialization.Model): + """The resource management error response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar code: The error code. + :vartype code: str + :ivar message: The error message. + :vartype message: str + :ivar target: The error target. + :vartype target: str + :ivar details: The error details. + :vartype details: list[~storage_pool_management.models.ErrorResponse] + :ivar additional_info: The error additional info. + :vartype additional_info: list[~storage_pool_management.models.ErrorAdditionalInfo] + """ + + _validation = { + 'code': {'readonly': True}, + 'message': {'readonly': True}, + 'target': {'readonly': True}, + 'details': {'readonly': True}, + 'additional_info': {'readonly': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[ErrorResponse]'}, + 'additional_info': {'key': 'additionalInfo', 'type': '[ErrorAdditionalInfo]'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorResponse, self).__init__(**kwargs) + self.code = None + self.message = None + self.target = None + self.details = None + self.additional_info = None + + +class IscsiLun(msrest.serialization.Model): + """Lun to expose the ManagedDisk. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. Lun name. + :type name: str + :param managed_disk_azure_resource_id: Required. Unique Azure resource id of the managed disk. + Required. + :type managed_disk_azure_resource_id: str + """ + + _validation = { + 'name': {'required': True}, + 'managed_disk_azure_resource_id': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'managed_disk_azure_resource_id': {'key': 'managedDiskAzureResourceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IscsiLun, self).__init__(**kwargs) + self.name = kwargs['name'] + self.managed_disk_azure_resource_id = kwargs['managed_disk_azure_resource_id'] + + +class IscsiTarget(Resource): + """Payload for iSCSI Target Create or Update requests. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: + "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". + :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates + :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", + "Unknown", "Healthy", "Unhealthy". + :vartype status: str or ~storage_pool_management.models.OperationalStatus + :param tpgs: list of iSCSI target portal groups. + :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] + :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: + iqn.2005-03.org.iscsi:server. + :type target_iqn: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'status': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroup]'}, + 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IscsiTarget, self).__init__(**kwargs) + self.provisioning_state = None + self.status = None + self.tpgs = kwargs.get('tpgs', None) + self.target_iqn = kwargs.get('target_iqn', None) + + +class IscsiTargetList(msrest.serialization.Model): + """List of iSCSI Targets. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of iSCSI targets within a Disk Pool. + :type value: list[~storage_pool_management.models.IscsiTarget] + :ivar next_link: URI to fetch the next section of the paginated response. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[IscsiTarget]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IscsiTargetList, self).__init__(**kwargs) + self.value = kwargs['value'] + self.next_link = None + + +class ProxyResource(Resource): + """The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ProxyResource, self).__init__(**kwargs) + + +class Sku(msrest.serialization.Model): + """The resource model definition representing SKU. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code. + :type name: str + :param tier: This field is required to be implemented by the Resource Provider if the service + has more than one tier, but is not required on a PUT. Possible values include: "Free", "Basic", + "Standard", "Premium". + :type tier: str or ~storage_pool_management.models.SkuTier + :param size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :type size: str + :param family: If the service has different generations of hardware, for the same SKU, then + that can be captured here. + :type family: str + :param capacity: If the SKU supports scale out/in then the capacity integer should be included. + If scale out/in is not possible for the resource this may be omitted. + :type capacity: int + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'size': {'key': 'size', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'capacity': {'key': 'capacity', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(Sku, self).__init__(**kwargs) + self.name = kwargs['name'] + self.tier = kwargs.get('tier', None) + self.size = kwargs.get('size', None) + self.family = kwargs.get('family', None) + self.capacity = kwargs.get('capacity', None) + + +class StoragePoolOperationDisplay(msrest.serialization.Model): + """Metadata about an operation. + + All required parameters must be populated in order to send to Azure. + + :param provider: Required. Localized friendly form of the resource provider name. + :type provider: str + :param resource: Required. Localized friendly form of the resource type related to this + action/operation. + :type resource: str + :param operation: Required. Localized friendly name for the operation, as it should be shown to + the user. + :type operation: str + :param description: Required. Localized friendly description for the operation, as it should be + shown to the user. + :type description: str + """ + + _validation = { + 'provider': {'required': True}, + 'resource': {'required': True}, + 'operation': {'required': True}, + 'description': {'required': True}, + } + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StoragePoolOperationDisplay, self).__init__(**kwargs) + self.provider = kwargs['provider'] + self.resource = kwargs['resource'] + self.operation = kwargs['operation'] + self.description = kwargs['description'] + + +class StoragePoolOperationListResult(msrest.serialization.Model): + """List of operations supported by the RP. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of operations supported by the StoragePool RP. + :type value: list[~storage_pool_management.models.StoragePoolRPOperation] + :param next_link: URI to fetch the next section of the paginated response. + :type next_link: str + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StoragePoolRPOperation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StoragePoolOperationListResult, self).__init__(**kwargs) + self.value = kwargs['value'] + self.next_link = kwargs.get('next_link', None) + + +class StoragePoolRPOperation(msrest.serialization.Model): + """Description of a StoragePool RP Operation. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the operation being performed on this particular object. + :type name: str + :param is_data_action: Required. Indicates whether the operation applies to data-plane. + :type is_data_action: bool + :param action_type: Indicates the action type. + :type action_type: str + :param display: Required. Additional metadata about RP operation. + :type display: ~storage_pool_management.models.StoragePoolOperationDisplay + :param origin: The intended executor of the operation; governs the display of the operation in + the RBAC UX and the audit logs UX. + :type origin: str + """ + + _validation = { + 'name': {'required': True}, + 'is_data_action': {'required': True}, + 'display': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, + 'action_type': {'key': 'actionType', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'StoragePoolOperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StoragePoolRPOperation, self).__init__(**kwargs) + self.name = kwargs['name'] + self.is_data_action = kwargs['is_data_action'] + self.action_type = kwargs.get('action_type', None) + self.display = kwargs['display'] + self.origin = kwargs.get('origin', None) + + +class SystemMetadata(msrest.serialization.Model): + """Resource metadata required by ARM RPC. + + :param created_by: A string identifier for the identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource: user, application, + managedIdentity. + :type created_by_type: str + :param created_at: The timestamp of resource creation (UTC). + :type created_at: str + :param last_modified_by: A string identifier for the identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource: user, + application, managedIdentity. + :type last_modified_by_type: str + :param last_modified_at: The timestamp of resource last modification (UTC). + :type last_modified_at: str + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'str'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SystemMetadata, self).__init__(**kwargs) + self.created_by = kwargs.get('created_by', None) + self.created_by_type = kwargs.get('created_by_type', None) + self.created_at = kwargs.get('created_at', None) + self.last_modified_by = kwargs.get('last_modified_by', None) + self.last_modified_by_type = kwargs.get('last_modified_by_type', None) + self.last_modified_at = kwargs.get('last_modified_at', None) + + +class TargetPortalGroup(msrest.serialization.Model): + """iSCSI target portal group. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param luns: Required. Lun list to be exposed through the iSCSI target. Required. + :type luns: list[~storage_pool_management.models.IscsiLun] + :param acls: Required. Access Control List (ACL) for an iSCSI target lun. + :type acls: list[~storage_pool_management.models.Acl] + :param attributes: Required. Attributes of an iSCSI target. + :type attributes: ~storage_pool_management.models.Attributes + :ivar endpoints: list of public ip addresses to connect to the iSCSI target. + :vartype endpoints: list[str] + :ivar tag: The tag associated with the iSCSI target portal group. + :vartype tag: int + :ivar port: The port at which the iSCSI target is available. + :vartype port: int + """ + + _validation = { + 'luns': {'required': True}, + 'acls': {'required': True}, + 'attributes': {'required': True}, + 'endpoints': {'readonly': True}, + 'tag': {'readonly': True}, + 'port': {'readonly': True}, + } + + _attribute_map = { + 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, + 'acls': {'key': 'acls', 'type': '[Acl]'}, + 'attributes': {'key': 'attributes', 'type': 'Attributes'}, + 'endpoints': {'key': 'endpoints', 'type': '[str]'}, + 'tag': {'key': 'tag', 'type': 'int'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(TargetPortalGroup, self).__init__(**kwargs) + self.luns = kwargs['luns'] + self.acls = kwargs['acls'] + self.attributes = kwargs['attributes'] + self.endpoints = None + self.tag = None + self.port = None diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_models_py3.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_models_py3.py new file mode 100644 index 00000000000..2f8e431e808 --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_models_py3.py @@ -0,0 +1,867 @@ +# 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 Dict, List, Optional, Union + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + +from ._storage_pool_management_enums import * + + +class Acl(msrest.serialization.Model): + """Access Control List (ACL) for an iSCSI target lun. + + All required parameters must be populated in order to send to Azure. + + :param initiator_iqn: Required. iSCSI initiator iqn (iSCSI Qualified Name); example: + iqn.2005-03.org.iscsi:client. + :type initiator_iqn: str + :param mapped_luns: Required. Array of lun names mapped to the ACL. + :type mapped_luns: list[str] + :param username: Username for Challenge Handshake Authentication Protocol (CHAP) + authentication. + :type username: str + :param password: Password for Challenge Handshake Authentication Protocol (CHAP) + authentication. + :type password: str + """ + + _validation = { + 'initiator_iqn': {'required': True}, + 'mapped_luns': {'required': True}, + 'username': {'max_length': 128, 'min_length': 7}, + 'password': {'max_length': 512, 'min_length': 12}, + } + + _attribute_map = { + 'initiator_iqn': {'key': 'initiatorIqn', 'type': 'str'}, + 'mapped_luns': {'key': 'mappedLuns', 'type': '[str]'}, + 'username': {'key': 'credentials.username', 'type': 'str'}, + 'password': {'key': 'credentials.password', 'type': 'str'}, + } + + def __init__( + self, + *, + initiator_iqn: str, + mapped_luns: List[str], + username: Optional[str] = None, + password: Optional[str] = None, + **kwargs + ): + super(Acl, self).__init__(**kwargs) + self.initiator_iqn = initiator_iqn + self.mapped_luns = mapped_luns + self.username = username + self.password = password + + +class Attributes(msrest.serialization.Model): + """Attributes of an iSCSI target. + + All required parameters must be populated in order to send to Azure. + + :param authentication: Required. Indicates whether or not authentication is enabled on the ACL. + :type authentication: bool + :param prod_mode_write_protect: Required. Indicates whether or not write protect is enabled on + the luns. + :type prod_mode_write_protect: bool + """ + + _validation = { + 'authentication': {'required': True}, + 'prod_mode_write_protect': {'required': True}, + } + + _attribute_map = { + 'authentication': {'key': 'authentication', 'type': 'bool'}, + 'prod_mode_write_protect': {'key': 'prodModeWriteProtect', 'type': 'bool'}, + } + + def __init__( + self, + *, + authentication: bool, + prod_mode_write_protect: bool, + **kwargs + ): + super(Attributes, self).__init__(**kwargs) + self.authentication = authentication + self.prod_mode_write_protect = prod_mode_write_protect + + +class Disk(msrest.serialization.Model): + """Managed disk to attach to the DiskPool. Required. + + All required parameters must be populated in order to send to Azure. + + :param id: Required. Unique Azure resource id of the managed disk. Required. + :type id: str + """ + + _validation = { + 'id': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + *, + id: str, + **kwargs + ): + super(Disk, self).__init__(**kwargs) + self.id = id + + +class Resource(msrest.serialization.Model): + """ARM resource model definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class TrackedResource(Resource): + """The resource model definition for a ARM tracked top level resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + **kwargs + ): + super(TrackedResource, self).__init__(**kwargs) + self.tags = tags + self.location = location + + +class DiskPool(TrackedResource): + """Request payload for Create or Update Disk Pool requests. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + :param sku: Sku description. + :type sku: ~storage_pool_management.models.Sku + :ivar system_data: Resource metadata required by ARM RPC. + :vartype system_data: ~storage_pool_management.models.SystemMetadata + :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: + "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". + :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates + :param availability_zones: Logical zone for DiskPool resource. + :type availability_zones: list[str] + :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", + "Unknown", "Healthy", "Unhealthy". + :vartype status: str or ~storage_pool_management.models.OperationalStatus + :param disks: List of Azure managed disks to attach to a DiskPool. + :type disks: list[~storage_pool_management.models.Disk] + :param subnet_id: Azure resource id of the subnet for the DiskPool. + :type subnet_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'system_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'status': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, + 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + sku: Optional["Sku"] = None, + availability_zones: Optional[List[str]] = None, + disks: Optional[List["Disk"]] = None, + subnet_id: Optional[str] = None, + **kwargs + ): + super(DiskPool, self).__init__(tags=tags, location=location, **kwargs) + self.sku = sku + self.system_data = None + self.provisioning_state = None + self.availability_zones = availability_zones + self.status = None + self.disks = disks + self.subnet_id = subnet_id + + +class DiskPoolListResult(msrest.serialization.Model): + """List of Disk Pools. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of Disk Pool objects. + :type value: list[~storage_pool_management.models.DiskPool] + :ivar next_link: URI to fetch the next section of the paginated response. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DiskPool]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: List["DiskPool"], + **kwargs + ): + super(DiskPoolListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class Error(msrest.serialization.Model): + """The resource management error response. + + :param error: RP error response. + :type error: ~storage_pool_management.models.ErrorResponse + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ErrorResponse'}, + } + + def __init__( + self, + *, + error: Optional["ErrorResponse"] = None, + **kwargs + ): + super(Error, self).__init__(**kwargs) + self.error = error + + +class ErrorAdditionalInfo(msrest.serialization.Model): + """The resource management error additional info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: The additional info type. + :vartype type: str + :ivar info: The additional info. + :vartype info: object + """ + + _validation = { + 'type': {'readonly': True}, + 'info': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'info': {'key': 'info', 'type': 'object'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorAdditionalInfo, self).__init__(**kwargs) + self.type = None + self.info = None + + +class ErrorResponse(msrest.serialization.Model): + """The resource management error response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar code: The error code. + :vartype code: str + :ivar message: The error message. + :vartype message: str + :ivar target: The error target. + :vartype target: str + :ivar details: The error details. + :vartype details: list[~storage_pool_management.models.ErrorResponse] + :ivar additional_info: The error additional info. + :vartype additional_info: list[~storage_pool_management.models.ErrorAdditionalInfo] + """ + + _validation = { + 'code': {'readonly': True}, + 'message': {'readonly': True}, + 'target': {'readonly': True}, + 'details': {'readonly': True}, + 'additional_info': {'readonly': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[ErrorResponse]'}, + 'additional_info': {'key': 'additionalInfo', 'type': '[ErrorAdditionalInfo]'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorResponse, self).__init__(**kwargs) + self.code = None + self.message = None + self.target = None + self.details = None + self.additional_info = None + + +class IscsiLun(msrest.serialization.Model): + """Lun to expose the ManagedDisk. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. Lun name. + :type name: str + :param managed_disk_azure_resource_id: Required. Unique Azure resource id of the managed disk. + Required. + :type managed_disk_azure_resource_id: str + """ + + _validation = { + 'name': {'required': True}, + 'managed_disk_azure_resource_id': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'managed_disk_azure_resource_id': {'key': 'managedDiskAzureResourceId', 'type': 'str'}, + } + + def __init__( + self, + *, + name: str, + managed_disk_azure_resource_id: str, + **kwargs + ): + super(IscsiLun, self).__init__(**kwargs) + self.name = name + self.managed_disk_azure_resource_id = managed_disk_azure_resource_id + + +class IscsiTarget(Resource): + """Payload for iSCSI Target Create or Update requests. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: + "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". + :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates + :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", + "Unknown", "Healthy", "Unhealthy". + :vartype status: str or ~storage_pool_management.models.OperationalStatus + :param tpgs: list of iSCSI target portal groups. + :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] + :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: + iqn.2005-03.org.iscsi:server. + :type target_iqn: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'status': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroup]'}, + 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, + } + + def __init__( + self, + *, + tpgs: Optional[List["TargetPortalGroup"]] = None, + target_iqn: Optional[str] = None, + **kwargs + ): + super(IscsiTarget, self).__init__(**kwargs) + self.provisioning_state = None + self.status = None + self.tpgs = tpgs + self.target_iqn = target_iqn + + +class IscsiTargetList(msrest.serialization.Model): + """List of iSCSI Targets. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of iSCSI targets within a Disk Pool. + :type value: list[~storage_pool_management.models.IscsiTarget] + :ivar next_link: URI to fetch the next section of the paginated response. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[IscsiTarget]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: List["IscsiTarget"], + **kwargs + ): + super(IscsiTargetList, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class ProxyResource(Resource): + """The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ProxyResource, self).__init__(**kwargs) + + +class Sku(msrest.serialization.Model): + """The resource model definition representing SKU. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code. + :type name: str + :param tier: This field is required to be implemented by the Resource Provider if the service + has more than one tier, but is not required on a PUT. Possible values include: "Free", "Basic", + "Standard", "Premium". + :type tier: str or ~storage_pool_management.models.SkuTier + :param size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :type size: str + :param family: If the service has different generations of hardware, for the same SKU, then + that can be captured here. + :type family: str + :param capacity: If the SKU supports scale out/in then the capacity integer should be included. + If scale out/in is not possible for the resource this may be omitted. + :type capacity: int + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'size': {'key': 'size', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'capacity': {'key': 'capacity', 'type': 'int'}, + } + + def __init__( + self, + *, + name: str, + tier: Optional[Union[str, "SkuTier"]] = None, + size: Optional[str] = None, + family: Optional[str] = None, + capacity: Optional[int] = None, + **kwargs + ): + super(Sku, self).__init__(**kwargs) + self.name = name + self.tier = tier + self.size = size + self.family = family + self.capacity = capacity + + +class StoragePoolOperationDisplay(msrest.serialization.Model): + """Metadata about an operation. + + All required parameters must be populated in order to send to Azure. + + :param provider: Required. Localized friendly form of the resource provider name. + :type provider: str + :param resource: Required. Localized friendly form of the resource type related to this + action/operation. + :type resource: str + :param operation: Required. Localized friendly name for the operation, as it should be shown to + the user. + :type operation: str + :param description: Required. Localized friendly description for the operation, as it should be + shown to the user. + :type description: str + """ + + _validation = { + 'provider': {'required': True}, + 'resource': {'required': True}, + 'operation': {'required': True}, + 'description': {'required': True}, + } + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + *, + provider: str, + resource: str, + operation: str, + description: str, + **kwargs + ): + super(StoragePoolOperationDisplay, self).__init__(**kwargs) + self.provider = provider + self.resource = resource + self.operation = operation + self.description = description + + +class StoragePoolOperationListResult(msrest.serialization.Model): + """List of operations supported by the RP. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of operations supported by the StoragePool RP. + :type value: list[~storage_pool_management.models.StoragePoolRPOperation] + :param next_link: URI to fetch the next section of the paginated response. + :type next_link: str + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StoragePoolRPOperation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: List["StoragePoolRPOperation"], + next_link: Optional[str] = None, + **kwargs + ): + super(StoragePoolOperationListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class StoragePoolRPOperation(msrest.serialization.Model): + """Description of a StoragePool RP Operation. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the operation being performed on this particular object. + :type name: str + :param is_data_action: Required. Indicates whether the operation applies to data-plane. + :type is_data_action: bool + :param action_type: Indicates the action type. + :type action_type: str + :param display: Required. Additional metadata about RP operation. + :type display: ~storage_pool_management.models.StoragePoolOperationDisplay + :param origin: The intended executor of the operation; governs the display of the operation in + the RBAC UX and the audit logs UX. + :type origin: str + """ + + _validation = { + 'name': {'required': True}, + 'is_data_action': {'required': True}, + 'display': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, + 'action_type': {'key': 'actionType', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'StoragePoolOperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + } + + def __init__( + self, + *, + name: str, + is_data_action: bool, + display: "StoragePoolOperationDisplay", + action_type: Optional[str] = None, + origin: Optional[str] = None, + **kwargs + ): + super(StoragePoolRPOperation, self).__init__(**kwargs) + self.name = name + self.is_data_action = is_data_action + self.action_type = action_type + self.display = display + self.origin = origin + + +class SystemMetadata(msrest.serialization.Model): + """Resource metadata required by ARM RPC. + + :param created_by: A string identifier for the identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource: user, application, + managedIdentity. + :type created_by_type: str + :param created_at: The timestamp of resource creation (UTC). + :type created_at: str + :param last_modified_by: A string identifier for the identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource: user, + application, managedIdentity. + :type last_modified_by_type: str + :param last_modified_at: The timestamp of resource last modification (UTC). + :type last_modified_at: str + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'str'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'str'}, + } + + def __init__( + self, + *, + created_by: Optional[str] = None, + created_by_type: Optional[str] = None, + created_at: Optional[str] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[str] = None, + last_modified_at: Optional[str] = None, + **kwargs + ): + super(SystemMetadata, self).__init__(**kwargs) + self.created_by = created_by + self.created_by_type = created_by_type + self.created_at = created_at + self.last_modified_by = last_modified_by + self.last_modified_by_type = last_modified_by_type + self.last_modified_at = last_modified_at + + +class TargetPortalGroup(msrest.serialization.Model): + """iSCSI target portal group. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param luns: Required. Lun list to be exposed through the iSCSI target. Required. + :type luns: list[~storage_pool_management.models.IscsiLun] + :param acls: Required. Access Control List (ACL) for an iSCSI target lun. + :type acls: list[~storage_pool_management.models.Acl] + :param attributes: Required. Attributes of an iSCSI target. + :type attributes: ~storage_pool_management.models.Attributes + :ivar endpoints: list of public ip addresses to connect to the iSCSI target. + :vartype endpoints: list[str] + :ivar tag: The tag associated with the iSCSI target portal group. + :vartype tag: int + :ivar port: The port at which the iSCSI target is available. + :vartype port: int + """ + + _validation = { + 'luns': {'required': True}, + 'acls': {'required': True}, + 'attributes': {'required': True}, + 'endpoints': {'readonly': True}, + 'tag': {'readonly': True}, + 'port': {'readonly': True}, + } + + _attribute_map = { + 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, + 'acls': {'key': 'acls', 'type': '[Acl]'}, + 'attributes': {'key': 'attributes', 'type': 'Attributes'}, + 'endpoints': {'key': 'endpoints', 'type': '[str]'}, + 'tag': {'key': 'tag', 'type': 'int'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + *, + luns: List["IscsiLun"], + acls: List["Acl"], + attributes: "Attributes", + **kwargs + ): + super(TargetPortalGroup, self).__init__(**kwargs) + self.luns = luns + self.acls = acls + self.attributes = attributes + self.endpoints = None + self.tag = None + self.port = None diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_storage_pool_management_enums.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_storage_pool_management_enums.py new file mode 100644 index 00000000000..deae4a6f128 --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_storage_pool_management_enums.py @@ -0,0 +1,59 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class OperationalStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Operational status of the Disk pool + """ + + INVALID = "Invalid" + UNKNOWN = "Unknown" + HEALTHY = "Healthy" + UNHEALTHY = "Unhealthy" + +class ProvisioningStates(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """State of provisioning of the iSCSI target + """ + + INVALID = "Invalid" + SUCCEEDED = "Succeeded" + FAILED = "Failed" + CANCELED = "Canceled" + PENDING = "Pending" + CREATING = "Creating" + UPDATING = "Updating" + DELETING = "Deleting" + +class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """This field is required to be implemented by the Resource Provider if the service has more than + one tier, but is not required on a PUT. + """ + + FREE = "Free" + BASIC = "Basic" + STANDARD = "Standard" + PREMIUM = "Premium" diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/__init__.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/__init__.py new file mode 100644 index 00000000000..ee3e1450aed --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/__init__.py @@ -0,0 +1,17 @@ +# 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 ._operation_operations import OperationOperations +from ._disk_pool_operations import DiskPoolOperations +from ._iscsi_target_operations import IscsiTargetOperations + +__all__ = [ + 'OperationOperations', + 'DiskPoolOperations', + 'IscsiTargetOperations', +] diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_disk_pool_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_disk_pool_operations.py new file mode 100644 index 00000000000..17091615e57 --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_disk_pool_operations.py @@ -0,0 +1,602 @@ +# 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.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, List, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class DiskPoolOperations(object): + """DiskPoolOperations 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_by_subscription( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.DiskPoolListResult"] + """Gets a list of Disk Pools in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.DiskPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + 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('DiskPoolListResult', 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_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.DiskPoolListResult"] + """Gets a list of DiskPools. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.DiskPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_resource_group.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]$'), + } + 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('DiskPoolListResult', 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_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + location, # type: str + tags=None, # type: Optional[Dict[str, str]] + sku=None, # type: Optional["models.Sku"] + availability_zones=None, # type: Optional[List[str]] + disks=None, # type: Optional[List["models.Disk"]] + subnet_id=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "models.DiskPool" + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + disk_pool_payload = models.DiskPool(tags=tags, location=location, sku=sku, availability_zones=availability_zones, disks=disks, subnet_id=subnet_id) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(disk_pool_payload, 'DiskPool') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + location, # type: str + tags=None, # type: Optional[Dict[str, str]] + sku=None, # type: Optional["models.Sku"] + availability_zones=None, # type: Optional[List[str]] + disks=None, # type: Optional[List["models.Disk"]] + subnet_id=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> LROPoller["models.DiskPool"] + """Create a new Disk Pool. + + :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 + :param location: The geo-location where the resource lives. + :type location: str + :param tags: Resource tags. + :type tags: dict[str, str] + :param sku: Sku description. + :type sku: ~storage_pool_management.models.Sku + :param availability_zones: Logical zone for DiskPool resource. + :type availability_zones: list[str] + :param disks: List of Azure managed disks to attach to a DiskPool. + :type disks: list[~storage_pool_management.models.Disk] + :param subnet_id: Azure resource id of the subnet for the DiskPool. + :type subnet_id: 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 DiskPool or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.DiskPool] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + 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._create_or_update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + location=location, + tags=tags, + sku=sku, + availability_zones=availability_zones, + disks=disks, + subnet_id=subnet_id, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def update( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + location, # type: str + tags=None, # type: Optional[Dict[str, str]] + sku=None, # type: Optional["models.Sku"] + availability_zones=None, # type: Optional[List[str]] + disks=None, # type: Optional[List["models.Disk"]] + subnet_id=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "models.DiskPool" + """Update a Storage Pool. + + :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 + :param location: The geo-location where the resource lives. + :type location: str + :param tags: Resource tags. + :type tags: dict[str, str] + :param sku: Sku description. + :type sku: ~storage_pool_management.models.Sku + :param availability_zones: Logical zone for DiskPool resource. + :type availability_zones: list[str] + :param disks: List of Azure managed disks to attach to a DiskPool. + :type disks: list[~storage_pool_management.models.Disk] + :param subnet_id: Azure resource id of the subnet for the DiskPool. + :type subnet_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DiskPool, or the result of cls(response) + :rtype: ~storage_pool_management.models.DiskPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + disk_pool_payload = models.DiskPool(tags=tags, location=location, sku=sku, availability_zones=availability_zones, disks=disks, subnet_id=subnet_id) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(disk_pool_payload, 'DiskPool') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + 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) + + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def _delete_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 = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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.delete(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, 204]: + 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, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Delete a Disk Pool. + + :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._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.DiskPool" + """Get a Disk Pool. + + :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 + :return: DiskPool, or the result of cls(response) + :rtype: ~storage_pool_management.models.DiskPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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.get(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]: + 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) + + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_disk_pools_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_disk_pools_operations.py new file mode 100644 index 00000000000..2e4c1229772 --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_disk_pools_operations.py @@ -0,0 +1,558 @@ +# 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.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class DiskPoolsOperations(object): + """DiskPoolsOperations 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_by_subscription( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.DiskPoolListResult"] + """Gets a list of Disk Pools in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.DiskPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + 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('DiskPoolListResult', 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_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.DiskPoolListResult"] + """Gets a list of DiskPools. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.DiskPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_resource_group.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]$'), + } + 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('DiskPoolListResult', 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_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + disk_pool_payload, # type: "models.DiskPool" + **kwargs # type: Any + ): + # type: (...) -> "models.DiskPool" + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(disk_pool_payload, 'DiskPool') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + disk_pool_payload, # type: "models.DiskPool" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["models.DiskPool"] + """Create a new Disk Pool. + + :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 + :param disk_pool_payload: Request payload for Disk Pool operations. + :type disk_pool_payload: ~storage_pool_management.models.DiskPool + :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 DiskPool or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.DiskPool] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + 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._create_or_update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + disk_pool_payload=disk_pool_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def update( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + disk_pool_payload, # type: "models.DiskPool" + **kwargs # type: Any + ): + # type: (...) -> "models.DiskPool" + """Update a Storage Pool. + + :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 + :param disk_pool_payload: Request payload for Disk Pool operations. + :type disk_pool_payload: ~storage_pool_management.models.DiskPool + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DiskPool, or the result of cls(response) + :rtype: ~storage_pool_management.models.DiskPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(disk_pool_payload, 'DiskPool') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + 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) + + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def _delete_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 = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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.delete(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, 204]: + 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, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Delete a Disk Pool. + + :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._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.DiskPool" + """Get a Disk Pool. + + :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 + :return: DiskPool, or the result of cls(response) + :rtype: ~storage_pool_management.models.DiskPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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.get(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]: + 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) + + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_iscsi_target_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_iscsi_target_operations.py new file mode 100644 index 00000000000..0fb147f3fdc --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_iscsi_target_operations.py @@ -0,0 +1,452 @@ +# 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.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, List, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class IscsiTargetOperations(object): + """IscsiTargetOperations 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_by_disk_pool( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.IscsiTargetList"] + """Get iSCSI Targets within a Disk Pool. + + :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 + :return: An iterator like instance of either IscsiTargetList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.IscsiTargetList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTargetList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_disk_pool.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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('IscsiTargetList', 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_by_disk_pool.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + tpgs=None, # type: Optional[List["models.TargetPortalGroup"]] + target_iqn=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "models.IscsiTarget" + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + iscsi_target_payload = models.IscsiTarget(tpgs=tpgs, target_iqn=target_iqn) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(iscsi_target_payload, 'IscsiTarget') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + tpgs=None, # type: Optional[List["models.TargetPortalGroup"]] + target_iqn=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> LROPoller["models.IscsiTarget"] + """Create or Update an iSCSI target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :param tpgs: list of iSCSI target portal groups. + :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] + :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: + iqn.2005-03.org.iscsi:server. + :type target_iqn: 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 IscsiTarget or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.IscsiTarget] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + 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._create_or_update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name, + tpgs=tpgs, + target_iqn=target_iqn, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_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 = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.delete(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, 204]: + 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, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_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._delete_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.IscsiTarget" + """Gets an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: IscsiTarget, or the result of cls(response) + :rtype: ~storage_pool_management.models.IscsiTarget + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.get(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]: + 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) + + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_iscsi_targets_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_iscsi_targets_operations.py new file mode 100644 index 00000000000..c043566ef13 --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_iscsi_targets_operations.py @@ -0,0 +1,444 @@ +# 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.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class IscsiTargetsOperations(object): + """IscsiTargetsOperations 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_by_disk_pool( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.IscsiTargetList"] + """Get iSCSI Targets within a Disk Pool. + + :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 + :return: An iterator like instance of either IscsiTargetList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.IscsiTargetList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTargetList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_disk_pool.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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('IscsiTargetList', 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_by_disk_pool.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + iscsi_target_payload, # type: "models.IscsiTarget" + **kwargs # type: Any + ): + # type: (...) -> "models.IscsiTarget" + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(iscsi_target_payload, 'IscsiTarget') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + iscsi_target_payload, # type: "models.IscsiTarget" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["models.IscsiTarget"] + """Create or Update an iSCSI target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :param iscsi_target_payload: Request payload for iSCSI target operations. + :type iscsi_target_payload: ~storage_pool_management.models.IscsiTarget + :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 IscsiTarget or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.IscsiTarget] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + 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._create_or_update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name, + iscsi_target_payload=iscsi_target_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_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 = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.delete(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, 204]: + 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, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_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._delete_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.IscsiTarget" + """Gets an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: IscsiTarget, or the result of cls(response) + :rtype: ~storage_pool_management.models.IscsiTarget + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.get(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]: + 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) + + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_operation_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_operation_operations.py new file mode 100644 index 00000000000..f6275f4bc7b --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_operation_operations.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from 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 OperationOperations(object): + """OperationOperations 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, + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.StoragePoolOperationListResult"] + """Gets a list of StoragePool operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StoragePoolOperationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.StoragePoolOperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.StoragePoolOperationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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 + # 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('StoragePoolOperationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return 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': '/providers/Microsoft.StoragePool/operations'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_operations.py new file mode 100644 index 00000000000..bf704ee6432 --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_operations.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from 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 Operations(object): + """Operations 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, + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.StoragePoolOperationListResult"] + """Gets a list of StoragePool operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StoragePoolOperationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.StoragePoolOperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.StoragePoolOperationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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 + # 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('StoragePoolOperationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return 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': '/providers/Microsoft.StoragePool/operations'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/py.typed b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/py.typed new file mode 100644 index 00000000000..e5aff4f83af --- /dev/null +++ b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file diff --git a/src/storagepool/gen.zip b/src/storagepool/gen.zip new file mode 100644 index 0000000000000000000000000000000000000000..0519aa3c40ca691fff67446a30cc2ce80fdfd0f3 GIT binary patch literal 8632 zcmeGiYj4{&Fx~5eKko-{Y607WEvFlXVHpf0OR^wnGGs~i0GdExB-&;ziz-PubprpT zeb_JBr~QuIk(MmWa{Or8Z9tVcim2n=@pyNz0sc1Leegag$S=SQ(9ex6z}FC|JGAJi>TznjYm&O^UuT;CN;lK zPPs3I5*-cWG6wE67m-W$!jKpsMI=*94q4#B+!GFLDHf0<3Ya9i$H?jNWjgGV3&yes z{YDcW8JJj#SIpN$3ZY3yNWc_YOaKAT1535?)UX#Y(q$0?R)EmWD92*$yiWEKEzUt? zz%KwESwJC?yZs)Gx=fJ)9TA@!$Ct9C-s8 zB{XahNx5Pk?=)b&q3`)(2x9B9CD=iHB9T5jk|K%EB#WtJazZAaJgSu3uUu-N^%K*# zLiRK0O6BtK;?g@fJ|}Hhj~i3nbLox3do6u_C3uuQq%S?M!$anI^#-ZBZna*oR6xpy z(U2&nlen@wU0@|(9Xnb>0l|8^^_>cVE2c`>dB5+So}C=-kk$cL{WCBu)ru3{+LsLU zhrova5(oGnB?v$eVxEL%vF8Qw9xYROfWY$&0#8UUF$g?r06c^!a)Zpd{vfDT=^e@0 zI6;(6oIxx)QZ?M;3d~h)HX}M<#JL}gQvSzI2~;S2VX(~vO8{pH4izMziMU9!`&AH z5E^S4)UDwFmsMOV^A4z{xJ+;RzsXjqv_K{i(@h?b#}n7Ynp(rDaTTQn#s=~pMq}I~ zU_iCN7-$meGSR7iLQs*~&V>dCM`hsc{jgsKscBb{J{z^2Aq^8&29oZ1vy1)#bQ3n+ zsWxUc*Y7dEui7tXM^UM*G2rW(gFHEnf_kH~0N@O(~ zyBsTD@k=VTW<43qc#M;H1Q`N_qS^85 zXfm;UB~U{Fo&W@A4QL#*;3SDG*Dw+$(Kg(!$Kz`RpjsCROMV0S>vTmlf#Mdd(x%-o zXGhC~;bcgEgHtFL{U*6)XHsY=FX8(RW-*p+AeR$ZZq@LjNErFDOh-_;3Gi6l!?Mu% zB=bH_h5EKhPmyq1_$$rbbGiC+U=ZX6zwa+uoKfx7602gqXtf{o1{20|rAgI)H3G{r zw;5|+J$aj1YDsLeR^&Pte&(>N7C1ti!hzeH`o>kf9>(VQp^;~1TH$Wy2p1%D@5~LZ zCBO$m|9m+kC)hD)*d`T?ccGyVoPfCdg`5oYkJQf)Qw?5G88+Mb1-aR}JO6kax@IPm z+jFeOg$xRw2j&J{g>_BJ&i5v_$1p65iZn+hUSwSvuN-8owHb5n2~RsLC1v7VJ2{-l zZ&IVjWp0`sJ|wBzR4<{_F{VXD}1n07{K@M&1Of$`&Qp__z*$NjNh>MWJ zyyeIzIz729at%2WsP6=&eV$SbP6rSW=R1?N z`~x)R4DQ|ZK$+<-*3g1HXfAg6n|2kVbu6vsI%VEqG&8UIa_8IYhG|q(Wfv-K(4zzl znn@2awQNMtFon*OpLH>r3^Mj+`q8zl=bODxJJ+zfvlmZ3`h08gS0~`x6S?axzDRNQ S;?vI%(-ZjNaR2TLeEJ9Gc6<5& literal 0 HcmV?d00001 diff --git a/src/storagepool/report.md b/src/storagepool/report.md new file mode 100644 index 00000000000..2a9bab87398 --- /dev/null +++ b/src/storagepool/report.md @@ -0,0 +1,199 @@ +# Azure CLI Module Creation Report + +## EXTENSION +|CLI Extension|Command Groups| +|---------|------------| +|az storagepool|[groups](#CommandGroups) + +## GROUPS +### Command groups in `az storagepool` extension +|CLI Command Group|Group Swagger name|Commands| +|---------|------------|--------| +|az storagepool disk-pool|DiskPools|[commands](#CommandsInDiskPools)| +|az storagepool iscsi-target|IscsiTargets|[commands](#CommandsInIscsiTargets)| + +## COMMANDS +### Commands in `az storagepool disk-pool` group +|CLI Command|Operation Swagger name|Parameters|Examples| +|---------|------------|--------|-----------| +|[az storagepool disk-pool list](#DiskPoolsListByResourceGroup)|ListByResourceGroup|[Parameters](#ParametersDiskPoolsListByResourceGroup)|[Example](#ExamplesDiskPoolsListByResourceGroup)| +|[az storagepool disk-pool list](#DiskPoolsListBySubscription)|ListBySubscription|[Parameters](#ParametersDiskPoolsListBySubscription)|[Example](#ExamplesDiskPoolsListBySubscription)| +|[az storagepool disk-pool show](#DiskPoolsGet)|Get|[Parameters](#ParametersDiskPoolsGet)|[Example](#ExamplesDiskPoolsGet)| +|[az storagepool disk-pool create](#DiskPoolsCreateOrUpdate#Create)|CreateOrUpdate#Create|[Parameters](#ParametersDiskPoolsCreateOrUpdate#Create)|[Example](#ExamplesDiskPoolsCreateOrUpdate#Create)| +|[az storagepool disk-pool update](#DiskPoolsUpdate)|Update|[Parameters](#ParametersDiskPoolsUpdate)|[Example](#ExamplesDiskPoolsUpdate)| +|[az storagepool disk-pool delete](#DiskPoolsDelete)|Delete|[Parameters](#ParametersDiskPoolsDelete)|[Example](#ExamplesDiskPoolsDelete)| + +### Commands in `az storagepool iscsi-target` group +|CLI Command|Operation Swagger name|Parameters|Examples| +|---------|------------|--------|-----------| +|[az storagepool iscsi-target list](#IscsiTargetsListByDiskPool)|ListByDiskPool|[Parameters](#ParametersIscsiTargetsListByDiskPool)|[Example](#ExamplesIscsiTargetsListByDiskPool)| +|[az storagepool iscsi-target show](#IscsiTargetsGet)|Get|[Parameters](#ParametersIscsiTargetsGet)|[Example](#ExamplesIscsiTargetsGet)| +|[az storagepool iscsi-target create](#IscsiTargetsCreateOrUpdate#Create)|CreateOrUpdate#Create|[Parameters](#ParametersIscsiTargetsCreateOrUpdate#Create)|[Example](#ExamplesIscsiTargetsCreateOrUpdate#Create)| +|[az storagepool iscsi-target update](#IscsiTargetsCreateOrUpdate#Update)|CreateOrUpdate#Update|[Parameters](#ParametersIscsiTargetsCreateOrUpdate#Update)|Not Found| +|[az storagepool iscsi-target delete](#IscsiTargetsDelete)|Delete|[Parameters](#ParametersIscsiTargetsDelete)|[Example](#ExamplesIscsiTargetsDelete)| + + +## COMMAND DETAILS + +### group `az storagepool disk-pool` +#### Command `az storagepool disk-pool list` + +##### Example +``` +az storagepool disk-pool list --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| + +#### Command `az storagepool disk-pool list` + +##### Example +``` +az storagepool disk-pool list +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +#### Command `az storagepool disk-pool show` + +##### Example +``` +az storagepool disk-pool show --name "myDiskPool" --resource-group "myResourceGroup" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| +|**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| + +#### Command `az storagepool disk-pool create` + +##### Example +``` +az storagepool disk-pool create --name "myDiskPool" --location "westus" --availability-zones "1" --disks \ +id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disk\ +s/vm-name_DataDisk_0" --disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/pr\ +oviders/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/re\ +sourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --sku \ +name="Standard_ABC" --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| +|**--location**|string|The geo-location where the resource lives|location|location| +|**--tags**|dictionary|Resource tags.|tags|tags| +|**--sku**|object|Sku description.|sku|sku| +|**--availability-zones**|array|Logical zone for DiskPool resource.|availability_zones|availabilityZones| +|**--disks**|array|List of Azure managed disks to attach to a DiskPool|disks|disks| +|**--subnet-id**|string|Azure resource id of the subnet for the DiskPool|subnet_id|subnetId| + +#### Command `az storagepool disk-pool update` + +##### Example +``` +az storagepool disk-pool update --name "myDiskPool" --location "westus" --availability-zones "1" --disks \ +id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disk\ +s/vm-name_DataDisk_0" --disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/pr\ +oviders/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/re\ +sourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --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| +|**--location**|string|The geo-location where the resource lives|location|location| +|**--tags**|dictionary|Resource tags.|tags|tags| +|**--sku**|object|Sku description.|sku|sku| +|**--availability-zones**|array|Logical zone for DiskPool resource.|availability_zones|availabilityZones| +|**--disks**|array|List of Azure managed disks to attach to a DiskPool|disks|disks| +|**--subnet-id**|string|Azure resource id of the subnet for the DiskPool|subnet_id|subnetId| + +#### Command `az storagepool disk-pool delete` + +##### Example +``` +az storagepool disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| +|**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| + +### group `az storagepool iscsi-target` +#### Command `az storagepool iscsi-target list` + +##### Example +``` +az storagepool iscsi-target list --disk-pool-name "myDiskPool" --resource-group "myResourceGroup" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| +|**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| + +#### Command `az storagepool iscsi-target show` + +##### Example +``` +az storagepool iscsi-target show --disk-pool-name "myDiskPool" --name "myIscsiTarget" --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| +|**--iscsi-target-name**|string|The name of the iSCSI target.|iscsi_target_name|iscsiTargetName| + +#### Command `az storagepool iscsi-target create` + +##### Example +``` +az storagepool iscsi-target create --disk-pool-name "myDiskPool" --name "myIscsiTarget" --target-iqn \ +"iqn.2005-03.org.iscsi:server1" --tpgs "[{\\"acls\\":[{\\"credentials\\":{\\"password\\":\\"some_pa$$word\\",\\"usernam\ +e\\":\\"some_username\\"},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}],\\"attr\ +ibutes\\":{\\"authentication\\":true,\\"prodModeWriteProtect\\":false},\\"luns\\":[{\\"name\\":\\"lun0\\",\\"managedDis\ +kAzureResourceId\\":\\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Mic\ +rosoft.Compute/disks/vm-name_DataDisk_1\\"}]}]" --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| +|**--iscsi-target-name**|string|The name of the iSCSI target.|iscsi_target_name|iscsiTargetName| +|**--tpgs**|array|list of iSCSI target portal groups|tpgs|tpgs| +|**--target-iqn**|string|iSCSI target iqn (iSCSI Qualified Name); example: iqn.2005-03.org.iscsi:server|target_iqn|targetIqn| + +#### Command `az storagepool iscsi-target update` + +##### 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| +|**--iscsi-target-name**|string|The name of the iSCSI target.|iscsi_target_name|iscsiTargetName| +|**--tpgs**|array|list of iSCSI target portal groups|tpgs|tpgs| +|**--target-iqn**|string|iSCSI target iqn (iSCSI Qualified Name); example: iqn.2005-03.org.iscsi:server|target_iqn|targetIqn| + +#### Command `az storagepool iscsi-target delete` + +##### Example +``` +az storagepool iscsi-target delete --disk-pool-name "myDiskPool" --name "myIscsiTarget" --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| +|**--iscsi-target-name**|string|The name of the iSCSI target.|iscsi_target_name|iscsiTargetName| diff --git a/src/storagepool/setup.cfg b/src/storagepool/setup.cfg new file mode 100644 index 00000000000..2fdd96e5d39 --- /dev/null +++ b/src/storagepool/setup.cfg @@ -0,0 +1 @@ +#setup.cfg \ No newline at end of file diff --git a/src/storagepool/setup.py b/src/storagepool/setup.py new file mode 100644 index 00000000000..a28fa7bd864 --- /dev/null +++ b/src/storagepool/setup.py @@ -0,0 +1,58 @@ +#!/usr/bin/env python + +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + + +from codecs import open +from setuptools import setup, find_packages + +# HISTORY.rst entry. +VERSION = '0.1.0' +try: + from azext_storagepool.manual.version import VERSION +except ImportError: + pass + +# The full list of classifiers is available at +# https://pypi.python.org/pypi?%3Aaction=list_classifiers +CLASSIFIERS = [ + 'Development Status :: 4 - Beta', + 'Intended Audience :: Developers', + 'Intended Audience :: System Administrators', + 'Programming Language :: Python', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'License :: OSI Approved :: MIT License', +] + +DEPENDENCIES = [] + +try: + from azext_storagepool.manual.dependency import DEPENDENCIES +except ImportError: + pass + +with open('README.md', 'r', encoding='utf-8') as f: + README = f.read() +with open('HISTORY.rst', 'r', encoding='utf-8') as f: + HISTORY = f.read() + +setup( + name='storagepool', + version=VERSION, + description='Microsoft Azure Command-Line Tools StoragePoolManagement Extension', + author='Microsoft Corporation', + author_email='azpycli@microsoft.com', + url='https://github.com/Azure/azure-cli-extensions/tree/master/src/storagepool', + long_description=README + '\n\n' + HISTORY, + license='MIT', + classifiers=CLASSIFIERS, + packages=find_packages(), + install_requires=DEPENDENCIES, + package_data={'azext_storagepool': ['azext_metadata.json']}, +) From bc48ed208e23f8fe46e6944ee24705b0ea8ab4b4 Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Mon, 9 Nov 2020 16:45:50 +0800 Subject: [PATCH 02/30] refine design --- src/storagepool/HISTORY.rst | 8 - src/storagepool/README.md | 65 -- src/storagepool/azext_storagepool/__init__.py | 50 - src/storagepool/azext_storagepool/action.py | 17 - .../azext_storagepool/azext_metadata.json | 4 - src/storagepool/azext_storagepool/custom.py | 17 - .../azext_storagepool/generated/__init__.py | 12 - .../generated/_client_factory.py | 24 - .../azext_storagepool/generated/_help.py | 205 ----- .../azext_storagepool/generated/_params.py | 112 --- .../generated/_validators.py | 9 - .../azext_storagepool/generated/action.py | 66 -- .../azext_storagepool/generated/commands.py | 44 - .../azext_storagepool/generated/custom.py | 137 --- .../azext_storagepool/manual/__init__.py | 12 - .../azext_storagepool/tests/__init__.py | 114 --- .../tests/latest/__init__.py | 12 - .../tests/latest/preparers.py | 159 ---- .../tests/latest/test_storagepool_scenario.py | 216 ----- .../vendored_sdks/__init__.py | 12 - .../vendored_sdks/storagepool/__init__.py | 16 - .../storagepool/_configuration.py | 70 -- .../storagepool/_storage_pool_management.py | 80 -- .../vendored_sdks/storagepool/aio/__init__.py | 10 - .../storagepool/aio/_configuration.py | 66 -- .../aio/_storage_pool_management.py | 74 -- .../storagepool/aio/operations/__init__.py | 17 - .../aio/operations/_disk_pool_operations.py | 590 ------------ .../aio/operations/_disk_pools_operations.py | 546 ----------- .../operations/_iscsi_target_operations.py | 442 --------- .../operations/_iscsi_targets_operations.py | 434 --------- .../aio/operations/_operation_operations.py | 105 --- .../storagepool/aio/operations/_operations.py | 105 --- .../storagepool/models/__init__.py | 82 -- .../storagepool/models/_models.py | 800 ---------------- .../storagepool/models/_models_py3.py | 867 ------------------ .../models/_storage_pool_management_enums.py | 59 -- .../storagepool/operations/__init__.py | 17 - .../operations/_disk_pool_operations.py | 602 ------------ .../operations/_disk_pools_operations.py | 558 ----------- .../operations/_iscsi_target_operations.py | 452 --------- .../operations/_iscsi_targets_operations.py | 444 --------- .../operations/_operation_operations.py | 110 --- .../storagepool/operations/_operations.py | 110 --- .../vendored_sdks/storagepool/py.typed | 1 - src/storagepool/gen.zip | Bin 8632 -> 0 bytes src/storagepool/report.md | 199 ---- src/storagepool/setup.cfg | 1 - src/storagepool/setup.py | 58 -- 49 files changed, 8210 deletions(-) delete mode 100644 src/storagepool/HISTORY.rst delete mode 100644 src/storagepool/README.md delete mode 100644 src/storagepool/azext_storagepool/__init__.py delete mode 100644 src/storagepool/azext_storagepool/action.py delete mode 100644 src/storagepool/azext_storagepool/azext_metadata.json delete mode 100644 src/storagepool/azext_storagepool/custom.py delete mode 100644 src/storagepool/azext_storagepool/generated/__init__.py delete mode 100644 src/storagepool/azext_storagepool/generated/_client_factory.py delete mode 100644 src/storagepool/azext_storagepool/generated/_help.py delete mode 100644 src/storagepool/azext_storagepool/generated/_params.py delete mode 100644 src/storagepool/azext_storagepool/generated/_validators.py delete mode 100644 src/storagepool/azext_storagepool/generated/action.py delete mode 100644 src/storagepool/azext_storagepool/generated/commands.py delete mode 100644 src/storagepool/azext_storagepool/generated/custom.py delete mode 100644 src/storagepool/azext_storagepool/manual/__init__.py delete mode 100644 src/storagepool/azext_storagepool/tests/__init__.py delete mode 100644 src/storagepool/azext_storagepool/tests/latest/__init__.py delete mode 100644 src/storagepool/azext_storagepool/tests/latest/preparers.py delete mode 100644 src/storagepool/azext_storagepool/tests/latest/test_storagepool_scenario.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/__init__.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/__init__.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/_configuration.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/_storage_pool_management.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/__init__.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/_configuration.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/_storage_pool_management.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/__init__.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_disk_pool_operations.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_disk_pools_operations.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_iscsi_target_operations.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_iscsi_targets_operations.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_operation_operations.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_operations.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/__init__.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_models.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_models_py3.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_storage_pool_management_enums.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/__init__.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_disk_pool_operations.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_disk_pools_operations.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_iscsi_target_operations.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_iscsi_targets_operations.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_operation_operations.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_operations.py delete mode 100644 src/storagepool/azext_storagepool/vendored_sdks/storagepool/py.typed delete mode 100644 src/storagepool/gen.zip delete mode 100644 src/storagepool/report.md delete mode 100644 src/storagepool/setup.cfg delete mode 100644 src/storagepool/setup.py diff --git a/src/storagepool/HISTORY.rst b/src/storagepool/HISTORY.rst deleted file mode 100644 index 1c139576ba0..00000000000 --- a/src/storagepool/HISTORY.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. :changelog: - -Release History -=============== - -0.1.0 -++++++ -* Initial release. diff --git a/src/storagepool/README.md b/src/storagepool/README.md deleted file mode 100644 index ffff492bec1..00000000000 --- a/src/storagepool/README.md +++ /dev/null @@ -1,65 +0,0 @@ -# Azure CLI storagepool Extension # -This is the extension for storagepool - -### How to use ### -Install this extension using the below CLI command -``` -az extension add --name storagepool -``` - -### Included Features ### -#### storagepool disk-pool #### -##### Create ##### -``` -az storagepool 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" \ - --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" - -az storagepool disk-pool wait --created --name "{myDiskPool}" --resource-group "{rg}" -``` -##### Show ##### -``` -az storagepool disk-pool show --name "myDiskPool" --resource-group "myResourceGroup" -``` -##### List ##### -``` -az storagepool disk-pool list --resource-group "myResourceGroup" -``` -##### Update ##### -``` -az storagepool 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" -``` -##### Delete ##### -``` -az storagepool disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" -``` -#### storagepool iscsi-target #### -##### Create ##### -``` -az storagepool 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 storagepool iscsi-target wait --created --name "{myIscsiTarget}" --resource-group "{rg}" -``` -##### Show ##### -``` -az storagepool iscsi-target show --disk-pool-name "myDiskPool" --name "myIscsiTarget" \ - --resource-group "myResourceGroup" -``` -##### List ##### -``` -az storagepool iscsi-target list --disk-pool-name "myDiskPool" --resource-group "myResourceGroup" -``` -##### Delete ##### -``` -az storagepool iscsi-target delete --disk-pool-name "myDiskPool" --name "myIscsiTarget" \ - --resource-group "myResourceGroup" -``` \ No newline at end of file diff --git a/src/storagepool/azext_storagepool/__init__.py b/src/storagepool/azext_storagepool/__init__.py deleted file mode 100644 index 05db9b2234a..00000000000 --- a/src/storagepool/azext_storagepool/__init__.py +++ /dev/null @@ -1,50 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from azure.cli.core import AzCommandsLoader -from azext_storagepool.generated._help import helps # pylint: disable=unused-import -try: - from azext_storagepool.manual._help import helps # pylint: disable=reimported -except ImportError: - pass - - -class StoragePoolManagementCommandsLoader(AzCommandsLoader): - - def __init__(self, cli_ctx=None): - from azure.cli.core.commands import CliCommandType - from azext_storagepool.generated._client_factory import cf_storagepool_cl - storagepool_custom = CliCommandType( - operations_tmpl='azext_storagepool.custom#{}', - client_factory=cf_storagepool_cl) - parent = super(StoragePoolManagementCommandsLoader, self) - parent.__init__(cli_ctx=cli_ctx, custom_command_type=storagepool_custom) - - def load_command_table(self, args): - from azext_storagepool.generated.commands import load_command_table - load_command_table(self, args) - try: - from azext_storagepool.manual.commands import load_command_table as load_command_table_manual - load_command_table_manual(self, args) - except ImportError: - pass - return self.command_table - - def load_arguments(self, command): - from azext_storagepool.generated._params import load_arguments - load_arguments(self, command) - try: - from azext_storagepool.manual._params import load_arguments as load_arguments_manual - load_arguments_manual(self, command) - except ImportError: - pass - - -COMMAND_LOADER_CLS = StoragePoolManagementCommandsLoader diff --git a/src/storagepool/azext_storagepool/action.py b/src/storagepool/azext_storagepool/action.py deleted file mode 100644 index d95d53bf711..00000000000 --- a/src/storagepool/azext_storagepool/action.py +++ /dev/null @@ -1,17 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- -# pylint: disable=wildcard-import -# pylint: disable=unused-wildcard-import - -from .generated.action import * # noqa: F403 -try: - from .manual.action import * # noqa: F403 -except ImportError: - pass diff --git a/src/storagepool/azext_storagepool/azext_metadata.json b/src/storagepool/azext_storagepool/azext_metadata.json deleted file mode 100644 index 4f48fa652a5..00000000000 --- a/src/storagepool/azext_storagepool/azext_metadata.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "azext.isExperimental": true, - "azext.minCliCoreVersion": "2.11.0" -} \ No newline at end of file diff --git a/src/storagepool/azext_storagepool/custom.py b/src/storagepool/azext_storagepool/custom.py deleted file mode 100644 index dbe9d5f9742..00000000000 --- a/src/storagepool/azext_storagepool/custom.py +++ /dev/null @@ -1,17 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- -# pylint: disable=wildcard-import -# pylint: disable=unused-wildcard-import - -from .generated.custom import * # noqa: F403 -try: - from .manual.custom import * # noqa: F403 -except ImportError: - pass diff --git a/src/storagepool/azext_storagepool/generated/__init__.py b/src/storagepool/azext_storagepool/generated/__init__.py deleted file mode 100644 index c9cfdc73e77..00000000000 --- a/src/storagepool/azext_storagepool/generated/__init__.py +++ /dev/null @@ -1,12 +0,0 @@ -# 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. -# -------------------------------------------------------------------------- - -__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/src/storagepool/azext_storagepool/generated/_client_factory.py b/src/storagepool/azext_storagepool/generated/_client_factory.py deleted file mode 100644 index 3eae4a7bb69..00000000000 --- a/src/storagepool/azext_storagepool/generated/_client_factory.py +++ /dev/null @@ -1,24 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - - -def cf_storagepool_cl(cli_ctx, *_): - from azure.cli.core.commands.client_factory import get_mgmt_service_client - from ..vendored_sdks.storagepool import StoragePoolManagement - return get_mgmt_service_client(cli_ctx, - StoragePoolManagement) - - -def cf_disk_pool(cli_ctx, *_): - return cf_storagepool_cl(cli_ctx).disk_pool - - -def cf_iscsi_target(cli_ctx, *_): - return cf_storagepool_cl(cli_ctx).iscsi_target diff --git a/src/storagepool/azext_storagepool/generated/_help.py b/src/storagepool/azext_storagepool/generated/_help.py deleted file mode 100644 index 7919dffa5ba..00000000000 --- a/src/storagepool/azext_storagepool/generated/_help.py +++ /dev/null @@ -1,205 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- -# pylint: disable=too-many-lines - -from knack.help_files import helps - - -helps['storagepool disk-pool'] = """ - type: group - short-summary: storagepool disk-pool -""" - -helps['storagepool disk-pool list'] = """ - type: command - short-summary: "Gets a list of DiskPools. And Gets a list of Disk Pools in a subscription." - examples: - - name: List Disk Pools - text: |- - az storagepool disk-pool list --resource-group "myResourceGroup" - - name: List Disk Pools by subscription - text: |- - az storagepool disk-pool list -""" - -helps['storagepool disk-pool show'] = """ - type: command - short-summary: "Get a Disk Pool." - examples: - - name: Get a diskPool - text: |- - az storagepool disk-pool show --name "myDiskPool" --resource-group "myResourceGroup" -""" - -helps['storagepool disk-pool create'] = """ - type: command - short-summary: "Create a new Disk Pool." - parameters: - - name: --sku - short-summary: "Sku description." - long-summary: | - Usage: --sku name=XX tier=XX size=XX family=XX capacity=XX - - name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code - tier: This field is required to be implemented by the Resource Provider if the service has more than one \ -tier, but is not required on a PUT. - size: The SKU size. When the name field is the combination of tier and some other value, this would be the \ -standalone code. - family: If the service has different generations of hardware, for the same SKU, then that can be captured \ -here. - capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in \ -is not possible for the resource this may be omitted. - - name: --disks - short-summary: "List of Azure managed disks to attach to a DiskPool" - long-summary: | - Usage: --disks id=XX - - id: Required. Unique Azure resource id of the managed disk. Required. - - Multiple actions can be specified by using more than one --disks argument. - examples: - - name: Create or Update a Disk Pool - text: |- - az storagepool disk-pool create --name "myDiskPool" --location "westus" --availability-zones "1" \ ---disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Comp\ -ute/disks/vm-name_DataDisk_0" --disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResource\ -Group/providers/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-0000000\ -00000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --sku \ -name="Standard_ABC" --tags key="value" --resource-group "myResourceGroup" -""" - -helps['storagepool disk-pool update'] = """ - type: command - short-summary: "Update a Storage Pool." - parameters: - - name: --sku - short-summary: "Sku description." - long-summary: | - Usage: --sku name=XX tier=XX size=XX family=XX capacity=XX - - name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code - tier: This field is required to be implemented by the Resource Provider if the service has more than one \ -tier, but is not required on a PUT. - size: The SKU size. When the name field is the combination of tier and some other value, this would be the \ -standalone code. - family: If the service has different generations of hardware, for the same SKU, then that can be captured \ -here. - capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in \ -is not possible for the resource this may be omitted. - - name: --disks - short-summary: "List of Azure managed disks to attach to a DiskPool" - long-summary: | - Usage: --disks id=XX - - id: Required. Unique Azure resource id of the managed disk. Required. - - Multiple actions can be specified by using more than one --disks argument. - examples: - - name: Update Disk Pool - text: |- - az storagepool disk-pool update --name "myDiskPool" --location "westus" --availability-zones "1" \ ---disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Comp\ -ute/disks/vm-name_DataDisk_0" --disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResource\ -Group/providers/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-0000000\ -00000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --tags \ -key="value" --resource-group "myResourceGroup" -""" - -helps['storagepool disk-pool delete'] = """ - type: command - short-summary: "Delete a Disk Pool." - examples: - - name: Update Disk Pool - text: |- - az storagepool disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" -""" - -helps['storagepool disk-pool wait'] = """ - type: command - short-summary: Place the CLI in a waiting state until a condition of the storagepool disk-pool is met. - examples: - - name: Pause executing next line of CLI script until the storagepool disk-pool is successfully created. - text: |- - az storagepool disk-pool wait --name "myDiskPool" --resource-group "myResourceGroup" --created - - name: Pause executing next line of CLI script until the storagepool disk-pool is successfully deleted. - text: |- - az storagepool disk-pool wait --name "myDiskPool" --resource-group "myResourceGroup" --deleted -""" - -helps['storagepool iscsi-target'] = """ - type: group - short-summary: storagepool iscsi-target -""" - -helps['storagepool iscsi-target list'] = """ - type: command - short-summary: "Get iSCSI Targets within a Disk Pool." - examples: - - name: List Disk Pools by Resource Group - text: |- - az storagepool iscsi-target list --disk-pool-name "myDiskPool" --resource-group "myResourceGroup" -""" - -helps['storagepool iscsi-target show'] = """ - type: command - short-summary: "Gets an iSCSI Target." - examples: - - name: Get an iscsiTarget - text: |- - az storagepool iscsi-target show --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ -"myResourceGroup" -""" - -helps['storagepool iscsi-target create'] = """ - type: command - short-summary: "Create an iSCSI target." - examples: - - name: Create or Update an iSCSI Target - text: |- - az storagepool iscsi-target create --disk-pool-name "myDiskPool" --name "myIscsiTarget" --target-iqn \ -"iqn.2005-03.org.iscsi:server1" --tpgs "[{\\"acls\\":[{\\"credentials\\":{\\"password\\":\\"some_pa$$word\\",\\"usernam\ -e\\":\\"some_username\\"},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}],\\"attr\ -ibutes\\":{\\"authentication\\":true,\\"prodModeWriteProtect\\":false},\\"luns\\":[{\\"name\\":\\"lun0\\",\\"managedDis\ -kAzureResourceId\\":\\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Mic\ -rosoft.Compute/disks/vm-name_DataDisk_1\\"}]}]" --resource-group "myResourceGroup" -""" - -helps['storagepool iscsi-target update'] = """ - type: command - short-summary: "Update an iSCSI target." -""" - -helps['storagepool iscsi-target delete'] = """ - type: command - short-summary: "Deletes an iSCSI Target." - examples: - - name: Delete an iscsiTarget - text: |- - az storagepool iscsi-target delete --disk-pool-name "myDiskPool" --name "myIscsiTarget" \ ---resource-group "myResourceGroup" -""" - -helps['storagepool iscsi-target wait'] = """ - type: command - short-summary: Place the CLI in a waiting state until a condition of the storagepool iscsi-target is met. - examples: - - name: Pause executing next line of CLI script until the storagepool iscsi-target is successfully created. - text: |- - az storagepool iscsi-target wait --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ -"myResourceGroup" --created - - name: Pause executing next line of CLI script until the storagepool iscsi-target is successfully updated. - text: |- - az storagepool iscsi-target wait --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ -"myResourceGroup" --updated - - name: Pause executing next line of CLI script until the storagepool iscsi-target is successfully deleted. - text: |- - az storagepool iscsi-target wait --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ -"myResourceGroup" --deleted -""" diff --git a/src/storagepool/azext_storagepool/generated/_params.py b/src/storagepool/azext_storagepool/generated/_params.py deleted file mode 100644 index 83327f67d53..00000000000 --- a/src/storagepool/azext_storagepool/generated/_params.py +++ /dev/null @@ -1,112 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- -# pylint: disable=too-many-lines -# pylint: disable=too-many-statements - -from azure.cli.core.commands.parameters import ( - tags_type, - resource_group_name_type, - get_location_type -) -from azure.cli.core.commands.validators import ( - get_default_location_from_resource_group, - validate_file_or_dict -) -from azext_storagepool.action import ( - AddSku, - AddDisks -) - - -def load_arguments(self, _): - - with self.argument_context('storagepool disk-pool list') as c: - c.argument('resource_group_name', resource_group_name_type) - - with self.argument_context('storagepool disk-pool show') 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('storagepool disk-pool create') 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.') - c.argument('tags', tags_type) - c.argument('location', arg_type=get_location_type(self.cli_ctx), - validator=get_default_location_from_resource_group) - c.argument('sku', action=AddSku, nargs='*', help='Sku description.') - c.argument('availability_zones', nargs='*', help='Logical zone for DiskPool resource.') - c.argument('disks', action=AddDisks, nargs='*', help='List of Azure managed disks to attach to a DiskPool') - c.argument('subnet_id', type=str, help='Azure resource id of the subnet for the DiskPool') - - with self.argument_context('storagepool disk-pool update') 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') - c.argument('tags', tags_type) - c.argument('location', arg_type=get_location_type(self.cli_ctx), - validator=get_default_location_from_resource_group) - c.argument('sku', action=AddSku, nargs='*', help='Sku description.') - c.argument('availability_zones', nargs='*', help='Logical zone for DiskPool resource.') - c.argument('disks', action=AddDisks, nargs='*', help='List of Azure managed disks to attach to a DiskPool') - c.argument('subnet_id', type=str, help='Azure resource id of the subnet for the DiskPool') - - with self.argument_context('storagepool disk-pool delete') 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('storagepool disk-pool wait') as c: - c.argument('resource_group_name', resource_group_name_type) - c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' - 'the Disk Pool.', id_part='name') - - with self.argument_context('storagepool 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.') - - with self.argument_context('storagepool iscsi-target show') 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.', 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') - - with self.argument_context('storagepool iscsi-target create') 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.') - c.argument('iscsi_target_name', options_list=['--name', '-n', '--iscsi-target-name'], type=str, help='The name ' - 'of the iSCSI target.') - c.argument('tpgs', type=validate_file_or_dict, help='list of iSCSI target portal groups Expected value: ' - 'json-string/@json-file.') - c.argument('target_iqn', type=str, help='iSCSI target iqn (iSCSI Qualified Name); example: ' - 'iqn.2005-03.org.iscsi:server') - - with self.argument_context('storagepool iscsi-target update') 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.', 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('tpgs', type=validate_file_or_dict, help='list of iSCSI target portal groups Expected value: ' - 'json-string/@json-file.') - c.argument('target_iqn', type=str, help='iSCSI target iqn (iSCSI Qualified Name); example: ' - 'iqn.2005-03.org.iscsi:server') - - with self.argument_context('storagepool iscsi-target delete') 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.', 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') - - with self.argument_context('storagepool iscsi-target wait') 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.', 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') diff --git a/src/storagepool/azext_storagepool/generated/_validators.py b/src/storagepool/azext_storagepool/generated/_validators.py deleted file mode 100644 index b33a44c1ebf..00000000000 --- a/src/storagepool/azext_storagepool/generated/_validators.py +++ /dev/null @@ -1,9 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- diff --git a/src/storagepool/azext_storagepool/generated/action.py b/src/storagepool/azext_storagepool/generated/action.py deleted file mode 100644 index 4bc8d6f923b..00000000000 --- a/src/storagepool/azext_storagepool/generated/action.py +++ /dev/null @@ -1,66 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- -# pylint: disable=protected-access - -import argparse -from collections import defaultdict -from knack.util import CLIError - - -class AddSku(argparse.Action): - 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 - try: - properties = defaultdict(list) - for (k, v) in (x.split('=', 1) for x in values): - properties[k].append(v) - properties = dict(properties) - except ValueError: - raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) - d = {} - for k in properties: - kl = k.lower() - v = properties[k] - if kl == 'name': - d['name'] = v[0] - elif kl == 'tier': - d['tier'] = v[0] - elif kl == 'size': - d['size'] = v[0] - elif kl == 'family': - d['family'] = v[0] - elif kl == 'capacity': - d['capacity'] = v[0] - return d - - -class AddDisks(argparse._AppendAction): - def __call__(self, parser, namespace, values, option_string=None): - action = self.get_action(values, option_string) - super(AddDisks, self).__call__(parser, namespace, action, option_string) - - def get_action(self, values, option_string): # pylint: disable=no-self-use - try: - properties = defaultdict(list) - for (k, v) in (x.split('=', 1) for x in values): - properties[k].append(v) - properties = dict(properties) - except ValueError: - raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) - d = {} - for k in properties: - kl = k.lower() - v = properties[k] - if kl == 'id': - d['id'] = v[0] - return d diff --git a/src/storagepool/azext_storagepool/generated/commands.py b/src/storagepool/azext_storagepool/generated/commands.py deleted file mode 100644 index 508985e496c..00000000000 --- a/src/storagepool/azext_storagepool/generated/commands.py +++ /dev/null @@ -1,44 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- -# pylint: disable=too-many-statements -# pylint: disable=too-many-locals - -from azure.cli.core.commands import CliCommandType - - -def load_command_table(self, _): - - from azext_storagepool.generated._client_factory import cf_disk_pool - storagepool_disk_pool = CliCommandType( - operations_tmpl='azext_storagepool.vendored_sdks.storagepool.operations._disk_pool_operations#DiskPoolOperation' - 's.{}', - client_factory=cf_disk_pool) - with self.command_group('storagepool disk-pool', storagepool_disk_pool, client_factory=cf_disk_pool, - is_experimental=True) as g: - g.custom_command('list', 'storagepool_disk_pool_list') - g.custom_show_command('show', 'storagepool_disk_pool_show') - g.custom_command('create', 'storagepool_disk_pool_create', supports_no_wait=True) - g.custom_command('update', 'storagepool_disk_pool_update') - g.custom_command('delete', 'storagepool_disk_pool_delete', supports_no_wait=True, confirmation=True) - g.custom_wait_command('wait', 'storagepool_disk_pool_show') - - from azext_storagepool.generated._client_factory import cf_iscsi_target - storagepool_iscsi_target = CliCommandType( - operations_tmpl='azext_storagepool.vendored_sdks.storagepool.operations._iscsi_target_operations#IscsiTargetOpe' - 'rations.{}', - client_factory=cf_iscsi_target) - with self.command_group('storagepool iscsi-target', storagepool_iscsi_target, client_factory=cf_iscsi_target, - is_experimental=True) as g: - g.custom_command('list', 'storagepool_iscsi_target_list') - g.custom_show_command('show', 'storagepool_iscsi_target_show') - g.custom_command('create', 'storagepool_iscsi_target_create', supports_no_wait=True) - g.custom_command('update', 'storagepool_iscsi_target_update', supports_no_wait=True) - g.custom_command('delete', 'storagepool_iscsi_target_delete', supports_no_wait=True, confirmation=True) - g.custom_wait_command('wait', 'storagepool_iscsi_target_show') diff --git a/src/storagepool/azext_storagepool/generated/custom.py b/src/storagepool/azext_storagepool/generated/custom.py deleted file mode 100644 index 75e34898f52..00000000000 --- a/src/storagepool/azext_storagepool/generated/custom.py +++ /dev/null @@ -1,137 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- -# pylint: disable=too-many-lines - -from azure.cli.core.util import sdk_no_wait - - -def storagepool_disk_pool_list(client, - resource_group_name=None): - if resource_group_name: - return client.list_by_resource_group(resource_group_name=resource_group_name) - return client.list_by_subscription() - - -def storagepool_disk_pool_show(client, - resource_group_name, - disk_pool_name): - return client.get(resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name) - - -def storagepool_disk_pool_create(client, - resource_group_name, - disk_pool_name, - location, - tags=None, - sku=None, - availability_zones=None, - disks=None, - subnet_id=None, - no_wait=False): - return sdk_no_wait(no_wait, - client.begin_create_or_update, - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - tags=tags, - location=location, - sku=sku, - availability_zones=availability_zones, - disks=disks, - subnet_id=subnet_id) - - -def storagepool_disk_pool_update(client, - resource_group_name, - disk_pool_name, - location, - tags=None, - sku=None, - availability_zones=None, - disks=None, - subnet_id=None): - return client.update(resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - tags=tags, - location=location, - sku=sku, - availability_zones=availability_zones, - disks=disks, - subnet_id=subnet_id) - - -def storagepool_disk_pool_delete(client, - resource_group_name, - disk_pool_name, - no_wait=False): - return sdk_no_wait(no_wait, - client.begin_delete, - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name) - - -def storagepool_iscsi_target_list(client, - resource_group_name, - disk_pool_name): - return client.list_by_disk_pool(resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name) - - -def storagepool_iscsi_target_show(client, - resource_group_name, - disk_pool_name, - iscsi_target_name): - return client.get(resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_name) - - -def storagepool_iscsi_target_create(client, - resource_group_name, - disk_pool_name, - iscsi_target_name, - tpgs=None, - target_iqn=None, - no_wait=False): - return sdk_no_wait(no_wait, - client.begin_create_or_update, - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_name, - tpgs=tpgs, - target_iqn=target_iqn) - - -def storagepool_iscsi_target_update(client, - resource_group_name, - disk_pool_name, - iscsi_target_name, - tpgs=None, - target_iqn=None, - no_wait=False): - return sdk_no_wait(no_wait, - client.begin_create_or_update, - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_name, - tpgs=tpgs, - target_iqn=target_iqn) - - -def storagepool_iscsi_target_delete(client, - resource_group_name, - disk_pool_name, - iscsi_target_name, - no_wait=False): - return sdk_no_wait(no_wait, - client.begin_delete, - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_name) diff --git a/src/storagepool/azext_storagepool/manual/__init__.py b/src/storagepool/azext_storagepool/manual/__init__.py deleted file mode 100644 index c9cfdc73e77..00000000000 --- a/src/storagepool/azext_storagepool/manual/__init__.py +++ /dev/null @@ -1,12 +0,0 @@ -# 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. -# -------------------------------------------------------------------------- - -__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/src/storagepool/azext_storagepool/tests/__init__.py b/src/storagepool/azext_storagepool/tests/__init__.py deleted file mode 100644 index 50e0627daff..00000000000 --- a/src/storagepool/azext_storagepool/tests/__init__.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- -import inspect -import logging -import os -import sys -import traceback -import datetime as dt - -from azure.core.exceptions import AzureError -from azure.cli.testsdk.exceptions import CliTestError, CliExecutionError, JMESPathCheckAssertionError - - -logger = logging.getLogger('azure.cli.testsdk') -logger.addHandler(logging.StreamHandler()) -__path__ = __import__('pkgutil').extend_path(__path__, __name__) -exceptions = [] -test_map = dict() -SUCCESSED = "successed" -FAILED = "failed" - - -def try_manual(func): - def import_manual_function(origin_func): - from importlib import import_module - decorated_path = inspect.getfile(origin_func) - module_path = __path__[0] - if not decorated_path.startswith(module_path): - raise Exception("Decorator can only be used in submodules!") - manual_path = os.path.join( - decorated_path[module_path.rfind(os.path.sep) + 1:]) - manual_file_path, manual_file_name = os.path.split(manual_path) - module_name, _ = os.path.splitext(manual_file_name) - manual_module = "..manual." + \ - ".".join(manual_file_path.split(os.path.sep) + [module_name, ]) - return getattr(import_module(manual_module, package=__name__), origin_func.__name__) - - def get_func_to_call(): - func_to_call = func - try: - func_to_call = import_manual_function(func) - func_to_call = import_manual_function(func) - logger.info("Found manual override for %s(...)", func.__name__) - except (ImportError, AttributeError): - pass - return func_to_call - - def wrapper(*args, **kwargs): - func_to_call = get_func_to_call() - logger.info("running %s()...", func.__name__) - try: - test_map[func.__name__] = dict() - test_map[func.__name__]["result"] = SUCCESSED - test_map[func.__name__]["error_message"] = "" - test_map[func.__name__]["error_stack"] = "" - test_map[func.__name__]["error_normalized"] = "" - test_map[func.__name__]["start_dt"] = dt.datetime.utcnow() - ret = func_to_call(*args, **kwargs) - except (AssertionError, AzureError, CliTestError, CliExecutionError, SystemExit, - JMESPathCheckAssertionError) as e: - test_map[func.__name__]["end_dt"] = dt.datetime.utcnow() - test_map[func.__name__]["result"] = FAILED - test_map[func.__name__]["error_message"] = str(e).replace("\r\n", " ").replace("\n", " ")[:500] - test_map[func.__name__]["error_stack"] = traceback.format_exc().replace( - "\r\n", " ").replace("\n", " ")[:500] - logger.info("--------------------------------------") - logger.info("step exception: %s", e) - logger.error("--------------------------------------") - logger.error("step exception in %s: %s", func.__name__, e) - logger.info(traceback.format_exc()) - exceptions.append((func.__name__, sys.exc_info())) - else: - test_map[func.__name__]["end_dt"] = dt.datetime.utcnow() - return ret - - if inspect.isclass(func): - return get_func_to_call() - return wrapper - - -def calc_coverage(filename): - filename = filename.split(".")[0] - coverage_name = filename + "_coverage.md" - with open(coverage_name, "w") as f: - f.write("|Scenario|Result|ErrorMessage|ErrorStack|ErrorNormalized|StartDt|EndDt|\n") - total = len(test_map) - covered = 0 - for k, v in test_map.items(): - if not k.startswith("step_"): - total -= 1 - continue - if v["result"] == SUCCESSED: - covered += 1 - f.write("|{step_name}|{result}|{error_message}|{error_stack}|{error_normalized}|{start_dt}|" - "{end_dt}|\n".format(step_name=k, **v)) - f.write("Coverage: {}/{}\n".format(covered, total)) - print("Create coverage\n", file=sys.stderr) - - -def raise_if(): - if exceptions: - if len(exceptions) <= 1: - raise exceptions[0][1][1] - message = "{}\nFollowed with exceptions in other steps:\n".format(str(exceptions[0][1][1])) - message += "\n".join(["{}: {}".format(h[0], h[1][1]) for h in exceptions[1:]]) - raise exceptions[0][1][0](message).with_traceback(exceptions[0][1][2]) diff --git a/src/storagepool/azext_storagepool/tests/latest/__init__.py b/src/storagepool/azext_storagepool/tests/latest/__init__.py deleted file mode 100644 index c9cfdc73e77..00000000000 --- a/src/storagepool/azext_storagepool/tests/latest/__init__.py +++ /dev/null @@ -1,12 +0,0 @@ -# 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. -# -------------------------------------------------------------------------- - -__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/src/storagepool/azext_storagepool/tests/latest/preparers.py b/src/storagepool/azext_storagepool/tests/latest/preparers.py deleted file mode 100644 index 0879e51945a..00000000000 --- a/src/storagepool/azext_storagepool/tests/latest/preparers.py +++ /dev/null @@ -1,159 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -import os -from datetime import datetime -from azure_devtools.scenario_tests import SingleValueReplacer -from azure.cli.testsdk.preparers import NoTrafficRecordingPreparer -from azure.cli.testsdk.exceptions import CliTestError -from azure.cli.testsdk.reverse_dependency import get_dummy_cli - - -KEY_RESOURCE_GROUP = 'rg' -KEY_VIRTUAL_NETWORK = 'vnet' -KEY_VNET_SUBNET = 'subnet' -KEY_VNET_NIC = 'nic' - - -class VirtualNetworkPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): - def __init__(self, name_prefix='clitest.vn', - parameter_name='virtual_network', - resource_group_name=None, - resource_group_key=KEY_RESOURCE_GROUP, - dev_setting_name='AZURE_CLI_TEST_DEV_VIRTUAL_NETWORK_NAME', - random_name_length=24, key=KEY_VIRTUAL_NETWORK): - if ' ' in name_prefix: - raise CliTestError( - 'Error: Space character in name prefix \'%s\'' % name_prefix) - super(VirtualNetworkPreparer, self).__init__( - name_prefix, random_name_length) - self.cli_ctx = get_dummy_cli() - self.parameter_name = parameter_name - self.key = key - self.resource_group_name = resource_group_name - self.resource_group_key = resource_group_key - self.dev_setting_name = os.environ.get(dev_setting_name, None) - - def create_resource(self, name, **_): - if self.dev_setting_name: - return {self.parameter_name: self.dev_setting_name, } - - if not self.resource_group_name: - self.resource_group_name = self.test_class_instance.kwargs.get( - self.resource_group_key) - if not self.resource_group_name: - raise CliTestError("Error: No resource group configured!") - - tags = {'product': 'azurecli', 'cause': 'automation', - 'date': datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ')} - if 'ENV_JOB_NAME' in os.environ: - tags['job'] = os.environ['ENV_JOB_NAME'] - tags = ' '.join(['{}={}'.format(key, value) - for key, value in tags.items()]) - template = 'az network vnet create --resource-group {} --name {} --subnet-name default --tag ' + tags - self.live_only_execute(self.cli_ctx, template.format( - self.resource_group_name, name)) - - self.test_class_instance.kwargs[self.key] = name - return {self.parameter_name: name} - - def remove_resource(self, name, **_): - # delete vnet if test is being recorded and if the vnet is not a dev rg - if not self.dev_setting_name: - self.live_only_execute( - self.cli_ctx, - 'az network vnet delete --name {} --resource-group {}'.format(name, self.resource_group_name)) - - -class VnetSubnetPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): - def __init__(self, name_prefix='clitest.vn', - parameter_name='subnet', - resource_group_key=KEY_RESOURCE_GROUP, - vnet_key=KEY_VIRTUAL_NETWORK, - address_prefixes="11.0.0.0/24", - dev_setting_name='AZURE_CLI_TEST_DEV_VNET_SUBNET_NAME', - key=KEY_VNET_SUBNET): - if ' ' in name_prefix: - raise CliTestError( - 'Error: Space character in name prefix \'%s\'' % name_prefix) - super(VnetSubnetPreparer, self).__init__(name_prefix, 15) - self.cli_ctx = get_dummy_cli() - self.parameter_name = parameter_name - self.key = key - self.resource_group = [resource_group_key, None] - self.vnet = [vnet_key, None] - self.address_prefixes = address_prefixes - self.dev_setting_name = os.environ.get(dev_setting_name, None) - - def create_resource(self, name, **_): - if self.dev_setting_name: - return {self.parameter_name: self.dev_setting_name, } - - if not self.resource_group[1]: - self.resource_group[1] = self.test_class_instance.kwargs.get( - self.resource_group[0]) - if not self.resource_group[1]: - raise CliTestError("Error: No resource group configured!") - if not self.vnet[1]: - self.vnet[1] = self.test_class_instance.kwargs.get(self.vnet[0]) - if not self.vnet[1]: - raise CliTestError("Error: No vnet configured!") - - self.test_class_instance.kwargs[self.key] = 'default' - return {self.parameter_name: name} - - def remove_resource(self, name, **_): - pass - - -class VnetNicPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): - def __init__(self, name_prefix='clitest.nic', - parameter_name='subnet', - resource_group_key=KEY_RESOURCE_GROUP, - vnet_key=KEY_VIRTUAL_NETWORK, - dev_setting_name='AZURE_CLI_TEST_DEV_VNET_NIC_NAME', - key=KEY_VNET_NIC): - if ' ' in name_prefix: - raise CliTestError( - 'Error: Space character in name prefix \'%s\'' % name_prefix) - super(VnetNicPreparer, self).__init__(name_prefix, 15) - self.cli_ctx = get_dummy_cli() - self.parameter_name = parameter_name - self.key = key - self.resource_group = [resource_group_key, None] - self.vnet = [vnet_key, None] - self.dev_setting_name = os.environ.get(dev_setting_name, None) - - def create_resource(self, name, **_): - if self.dev_setting_name: - return {self.parameter_name: self.dev_setting_name, } - - if not self.resource_group[1]: - self.resource_group[1] = self.test_class_instance.kwargs.get( - self.resource_group[0]) - if not self.resource_group[1]: - raise CliTestError("Error: No resource group configured!") - if not self.vnet[1]: - self.vnet[1] = self.test_class_instance.kwargs.get(self.vnet[0]) - if not self.vnet[1]: - raise CliTestError("Error: No vnet configured!") - - template = 'az network nic create --resource-group {} --name {} --vnet-name {} --subnet default ' - self.live_only_execute(self.cli_ctx, template.format( - self.resource_group[1], name, self.vnet[1])) - - self.test_class_instance.kwargs[self.key] = name - return {self.parameter_name: name} - - def remove_resource(self, name, **_): - if not self.dev_setting_name: - self.live_only_execute( - self.cli_ctx, - 'az network nic delete --name {} --resource-group {}'.format(name, self.resource_group[1])) diff --git a/src/storagepool/azext_storagepool/tests/latest/test_storagepool_scenario.py b/src/storagepool/azext_storagepool/tests/latest/test_storagepool_scenario.py deleted file mode 100644 index 5395f331c3a..00000000000 --- a/src/storagepool/azext_storagepool/tests/latest/test_storagepool_scenario.py +++ /dev/null @@ -1,216 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -import os -from azure.cli.testsdk import ScenarioTest -from .. import try_manual, raise_if, calc_coverage -from azure.cli.testsdk import ResourceGroupPreparer -from .preparers import VirtualNetworkPreparer - - -TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) - - -# Env setup -@try_manual -def setup(test, rg): - pass - - -# EXAMPLE: /DiskPools/put/Create or Update a Disk Pool -@try_manual -def step__diskpools_put_create_or_update_a_disk_pool(test, rg): - test.cmd('az storagepool disk-pool create ' - '--name "{myDiskPool}" ' - '--location "westus" ' - '--availability-zones "1" ' - '--disks id="/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Compute/disks/vm-nam' - 'e_DataDisk_0" ' - '--disks id="/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Compute/disks/vm-nam' - 'e_DataDisk_1" ' - '--subnet-id "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtualNetw' - 'orks/{vn}/subnets/default" ' - '--sku name="Standard_ABC" ' - '--tags key="value" ' - '--resource-group "{rg}"', - checks=[ - test.check("name", "{myDiskPool}", case_sensitive=False), - test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Netwo" - "rk/virtualNetworks/{vn}/subnets/default", case_sensitive=False), - ]) - test.cmd('az storagepool disk-pool wait --created ' - '--name "{myDiskPool}" ' - '--resource-group "{rg}"', - checks=[]) - - -# EXAMPLE: /DiskPools/get/Get a diskPool -@try_manual -def step__diskpools_get_get_a_diskpool(test, rg): - test.cmd('az storagepool disk-pool show ' - '--name "{myDiskPool}" ' - '--resource-group "{rg}"', - checks=[ - test.check("name", "{myDiskPool}", case_sensitive=False), - test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Netwo" - "rk/virtualNetworks/{vn}/subnets/default", case_sensitive=False), - ]) - - -# EXAMPLE: /DiskPools/get/List Disk Pools -@try_manual -def step__diskpools_get_list_disk_pools(test, rg): - test.cmd('az storagepool disk-pool list ' - '--resource-group "{rg}"', - checks=[ - test.check('length(@)', 1), - ]) - - -# EXAMPLE: /DiskPools/get/List Disk Pools by subscription -@try_manual -def step__diskpools_get(test, rg): - test.cmd('az storagepool disk-pool list ' - '-g ""', - checks=[ - test.check('length(@)', 1), - ]) - - -# EXAMPLE: /DiskPools/patch/Update Disk Pool -@try_manual -def step__diskpools_patch_update_disk_pool(test, rg): - test.cmd('az storagepool disk-pool update ' - '--name "{myDiskPool}" ' - '--location "westus" ' - '--availability-zones "1" ' - '--disks id="/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Compute/disks/vm-nam' - 'e_DataDisk_0" ' - '--disks id="/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Compute/disks/vm-nam' - 'e_DataDisk_1" ' - '--subnet-id "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtualNetw' - 'orks/{vn}/subnets/default" ' - '--tags key="value" ' - '--resource-group "{rg}"', - checks=[ - test.check("name", "{myDiskPool}", case_sensitive=False), - test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Netwo" - "rk/virtualNetworks/{vn}/subnets/default", case_sensitive=False), - ]) - - -# EXAMPLE: /IscsiTargets/put/Create or Update an iSCSI Target -@try_manual -def step__iscsitargets_put(test, rg): - test.cmd('az storagepool 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_us' - 'ername\\"}},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}}],\\"att' - 'ributes\\":{{\\"authentication\\":true,\\"prodModeWriteProtect\\":false}},\\"luns\\":[{{\\"name\\":\\"lun' - '0\\",\\"managedDiskAzureResourceId\\":\\"/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/M' - 'icrosoft.Compute/disks/vm-name_DataDisk_1\\"}}]}}]" ' - '--resource-group "{rg}"', - checks=[ - test.check("name", "{myIscsiTarget}", case_sensitive=False), - test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), - ]) - test.cmd('az storagepool iscsi-target wait --created ' - '--name "{myIscsiTarget}" ' - '--resource-group "{rg}"', - checks=[]) - - -# EXAMPLE: /IscsiTargets/get/Get an iscsiTarget -@try_manual -def step__iscsitargets_get_get_an_iscsitarget(test, rg): - test.cmd('az storagepool iscsi-target show ' - '--disk-pool-name "{myDiskPool}" ' - '--name "{myIscsiTarget}" ' - '--resource-group "{rg}"', - checks=[ - test.check("name", "{myIscsiTarget}", case_sensitive=False), - test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), - ]) - - -# EXAMPLE: /IscsiTargets/get/List Disk Pools by Resource Group -@try_manual -def step__iscsitargets_get(test, rg): - test.cmd('az storagepool iscsi-target list ' - '--disk-pool-name "{myDiskPool}" ' - '--resource-group "{rg}"', - checks=[ - test.check('length(@)', 1), - ]) - - -# EXAMPLE: /IscsiTargets/delete/Delete an iscsiTarget -@try_manual -def step__iscsitargets_delete_delete_an_iscsitarget(test, rg): - test.cmd('az storagepool iscsi-target delete -y ' - '--disk-pool-name "{myDiskPool}" ' - '--name "{myIscsiTarget}" ' - '--resource-group "{rg}"', - checks=[]) - - -# EXAMPLE: /DiskPools/delete/Update Disk Pool -@try_manual -def step__diskpools_delete_update_disk_pool(test, rg): - test.cmd('az storagepool disk-pool delete -y ' - '--name "{myDiskPool}" ' - '--resource-group "{rg}"', - checks=[]) - - -# Env cleanup -@try_manual -def cleanup(test, rg): - pass - - -# Testcase -@try_manual -def call_scenario(test, rg): - setup(test, rg) - step__diskpools_put_create_or_update_a_disk_pool(test, rg) - step__diskpools_get_get_a_diskpool(test, rg) - step__diskpools_get_list_disk_pools(test, rg) - step__diskpools_get(test, rg) - step__diskpools_patch_update_disk_pool(test, rg) - step__iscsitargets_put(test, rg) - step__iscsitargets_get_get_an_iscsitarget(test, rg) - step__iscsitargets_get(test, rg) - step__iscsitargets_delete_delete_an_iscsitarget(test, rg) - step__diskpools_delete_update_disk_pool(test, rg) - cleanup(test, rg) - - -@try_manual -class StoragePoolManagementScenarioTest(ScenarioTest): - - @ResourceGroupPreparer(name_prefix='cliteststoragepool_myResourceGroup'[:7], key='rg', parameter_name='rg') - @VirtualNetworkPreparer(name_prefix='cliteststoragepool_myvnet'[:7], key='vn', resource_group_key='rg') - def test_storagepool(self, rg): - - self.kwargs.update({ - 'subscription_id': self.get_subscription_id() - }) - - self.kwargs.update({ - 'myDiskPool': 'myDiskPool', - 'myIscsiTarget': 'myIscsiTarget', - }) - - call_scenario(self, rg) - calc_coverage(__file__) - raise_if() diff --git a/src/storagepool/azext_storagepool/vendored_sdks/__init__.py b/src/storagepool/azext_storagepool/vendored_sdks/__init__.py deleted file mode 100644 index c9cfdc73e77..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/__init__.py +++ /dev/null @@ -1,12 +0,0 @@ -# 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. -# -------------------------------------------------------------------------- - -__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/__init__.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/__init__.py deleted file mode 100644 index 40013efe44d..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/__init__.py +++ /dev/null @@ -1,16 +0,0 @@ -# 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 ._storage_pool_management import StoragePoolManagement -__all__ = ['StoragePoolManagement'] - -try: - from ._patch import patch_sdk # type: ignore - patch_sdk() -except ImportError: - pass diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/_configuration.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/_configuration.py deleted file mode 100644 index cb67cb735d4..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/_configuration.py +++ /dev/null @@ -1,70 +0,0 @@ -# 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 - -from azure.core.configuration import Configuration -from azure.core.pipeline import policies -from azure.mgmt.core.policies import ARMHttpLoggingPolicy - -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. - - Note that all parameters used to create this instance are saved as instance - attributes. - - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials.TokenCredential - :param subscription_id: The ID of the target subscription. - :type subscription_id: str - """ - - def __init__( - self, - credential, # type: "TokenCredential" - subscription_id, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - if credential is None: - raise ValueError("Parameter 'credential' must not be None.") - if subscription_id is None: - raise ValueError("Parameter 'subscription_id' must not be None.") - super(StoragePoolManagementConfiguration, self).__init__(**kwargs) - - self.credential = credential - self.subscription_id = subscription_id - self.api_version = "2020-03-15-preview" - self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) - kwargs.setdefault('sdk_moniker', 'storagepoolmanagement/{}'.format(VERSION)) - self._configure(**kwargs) - - def _configure( - self, - **kwargs # type: Any - ): - # type: (...) -> None - self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) - self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) - self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) - self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) - self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) - self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) - self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) - self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) - self.authentication_policy = kwargs.get('authentication_policy') - if self.credential and not self.authentication_policy: - self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/_storage_pool_management.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/_storage_pool_management.py deleted file mode 100644 index af766862e5a..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/_storage_pool_management.py +++ /dev/null @@ -1,80 +0,0 @@ -# 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 - -from azure.mgmt.core import ARMPipelineClient -from msrest import Deserializer, Serializer - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Optional - - from azure.core.credentials import TokenCredential - -from ._configuration import StoragePoolManagementConfiguration -from .operations import OperationOperations -from .operations import DiskPoolOperations -from .operations import IscsiTargetOperations -from . import models - - -class StoragePoolManagement(object): - """StoragePoolManagement. - - :ivar operation: OperationOperations operations - :vartype operation: storage_pool_management.operations.OperationOperations - :ivar disk_pool: DiskPoolOperations operations - :vartype disk_pool: storage_pool_management.operations.DiskPoolOperations - :ivar iscsi_target: IscsiTargetOperations operations - :vartype iscsi_target: storage_pool_management.operations.IscsiTargetOperations - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials.TokenCredential - :param subscription_id: The ID of the target subscription. - :type subscription_id: str - :param str base_url: Service URL - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - """ - - def __init__( - self, - credential, # type: "TokenCredential" - subscription_id, # type: str - base_url=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> None - if not base_url: - base_url = 'https://management.azure.com' - self._config = StoragePoolManagementConfiguration(credential, subscription_id, **kwargs) - self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) - - client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False - self._deserialize = Deserializer(client_models) - - self.operation = OperationOperations( - self._client, self._config, self._serialize, self._deserialize) - self.disk_pool = DiskPoolOperations( - self._client, self._config, self._serialize, self._deserialize) - self.iscsi_target = IscsiTargetOperations( - self._client, self._config, self._serialize, self._deserialize) - - def close(self): - # type: () -> None - self._client.close() - - def __enter__(self): - # type: () -> StoragePoolManagement - self._client.__enter__() - return self - - def __exit__(self, *exc_details): - # type: (Any) -> None - self._client.__exit__(*exc_details) diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/__init__.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/__init__.py deleted file mode 100644 index 9eb7de1efa2..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/__init__.py +++ /dev/null @@ -1,10 +0,0 @@ -# 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 ._storage_pool_management import StoragePoolManagement -__all__ = ['StoragePoolManagement'] diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/_configuration.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/_configuration.py deleted file mode 100644 index 1aa64ffe5b1..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/_configuration.py +++ /dev/null @@ -1,66 +0,0 @@ -# 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, TYPE_CHECKING - -from azure.core.configuration import Configuration -from azure.core.pipeline import policies -from azure.mgmt.core.policies import ARMHttpLoggingPolicy - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from azure.core.credentials_async import AsyncTokenCredential - -VERSION = "unknown" - -class StoragePoolManagementConfiguration(Configuration): - """Configuration for StoragePoolManagement. - - Note that all parameters used to create this instance are saved as instance - attributes. - - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials_async.AsyncTokenCredential - :param subscription_id: The ID of the target subscription. - :type subscription_id: str - """ - - def __init__( - self, - credential: "AsyncTokenCredential", - subscription_id: str, - **kwargs: Any - ) -> None: - if credential is None: - raise ValueError("Parameter 'credential' must not be None.") - if subscription_id is None: - raise ValueError("Parameter 'subscription_id' must not be None.") - super(StoragePoolManagementConfiguration, self).__init__(**kwargs) - - self.credential = credential - self.subscription_id = subscription_id - self.api_version = "2020-03-15-preview" - self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) - kwargs.setdefault('sdk_moniker', 'storagepoolmanagement/{}'.format(VERSION)) - self._configure(**kwargs) - - def _configure( - self, - **kwargs: Any - ) -> None: - self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) - self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) - self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) - self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) - self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) - self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) - self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) - self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) - self.authentication_policy = kwargs.get('authentication_policy') - if self.credential and not self.authentication_policy: - self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/_storage_pool_management.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/_storage_pool_management.py deleted file mode 100644 index 66d98a2205d..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/_storage_pool_management.py +++ /dev/null @@ -1,74 +0,0 @@ -# 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, Optional, TYPE_CHECKING - -from azure.mgmt.core import AsyncARMPipelineClient -from msrest import Deserializer, Serializer - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from azure.core.credentials_async import AsyncTokenCredential - -from ._configuration import StoragePoolManagementConfiguration -from .operations import OperationOperations -from .operations import DiskPoolOperations -from .operations import IscsiTargetOperations -from .. import models - - -class StoragePoolManagement(object): - """StoragePoolManagement. - - :ivar operation: OperationOperations operations - :vartype operation: storage_pool_management.aio.operations.OperationOperations - :ivar disk_pool: DiskPoolOperations operations - :vartype disk_pool: storage_pool_management.aio.operations.DiskPoolOperations - :ivar iscsi_target: IscsiTargetOperations operations - :vartype iscsi_target: storage_pool_management.aio.operations.IscsiTargetOperations - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials_async.AsyncTokenCredential - :param subscription_id: The ID of the target subscription. - :type subscription_id: str - :param str base_url: Service URL - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - """ - - def __init__( - self, - credential: "AsyncTokenCredential", - subscription_id: str, - base_url: Optional[str] = None, - **kwargs: Any - ) -> None: - if not base_url: - base_url = 'https://management.azure.com' - self._config = StoragePoolManagementConfiguration(credential, subscription_id, **kwargs) - self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) - - client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False - self._deserialize = Deserializer(client_models) - - self.operation = OperationOperations( - self._client, self._config, self._serialize, self._deserialize) - self.disk_pool = DiskPoolOperations( - self._client, self._config, self._serialize, self._deserialize) - self.iscsi_target = IscsiTargetOperations( - self._client, self._config, self._serialize, self._deserialize) - - async def close(self) -> None: - await self._client.close() - - async def __aenter__(self) -> "StoragePoolManagement": - await self._client.__aenter__() - return self - - async def __aexit__(self, *exc_details) -> None: - await self._client.__aexit__(*exc_details) diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/__init__.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/__init__.py deleted file mode 100644 index ee3e1450aed..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/__init__.py +++ /dev/null @@ -1,17 +0,0 @@ -# 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 ._operation_operations import OperationOperations -from ._disk_pool_operations import DiskPoolOperations -from ._iscsi_target_operations import IscsiTargetOperations - -__all__ = [ - 'OperationOperations', - 'DiskPoolOperations', - 'IscsiTargetOperations', -] diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_disk_pool_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_disk_pool_operations.py deleted file mode 100644 index c6fe949cdd9..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_disk_pool_operations.py +++ /dev/null @@ -1,590 +0,0 @@ -# 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, List, Optional, TypeVar, Union -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.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class DiskPoolOperations: - """DiskPoolOperations 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_by_subscription( - self, - **kwargs - ) -> AsyncIterable["models.DiskPoolListResult"]: - """Gets a list of Disk Pools in a subscription. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.DiskPoolListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_subscription.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - 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('DiskPoolListResult', 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_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools'} # type: ignore - - def list_by_resource_group( - self, - resource_group_name: str, - **kwargs - ) -> AsyncIterable["models.DiskPoolListResult"]: - """Gets a list of DiskPools. - - :param resource_group_name: The name of the resource group. The name is case insensitive. - :type resource_group_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.DiskPoolListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_resource_group.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]$'), - } - 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('DiskPoolListResult', 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_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools'} # type: ignore - - async def _create_or_update_initial( - self, - resource_group_name: str, - disk_pool_name: str, - location: str, - tags: Optional[Dict[str, str]] = None, - sku: Optional["models.Sku"] = None, - availability_zones: Optional[List[str]] = None, - disks: Optional[List["models.Disk"]] = None, - subnet_id: Optional[str] = None, - **kwargs - ) -> "models.DiskPool": - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - - disk_pool_payload = models.DiskPool(tags=tags, location=location, sku=sku, availability_zones=availability_zones, disks=disks, subnet_id=subnet_id) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_payload, 'DiskPool') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - 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 response.status_code == 200: - deserialized = self._deserialize('DiskPool', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def begin_create_or_update( - self, - resource_group_name: str, - disk_pool_name: str, - location: str, - tags: Optional[Dict[str, str]] = None, - sku: Optional["models.Sku"] = None, - availability_zones: Optional[List[str]] = None, - disks: Optional[List["models.Disk"]] = None, - subnet_id: Optional[str] = None, - **kwargs - ) -> AsyncLROPoller["models.DiskPool"]: - """Create a new Disk Pool. - - :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 - :param location: The geo-location where the resource lives. - :type location: str - :param tags: Resource tags. - :type tags: dict[str, str] - :param sku: Sku description. - :type sku: ~storage_pool_management.models.Sku - :param availability_zones: Logical zone for DiskPool resource. - :type availability_zones: list[str] - :param disks: List of Azure managed disks to attach to a DiskPool. - :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Azure resource id of the subnet for the DiskPool. - :type subnet_id: 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 DiskPool or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.DiskPool] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - 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._create_or_update_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - location=location, - tags=tags, - sku=sku, - availability_zones=availability_zones, - disks=disks, - subnet_id=subnet_id, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def update( - self, - resource_group_name: str, - disk_pool_name: str, - location: str, - tags: Optional[Dict[str, str]] = None, - sku: Optional["models.Sku"] = None, - availability_zones: Optional[List[str]] = None, - disks: Optional[List["models.Disk"]] = None, - subnet_id: Optional[str] = None, - **kwargs - ) -> "models.DiskPool": - """Update a Storage Pool. - - :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 - :param location: The geo-location where the resource lives. - :type location: str - :param tags: Resource tags. - :type tags: dict[str, str] - :param sku: Sku description. - :type sku: ~storage_pool_management.models.Sku - :param availability_zones: Logical zone for DiskPool resource. - :type availability_zones: list[str] - :param disks: List of Azure managed disks to attach to a DiskPool. - :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Azure resource id of the subnet for the DiskPool. - :type subnet_id: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DiskPool, or the result of cls(response) - :rtype: ~storage_pool_management.models.DiskPool - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - - disk_pool_payload = models.DiskPool(tags=tags, location=location, sku=sku, availability_zones=availability_zones, disks=disks, subnet_id=subnet_id) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.update.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_payload, 'DiskPool') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - 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) - - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def _delete_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 = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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.delete(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, 204]: - 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, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def begin_delete( - self, - resource_group_name: str, - disk_pool_name: str, - **kwargs - ) -> AsyncLROPoller[None]: - """Delete a Disk Pool. - - :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._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - disk_pool_name: str, - **kwargs - ) -> "models.DiskPool": - """Get a Disk Pool. - - :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 - :return: DiskPool, or the result of cls(response) - :rtype: ~storage_pool_management.models.DiskPool - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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.get(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]: - 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) - - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_disk_pools_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_disk_pools_operations.py deleted file mode 100644 index cc0a1230259..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_disk_pools_operations.py +++ /dev/null @@ -1,546 +0,0 @@ -# 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, Union -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.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class DiskPoolsOperations: - """DiskPoolsOperations 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_by_subscription( - self, - **kwargs - ) -> AsyncIterable["models.DiskPoolListResult"]: - """Gets a list of Disk Pools in a subscription. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.DiskPoolListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_subscription.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - 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('DiskPoolListResult', 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_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools'} # type: ignore - - def list_by_resource_group( - self, - resource_group_name: str, - **kwargs - ) -> AsyncIterable["models.DiskPoolListResult"]: - """Gets a list of DiskPools. - - :param resource_group_name: The name of the resource group. The name is case insensitive. - :type resource_group_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.DiskPoolListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_resource_group.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]$'), - } - 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('DiskPoolListResult', 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_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools'} # type: ignore - - async def _create_or_update_initial( - self, - resource_group_name: str, - disk_pool_name: str, - disk_pool_payload: "models.DiskPool", - **kwargs - ) -> "models.DiskPool": - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_payload, 'DiskPool') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - 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 response.status_code == 200: - deserialized = self._deserialize('DiskPool', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def begin_create_or_update( - self, - resource_group_name: str, - disk_pool_name: str, - disk_pool_payload: "models.DiskPool", - **kwargs - ) -> AsyncLROPoller["models.DiskPool"]: - """Create a new Disk Pool. - - :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 - :param disk_pool_payload: Request payload for Disk Pool operations. - :type disk_pool_payload: ~storage_pool_management.models.DiskPool - :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 DiskPool or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.DiskPool] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - 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._create_or_update_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - disk_pool_payload=disk_pool_payload, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def update( - self, - resource_group_name: str, - disk_pool_name: str, - disk_pool_payload: "models.DiskPool", - **kwargs - ) -> "models.DiskPool": - """Update a Storage Pool. - - :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 - :param disk_pool_payload: Request payload for Disk Pool operations. - :type disk_pool_payload: ~storage_pool_management.models.DiskPool - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DiskPool, or the result of cls(response) - :rtype: ~storage_pool_management.models.DiskPool - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.update.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_payload, 'DiskPool') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - 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) - - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def _delete_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 = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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.delete(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, 204]: - 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, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def begin_delete( - self, - resource_group_name: str, - disk_pool_name: str, - **kwargs - ) -> AsyncLROPoller[None]: - """Delete a Disk Pool. - - :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._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - disk_pool_name: str, - **kwargs - ) -> "models.DiskPool": - """Get a Disk Pool. - - :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 - :return: DiskPool, or the result of cls(response) - :rtype: ~storage_pool_management.models.DiskPool - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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.get(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]: - 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) - - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_iscsi_target_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_iscsi_target_operations.py deleted file mode 100644 index b8eb1d87aef..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_iscsi_target_operations.py +++ /dev/null @@ -1,442 +0,0 @@ -# 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, List, Optional, TypeVar, Union -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.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class IscsiTargetOperations: - """IscsiTargetOperations 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_by_disk_pool( - self, - resource_group_name: str, - disk_pool_name: str, - **kwargs - ) -> AsyncIterable["models.IscsiTargetList"]: - """Get iSCSI Targets within a Disk Pool. - - :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 - :return: An iterator like instance of either IscsiTargetList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.IscsiTargetList] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTargetList"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_disk_pool.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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('IscsiTargetList', 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_by_disk_pool.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets'} # type: ignore - - async def _create_or_update_initial( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_name: str, - tpgs: Optional[List["models.TargetPortalGroup"]] = None, - target_iqn: Optional[str] = None, - **kwargs - ) -> "models.IscsiTarget": - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - - iscsi_target_payload = models.IscsiTarget(tpgs=tpgs, target_iqn=target_iqn) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(iscsi_target_payload, 'IscsiTarget') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - 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 response.status_code == 200: - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - async def begin_create_or_update( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_name: str, - tpgs: Optional[List["models.TargetPortalGroup"]] = None, - target_iqn: Optional[str] = None, - **kwargs - ) -> AsyncLROPoller["models.IscsiTarget"]: - """Create or Update an iSCSI target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_name: str - :param tpgs: list of iSCSI target portal groups. - :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] - :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: - iqn.2005-03.org.iscsi:server. - :type target_iqn: 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 IscsiTarget or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.IscsiTarget] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - 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._create_or_update_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_name, - tpgs=tpgs, - target_iqn=target_iqn, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - async def _delete_initial( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_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 = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.delete(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, 204]: - 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, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - async def begin_delete( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_name: str, - **kwargs - ) -> AsyncLROPoller[None]: - """Deletes an iSCSI Target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_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._delete_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_name: str, - **kwargs - ) -> "models.IscsiTarget": - """Gets an iSCSI Target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IscsiTarget, or the result of cls(response) - :rtype: ~storage_pool_management.models.IscsiTarget - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.get(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]: - 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) - - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_iscsi_targets_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_iscsi_targets_operations.py deleted file mode 100644 index b136ab3a5e9..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_iscsi_targets_operations.py +++ /dev/null @@ -1,434 +0,0 @@ -# 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, Union -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.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class IscsiTargetsOperations: - """IscsiTargetsOperations 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_by_disk_pool( - self, - resource_group_name: str, - disk_pool_name: str, - **kwargs - ) -> AsyncIterable["models.IscsiTargetList"]: - """Get iSCSI Targets within a Disk Pool. - - :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 - :return: An iterator like instance of either IscsiTargetList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.IscsiTargetList] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTargetList"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_disk_pool.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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('IscsiTargetList', 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_by_disk_pool.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets'} # type: ignore - - async def _create_or_update_initial( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_name: str, - iscsi_target_payload: "models.IscsiTarget", - **kwargs - ) -> "models.IscsiTarget": - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(iscsi_target_payload, 'IscsiTarget') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - 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 response.status_code == 200: - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - async def begin_create_or_update( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_name: str, - iscsi_target_payload: "models.IscsiTarget", - **kwargs - ) -> AsyncLROPoller["models.IscsiTarget"]: - """Create or Update an iSCSI target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_name: str - :param iscsi_target_payload: Request payload for iSCSI target operations. - :type iscsi_target_payload: ~storage_pool_management.models.IscsiTarget - :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 IscsiTarget or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.IscsiTarget] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - 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._create_or_update_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_name, - iscsi_target_payload=iscsi_target_payload, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - async def _delete_initial( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_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 = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.delete(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, 204]: - 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, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - async def begin_delete( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_name: str, - **kwargs - ) -> AsyncLROPoller[None]: - """Deletes an iSCSI Target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_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._delete_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_name: str, - **kwargs - ) -> "models.IscsiTarget": - """Gets an iSCSI Target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IscsiTarget, or the result of cls(response) - :rtype: ~storage_pool_management.models.IscsiTarget - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.get(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]: - 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) - - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_operation_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_operation_operations.py deleted file mode 100644 index a166417420e..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_operation_operations.py +++ /dev/null @@ -1,105 +0,0 @@ -# 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 OperationOperations: - """OperationOperations 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, - **kwargs - ) -> AsyncIterable["models.StoragePoolOperationListResult"]: - """Gets a list of StoragePool operations. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either StoragePoolOperationListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.StoragePoolOperationListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.StoragePoolOperationListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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 - # 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('StoragePoolOperationListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return 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': '/providers/Microsoft.StoragePool/operations'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_operations.py deleted file mode 100644 index 0b14b016f3e..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/aio/operations/_operations.py +++ /dev/null @@ -1,105 +0,0 @@ -# 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 Operations: - """Operations 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, - **kwargs - ) -> AsyncIterable["models.StoragePoolOperationListResult"]: - """Gets a list of StoragePool operations. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either StoragePoolOperationListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.StoragePoolOperationListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.StoragePoolOperationListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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 - # 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('StoragePoolOperationListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return 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': '/providers/Microsoft.StoragePool/operations'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/__init__.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/__init__.py deleted file mode 100644 index 8263c9a93e7..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/__init__.py +++ /dev/null @@ -1,82 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - -try: - from ._models_py3 import Acl - from ._models_py3 import Attributes - from ._models_py3 import Disk - from ._models_py3 import DiskPool - from ._models_py3 import DiskPoolListResult - from ._models_py3 import Error - from ._models_py3 import ErrorAdditionalInfo - from ._models_py3 import ErrorResponse - from ._models_py3 import IscsiLun - from ._models_py3 import IscsiTarget - from ._models_py3 import IscsiTargetList - from ._models_py3 import ProxyResource - from ._models_py3 import Resource - from ._models_py3 import Sku - from ._models_py3 import StoragePoolOperationDisplay - from ._models_py3 import StoragePoolOperationListResult - from ._models_py3 import StoragePoolRPOperation - from ._models_py3 import SystemMetadata - from ._models_py3 import TargetPortalGroup - from ._models_py3 import TrackedResource -except (SyntaxError, ImportError): - from ._models import Acl # type: ignore - from ._models import Attributes # type: ignore - from ._models import Disk # type: ignore - from ._models import DiskPool # type: ignore - from ._models import DiskPoolListResult # type: ignore - from ._models import Error # type: ignore - from ._models import ErrorAdditionalInfo # type: ignore - from ._models import ErrorResponse # type: ignore - from ._models import IscsiLun # type: ignore - from ._models import IscsiTarget # type: ignore - from ._models import IscsiTargetList # type: ignore - from ._models import ProxyResource # type: ignore - from ._models import Resource # type: ignore - from ._models import Sku # type: ignore - from ._models import StoragePoolOperationDisplay # type: ignore - from ._models import StoragePoolOperationListResult # type: ignore - from ._models import StoragePoolRPOperation # type: ignore - from ._models import SystemMetadata # type: ignore - from ._models import TargetPortalGroup # type: ignore - from ._models import TrackedResource # type: ignore - -from ._storage_pool_management_enums import ( - OperationalStatus, - ProvisioningStates, - SkuTier, -) - -__all__ = [ - 'Acl', - 'Attributes', - 'Disk', - 'DiskPool', - 'DiskPoolListResult', - 'Error', - 'ErrorAdditionalInfo', - 'ErrorResponse', - 'IscsiLun', - 'IscsiTarget', - 'IscsiTargetList', - 'ProxyResource', - 'Resource', - 'Sku', - 'StoragePoolOperationDisplay', - 'StoragePoolOperationListResult', - 'StoragePoolRPOperation', - 'SystemMetadata', - 'TargetPortalGroup', - 'TrackedResource', - 'OperationalStatus', - 'ProvisioningStates', - 'SkuTier', -] diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_models.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_models.py deleted file mode 100644 index ecc8ee7597c..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_models.py +++ /dev/null @@ -1,800 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - -from azure.core.exceptions import HttpResponseError -import msrest.serialization - - -class Acl(msrest.serialization.Model): - """Access Control List (ACL) for an iSCSI target lun. - - All required parameters must be populated in order to send to Azure. - - :param initiator_iqn: Required. iSCSI initiator iqn (iSCSI Qualified Name); example: - iqn.2005-03.org.iscsi:client. - :type initiator_iqn: str - :param mapped_luns: Required. Array of lun names mapped to the ACL. - :type mapped_luns: list[str] - :param username: Username for Challenge Handshake Authentication Protocol (CHAP) - authentication. - :type username: str - :param password: Password for Challenge Handshake Authentication Protocol (CHAP) - authentication. - :type password: str - """ - - _validation = { - 'initiator_iqn': {'required': True}, - 'mapped_luns': {'required': True}, - 'username': {'max_length': 128, 'min_length': 7}, - 'password': {'max_length': 512, 'min_length': 12}, - } - - _attribute_map = { - 'initiator_iqn': {'key': 'initiatorIqn', 'type': 'str'}, - 'mapped_luns': {'key': 'mappedLuns', 'type': '[str]'}, - 'username': {'key': 'credentials.username', 'type': 'str'}, - 'password': {'key': 'credentials.password', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Acl, self).__init__(**kwargs) - self.initiator_iqn = kwargs['initiator_iqn'] - self.mapped_luns = kwargs['mapped_luns'] - self.username = kwargs.get('username', None) - self.password = kwargs.get('password', None) - - -class Attributes(msrest.serialization.Model): - """Attributes of an iSCSI target. - - All required parameters must be populated in order to send to Azure. - - :param authentication: Required. Indicates whether or not authentication is enabled on the ACL. - :type authentication: bool - :param prod_mode_write_protect: Required. Indicates whether or not write protect is enabled on - the luns. - :type prod_mode_write_protect: bool - """ - - _validation = { - 'authentication': {'required': True}, - 'prod_mode_write_protect': {'required': True}, - } - - _attribute_map = { - 'authentication': {'key': 'authentication', 'type': 'bool'}, - 'prod_mode_write_protect': {'key': 'prodModeWriteProtect', 'type': 'bool'}, - } - - def __init__( - self, - **kwargs - ): - super(Attributes, self).__init__(**kwargs) - self.authentication = kwargs['authentication'] - self.prod_mode_write_protect = kwargs['prod_mode_write_protect'] - - -class Disk(msrest.serialization.Model): - """Managed disk to attach to the DiskPool. Required. - - All required parameters must be populated in order to send to Azure. - - :param id: Required. Unique Azure resource id of the managed disk. Required. - :type id: str - """ - - _validation = { - 'id': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Disk, self).__init__(**kwargs) - self.id = kwargs['id'] - - -class Resource(msrest.serialization.Model): - """ARM resource model definition. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Resource, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - - -class TrackedResource(Resource): - """The resource model definition for a ARM tracked top level resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(TrackedResource, self).__init__(**kwargs) - self.tags = kwargs.get('tags', None) - self.location = kwargs['location'] - - -class DiskPool(TrackedResource): - """Request payload for Create or Update Disk Pool requests. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - :param sku: Sku description. - :type sku: ~storage_pool_management.models.Sku - :ivar system_data: Resource metadata required by ARM RPC. - :vartype system_data: ~storage_pool_management.models.SystemMetadata - :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: - "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". - :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :param availability_zones: Logical zone for DiskPool resource. - :type availability_zones: list[str] - :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", - "Unknown", "Healthy", "Unhealthy". - :vartype status: str or ~storage_pool_management.models.OperationalStatus - :param disks: List of Azure managed disks to attach to a DiskPool. - :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Azure resource id of the subnet for the DiskPool. - :type subnet_id: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - 'system_data': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - 'status': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - 'sku': {'key': 'sku', 'type': 'Sku'}, - 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, - 'status': {'key': 'properties.status', 'type': 'str'}, - 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, - 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(DiskPool, self).__init__(**kwargs) - self.sku = kwargs.get('sku', None) - self.system_data = None - self.provisioning_state = None - self.availability_zones = kwargs.get('availability_zones', None) - self.status = None - self.disks = kwargs.get('disks', None) - self.subnet_id = kwargs.get('subnet_id', None) - - -class DiskPoolListResult(msrest.serialization.Model): - """List of Disk Pools. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. An array of Disk Pool objects. - :type value: list[~storage_pool_management.models.DiskPool] - :ivar next_link: URI to fetch the next section of the paginated response. - :vartype next_link: str - """ - - _validation = { - 'value': {'required': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[DiskPool]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(DiskPoolListResult, self).__init__(**kwargs) - self.value = kwargs['value'] - self.next_link = None - - -class Error(msrest.serialization.Model): - """The resource management error response. - - :param error: RP error response. - :type error: ~storage_pool_management.models.ErrorResponse - """ - - _attribute_map = { - 'error': {'key': 'error', 'type': 'ErrorResponse'}, - } - - def __init__( - self, - **kwargs - ): - super(Error, self).__init__(**kwargs) - self.error = kwargs.get('error', None) - - -class ErrorAdditionalInfo(msrest.serialization.Model): - """The resource management error additional info. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar type: The additional info type. - :vartype type: str - :ivar info: The additional info. - :vartype info: object - """ - - _validation = { - 'type': {'readonly': True}, - 'info': {'readonly': True}, - } - - _attribute_map = { - 'type': {'key': 'type', 'type': 'str'}, - 'info': {'key': 'info', 'type': 'object'}, - } - - def __init__( - self, - **kwargs - ): - super(ErrorAdditionalInfo, self).__init__(**kwargs) - self.type = None - self.info = None - - -class ErrorResponse(msrest.serialization.Model): - """The resource management error response. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar code: The error code. - :vartype code: str - :ivar message: The error message. - :vartype message: str - :ivar target: The error target. - :vartype target: str - :ivar details: The error details. - :vartype details: list[~storage_pool_management.models.ErrorResponse] - :ivar additional_info: The error additional info. - :vartype additional_info: list[~storage_pool_management.models.ErrorAdditionalInfo] - """ - - _validation = { - 'code': {'readonly': True}, - 'message': {'readonly': True}, - 'target': {'readonly': True}, - 'details': {'readonly': True}, - 'additional_info': {'readonly': True}, - } - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - 'target': {'key': 'target', 'type': 'str'}, - 'details': {'key': 'details', 'type': '[ErrorResponse]'}, - 'additional_info': {'key': 'additionalInfo', 'type': '[ErrorAdditionalInfo]'}, - } - - def __init__( - self, - **kwargs - ): - super(ErrorResponse, self).__init__(**kwargs) - self.code = None - self.message = None - self.target = None - self.details = None - self.additional_info = None - - -class IscsiLun(msrest.serialization.Model): - """Lun to expose the ManagedDisk. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. Lun name. - :type name: str - :param managed_disk_azure_resource_id: Required. Unique Azure resource id of the managed disk. - Required. - :type managed_disk_azure_resource_id: str - """ - - _validation = { - 'name': {'required': True}, - 'managed_disk_azure_resource_id': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'managed_disk_azure_resource_id': {'key': 'managedDiskAzureResourceId', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(IscsiLun, self).__init__(**kwargs) - self.name = kwargs['name'] - self.managed_disk_azure_resource_id = kwargs['managed_disk_azure_resource_id'] - - -class IscsiTarget(Resource): - """Payload for iSCSI Target Create or Update requests. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: - "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". - :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", - "Unknown", "Healthy", "Unhealthy". - :vartype status: str or ~storage_pool_management.models.OperationalStatus - :param tpgs: list of iSCSI target portal groups. - :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] - :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: - iqn.2005-03.org.iscsi:server. - :type target_iqn: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - 'status': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'status': {'key': 'properties.status', 'type': 'str'}, - 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroup]'}, - 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(IscsiTarget, self).__init__(**kwargs) - self.provisioning_state = None - self.status = None - self.tpgs = kwargs.get('tpgs', None) - self.target_iqn = kwargs.get('target_iqn', None) - - -class IscsiTargetList(msrest.serialization.Model): - """List of iSCSI Targets. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. An array of iSCSI targets within a Disk Pool. - :type value: list[~storage_pool_management.models.IscsiTarget] - :ivar next_link: URI to fetch the next section of the paginated response. - :vartype next_link: str - """ - - _validation = { - 'value': {'required': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[IscsiTarget]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(IscsiTargetList, self).__init__(**kwargs) - self.value = kwargs['value'] - self.next_link = None - - -class ProxyResource(Resource): - """The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ProxyResource, self).__init__(**kwargs) - - -class Sku(msrest.serialization.Model): - """The resource model definition representing SKU. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code. - :type name: str - :param tier: This field is required to be implemented by the Resource Provider if the service - has more than one tier, but is not required on a PUT. Possible values include: "Free", "Basic", - "Standard", "Premium". - :type tier: str or ~storage_pool_management.models.SkuTier - :param size: The SKU size. When the name field is the combination of tier and some other value, - this would be the standalone code. - :type size: str - :param family: If the service has different generations of hardware, for the same SKU, then - that can be captured here. - :type family: str - :param capacity: If the SKU supports scale out/in then the capacity integer should be included. - If scale out/in is not possible for the resource this may be omitted. - :type capacity: int - """ - - _validation = { - 'name': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'tier': {'key': 'tier', 'type': 'str'}, - 'size': {'key': 'size', 'type': 'str'}, - 'family': {'key': 'family', 'type': 'str'}, - 'capacity': {'key': 'capacity', 'type': 'int'}, - } - - def __init__( - self, - **kwargs - ): - super(Sku, self).__init__(**kwargs) - self.name = kwargs['name'] - self.tier = kwargs.get('tier', None) - self.size = kwargs.get('size', None) - self.family = kwargs.get('family', None) - self.capacity = kwargs.get('capacity', None) - - -class StoragePoolOperationDisplay(msrest.serialization.Model): - """Metadata about an operation. - - All required parameters must be populated in order to send to Azure. - - :param provider: Required. Localized friendly form of the resource provider name. - :type provider: str - :param resource: Required. Localized friendly form of the resource type related to this - action/operation. - :type resource: str - :param operation: Required. Localized friendly name for the operation, as it should be shown to - the user. - :type operation: str - :param description: Required. Localized friendly description for the operation, as it should be - shown to the user. - :type description: str - """ - - _validation = { - 'provider': {'required': True}, - 'resource': {'required': True}, - 'operation': {'required': True}, - 'description': {'required': True}, - } - - _attribute_map = { - 'provider': {'key': 'provider', 'type': 'str'}, - 'resource': {'key': 'resource', 'type': 'str'}, - 'operation': {'key': 'operation', 'type': 'str'}, - 'description': {'key': 'description', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(StoragePoolOperationDisplay, self).__init__(**kwargs) - self.provider = kwargs['provider'] - self.resource = kwargs['resource'] - self.operation = kwargs['operation'] - self.description = kwargs['description'] - - -class StoragePoolOperationListResult(msrest.serialization.Model): - """List of operations supported by the RP. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. An array of operations supported by the StoragePool RP. - :type value: list[~storage_pool_management.models.StoragePoolRPOperation] - :param next_link: URI to fetch the next section of the paginated response. - :type next_link: str - """ - - _validation = { - 'value': {'required': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[StoragePoolRPOperation]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(StoragePoolOperationListResult, self).__init__(**kwargs) - self.value = kwargs['value'] - self.next_link = kwargs.get('next_link', None) - - -class StoragePoolRPOperation(msrest.serialization.Model): - """Description of a StoragePool RP Operation. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. The name of the operation being performed on this particular object. - :type name: str - :param is_data_action: Required. Indicates whether the operation applies to data-plane. - :type is_data_action: bool - :param action_type: Indicates the action type. - :type action_type: str - :param display: Required. Additional metadata about RP operation. - :type display: ~storage_pool_management.models.StoragePoolOperationDisplay - :param origin: The intended executor of the operation; governs the display of the operation in - the RBAC UX and the audit logs UX. - :type origin: str - """ - - _validation = { - 'name': {'required': True}, - 'is_data_action': {'required': True}, - 'display': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, - 'action_type': {'key': 'actionType', 'type': 'str'}, - 'display': {'key': 'display', 'type': 'StoragePoolOperationDisplay'}, - 'origin': {'key': 'origin', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(StoragePoolRPOperation, self).__init__(**kwargs) - self.name = kwargs['name'] - self.is_data_action = kwargs['is_data_action'] - self.action_type = kwargs.get('action_type', None) - self.display = kwargs['display'] - self.origin = kwargs.get('origin', None) - - -class SystemMetadata(msrest.serialization.Model): - """Resource metadata required by ARM RPC. - - :param created_by: A string identifier for the identity that created the resource. - :type created_by: str - :param created_by_type: The type of identity that created the resource: user, application, - managedIdentity. - :type created_by_type: str - :param created_at: The timestamp of resource creation (UTC). - :type created_at: str - :param last_modified_by: A string identifier for the identity that last modified the resource. - :type last_modified_by: str - :param last_modified_by_type: The type of identity that last modified the resource: user, - application, managedIdentity. - :type last_modified_by_type: str - :param last_modified_at: The timestamp of resource last modification (UTC). - :type last_modified_at: str - """ - - _attribute_map = { - 'created_by': {'key': 'createdBy', 'type': 'str'}, - 'created_by_type': {'key': 'createdByType', 'type': 'str'}, - 'created_at': {'key': 'createdAt', 'type': 'str'}, - 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, - 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, - 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(SystemMetadata, self).__init__(**kwargs) - self.created_by = kwargs.get('created_by', None) - self.created_by_type = kwargs.get('created_by_type', None) - self.created_at = kwargs.get('created_at', None) - self.last_modified_by = kwargs.get('last_modified_by', None) - self.last_modified_by_type = kwargs.get('last_modified_by_type', None) - self.last_modified_at = kwargs.get('last_modified_at', None) - - -class TargetPortalGroup(msrest.serialization.Model): - """iSCSI target portal group. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param luns: Required. Lun list to be exposed through the iSCSI target. Required. - :type luns: list[~storage_pool_management.models.IscsiLun] - :param acls: Required. Access Control List (ACL) for an iSCSI target lun. - :type acls: list[~storage_pool_management.models.Acl] - :param attributes: Required. Attributes of an iSCSI target. - :type attributes: ~storage_pool_management.models.Attributes - :ivar endpoints: list of public ip addresses to connect to the iSCSI target. - :vartype endpoints: list[str] - :ivar tag: The tag associated with the iSCSI target portal group. - :vartype tag: int - :ivar port: The port at which the iSCSI target is available. - :vartype port: int - """ - - _validation = { - 'luns': {'required': True}, - 'acls': {'required': True}, - 'attributes': {'required': True}, - 'endpoints': {'readonly': True}, - 'tag': {'readonly': True}, - 'port': {'readonly': True}, - } - - _attribute_map = { - 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, - 'acls': {'key': 'acls', 'type': '[Acl]'}, - 'attributes': {'key': 'attributes', 'type': 'Attributes'}, - 'endpoints': {'key': 'endpoints', 'type': '[str]'}, - 'tag': {'key': 'tag', 'type': 'int'}, - 'port': {'key': 'port', 'type': 'int'}, - } - - def __init__( - self, - **kwargs - ): - super(TargetPortalGroup, self).__init__(**kwargs) - self.luns = kwargs['luns'] - self.acls = kwargs['acls'] - self.attributes = kwargs['attributes'] - self.endpoints = None - self.tag = None - self.port = None diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_models_py3.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_models_py3.py deleted file mode 100644 index 2f8e431e808..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_models_py3.py +++ /dev/null @@ -1,867 +0,0 @@ -# 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 Dict, List, Optional, Union - -from azure.core.exceptions import HttpResponseError -import msrest.serialization - -from ._storage_pool_management_enums import * - - -class Acl(msrest.serialization.Model): - """Access Control List (ACL) for an iSCSI target lun. - - All required parameters must be populated in order to send to Azure. - - :param initiator_iqn: Required. iSCSI initiator iqn (iSCSI Qualified Name); example: - iqn.2005-03.org.iscsi:client. - :type initiator_iqn: str - :param mapped_luns: Required. Array of lun names mapped to the ACL. - :type mapped_luns: list[str] - :param username: Username for Challenge Handshake Authentication Protocol (CHAP) - authentication. - :type username: str - :param password: Password for Challenge Handshake Authentication Protocol (CHAP) - authentication. - :type password: str - """ - - _validation = { - 'initiator_iqn': {'required': True}, - 'mapped_luns': {'required': True}, - 'username': {'max_length': 128, 'min_length': 7}, - 'password': {'max_length': 512, 'min_length': 12}, - } - - _attribute_map = { - 'initiator_iqn': {'key': 'initiatorIqn', 'type': 'str'}, - 'mapped_luns': {'key': 'mappedLuns', 'type': '[str]'}, - 'username': {'key': 'credentials.username', 'type': 'str'}, - 'password': {'key': 'credentials.password', 'type': 'str'}, - } - - def __init__( - self, - *, - initiator_iqn: str, - mapped_luns: List[str], - username: Optional[str] = None, - password: Optional[str] = None, - **kwargs - ): - super(Acl, self).__init__(**kwargs) - self.initiator_iqn = initiator_iqn - self.mapped_luns = mapped_luns - self.username = username - self.password = password - - -class Attributes(msrest.serialization.Model): - """Attributes of an iSCSI target. - - All required parameters must be populated in order to send to Azure. - - :param authentication: Required. Indicates whether or not authentication is enabled on the ACL. - :type authentication: bool - :param prod_mode_write_protect: Required. Indicates whether or not write protect is enabled on - the luns. - :type prod_mode_write_protect: bool - """ - - _validation = { - 'authentication': {'required': True}, - 'prod_mode_write_protect': {'required': True}, - } - - _attribute_map = { - 'authentication': {'key': 'authentication', 'type': 'bool'}, - 'prod_mode_write_protect': {'key': 'prodModeWriteProtect', 'type': 'bool'}, - } - - def __init__( - self, - *, - authentication: bool, - prod_mode_write_protect: bool, - **kwargs - ): - super(Attributes, self).__init__(**kwargs) - self.authentication = authentication - self.prod_mode_write_protect = prod_mode_write_protect - - -class Disk(msrest.serialization.Model): - """Managed disk to attach to the DiskPool. Required. - - All required parameters must be populated in order to send to Azure. - - :param id: Required. Unique Azure resource id of the managed disk. Required. - :type id: str - """ - - _validation = { - 'id': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - } - - def __init__( - self, - *, - id: str, - **kwargs - ): - super(Disk, self).__init__(**kwargs) - self.id = id - - -class Resource(msrest.serialization.Model): - """ARM resource model definition. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Resource, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - - -class TrackedResource(Resource): - """The resource model definition for a ARM tracked top level resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - } - - def __init__( - self, - *, - location: str, - tags: Optional[Dict[str, str]] = None, - **kwargs - ): - super(TrackedResource, self).__init__(**kwargs) - self.tags = tags - self.location = location - - -class DiskPool(TrackedResource): - """Request payload for Create or Update Disk Pool requests. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - :param sku: Sku description. - :type sku: ~storage_pool_management.models.Sku - :ivar system_data: Resource metadata required by ARM RPC. - :vartype system_data: ~storage_pool_management.models.SystemMetadata - :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: - "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". - :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :param availability_zones: Logical zone for DiskPool resource. - :type availability_zones: list[str] - :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", - "Unknown", "Healthy", "Unhealthy". - :vartype status: str or ~storage_pool_management.models.OperationalStatus - :param disks: List of Azure managed disks to attach to a DiskPool. - :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Azure resource id of the subnet for the DiskPool. - :type subnet_id: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - 'system_data': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - 'status': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - 'sku': {'key': 'sku', 'type': 'Sku'}, - 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, - 'status': {'key': 'properties.status', 'type': 'str'}, - 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, - 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, - } - - def __init__( - self, - *, - location: str, - tags: Optional[Dict[str, str]] = None, - sku: Optional["Sku"] = None, - availability_zones: Optional[List[str]] = None, - disks: Optional[List["Disk"]] = None, - subnet_id: Optional[str] = None, - **kwargs - ): - super(DiskPool, self).__init__(tags=tags, location=location, **kwargs) - self.sku = sku - self.system_data = None - self.provisioning_state = None - self.availability_zones = availability_zones - self.status = None - self.disks = disks - self.subnet_id = subnet_id - - -class DiskPoolListResult(msrest.serialization.Model): - """List of Disk Pools. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. An array of Disk Pool objects. - :type value: list[~storage_pool_management.models.DiskPool] - :ivar next_link: URI to fetch the next section of the paginated response. - :vartype next_link: str - """ - - _validation = { - 'value': {'required': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[DiskPool]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - *, - value: List["DiskPool"], - **kwargs - ): - super(DiskPoolListResult, self).__init__(**kwargs) - self.value = value - self.next_link = None - - -class Error(msrest.serialization.Model): - """The resource management error response. - - :param error: RP error response. - :type error: ~storage_pool_management.models.ErrorResponse - """ - - _attribute_map = { - 'error': {'key': 'error', 'type': 'ErrorResponse'}, - } - - def __init__( - self, - *, - error: Optional["ErrorResponse"] = None, - **kwargs - ): - super(Error, self).__init__(**kwargs) - self.error = error - - -class ErrorAdditionalInfo(msrest.serialization.Model): - """The resource management error additional info. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar type: The additional info type. - :vartype type: str - :ivar info: The additional info. - :vartype info: object - """ - - _validation = { - 'type': {'readonly': True}, - 'info': {'readonly': True}, - } - - _attribute_map = { - 'type': {'key': 'type', 'type': 'str'}, - 'info': {'key': 'info', 'type': 'object'}, - } - - def __init__( - self, - **kwargs - ): - super(ErrorAdditionalInfo, self).__init__(**kwargs) - self.type = None - self.info = None - - -class ErrorResponse(msrest.serialization.Model): - """The resource management error response. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar code: The error code. - :vartype code: str - :ivar message: The error message. - :vartype message: str - :ivar target: The error target. - :vartype target: str - :ivar details: The error details. - :vartype details: list[~storage_pool_management.models.ErrorResponse] - :ivar additional_info: The error additional info. - :vartype additional_info: list[~storage_pool_management.models.ErrorAdditionalInfo] - """ - - _validation = { - 'code': {'readonly': True}, - 'message': {'readonly': True}, - 'target': {'readonly': True}, - 'details': {'readonly': True}, - 'additional_info': {'readonly': True}, - } - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - 'target': {'key': 'target', 'type': 'str'}, - 'details': {'key': 'details', 'type': '[ErrorResponse]'}, - 'additional_info': {'key': 'additionalInfo', 'type': '[ErrorAdditionalInfo]'}, - } - - def __init__( - self, - **kwargs - ): - super(ErrorResponse, self).__init__(**kwargs) - self.code = None - self.message = None - self.target = None - self.details = None - self.additional_info = None - - -class IscsiLun(msrest.serialization.Model): - """Lun to expose the ManagedDisk. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. Lun name. - :type name: str - :param managed_disk_azure_resource_id: Required. Unique Azure resource id of the managed disk. - Required. - :type managed_disk_azure_resource_id: str - """ - - _validation = { - 'name': {'required': True}, - 'managed_disk_azure_resource_id': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'managed_disk_azure_resource_id': {'key': 'managedDiskAzureResourceId', 'type': 'str'}, - } - - def __init__( - self, - *, - name: str, - managed_disk_azure_resource_id: str, - **kwargs - ): - super(IscsiLun, self).__init__(**kwargs) - self.name = name - self.managed_disk_azure_resource_id = managed_disk_azure_resource_id - - -class IscsiTarget(Resource): - """Payload for iSCSI Target Create or Update requests. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: - "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". - :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", - "Unknown", "Healthy", "Unhealthy". - :vartype status: str or ~storage_pool_management.models.OperationalStatus - :param tpgs: list of iSCSI target portal groups. - :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] - :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: - iqn.2005-03.org.iscsi:server. - :type target_iqn: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - 'status': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'status': {'key': 'properties.status', 'type': 'str'}, - 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroup]'}, - 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, - } - - def __init__( - self, - *, - tpgs: Optional[List["TargetPortalGroup"]] = None, - target_iqn: Optional[str] = None, - **kwargs - ): - super(IscsiTarget, self).__init__(**kwargs) - self.provisioning_state = None - self.status = None - self.tpgs = tpgs - self.target_iqn = target_iqn - - -class IscsiTargetList(msrest.serialization.Model): - """List of iSCSI Targets. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. An array of iSCSI targets within a Disk Pool. - :type value: list[~storage_pool_management.models.IscsiTarget] - :ivar next_link: URI to fetch the next section of the paginated response. - :vartype next_link: str - """ - - _validation = { - 'value': {'required': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[IscsiTarget]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - *, - value: List["IscsiTarget"], - **kwargs - ): - super(IscsiTargetList, self).__init__(**kwargs) - self.value = value - self.next_link = None - - -class ProxyResource(Resource): - """The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ProxyResource, self).__init__(**kwargs) - - -class Sku(msrest.serialization.Model): - """The resource model definition representing SKU. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code. - :type name: str - :param tier: This field is required to be implemented by the Resource Provider if the service - has more than one tier, but is not required on a PUT. Possible values include: "Free", "Basic", - "Standard", "Premium". - :type tier: str or ~storage_pool_management.models.SkuTier - :param size: The SKU size. When the name field is the combination of tier and some other value, - this would be the standalone code. - :type size: str - :param family: If the service has different generations of hardware, for the same SKU, then - that can be captured here. - :type family: str - :param capacity: If the SKU supports scale out/in then the capacity integer should be included. - If scale out/in is not possible for the resource this may be omitted. - :type capacity: int - """ - - _validation = { - 'name': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'tier': {'key': 'tier', 'type': 'str'}, - 'size': {'key': 'size', 'type': 'str'}, - 'family': {'key': 'family', 'type': 'str'}, - 'capacity': {'key': 'capacity', 'type': 'int'}, - } - - def __init__( - self, - *, - name: str, - tier: Optional[Union[str, "SkuTier"]] = None, - size: Optional[str] = None, - family: Optional[str] = None, - capacity: Optional[int] = None, - **kwargs - ): - super(Sku, self).__init__(**kwargs) - self.name = name - self.tier = tier - self.size = size - self.family = family - self.capacity = capacity - - -class StoragePoolOperationDisplay(msrest.serialization.Model): - """Metadata about an operation. - - All required parameters must be populated in order to send to Azure. - - :param provider: Required. Localized friendly form of the resource provider name. - :type provider: str - :param resource: Required. Localized friendly form of the resource type related to this - action/operation. - :type resource: str - :param operation: Required. Localized friendly name for the operation, as it should be shown to - the user. - :type operation: str - :param description: Required. Localized friendly description for the operation, as it should be - shown to the user. - :type description: str - """ - - _validation = { - 'provider': {'required': True}, - 'resource': {'required': True}, - 'operation': {'required': True}, - 'description': {'required': True}, - } - - _attribute_map = { - 'provider': {'key': 'provider', 'type': 'str'}, - 'resource': {'key': 'resource', 'type': 'str'}, - 'operation': {'key': 'operation', 'type': 'str'}, - 'description': {'key': 'description', 'type': 'str'}, - } - - def __init__( - self, - *, - provider: str, - resource: str, - operation: str, - description: str, - **kwargs - ): - super(StoragePoolOperationDisplay, self).__init__(**kwargs) - self.provider = provider - self.resource = resource - self.operation = operation - self.description = description - - -class StoragePoolOperationListResult(msrest.serialization.Model): - """List of operations supported by the RP. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. An array of operations supported by the StoragePool RP. - :type value: list[~storage_pool_management.models.StoragePoolRPOperation] - :param next_link: URI to fetch the next section of the paginated response. - :type next_link: str - """ - - _validation = { - 'value': {'required': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[StoragePoolRPOperation]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - *, - value: List["StoragePoolRPOperation"], - next_link: Optional[str] = None, - **kwargs - ): - super(StoragePoolOperationListResult, self).__init__(**kwargs) - self.value = value - self.next_link = next_link - - -class StoragePoolRPOperation(msrest.serialization.Model): - """Description of a StoragePool RP Operation. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. The name of the operation being performed on this particular object. - :type name: str - :param is_data_action: Required. Indicates whether the operation applies to data-plane. - :type is_data_action: bool - :param action_type: Indicates the action type. - :type action_type: str - :param display: Required. Additional metadata about RP operation. - :type display: ~storage_pool_management.models.StoragePoolOperationDisplay - :param origin: The intended executor of the operation; governs the display of the operation in - the RBAC UX and the audit logs UX. - :type origin: str - """ - - _validation = { - 'name': {'required': True}, - 'is_data_action': {'required': True}, - 'display': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, - 'action_type': {'key': 'actionType', 'type': 'str'}, - 'display': {'key': 'display', 'type': 'StoragePoolOperationDisplay'}, - 'origin': {'key': 'origin', 'type': 'str'}, - } - - def __init__( - self, - *, - name: str, - is_data_action: bool, - display: "StoragePoolOperationDisplay", - action_type: Optional[str] = None, - origin: Optional[str] = None, - **kwargs - ): - super(StoragePoolRPOperation, self).__init__(**kwargs) - self.name = name - self.is_data_action = is_data_action - self.action_type = action_type - self.display = display - self.origin = origin - - -class SystemMetadata(msrest.serialization.Model): - """Resource metadata required by ARM RPC. - - :param created_by: A string identifier for the identity that created the resource. - :type created_by: str - :param created_by_type: The type of identity that created the resource: user, application, - managedIdentity. - :type created_by_type: str - :param created_at: The timestamp of resource creation (UTC). - :type created_at: str - :param last_modified_by: A string identifier for the identity that last modified the resource. - :type last_modified_by: str - :param last_modified_by_type: The type of identity that last modified the resource: user, - application, managedIdentity. - :type last_modified_by_type: str - :param last_modified_at: The timestamp of resource last modification (UTC). - :type last_modified_at: str - """ - - _attribute_map = { - 'created_by': {'key': 'createdBy', 'type': 'str'}, - 'created_by_type': {'key': 'createdByType', 'type': 'str'}, - 'created_at': {'key': 'createdAt', 'type': 'str'}, - 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, - 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, - 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'str'}, - } - - def __init__( - self, - *, - created_by: Optional[str] = None, - created_by_type: Optional[str] = None, - created_at: Optional[str] = None, - last_modified_by: Optional[str] = None, - last_modified_by_type: Optional[str] = None, - last_modified_at: Optional[str] = None, - **kwargs - ): - super(SystemMetadata, self).__init__(**kwargs) - self.created_by = created_by - self.created_by_type = created_by_type - self.created_at = created_at - self.last_modified_by = last_modified_by - self.last_modified_by_type = last_modified_by_type - self.last_modified_at = last_modified_at - - -class TargetPortalGroup(msrest.serialization.Model): - """iSCSI target portal group. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param luns: Required. Lun list to be exposed through the iSCSI target. Required. - :type luns: list[~storage_pool_management.models.IscsiLun] - :param acls: Required. Access Control List (ACL) for an iSCSI target lun. - :type acls: list[~storage_pool_management.models.Acl] - :param attributes: Required. Attributes of an iSCSI target. - :type attributes: ~storage_pool_management.models.Attributes - :ivar endpoints: list of public ip addresses to connect to the iSCSI target. - :vartype endpoints: list[str] - :ivar tag: The tag associated with the iSCSI target portal group. - :vartype tag: int - :ivar port: The port at which the iSCSI target is available. - :vartype port: int - """ - - _validation = { - 'luns': {'required': True}, - 'acls': {'required': True}, - 'attributes': {'required': True}, - 'endpoints': {'readonly': True}, - 'tag': {'readonly': True}, - 'port': {'readonly': True}, - } - - _attribute_map = { - 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, - 'acls': {'key': 'acls', 'type': '[Acl]'}, - 'attributes': {'key': 'attributes', 'type': 'Attributes'}, - 'endpoints': {'key': 'endpoints', 'type': '[str]'}, - 'tag': {'key': 'tag', 'type': 'int'}, - 'port': {'key': 'port', 'type': 'int'}, - } - - def __init__( - self, - *, - luns: List["IscsiLun"], - acls: List["Acl"], - attributes: "Attributes", - **kwargs - ): - super(TargetPortalGroup, self).__init__(**kwargs) - self.luns = luns - self.acls = acls - self.attributes = attributes - self.endpoints = None - self.tag = None - self.port = None diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_storage_pool_management_enums.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_storage_pool_management_enums.py deleted file mode 100644 index deae4a6f128..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/models/_storage_pool_management_enums.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - -from enum import Enum, EnumMeta -from six import with_metaclass - -class _CaseInsensitiveEnumMeta(EnumMeta): - def __getitem__(self, name): - return super().__getitem__(name.upper()) - - def __getattr__(cls, name): - """Return the enum member matching `name` - We use __getattr__ instead of descriptors or inserting into the enum - class' __dict__ in order to support `name` and `value` being both - properties for enum members (which live in the class' __dict__) and - enum members themselves. - """ - try: - return cls._member_map_[name.upper()] - except KeyError: - raise AttributeError(name) - - -class OperationalStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Operational status of the Disk pool - """ - - INVALID = "Invalid" - UNKNOWN = "Unknown" - HEALTHY = "Healthy" - UNHEALTHY = "Unhealthy" - -class ProvisioningStates(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """State of provisioning of the iSCSI target - """ - - INVALID = "Invalid" - SUCCEEDED = "Succeeded" - FAILED = "Failed" - CANCELED = "Canceled" - PENDING = "Pending" - CREATING = "Creating" - UPDATING = "Updating" - DELETING = "Deleting" - -class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """This field is required to be implemented by the Resource Provider if the service has more than - one tier, but is not required on a PUT. - """ - - FREE = "Free" - BASIC = "Basic" - STANDARD = "Standard" - PREMIUM = "Premium" diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/__init__.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/__init__.py deleted file mode 100644 index ee3e1450aed..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/__init__.py +++ /dev/null @@ -1,17 +0,0 @@ -# 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 ._operation_operations import OperationOperations -from ._disk_pool_operations import DiskPoolOperations -from ._iscsi_target_operations import IscsiTargetOperations - -__all__ = [ - 'OperationOperations', - 'DiskPoolOperations', - 'IscsiTargetOperations', -] diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_disk_pool_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_disk_pool_operations.py deleted file mode 100644 index 17091615e57..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_disk_pool_operations.py +++ /dev/null @@ -1,602 +0,0 @@ -# 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.core.polling import LROPoller, NoPolling, PollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.arm_polling import ARMPolling - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, List, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class DiskPoolOperations(object): - """DiskPoolOperations 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_by_subscription( - self, - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.DiskPoolListResult"] - """Gets a list of Disk Pools in a subscription. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.DiskPoolListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_subscription.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - 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('DiskPoolListResult', 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_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools'} # type: ignore - - def list_by_resource_group( - self, - resource_group_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.DiskPoolListResult"] - """Gets a list of DiskPools. - - :param resource_group_name: The name of the resource group. The name is case insensitive. - :type resource_group_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.DiskPoolListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_resource_group.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]$'), - } - 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('DiskPoolListResult', 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_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools'} # type: ignore - - def _create_or_update_initial( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - location, # type: str - tags=None, # type: Optional[Dict[str, str]] - sku=None, # type: Optional["models.Sku"] - availability_zones=None, # type: Optional[List[str]] - disks=None, # type: Optional[List["models.Disk"]] - subnet_id=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "models.DiskPool" - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - - disk_pool_payload = models.DiskPool(tags=tags, location=location, sku=sku, availability_zones=availability_zones, disks=disks, subnet_id=subnet_id) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_payload, 'DiskPool') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - 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 response.status_code == 200: - deserialized = self._deserialize('DiskPool', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - def begin_create_or_update( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - location, # type: str - tags=None, # type: Optional[Dict[str, str]] - sku=None, # type: Optional["models.Sku"] - availability_zones=None, # type: Optional[List[str]] - disks=None, # type: Optional[List["models.Disk"]] - subnet_id=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> LROPoller["models.DiskPool"] - """Create a new Disk Pool. - - :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 - :param location: The geo-location where the resource lives. - :type location: str - :param tags: Resource tags. - :type tags: dict[str, str] - :param sku: Sku description. - :type sku: ~storage_pool_management.models.Sku - :param availability_zones: Logical zone for DiskPool resource. - :type availability_zones: list[str] - :param disks: List of Azure managed disks to attach to a DiskPool. - :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Azure resource id of the subnet for the DiskPool. - :type subnet_id: 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 DiskPool or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.DiskPool] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - 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._create_or_update_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - location=location, - tags=tags, - sku=sku, - availability_zones=availability_zones, - disks=disks, - subnet_id=subnet_id, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - def update( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - location, # type: str - tags=None, # type: Optional[Dict[str, str]] - sku=None, # type: Optional["models.Sku"] - availability_zones=None, # type: Optional[List[str]] - disks=None, # type: Optional[List["models.Disk"]] - subnet_id=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "models.DiskPool" - """Update a Storage Pool. - - :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 - :param location: The geo-location where the resource lives. - :type location: str - :param tags: Resource tags. - :type tags: dict[str, str] - :param sku: Sku description. - :type sku: ~storage_pool_management.models.Sku - :param availability_zones: Logical zone for DiskPool resource. - :type availability_zones: list[str] - :param disks: List of Azure managed disks to attach to a DiskPool. - :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Azure resource id of the subnet for the DiskPool. - :type subnet_id: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DiskPool, or the result of cls(response) - :rtype: ~storage_pool_management.models.DiskPool - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - - disk_pool_payload = models.DiskPool(tags=tags, location=location, sku=sku, availability_zones=availability_zones, disks=disks, subnet_id=subnet_id) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.update.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_payload, 'DiskPool') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - 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) - - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - def _delete_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 = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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.delete(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, 204]: - 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, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - def begin_delete( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> LROPoller[None] - """Delete a Disk Pool. - - :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._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - def get( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "models.DiskPool" - """Get a Disk Pool. - - :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 - :return: DiskPool, or the result of cls(response) - :rtype: ~storage_pool_management.models.DiskPool - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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.get(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]: - 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) - - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_disk_pools_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_disk_pools_operations.py deleted file mode 100644 index 2e4c1229772..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_disk_pools_operations.py +++ /dev/null @@ -1,558 +0,0 @@ -# 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.core.polling import LROPoller, NoPolling, PollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.arm_polling import ARMPolling - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class DiskPoolsOperations(object): - """DiskPoolsOperations 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_by_subscription( - self, - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.DiskPoolListResult"] - """Gets a list of Disk Pools in a subscription. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.DiskPoolListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_subscription.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - 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('DiskPoolListResult', 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_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools'} # type: ignore - - def list_by_resource_group( - self, - resource_group_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.DiskPoolListResult"] - """Gets a list of DiskPools. - - :param resource_group_name: The name of the resource group. The name is case insensitive. - :type resource_group_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.DiskPoolListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_resource_group.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]$'), - } - 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('DiskPoolListResult', 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_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools'} # type: ignore - - def _create_or_update_initial( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - disk_pool_payload, # type: "models.DiskPool" - **kwargs # type: Any - ): - # type: (...) -> "models.DiskPool" - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_payload, 'DiskPool') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - 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 response.status_code == 200: - deserialized = self._deserialize('DiskPool', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - def begin_create_or_update( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - disk_pool_payload, # type: "models.DiskPool" - **kwargs # type: Any - ): - # type: (...) -> LROPoller["models.DiskPool"] - """Create a new Disk Pool. - - :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 - :param disk_pool_payload: Request payload for Disk Pool operations. - :type disk_pool_payload: ~storage_pool_management.models.DiskPool - :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 DiskPool or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.DiskPool] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - 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._create_or_update_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - disk_pool_payload=disk_pool_payload, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - def update( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - disk_pool_payload, # type: "models.DiskPool" - **kwargs # type: Any - ): - # type: (...) -> "models.DiskPool" - """Update a Storage Pool. - - :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 - :param disk_pool_payload: Request payload for Disk Pool operations. - :type disk_pool_payload: ~storage_pool_management.models.DiskPool - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DiskPool, or the result of cls(response) - :rtype: ~storage_pool_management.models.DiskPool - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.update.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_payload, 'DiskPool') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - 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) - - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - def _delete_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 = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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.delete(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, 204]: - 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, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - def begin_delete( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> LROPoller[None] - """Delete a Disk Pool. - - :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._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - def get( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "models.DiskPool" - """Get a Disk Pool. - - :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 - :return: DiskPool, or the result of cls(response) - :rtype: ~storage_pool_management.models.DiskPool - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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.get(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]: - 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) - - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_iscsi_target_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_iscsi_target_operations.py deleted file mode 100644 index 0fb147f3fdc..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_iscsi_target_operations.py +++ /dev/null @@ -1,452 +0,0 @@ -# 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.core.polling import LROPoller, NoPolling, PollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.arm_polling import ARMPolling - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, List, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class IscsiTargetOperations(object): - """IscsiTargetOperations 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_by_disk_pool( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.IscsiTargetList"] - """Get iSCSI Targets within a Disk Pool. - - :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 - :return: An iterator like instance of either IscsiTargetList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.IscsiTargetList] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTargetList"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_disk_pool.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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('IscsiTargetList', 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_by_disk_pool.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets'} # type: ignore - - def _create_or_update_initial( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - iscsi_target_name, # type: str - tpgs=None, # type: Optional[List["models.TargetPortalGroup"]] - target_iqn=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "models.IscsiTarget" - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - - iscsi_target_payload = models.IscsiTarget(tpgs=tpgs, target_iqn=target_iqn) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(iscsi_target_payload, 'IscsiTarget') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - 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 response.status_code == 200: - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - def begin_create_or_update( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - iscsi_target_name, # type: str - tpgs=None, # type: Optional[List["models.TargetPortalGroup"]] - target_iqn=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> LROPoller["models.IscsiTarget"] - """Create or Update an iSCSI target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_name: str - :param tpgs: list of iSCSI target portal groups. - :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] - :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: - iqn.2005-03.org.iscsi:server. - :type target_iqn: 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 IscsiTarget or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.IscsiTarget] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - 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._create_or_update_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_name, - tpgs=tpgs, - target_iqn=target_iqn, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - def _delete_initial( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - iscsi_target_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 = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.delete(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, 204]: - 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, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - def begin_delete( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - iscsi_target_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> LROPoller[None] - """Deletes an iSCSI Target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_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._delete_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - def get( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - iscsi_target_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "models.IscsiTarget" - """Gets an iSCSI Target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IscsiTarget, or the result of cls(response) - :rtype: ~storage_pool_management.models.IscsiTarget - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.get(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]: - 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) - - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_iscsi_targets_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_iscsi_targets_operations.py deleted file mode 100644 index c043566ef13..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_iscsi_targets_operations.py +++ /dev/null @@ -1,444 +0,0 @@ -# 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.core.polling import LROPoller, NoPolling, PollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.arm_polling import ARMPolling - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class IscsiTargetsOperations(object): - """IscsiTargetsOperations 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_by_disk_pool( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.IscsiTargetList"] - """Get iSCSI Targets within a Disk Pool. - - :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 - :return: An iterator like instance of either IscsiTargetList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.IscsiTargetList] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTargetList"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_disk_pool.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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('IscsiTargetList', 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_by_disk_pool.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets'} # type: ignore - - def _create_or_update_initial( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - iscsi_target_name, # type: str - iscsi_target_payload, # type: "models.IscsiTarget" - **kwargs # type: Any - ): - # type: (...) -> "models.IscsiTarget" - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(iscsi_target_payload, 'IscsiTarget') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - 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 response.status_code == 200: - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - def begin_create_or_update( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - iscsi_target_name, # type: str - iscsi_target_payload, # type: "models.IscsiTarget" - **kwargs # type: Any - ): - # type: (...) -> LROPoller["models.IscsiTarget"] - """Create or Update an iSCSI target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_name: str - :param iscsi_target_payload: Request payload for iSCSI target operations. - :type iscsi_target_payload: ~storage_pool_management.models.IscsiTarget - :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 IscsiTarget or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.IscsiTarget] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - 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._create_or_update_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_name, - iscsi_target_payload=iscsi_target_payload, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - def _delete_initial( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - iscsi_target_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 = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.delete(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, 204]: - 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, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - def begin_delete( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - iscsi_target_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> LROPoller[None] - """Deletes an iSCSI Target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_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._delete_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - def get( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - iscsi_target_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "models.IscsiTarget" - """Gets an iSCSI Target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IscsiTarget, or the result of cls(response) - :rtype: ~storage_pool_management.models.IscsiTarget - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.get(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]: - 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) - - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_operation_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_operation_operations.py deleted file mode 100644 index f6275f4bc7b..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_operation_operations.py +++ /dev/null @@ -1,110 +0,0 @@ -# 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 OperationOperations(object): - """OperationOperations 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, - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.StoragePoolOperationListResult"] - """Gets a list of StoragePool operations. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either StoragePoolOperationListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.StoragePoolOperationListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.StoragePoolOperationListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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 - # 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('StoragePoolOperationListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return 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': '/providers/Microsoft.StoragePool/operations'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_operations.py b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_operations.py deleted file mode 100644 index bf704ee6432..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/operations/_operations.py +++ /dev/null @@ -1,110 +0,0 @@ -# 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 Operations(object): - """Operations 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, - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.StoragePoolOperationListResult"] - """Gets a list of StoragePool operations. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either StoragePoolOperationListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.StoragePoolOperationListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.StoragePoolOperationListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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 - # 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('StoragePoolOperationListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return 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': '/providers/Microsoft.StoragePool/operations'} # type: ignore diff --git a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/py.typed b/src/storagepool/azext_storagepool/vendored_sdks/storagepool/py.typed deleted file mode 100644 index e5aff4f83af..00000000000 --- a/src/storagepool/azext_storagepool/vendored_sdks/storagepool/py.typed +++ /dev/null @@ -1 +0,0 @@ -# Marker file for PEP 561. \ No newline at end of file diff --git a/src/storagepool/gen.zip b/src/storagepool/gen.zip deleted file mode 100644 index 0519aa3c40ca691fff67446a30cc2ce80fdfd0f3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8632 zcmeGiYj4{&Fx~5eKko-{Y607WEvFlXVHpf0OR^wnGGs~i0GdExB-&;ziz-PubprpT zeb_JBr~QuIk(MmWa{Or8Z9tVcim2n=@pyNz0sc1Leegag$S=SQ(9ex6z}FC|JGAJi>TznjYm&O^UuT;CN;lK zPPs3I5*-cWG6wE67m-W$!jKpsMI=*94q4#B+!GFLDHf0<3Ya9i$H?jNWjgGV3&yes z{YDcW8JJj#SIpN$3ZY3yNWc_YOaKAT1535?)UX#Y(q$0?R)EmWD92*$yiWEKEzUt? zz%KwESwJC?yZs)Gx=fJ)9TA@!$Ct9C-s8 zB{XahNx5Pk?=)b&q3`)(2x9B9CD=iHB9T5jk|K%EB#WtJazZAaJgSu3uUu-N^%K*# zLiRK0O6BtK;?g@fJ|}Hhj~i3nbLox3do6u_C3uuQq%S?M!$anI^#-ZBZna*oR6xpy z(U2&nlen@wU0@|(9Xnb>0l|8^^_>cVE2c`>dB5+So}C=-kk$cL{WCBu)ru3{+LsLU zhrova5(oGnB?v$eVxEL%vF8Qw9xYROfWY$&0#8UUF$g?r06c^!a)Zpd{vfDT=^e@0 zI6;(6oIxx)QZ?M;3d~h)HX}M<#JL}gQvSzI2~;S2VX(~vO8{pH4izMziMU9!`&AH z5E^S4)UDwFmsMOV^A4z{xJ+;RzsXjqv_K{i(@h?b#}n7Ynp(rDaTTQn#s=~pMq}I~ zU_iCN7-$meGSR7iLQs*~&V>dCM`hsc{jgsKscBb{J{z^2Aq^8&29oZ1vy1)#bQ3n+ zsWxUc*Y7dEui7tXM^UM*G2rW(gFHEnf_kH~0N@O(~ zyBsTD@k=VTW<43qc#M;H1Q`N_qS^85 zXfm;UB~U{Fo&W@A4QL#*;3SDG*Dw+$(Kg(!$Kz`RpjsCROMV0S>vTmlf#Mdd(x%-o zXGhC~;bcgEgHtFL{U*6)XHsY=FX8(RW-*p+AeR$ZZq@LjNErFDOh-_;3Gi6l!?Mu% zB=bH_h5EKhPmyq1_$$rbbGiC+U=ZX6zwa+uoKfx7602gqXtf{o1{20|rAgI)H3G{r zw;5|+J$aj1YDsLeR^&Pte&(>N7C1ti!hzeH`o>kf9>(VQp^;~1TH$Wy2p1%D@5~LZ zCBO$m|9m+kC)hD)*d`T?ccGyVoPfCdg`5oYkJQf)Qw?5G88+Mb1-aR}JO6kax@IPm z+jFeOg$xRw2j&J{g>_BJ&i5v_$1p65iZn+hUSwSvuN-8owHb5n2~RsLC1v7VJ2{-l zZ&IVjWp0`sJ|wBzR4<{_F{VXD}1n07{K@M&1Of$`&Qp__z*$NjNh>MWJ zyyeIzIz729at%2WsP6=&eV$SbP6rSW=R1?N z`~x)R4DQ|ZK$+<-*3g1HXfAg6n|2kVbu6vsI%VEqG&8UIa_8IYhG|q(Wfv-K(4zzl znn@2awQNMtFon*OpLH>r3^Mj+`q8zl=bODxJJ+zfvlmZ3`h08gS0~`x6S?axzDRNQ S;?vI%(-ZjNaR2TLeEJ9Gc6<5& diff --git a/src/storagepool/report.md b/src/storagepool/report.md deleted file mode 100644 index 2a9bab87398..00000000000 --- a/src/storagepool/report.md +++ /dev/null @@ -1,199 +0,0 @@ -# Azure CLI Module Creation Report - -## EXTENSION -|CLI Extension|Command Groups| -|---------|------------| -|az storagepool|[groups](#CommandGroups) - -## GROUPS -### Command groups in `az storagepool` extension -|CLI Command Group|Group Swagger name|Commands| -|---------|------------|--------| -|az storagepool disk-pool|DiskPools|[commands](#CommandsInDiskPools)| -|az storagepool iscsi-target|IscsiTargets|[commands](#CommandsInIscsiTargets)| - -## COMMANDS -### Commands in `az storagepool disk-pool` group -|CLI Command|Operation Swagger name|Parameters|Examples| -|---------|------------|--------|-----------| -|[az storagepool disk-pool list](#DiskPoolsListByResourceGroup)|ListByResourceGroup|[Parameters](#ParametersDiskPoolsListByResourceGroup)|[Example](#ExamplesDiskPoolsListByResourceGroup)| -|[az storagepool disk-pool list](#DiskPoolsListBySubscription)|ListBySubscription|[Parameters](#ParametersDiskPoolsListBySubscription)|[Example](#ExamplesDiskPoolsListBySubscription)| -|[az storagepool disk-pool show](#DiskPoolsGet)|Get|[Parameters](#ParametersDiskPoolsGet)|[Example](#ExamplesDiskPoolsGet)| -|[az storagepool disk-pool create](#DiskPoolsCreateOrUpdate#Create)|CreateOrUpdate#Create|[Parameters](#ParametersDiskPoolsCreateOrUpdate#Create)|[Example](#ExamplesDiskPoolsCreateOrUpdate#Create)| -|[az storagepool disk-pool update](#DiskPoolsUpdate)|Update|[Parameters](#ParametersDiskPoolsUpdate)|[Example](#ExamplesDiskPoolsUpdate)| -|[az storagepool disk-pool delete](#DiskPoolsDelete)|Delete|[Parameters](#ParametersDiskPoolsDelete)|[Example](#ExamplesDiskPoolsDelete)| - -### Commands in `az storagepool iscsi-target` group -|CLI Command|Operation Swagger name|Parameters|Examples| -|---------|------------|--------|-----------| -|[az storagepool iscsi-target list](#IscsiTargetsListByDiskPool)|ListByDiskPool|[Parameters](#ParametersIscsiTargetsListByDiskPool)|[Example](#ExamplesIscsiTargetsListByDiskPool)| -|[az storagepool iscsi-target show](#IscsiTargetsGet)|Get|[Parameters](#ParametersIscsiTargetsGet)|[Example](#ExamplesIscsiTargetsGet)| -|[az storagepool iscsi-target create](#IscsiTargetsCreateOrUpdate#Create)|CreateOrUpdate#Create|[Parameters](#ParametersIscsiTargetsCreateOrUpdate#Create)|[Example](#ExamplesIscsiTargetsCreateOrUpdate#Create)| -|[az storagepool iscsi-target update](#IscsiTargetsCreateOrUpdate#Update)|CreateOrUpdate#Update|[Parameters](#ParametersIscsiTargetsCreateOrUpdate#Update)|Not Found| -|[az storagepool iscsi-target delete](#IscsiTargetsDelete)|Delete|[Parameters](#ParametersIscsiTargetsDelete)|[Example](#ExamplesIscsiTargetsDelete)| - - -## COMMAND DETAILS - -### group `az storagepool disk-pool` -#### Command `az storagepool disk-pool list` - -##### Example -``` -az storagepool disk-pool list --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| - -#### Command `az storagepool disk-pool list` - -##### Example -``` -az storagepool disk-pool list -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -#### Command `az storagepool disk-pool show` - -##### Example -``` -az storagepool disk-pool show --name "myDiskPool" --resource-group "myResourceGroup" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| -|**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| - -#### Command `az storagepool disk-pool create` - -##### Example -``` -az storagepool disk-pool create --name "myDiskPool" --location "westus" --availability-zones "1" --disks \ -id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disk\ -s/vm-name_DataDisk_0" --disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/pr\ -oviders/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/re\ -sourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --sku \ -name="Standard_ABC" --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| -|**--location**|string|The geo-location where the resource lives|location|location| -|**--tags**|dictionary|Resource tags.|tags|tags| -|**--sku**|object|Sku description.|sku|sku| -|**--availability-zones**|array|Logical zone for DiskPool resource.|availability_zones|availabilityZones| -|**--disks**|array|List of Azure managed disks to attach to a DiskPool|disks|disks| -|**--subnet-id**|string|Azure resource id of the subnet for the DiskPool|subnet_id|subnetId| - -#### Command `az storagepool disk-pool update` - -##### Example -``` -az storagepool disk-pool update --name "myDiskPool" --location "westus" --availability-zones "1" --disks \ -id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disk\ -s/vm-name_DataDisk_0" --disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/pr\ -oviders/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/re\ -sourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --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| -|**--location**|string|The geo-location where the resource lives|location|location| -|**--tags**|dictionary|Resource tags.|tags|tags| -|**--sku**|object|Sku description.|sku|sku| -|**--availability-zones**|array|Logical zone for DiskPool resource.|availability_zones|availabilityZones| -|**--disks**|array|List of Azure managed disks to attach to a DiskPool|disks|disks| -|**--subnet-id**|string|Azure resource id of the subnet for the DiskPool|subnet_id|subnetId| - -#### Command `az storagepool disk-pool delete` - -##### Example -``` -az storagepool disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| -|**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| - -### group `az storagepool iscsi-target` -#### Command `az storagepool iscsi-target list` - -##### Example -``` -az storagepool iscsi-target list --disk-pool-name "myDiskPool" --resource-group "myResourceGroup" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| -|**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| - -#### Command `az storagepool iscsi-target show` - -##### Example -``` -az storagepool iscsi-target show --disk-pool-name "myDiskPool" --name "myIscsiTarget" --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| -|**--iscsi-target-name**|string|The name of the iSCSI target.|iscsi_target_name|iscsiTargetName| - -#### Command `az storagepool iscsi-target create` - -##### Example -``` -az storagepool iscsi-target create --disk-pool-name "myDiskPool" --name "myIscsiTarget" --target-iqn \ -"iqn.2005-03.org.iscsi:server1" --tpgs "[{\\"acls\\":[{\\"credentials\\":{\\"password\\":\\"some_pa$$word\\",\\"usernam\ -e\\":\\"some_username\\"},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}],\\"attr\ -ibutes\\":{\\"authentication\\":true,\\"prodModeWriteProtect\\":false},\\"luns\\":[{\\"name\\":\\"lun0\\",\\"managedDis\ -kAzureResourceId\\":\\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Mic\ -rosoft.Compute/disks/vm-name_DataDisk_1\\"}]}]" --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| -|**--iscsi-target-name**|string|The name of the iSCSI target.|iscsi_target_name|iscsiTargetName| -|**--tpgs**|array|list of iSCSI target portal groups|tpgs|tpgs| -|**--target-iqn**|string|iSCSI target iqn (iSCSI Qualified Name); example: iqn.2005-03.org.iscsi:server|target_iqn|targetIqn| - -#### Command `az storagepool iscsi-target update` - -##### 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| -|**--iscsi-target-name**|string|The name of the iSCSI target.|iscsi_target_name|iscsiTargetName| -|**--tpgs**|array|list of iSCSI target portal groups|tpgs|tpgs| -|**--target-iqn**|string|iSCSI target iqn (iSCSI Qualified Name); example: iqn.2005-03.org.iscsi:server|target_iqn|targetIqn| - -#### Command `az storagepool iscsi-target delete` - -##### Example -``` -az storagepool iscsi-target delete --disk-pool-name "myDiskPool" --name "myIscsiTarget" --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| -|**--iscsi-target-name**|string|The name of the iSCSI target.|iscsi_target_name|iscsiTargetName| diff --git a/src/storagepool/setup.cfg b/src/storagepool/setup.cfg deleted file mode 100644 index 2fdd96e5d39..00000000000 --- a/src/storagepool/setup.cfg +++ /dev/null @@ -1 +0,0 @@ -#setup.cfg \ No newline at end of file diff --git a/src/storagepool/setup.py b/src/storagepool/setup.py deleted file mode 100644 index a28fa7bd864..00000000000 --- a/src/storagepool/setup.py +++ /dev/null @@ -1,58 +0,0 @@ -#!/usr/bin/env python - -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - - -from codecs import open -from setuptools import setup, find_packages - -# HISTORY.rst entry. -VERSION = '0.1.0' -try: - from azext_storagepool.manual.version import VERSION -except ImportError: - pass - -# The full list of classifiers is available at -# https://pypi.python.org/pypi?%3Aaction=list_classifiers -CLASSIFIERS = [ - 'Development Status :: 4 - Beta', - 'Intended Audience :: Developers', - 'Intended Audience :: System Administrators', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'License :: OSI Approved :: MIT License', -] - -DEPENDENCIES = [] - -try: - from azext_storagepool.manual.dependency import DEPENDENCIES -except ImportError: - pass - -with open('README.md', 'r', encoding='utf-8') as f: - README = f.read() -with open('HISTORY.rst', 'r', encoding='utf-8') as f: - HISTORY = f.read() - -setup( - name='storagepool', - version=VERSION, - description='Microsoft Azure Command-Line Tools StoragePoolManagement Extension', - author='Microsoft Corporation', - author_email='azpycli@microsoft.com', - url='https://github.com/Azure/azure-cli-extensions/tree/master/src/storagepool', - long_description=README + '\n\n' + HISTORY, - license='MIT', - classifiers=CLASSIFIERS, - packages=find_packages(), - install_requires=DEPENDENCIES, - package_data={'azext_storagepool': ['azext_metadata.json']}, -) From dba9c39ba4832cd120bb352d0b7738ff2a3f9a40 Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Mon, 9 Nov 2020 16:46:20 +0800 Subject: [PATCH 03/30] add diskpool --- src/diskpool/HISTORY.rst | 8 + src/diskpool/README.md | 64 ++ src/diskpool/azext_diskpool/__init__.py | 50 + src/diskpool/azext_diskpool/action.py | 17 + .../azext_diskpool/azext_metadata.json | 4 + src/diskpool/azext_diskpool/custom.py | 17 + .../azext_diskpool/generated/__init__.py | 12 + .../generated/_client_factory.py | 24 + .../azext_diskpool/generated/_help.py | 205 +++++ .../azext_diskpool/generated/_params.py | 112 +++ .../azext_diskpool/generated/_validators.py | 9 + .../azext_diskpool/generated/action.py | 66 ++ .../azext_diskpool/generated/commands.py | 43 + .../azext_diskpool/generated/custom.py | 137 +++ .../azext_diskpool/manual/__init__.py | 12 + src/diskpool/azext_diskpool/tests/__init__.py | 114 +++ .../azext_diskpool/tests/latest/__init__.py | 12 + .../azext_diskpool/tests/latest/preparers.py | 159 ++++ .../tests/latest/test_diskpool_scenario.py | 216 +++++ .../azext_diskpool/vendored_sdks/__init__.py | 12 + .../vendored_sdks/storagepool/__init__.py | 16 + .../storagepool/_configuration.py | 70 ++ .../storagepool/_storage_pool_management.py | 80 ++ .../vendored_sdks/storagepool/aio/__init__.py | 10 + .../storagepool/aio/_configuration.py | 66 ++ .../aio/_storage_pool_management.py | 74 ++ .../storagepool/aio/operations/__init__.py | 17 + .../aio/operations/_disk_pool_operations.py | 590 ++++++++++++ .../operations/_iscsi_target_operations.py | 442 +++++++++ .../aio/operations/_operation_operations.py | 105 +++ .../storagepool/models/__init__.py | 82 ++ .../storagepool/models/_models.py | 800 ++++++++++++++++ .../storagepool/models/_models_py3.py | 867 ++++++++++++++++++ .../models/_storage_pool_management_enums.py | 59 ++ .../storagepool/operations/__init__.py | 17 + .../operations/_disk_pool_operations.py | 602 ++++++++++++ .../operations/_iscsi_target_operations.py | 452 +++++++++ .../operations/_operation_operations.py | 110 +++ .../vendored_sdks/storagepool/py.typed | 1 + src/diskpool/gen.zip | Bin 0 -> 8517 bytes src/diskpool/report.md | 198 ++++ src/diskpool/setup.cfg | 1 + src/diskpool/setup.py | 58 ++ 43 files changed, 6010 insertions(+) create mode 100644 src/diskpool/HISTORY.rst create mode 100644 src/diskpool/README.md create mode 100644 src/diskpool/azext_diskpool/__init__.py create mode 100644 src/diskpool/azext_diskpool/action.py create mode 100644 src/diskpool/azext_diskpool/azext_metadata.json create mode 100644 src/diskpool/azext_diskpool/custom.py create mode 100644 src/diskpool/azext_diskpool/generated/__init__.py create mode 100644 src/diskpool/azext_diskpool/generated/_client_factory.py create mode 100644 src/diskpool/azext_diskpool/generated/_help.py create mode 100644 src/diskpool/azext_diskpool/generated/_params.py create mode 100644 src/diskpool/azext_diskpool/generated/_validators.py create mode 100644 src/diskpool/azext_diskpool/generated/action.py create mode 100644 src/diskpool/azext_diskpool/generated/commands.py create mode 100644 src/diskpool/azext_diskpool/generated/custom.py create mode 100644 src/diskpool/azext_diskpool/manual/__init__.py create mode 100644 src/diskpool/azext_diskpool/tests/__init__.py create mode 100644 src/diskpool/azext_diskpool/tests/latest/__init__.py create mode 100644 src/diskpool/azext_diskpool/tests/latest/preparers.py create mode 100644 src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/__init__.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/_storage_pool_management.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/__init__.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_storage_pool_management.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/__init__.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pool_operations.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_iscsi_target_operations.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_operation_operations.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/__init__.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models_py3.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_storage_pool_management_enums.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pool_operations.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_iscsi_target_operations.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operation_operations.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/py.typed create mode 100644 src/diskpool/gen.zip create mode 100644 src/diskpool/report.md create mode 100644 src/diskpool/setup.cfg create mode 100644 src/diskpool/setup.py diff --git a/src/diskpool/HISTORY.rst b/src/diskpool/HISTORY.rst new file mode 100644 index 00000000000..1c139576ba0 --- /dev/null +++ b/src/diskpool/HISTORY.rst @@ -0,0 +1,8 @@ +.. :changelog: + +Release History +=============== + +0.1.0 +++++++ +* Initial release. diff --git a/src/diskpool/README.md b/src/diskpool/README.md new file mode 100644 index 00000000000..b593b61b22c --- /dev/null +++ b/src/diskpool/README.md @@ -0,0 +1,64 @@ +# Azure CLI diskpool Extension # +This is the extension for diskpool + +### How to use ### +Install this extension using the below CLI command +``` +az extension add --name diskpool +``` + +### Included Features ### +#### diskpool disk-pool #### +##### Create ##### +``` +az diskpool 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" \ + --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" + +az diskpool disk-pool wait --created --name "{myDiskPool}" --resource-group "{rg}" +``` +##### Show ##### +``` +az diskpool disk-pool show --name "myDiskPool" --resource-group "myResourceGroup" +``` +##### List ##### +``` +az diskpool disk-pool list --resource-group "myResourceGroup" +``` +##### Update ##### +``` +az diskpool 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" +``` +##### Delete ##### +``` +az diskpool disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" +``` +#### 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 wait --created --name "{myIscsiTarget}" --resource-group "{rg}" +``` +##### Show ##### +``` +az disk-pool iscsi-target show --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group "myResourceGroup" +``` +##### List ##### +``` +az disk-pool iscsi-target list --disk-pool-name "myDiskPool" --resource-group "myResourceGroup" +``` +##### Delete ##### +``` +az disk-pool iscsi-target delete --disk-pool-name "myDiskPool" --name "myIscsiTarget" \ + --resource-group "myResourceGroup" +``` \ No newline at end of file diff --git a/src/diskpool/azext_diskpool/__init__.py b/src/diskpool/azext_diskpool/__init__.py new file mode 100644 index 00000000000..cbe2830075c --- /dev/null +++ b/src/diskpool/azext_diskpool/__init__.py @@ -0,0 +1,50 @@ +# -------------------------------------------------------------------------- +# 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.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): + + def __init__(self, cli_ctx=None): + from azure.cli.core.commands import CliCommandType + from azext_diskpool.generated._client_factory import cf_diskpool_cl + diskpool_custom = CliCommandType( + operations_tmpl='azext_diskpool.custom#{}', + client_factory=cf_diskpool_cl) + parent = super(StoragePoolManagementCommandsLoader, self) + parent.__init__(cli_ctx=cli_ctx, custom_command_type=diskpool_custom) + + def load_command_table(self, args): + from azext_diskpool.generated.commands import load_command_table + 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 + return self.command_table + + def load_arguments(self, command): + from azext_diskpool.generated._params import load_arguments + 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 + + +COMMAND_LOADER_CLS = StoragePoolManagementCommandsLoader diff --git a/src/diskpool/azext_diskpool/action.py b/src/diskpool/azext_diskpool/action.py new file mode 100644 index 00000000000..d95d53bf711 --- /dev/null +++ b/src/diskpool/azext_diskpool/action.py @@ -0,0 +1,17 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# pylint: disable=wildcard-import +# pylint: disable=unused-wildcard-import + +from .generated.action import * # noqa: F403 +try: + from .manual.action import * # noqa: F403 +except ImportError: + pass diff --git a/src/diskpool/azext_diskpool/azext_metadata.json b/src/diskpool/azext_diskpool/azext_metadata.json new file mode 100644 index 00000000000..4f48fa652a5 --- /dev/null +++ b/src/diskpool/azext_diskpool/azext_metadata.json @@ -0,0 +1,4 @@ +{ + "azext.isExperimental": true, + "azext.minCliCoreVersion": "2.11.0" +} \ No newline at end of file diff --git a/src/diskpool/azext_diskpool/custom.py b/src/diskpool/azext_diskpool/custom.py new file mode 100644 index 00000000000..dbe9d5f9742 --- /dev/null +++ b/src/diskpool/azext_diskpool/custom.py @@ -0,0 +1,17 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# pylint: disable=wildcard-import +# pylint: disable=unused-wildcard-import + +from .generated.custom import * # noqa: F403 +try: + from .manual.custom import * # noqa: F403 +except ImportError: + pass diff --git a/src/diskpool/azext_diskpool/generated/__init__.py b/src/diskpool/azext_diskpool/generated/__init__.py new file mode 100644 index 00000000000..c9cfdc73e77 --- /dev/null +++ b/src/diskpool/azext_diskpool/generated/__init__.py @@ -0,0 +1,12 @@ +# 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. +# -------------------------------------------------------------------------- + +__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/src/diskpool/azext_diskpool/generated/_client_factory.py b/src/diskpool/azext_diskpool/generated/_client_factory.py new file mode 100644 index 00000000000..657087960c7 --- /dev/null +++ b/src/diskpool/azext_diskpool/generated/_client_factory.py @@ -0,0 +1,24 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- + + +def cf_diskpool_cl(cli_ctx, *_): + from azure.cli.core.commands.client_factory import get_mgmt_service_client + from ..vendored_sdks.storagepool import StoragePoolManagement + return get_mgmt_service_client(cli_ctx, + StoragePoolManagement) + + +def cf_disk_pool(cli_ctx, *_): + return cf_diskpool_cl(cli_ctx).disk_pool + + +def cf_iscsi_target(cli_ctx, *_): + return cf_diskpool_cl(cli_ctx).iscsi_target diff --git a/src/diskpool/azext_diskpool/generated/_help.py b/src/diskpool/azext_diskpool/generated/_help.py new file mode 100644 index 00000000000..54453116b33 --- /dev/null +++ b/src/diskpool/azext_diskpool/generated/_help.py @@ -0,0 +1,205 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# pylint: disable=too-many-lines + +from knack.help_files import helps + + +helps['disk-pool'] = """ + type: group + short-summary: disk-pool +""" + +helps['disk-pool list'] = """ + type: command + short-summary: "Gets a list of DiskPools. And Gets a list of Disk Pools in a subscription." + examples: + - name: List Disk Pools + text: |- + az disk-pool list --resource-group "myResourceGroup" + - name: List Disk Pools by subscription + text: |- + az disk-pool list +""" + +helps['disk-pool show'] = """ + type: command + short-summary: "Get a Disk Pool." + examples: + - name: Get a diskPool + text: |- + az disk-pool show --name "myDiskPool" --resource-group "myResourceGroup" +""" + +helps['disk-pool create'] = """ + type: command + short-summary: "Create a new Disk Pool." + parameters: + - name: --sku + short-summary: "Sku description." + long-summary: | + Usage: --sku name=XX tier=XX size=XX family=XX capacity=XX + + name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code + tier: This field is required to be implemented by the Resource Provider if the service has more than one \ +tier, but is not required on a PUT. + size: The SKU size. When the name field is the combination of tier and some other value, this would be the \ +standalone code. + family: If the service has different generations of hardware, for the same SKU, then that can be captured \ +here. + capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in \ +is not possible for the resource this may be omitted. + - name: --disks + short-summary: "List of Azure managed disks to attach to a DiskPool" + long-summary: | + Usage: --disks id=XX + + id: Required. Unique Azure resource id of the managed disk. Required. + + Multiple actions can be specified by using more than one --disks argument. + examples: + - name: Create or Update a Disk Pool + text: |- + az disk-pool create --name "myDiskPool" --location "westus" --availability-zones "1" --disks \ +id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disk\ +s/vm-name_DataDisk_0" --disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/pr\ +oviders/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/re\ +sourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --sku \ +name="Standard_ABC" --tags key="value" --resource-group "myResourceGroup" +""" + +helps['disk-pool update'] = """ + type: command + short-summary: "Update a Storage Pool." + parameters: + - name: --sku + short-summary: "Sku description." + long-summary: | + Usage: --sku name=XX tier=XX size=XX family=XX capacity=XX + + name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code + tier: This field is required to be implemented by the Resource Provider if the service has more than one \ +tier, but is not required on a PUT. + size: The SKU size. When the name field is the combination of tier and some other value, this would be the \ +standalone code. + family: If the service has different generations of hardware, for the same SKU, then that can be captured \ +here. + capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in \ +is not possible for the resource this may be omitted. + - name: --disks + short-summary: "List of Azure managed disks to attach to a DiskPool" + long-summary: | + Usage: --disks id=XX + + id: Required. Unique Azure resource id of the managed disk. Required. + + Multiple actions can be specified by using more than one --disks argument. + examples: + - name: Update Disk Pool + text: |- + az disk-pool update --name "myDiskPool" --location "westus" --availability-zones "1" --disks \ +id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disk\ +s/vm-name_DataDisk_0" --disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/pr\ +oviders/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/re\ +sourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --tags key="value" \ +--resource-group "myResourceGroup" +""" + +helps['disk-pool delete'] = """ + type: command + short-summary: "Delete a Disk Pool." + examples: + - name: Update Disk Pool + text: |- + az disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" +""" + +helps['disk-pool wait'] = """ + type: command + short-summary: Place the CLI in a waiting state until a condition of the disk-pool is met. + examples: + - name: Pause executing next line of CLI script until the disk-pool is successfully created. + text: |- + az disk-pool wait --name "myDiskPool" --resource-group "myResourceGroup" --created + - name: Pause executing next line of CLI script until the disk-pool is successfully deleted. + text: |- + az disk-pool wait --name "myDiskPool" --resource-group "myResourceGroup" --deleted +""" + +helps['disk-pool iscsi-target'] = """ + type: group + short-summary: disk-pool iscsi-target +""" + +helps['disk-pool iscsi-target list'] = """ + type: command + short-summary: "Get iSCSI Targets within a Disk Pool." + examples: + - name: List Disk Pools by Resource Group + text: |- + az disk-pool iscsi-target list --disk-pool-name "myDiskPool" --resource-group "myResourceGroup" +""" + +helps['disk-pool iscsi-target show'] = """ + type: command + short-summary: "Gets an iSCSI Target." + examples: + - name: Get an iscsiTarget + text: |- + az disk-pool iscsi-target show --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ +"myResourceGroup" +""" + +helps['disk-pool iscsi-target create'] = """ + type: command + short-summary: "Create an iSCSI target." + examples: + - name: Create or Update an iSCSI Target + text: |- + 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\\",\\"usernam\ +e\\":\\"some_username\\"},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}],\\"attr\ +ibutes\\":{\\"authentication\\":true,\\"prodModeWriteProtect\\":false},\\"luns\\":[{\\"name\\":\\"lun0\\",\\"managedDis\ +kAzureResourceId\\":\\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Mic\ +rosoft.Compute/disks/vm-name_DataDisk_1\\"}]}]" --resource-group "myResourceGroup" +""" + +helps['disk-pool iscsi-target update'] = """ + type: command + short-summary: "Update an iSCSI target." +""" + +helps['disk-pool iscsi-target delete'] = """ + type: command + short-summary: "Deletes an iSCSI Target." + examples: + - name: Delete an iscsiTarget + text: |- + az disk-pool iscsi-target delete --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ +"myResourceGroup" +""" + +helps['disk-pool iscsi-target wait'] = """ + type: command + short-summary: Place the CLI in a waiting state until a condition of the disk-pool iscsi-target is met. + examples: + - name: Pause executing next line of CLI script until the disk-pool iscsi-target is successfully created. + text: |- + az disk-pool iscsi-target wait --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ +"myResourceGroup" --created + - name: Pause executing next line of CLI script until the disk-pool iscsi-target is successfully updated. + text: |- + az disk-pool iscsi-target wait --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ +"myResourceGroup" --updated + - name: Pause executing next line of CLI script until the disk-pool iscsi-target is successfully deleted. + text: |- + az disk-pool iscsi-target wait --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ +"myResourceGroup" --deleted +""" diff --git a/src/diskpool/azext_diskpool/generated/_params.py b/src/diskpool/azext_diskpool/generated/_params.py new file mode 100644 index 00000000000..65ecff537d2 --- /dev/null +++ b/src/diskpool/azext_diskpool/generated/_params.py @@ -0,0 +1,112 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements + +from azure.cli.core.commands.parameters import ( + tags_type, + resource_group_name_type, + get_location_type +) +from azure.cli.core.commands.validators import ( + get_default_location_from_resource_group, + validate_file_or_dict +) +from azext_diskpool.action import ( + AddSku, + AddDisks +) + + +def load_arguments(self, _): + + with self.argument_context('disk-pool list') as c: + c.argument('resource_group_name', resource_group_name_type) + + with self.argument_context('disk-pool show') 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 create') 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.') + c.argument('tags', tags_type) + c.argument('location', arg_type=get_location_type(self.cli_ctx), + validator=get_default_location_from_resource_group) + c.argument('sku', action=AddSku, nargs='*', help='Sku description.') + c.argument('availability_zones', nargs='*', help='Logical zone for DiskPool resource.') + c.argument('disks', action=AddDisks, nargs='*', help='List of Azure managed disks to attach to a DiskPool') + c.argument('subnet_id', type=str, help='Azure resource id of the subnet for the DiskPool') + + with self.argument_context('disk-pool update') 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') + c.argument('tags', tags_type) + c.argument('location', arg_type=get_location_type(self.cli_ctx), + validator=get_default_location_from_resource_group) + c.argument('sku', action=AddSku, nargs='*', help='Sku description.') + c.argument('availability_zones', nargs='*', help='Logical zone for DiskPool resource.') + c.argument('disks', action=AddDisks, nargs='*', help='List of Azure managed disks to attach to a DiskPool') + c.argument('subnet_id', type=str, help='Azure resource id of the subnet for the DiskPool') + + with self.argument_context('disk-pool delete') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' + 'the Disk Pool.', id_part='name') + + with self.argument_context('disk-pool wait') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' + 'the Disk Pool.', id_part='name') + + with self.argument_context('disk-pool 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.') + + with self.argument_context('disk-pool iscsi-target show') 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.', 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') + + with self.argument_context('disk-pool iscsi-target create') 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.') + c.argument('iscsi_target_name', options_list=['--name', '-n', '--iscsi-target-name'], type=str, help='The name ' + 'of the iSCSI target.') + c.argument('tpgs', type=validate_file_or_dict, help='list of iSCSI target portal groups Expected value: ' + 'json-string/@json-file.') + c.argument('target_iqn', type=str, help='iSCSI target iqn (iSCSI Qualified Name); example: ' + 'iqn.2005-03.org.iscsi:server') + + with self.argument_context('disk-pool iscsi-target update') 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.', 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('tpgs', type=validate_file_or_dict, help='list of iSCSI target portal groups Expected value: ' + 'json-string/@json-file.') + c.argument('target_iqn', type=str, help='iSCSI target iqn (iSCSI Qualified Name); example: ' + 'iqn.2005-03.org.iscsi:server') + + with self.argument_context('disk-pool iscsi-target delete') 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.', 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') + + with self.argument_context('disk-pool iscsi-target wait') 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.', 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') diff --git a/src/diskpool/azext_diskpool/generated/_validators.py b/src/diskpool/azext_diskpool/generated/_validators.py new file mode 100644 index 00000000000..b33a44c1ebf --- /dev/null +++ b/src/diskpool/azext_diskpool/generated/_validators.py @@ -0,0 +1,9 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- diff --git a/src/diskpool/azext_diskpool/generated/action.py b/src/diskpool/azext_diskpool/generated/action.py new file mode 100644 index 00000000000..4bc8d6f923b --- /dev/null +++ b/src/diskpool/azext_diskpool/generated/action.py @@ -0,0 +1,66 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# pylint: disable=protected-access + +import argparse +from collections import defaultdict +from knack.util import CLIError + + +class AddSku(argparse.Action): + 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 + try: + properties = defaultdict(list) + for (k, v) in (x.split('=', 1) for x in values): + properties[k].append(v) + properties = dict(properties) + except ValueError: + raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) + d = {} + for k in properties: + kl = k.lower() + v = properties[k] + if kl == 'name': + d['name'] = v[0] + elif kl == 'tier': + d['tier'] = v[0] + elif kl == 'size': + d['size'] = v[0] + elif kl == 'family': + d['family'] = v[0] + elif kl == 'capacity': + d['capacity'] = v[0] + return d + + +class AddDisks(argparse._AppendAction): + def __call__(self, parser, namespace, values, option_string=None): + action = self.get_action(values, option_string) + super(AddDisks, self).__call__(parser, namespace, action, option_string) + + def get_action(self, values, option_string): # pylint: disable=no-self-use + try: + properties = defaultdict(list) + for (k, v) in (x.split('=', 1) for x in values): + properties[k].append(v) + properties = dict(properties) + except ValueError: + raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) + d = {} + for k in properties: + kl = k.lower() + v = properties[k] + if kl == 'id': + d['id'] = v[0] + return d diff --git a/src/diskpool/azext_diskpool/generated/commands.py b/src/diskpool/azext_diskpool/generated/commands.py new file mode 100644 index 00000000000..6282ee3d848 --- /dev/null +++ b/src/diskpool/azext_diskpool/generated/commands.py @@ -0,0 +1,43 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# pylint: disable=too-many-statements +# pylint: disable=too-many-locals + +from azure.cli.core.commands import CliCommandType + + +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_pool_operations#DiskPoolOperations.{' + '}', + 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') + g.custom_command('delete', 'disk_pool_delete', supports_no_wait=True, confirmation=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_target_operations#IscsiTargetOperat' + 'ions.{}', + client_factory=cf_iscsi_target) + with self.command_group('disk-pool iscsi-target', diskpool_iscsi_target, client_factory=cf_iscsi_target, + is_experimental=True) as g: + g.custom_command('list', 'disk_pool_iscsi_target_list') + g.custom_show_command('show', 'disk_pool_iscsi_target_show') + g.custom_command('create', 'disk_pool_iscsi_target_create', supports_no_wait=True) + g.custom_command('update', 'disk_pool_iscsi_target_update', supports_no_wait=True) + g.custom_command('delete', 'disk_pool_iscsi_target_delete', supports_no_wait=True, confirmation=True) + g.custom_wait_command('wait', 'disk_pool_iscsi_target_show') diff --git a/src/diskpool/azext_diskpool/generated/custom.py b/src/diskpool/azext_diskpool/generated/custom.py new file mode 100644 index 00000000000..56ac7160fb3 --- /dev/null +++ b/src/diskpool/azext_diskpool/generated/custom.py @@ -0,0 +1,137 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# pylint: disable=too-many-lines + +from azure.cli.core.util import sdk_no_wait + + +def disk_pool_list(client, + resource_group_name=None): + if resource_group_name: + return client.list_by_resource_group(resource_group_name=resource_group_name) + return client.list_by_subscription() + + +def disk_pool_show(client, + resource_group_name, + disk_pool_name): + return client.get(resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name) + + +def disk_pool_create(client, + resource_group_name, + disk_pool_name, + location, + tags=None, + sku=None, + availability_zones=None, + disks=None, + subnet_id=None, + no_wait=False): + return sdk_no_wait(no_wait, + client.begin_create_or_update, + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + tags=tags, + location=location, + sku=sku, + availability_zones=availability_zones, + disks=disks, + subnet_id=subnet_id) + + +def disk_pool_update(client, + resource_group_name, + disk_pool_name, + location, + tags=None, + sku=None, + availability_zones=None, + disks=None, + subnet_id=None): + return client.update(resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + tags=tags, + location=location, + sku=sku, + availability_zones=availability_zones, + disks=disks, + subnet_id=subnet_id) + + +def disk_pool_delete(client, + resource_group_name, + disk_pool_name, + no_wait=False): + return sdk_no_wait(no_wait, + client.begin_delete, + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name) + + +def disk_pool_iscsi_target_list(client, + resource_group_name, + disk_pool_name): + return client.list_by_disk_pool(resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name) + + +def disk_pool_iscsi_target_show(client, + resource_group_name, + disk_pool_name, + iscsi_target_name): + return client.get(resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name) + + +def disk_pool_iscsi_target_create(client, + resource_group_name, + disk_pool_name, + iscsi_target_name, + tpgs=None, + target_iqn=None, + no_wait=False): + return sdk_no_wait(no_wait, + client.begin_create_or_update, + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name, + tpgs=tpgs, + target_iqn=target_iqn) + + +def disk_pool_iscsi_target_update(client, + resource_group_name, + disk_pool_name, + iscsi_target_name, + tpgs=None, + target_iqn=None, + no_wait=False): + return sdk_no_wait(no_wait, + client.begin_create_or_update, + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name, + tpgs=tpgs, + target_iqn=target_iqn) + + +def disk_pool_iscsi_target_delete(client, + resource_group_name, + disk_pool_name, + iscsi_target_name, + no_wait=False): + return sdk_no_wait(no_wait, + client.begin_delete, + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name) diff --git a/src/diskpool/azext_diskpool/manual/__init__.py b/src/diskpool/azext_diskpool/manual/__init__.py new file mode 100644 index 00000000000..c9cfdc73e77 --- /dev/null +++ b/src/diskpool/azext_diskpool/manual/__init__.py @@ -0,0 +1,12 @@ +# 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. +# -------------------------------------------------------------------------- + +__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/src/diskpool/azext_diskpool/tests/__init__.py b/src/diskpool/azext_diskpool/tests/__init__.py new file mode 100644 index 00000000000..50e0627daff --- /dev/null +++ b/src/diskpool/azext_diskpool/tests/__init__.py @@ -0,0 +1,114 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- +import inspect +import logging +import os +import sys +import traceback +import datetime as dt + +from azure.core.exceptions import AzureError +from azure.cli.testsdk.exceptions import CliTestError, CliExecutionError, JMESPathCheckAssertionError + + +logger = logging.getLogger('azure.cli.testsdk') +logger.addHandler(logging.StreamHandler()) +__path__ = __import__('pkgutil').extend_path(__path__, __name__) +exceptions = [] +test_map = dict() +SUCCESSED = "successed" +FAILED = "failed" + + +def try_manual(func): + def import_manual_function(origin_func): + from importlib import import_module + decorated_path = inspect.getfile(origin_func) + module_path = __path__[0] + if not decorated_path.startswith(module_path): + raise Exception("Decorator can only be used in submodules!") + manual_path = os.path.join( + decorated_path[module_path.rfind(os.path.sep) + 1:]) + manual_file_path, manual_file_name = os.path.split(manual_path) + module_name, _ = os.path.splitext(manual_file_name) + manual_module = "..manual." + \ + ".".join(manual_file_path.split(os.path.sep) + [module_name, ]) + return getattr(import_module(manual_module, package=__name__), origin_func.__name__) + + def get_func_to_call(): + func_to_call = func + try: + func_to_call = import_manual_function(func) + func_to_call = import_manual_function(func) + logger.info("Found manual override for %s(...)", func.__name__) + except (ImportError, AttributeError): + pass + return func_to_call + + def wrapper(*args, **kwargs): + func_to_call = get_func_to_call() + logger.info("running %s()...", func.__name__) + try: + test_map[func.__name__] = dict() + test_map[func.__name__]["result"] = SUCCESSED + test_map[func.__name__]["error_message"] = "" + test_map[func.__name__]["error_stack"] = "" + test_map[func.__name__]["error_normalized"] = "" + test_map[func.__name__]["start_dt"] = dt.datetime.utcnow() + ret = func_to_call(*args, **kwargs) + except (AssertionError, AzureError, CliTestError, CliExecutionError, SystemExit, + JMESPathCheckAssertionError) as e: + test_map[func.__name__]["end_dt"] = dt.datetime.utcnow() + test_map[func.__name__]["result"] = FAILED + test_map[func.__name__]["error_message"] = str(e).replace("\r\n", " ").replace("\n", " ")[:500] + test_map[func.__name__]["error_stack"] = traceback.format_exc().replace( + "\r\n", " ").replace("\n", " ")[:500] + logger.info("--------------------------------------") + logger.info("step exception: %s", e) + logger.error("--------------------------------------") + logger.error("step exception in %s: %s", func.__name__, e) + logger.info(traceback.format_exc()) + exceptions.append((func.__name__, sys.exc_info())) + else: + test_map[func.__name__]["end_dt"] = dt.datetime.utcnow() + return ret + + if inspect.isclass(func): + return get_func_to_call() + return wrapper + + +def calc_coverage(filename): + filename = filename.split(".")[0] + coverage_name = filename + "_coverage.md" + with open(coverage_name, "w") as f: + f.write("|Scenario|Result|ErrorMessage|ErrorStack|ErrorNormalized|StartDt|EndDt|\n") + total = len(test_map) + covered = 0 + for k, v in test_map.items(): + if not k.startswith("step_"): + total -= 1 + continue + if v["result"] == SUCCESSED: + covered += 1 + f.write("|{step_name}|{result}|{error_message}|{error_stack}|{error_normalized}|{start_dt}|" + "{end_dt}|\n".format(step_name=k, **v)) + f.write("Coverage: {}/{}\n".format(covered, total)) + print("Create coverage\n", file=sys.stderr) + + +def raise_if(): + if exceptions: + if len(exceptions) <= 1: + raise exceptions[0][1][1] + message = "{}\nFollowed with exceptions in other steps:\n".format(str(exceptions[0][1][1])) + message += "\n".join(["{}: {}".format(h[0], h[1][1]) for h in exceptions[1:]]) + raise exceptions[0][1][0](message).with_traceback(exceptions[0][1][2]) diff --git a/src/diskpool/azext_diskpool/tests/latest/__init__.py b/src/diskpool/azext_diskpool/tests/latest/__init__.py new file mode 100644 index 00000000000..c9cfdc73e77 --- /dev/null +++ b/src/diskpool/azext_diskpool/tests/latest/__init__.py @@ -0,0 +1,12 @@ +# 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. +# -------------------------------------------------------------------------- + +__path__ = __import__('pkgutil').extend_path(__path__, __name__) 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..0879e51945a --- /dev/null +++ b/src/diskpool/azext_diskpool/tests/latest/preparers.py @@ -0,0 +1,159 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import os +from datetime import datetime +from azure_devtools.scenario_tests import SingleValueReplacer +from azure.cli.testsdk.preparers import NoTrafficRecordingPreparer +from azure.cli.testsdk.exceptions import CliTestError +from azure.cli.testsdk.reverse_dependency import get_dummy_cli + + +KEY_RESOURCE_GROUP = 'rg' +KEY_VIRTUAL_NETWORK = 'vnet' +KEY_VNET_SUBNET = 'subnet' +KEY_VNET_NIC = 'nic' + + +class VirtualNetworkPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): + def __init__(self, name_prefix='clitest.vn', + parameter_name='virtual_network', + resource_group_name=None, + resource_group_key=KEY_RESOURCE_GROUP, + dev_setting_name='AZURE_CLI_TEST_DEV_VIRTUAL_NETWORK_NAME', + random_name_length=24, key=KEY_VIRTUAL_NETWORK): + if ' ' in name_prefix: + raise CliTestError( + 'Error: Space character in name prefix \'%s\'' % name_prefix) + super(VirtualNetworkPreparer, self).__init__( + name_prefix, random_name_length) + self.cli_ctx = get_dummy_cli() + self.parameter_name = parameter_name + self.key = key + self.resource_group_name = resource_group_name + self.resource_group_key = resource_group_key + self.dev_setting_name = os.environ.get(dev_setting_name, None) + + def create_resource(self, name, **_): + if self.dev_setting_name: + return {self.parameter_name: self.dev_setting_name, } + + if not self.resource_group_name: + self.resource_group_name = self.test_class_instance.kwargs.get( + self.resource_group_key) + if not self.resource_group_name: + raise CliTestError("Error: No resource group configured!") + + tags = {'product': 'azurecli', 'cause': 'automation', + 'date': datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ')} + if 'ENV_JOB_NAME' in os.environ: + tags['job'] = os.environ['ENV_JOB_NAME'] + tags = ' '.join(['{}={}'.format(key, value) + for key, value in tags.items()]) + template = 'az network vnet create --resource-group {} --name {} --subnet-name default --tag ' + tags + self.live_only_execute(self.cli_ctx, template.format( + self.resource_group_name, name)) + + self.test_class_instance.kwargs[self.key] = name + return {self.parameter_name: name} + + def remove_resource(self, name, **_): + # delete vnet if test is being recorded and if the vnet is not a dev rg + if not self.dev_setting_name: + self.live_only_execute( + self.cli_ctx, + 'az network vnet delete --name {} --resource-group {}'.format(name, self.resource_group_name)) + + +class VnetSubnetPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): + def __init__(self, name_prefix='clitest.vn', + parameter_name='subnet', + resource_group_key=KEY_RESOURCE_GROUP, + vnet_key=KEY_VIRTUAL_NETWORK, + address_prefixes="11.0.0.0/24", + dev_setting_name='AZURE_CLI_TEST_DEV_VNET_SUBNET_NAME', + key=KEY_VNET_SUBNET): + if ' ' in name_prefix: + raise CliTestError( + 'Error: Space character in name prefix \'%s\'' % name_prefix) + super(VnetSubnetPreparer, self).__init__(name_prefix, 15) + self.cli_ctx = get_dummy_cli() + self.parameter_name = parameter_name + self.key = key + self.resource_group = [resource_group_key, None] + self.vnet = [vnet_key, None] + self.address_prefixes = address_prefixes + self.dev_setting_name = os.environ.get(dev_setting_name, None) + + def create_resource(self, name, **_): + if self.dev_setting_name: + return {self.parameter_name: self.dev_setting_name, } + + if not self.resource_group[1]: + self.resource_group[1] = self.test_class_instance.kwargs.get( + self.resource_group[0]) + if not self.resource_group[1]: + raise CliTestError("Error: No resource group configured!") + if not self.vnet[1]: + self.vnet[1] = self.test_class_instance.kwargs.get(self.vnet[0]) + if not self.vnet[1]: + raise CliTestError("Error: No vnet configured!") + + self.test_class_instance.kwargs[self.key] = 'default' + return {self.parameter_name: name} + + def remove_resource(self, name, **_): + pass + + +class VnetNicPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): + def __init__(self, name_prefix='clitest.nic', + parameter_name='subnet', + resource_group_key=KEY_RESOURCE_GROUP, + vnet_key=KEY_VIRTUAL_NETWORK, + dev_setting_name='AZURE_CLI_TEST_DEV_VNET_NIC_NAME', + key=KEY_VNET_NIC): + if ' ' in name_prefix: + raise CliTestError( + 'Error: Space character in name prefix \'%s\'' % name_prefix) + super(VnetNicPreparer, self).__init__(name_prefix, 15) + self.cli_ctx = get_dummy_cli() + self.parameter_name = parameter_name + self.key = key + self.resource_group = [resource_group_key, None] + self.vnet = [vnet_key, None] + self.dev_setting_name = os.environ.get(dev_setting_name, None) + + def create_resource(self, name, **_): + if self.dev_setting_name: + return {self.parameter_name: self.dev_setting_name, } + + if not self.resource_group[1]: + self.resource_group[1] = self.test_class_instance.kwargs.get( + self.resource_group[0]) + if not self.resource_group[1]: + raise CliTestError("Error: No resource group configured!") + if not self.vnet[1]: + self.vnet[1] = self.test_class_instance.kwargs.get(self.vnet[0]) + if not self.vnet[1]: + raise CliTestError("Error: No vnet configured!") + + template = 'az network nic create --resource-group {} --name {} --vnet-name {} --subnet default ' + self.live_only_execute(self.cli_ctx, template.format( + self.resource_group[1], name, self.vnet[1])) + + self.test_class_instance.kwargs[self.key] = name + return {self.parameter_name: name} + + def remove_resource(self, name, **_): + if not self.dev_setting_name: + self.live_only_execute( + self.cli_ctx, + 'az network nic delete --name {} --resource-group {}'.format(name, self.resource_group[1])) diff --git a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py new file mode 100644 index 00000000000..8fa3446b9fd --- /dev/null +++ b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py @@ -0,0 +1,216 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import os +from azure.cli.testsdk import ScenarioTest +from .. import try_manual, raise_if, calc_coverage +from azure.cli.testsdk import ResourceGroupPreparer +from .preparers import VirtualNetworkPreparer + + +TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) + + +# Env setup +@try_manual +def setup(test, rg): + pass + + +# EXAMPLE: /DiskPools/put/Create or Update a Disk Pool +@try_manual +def step__diskpools_put_create_or_update_a_disk_pool(test, rg): + test.cmd('az disk-pool create ' + '--name "{myDiskPool}" ' + '--location "westus" ' + '--availability-zones "1" ' + '--disks id="/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Compute/disks/vm-nam' + 'e_DataDisk_0" ' + '--disks id="/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Compute/disks/vm-nam' + 'e_DataDisk_1" ' + '--subnet-id "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtualNetw' + 'orks/{vn}/subnets/default" ' + '--sku name="Standard_ABC" ' + '--tags key="value" ' + '--resource-group "{rg}"', + checks=[ + test.check("name", "{myDiskPool}", case_sensitive=False), + test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Netwo" + "rk/virtualNetworks/{vn}/subnets/default", case_sensitive=False), + ]) + test.cmd('az disk-pool wait --created ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=[]) + + +# EXAMPLE: /DiskPools/get/Get a diskPool +@try_manual +def step__diskpools_get_get_a_diskpool(test, rg): + test.cmd('az disk-pool show ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=[ + test.check("name", "{myDiskPool}", case_sensitive=False), + test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Netwo" + "rk/virtualNetworks/{vn}/subnets/default", case_sensitive=False), + ]) + + +# EXAMPLE: /DiskPools/get/List Disk Pools +@try_manual +def step__diskpools_get_list_disk_pools(test, rg): + test.cmd('az disk-pool list ' + '--resource-group "{rg}"', + checks=[ + test.check('length(@)', 1), + ]) + + +# EXAMPLE: /DiskPools/get/List Disk Pools by subscription +@try_manual +def step__diskpools_get(test, rg): + test.cmd('az disk-pool list ' + '-g ""', + checks=[ + test.check('length(@)', 1), + ]) + + +# EXAMPLE: /DiskPools/patch/Update Disk Pool +@try_manual +def step__diskpools_patch_update_disk_pool(test, rg): + test.cmd('az disk-pool update ' + '--name "{myDiskPool}" ' + '--location "westus" ' + '--availability-zones "1" ' + '--disks id="/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Compute/disks/vm-nam' + 'e_DataDisk_0" ' + '--disks id="/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Compute/disks/vm-nam' + 'e_DataDisk_1" ' + '--subnet-id "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtualNetw' + 'orks/{vn}/subnets/default" ' + '--tags key="value" ' + '--resource-group "{rg}"', + checks=[ + test.check("name", "{myDiskPool}", case_sensitive=False), + test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Netwo" + "rk/virtualNetworks/{vn}/subnets/default", case_sensitive=False), + ]) + + +# EXAMPLE: /IscsiTargets/put/Create or Update an iSCSI Target +@try_manual +def step__iscsitargets_put(test, rg): + test.cmd('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_us' + 'ername\\"}},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}}],\\"att' + 'ributes\\":{{\\"authentication\\":true,\\"prodModeWriteProtect\\":false}},\\"luns\\":[{{\\"name\\":\\"lun' + '0\\",\\"managedDiskAzureResourceId\\":\\"/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/M' + 'icrosoft.Compute/disks/vm-name_DataDisk_1\\"}}]}}]" ' + '--resource-group "{rg}"', + checks=[ + test.check("name", "{myIscsiTarget}", case_sensitive=False), + test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), + ]) + test.cmd('az disk-pool iscsi-target wait --created ' + '--name "{myIscsiTarget}" ' + '--resource-group "{rg}"', + checks=[]) + + +# EXAMPLE: /IscsiTargets/get/Get an iscsiTarget +@try_manual +def step__iscsitargets_get_get_an_iscsitarget(test, rg): + test.cmd('az disk-pool iscsi-target show ' + '--disk-pool-name "{myDiskPool}" ' + '--name "{myIscsiTarget}" ' + '--resource-group "{rg}"', + checks=[ + test.check("name", "{myIscsiTarget}", case_sensitive=False), + test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), + ]) + + +# EXAMPLE: /IscsiTargets/get/List Disk Pools by Resource Group +@try_manual +def step__iscsitargets_get(test, rg): + test.cmd('az disk-pool iscsi-target list ' + '--disk-pool-name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=[ + test.check('length(@)', 1), + ]) + + +# EXAMPLE: /IscsiTargets/delete/Delete an iscsiTarget +@try_manual +def step__iscsitargets_delete_delete_an_iscsitarget(test, rg): + test.cmd('az disk-pool iscsi-target delete -y ' + '--disk-pool-name "{myDiskPool}" ' + '--name "{myIscsiTarget}" ' + '--resource-group "{rg}"', + checks=[]) + + +# EXAMPLE: /DiskPools/delete/Update Disk Pool +@try_manual +def step__diskpools_delete_update_disk_pool(test, rg): + test.cmd('az disk-pool delete -y ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=[]) + + +# Env cleanup +@try_manual +def cleanup(test, rg): + pass + + +# Testcase +@try_manual +def call_scenario(test, rg): + setup(test, rg) + step__diskpools_put_create_or_update_a_disk_pool(test, rg) + step__diskpools_get_get_a_diskpool(test, rg) + step__diskpools_get_list_disk_pools(test, rg) + step__diskpools_get(test, rg) + step__diskpools_patch_update_disk_pool(test, rg) + step__iscsitargets_put(test, rg) + step__iscsitargets_get_get_an_iscsitarget(test, rg) + step__iscsitargets_get(test, rg) + step__iscsitargets_delete_delete_an_iscsitarget(test, rg) + step__diskpools_delete_update_disk_pool(test, rg) + cleanup(test, rg) + + +@try_manual +class StoragePoolManagementScenarioTest(ScenarioTest): + + @ResourceGroupPreparer(name_prefix='clitestdiskpool_myResourceGroup'[:7], key='rg', parameter_name='rg') + @VirtualNetworkPreparer(name_prefix='clitestdiskpool_myvnet'[:7], key='vn', resource_group_key='rg') + def test_diskpool(self, rg): + + self.kwargs.update({ + 'subscription_id': self.get_subscription_id() + }) + + self.kwargs.update({ + 'myDiskPool': 'myDiskPool', + 'myIscsiTarget': 'myIscsiTarget', + }) + + call_scenario(self, rg) + calc_coverage(__file__) + raise_if() diff --git a/src/diskpool/azext_diskpool/vendored_sdks/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/__init__.py new file mode 100644 index 00000000000..c9cfdc73e77 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/__init__.py @@ -0,0 +1,12 @@ +# 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. +# -------------------------------------------------------------------------- + +__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py new file mode 100644 index 00000000000..40013efe44d --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py @@ -0,0 +1,16 @@ +# 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 ._storage_pool_management import StoragePoolManagement +__all__ = ['StoragePoolManagement'] + +try: + from ._patch import patch_sdk # type: ignore + patch_sdk() +except ImportError: + pass diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py new file mode 100644 index 00000000000..cb67cb735d4 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py @@ -0,0 +1,70 @@ +# 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 + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +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. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(StoragePoolManagementConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2020-03-15-preview" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'storagepoolmanagement/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) 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 new file mode 100644 index 00000000000..af766862e5a --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_storage_pool_management.py @@ -0,0 +1,80 @@ +# 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 + +from azure.mgmt.core import ARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Optional + + from azure.core.credentials import TokenCredential + +from ._configuration import StoragePoolManagementConfiguration +from .operations import OperationOperations +from .operations import DiskPoolOperations +from .operations import IscsiTargetOperations +from . import models + + +class StoragePoolManagement(object): + """StoragePoolManagement. + + :ivar operation: OperationOperations operations + :vartype operation: storage_pool_management.operations.OperationOperations + :ivar disk_pool: DiskPoolOperations operations + :vartype disk_pool: storage_pool_management.operations.DiskPoolOperations + :ivar iscsi_target: IscsiTargetOperations operations + :vartype iscsi_target: storage_pool_management.operations.IscsiTargetOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + base_url=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> None + if not base_url: + base_url = 'https://management.azure.com' + self._config = StoragePoolManagementConfiguration(credential, subscription_id, **kwargs) + self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.operation = OperationOperations( + self._client, self._config, self._serialize, self._deserialize) + self.disk_pool = DiskPoolOperations( + self._client, self._config, self._serialize, self._deserialize) + self.iscsi_target = IscsiTargetOperations( + self._client, self._config, self._serialize, self._deserialize) + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> StoragePoolManagement + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/__init__.py new file mode 100644 index 00000000000..9eb7de1efa2 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/__init__.py @@ -0,0 +1,10 @@ +# 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 ._storage_pool_management import StoragePoolManagement +__all__ = ['StoragePoolManagement'] diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py new file mode 100644 index 00000000000..1aa64ffe5b1 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py @@ -0,0 +1,66 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +VERSION = "unknown" + +class StoragePoolManagementConfiguration(Configuration): + """Configuration for StoragePoolManagement. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + **kwargs: Any + ) -> None: + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(StoragePoolManagementConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2020-03-15-preview" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'storagepoolmanagement/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs: Any + ) -> None: + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) 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 new file mode 100644 index 00000000000..66d98a2205d --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_storage_pool_management.py @@ -0,0 +1,74 @@ +# 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, Optional, TYPE_CHECKING + +from azure.mgmt.core import AsyncARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +from ._configuration import StoragePoolManagementConfiguration +from .operations import OperationOperations +from .operations import DiskPoolOperations +from .operations import IscsiTargetOperations +from .. import models + + +class StoragePoolManagement(object): + """StoragePoolManagement. + + :ivar operation: OperationOperations operations + :vartype operation: storage_pool_management.aio.operations.OperationOperations + :ivar disk_pool: DiskPoolOperations operations + :vartype disk_pool: storage_pool_management.aio.operations.DiskPoolOperations + :ivar iscsi_target: IscsiTargetOperations operations + :vartype iscsi_target: storage_pool_management.aio.operations.IscsiTargetOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + base_url: Optional[str] = None, + **kwargs: Any + ) -> None: + if not base_url: + base_url = 'https://management.azure.com' + self._config = StoragePoolManagementConfiguration(credential, subscription_id, **kwargs) + self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.operation = OperationOperations( + self._client, self._config, self._serialize, self._deserialize) + self.disk_pool = DiskPoolOperations( + self._client, self._config, self._serialize, self._deserialize) + self.iscsi_target = IscsiTargetOperations( + self._client, self._config, self._serialize, self._deserialize) + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "StoragePoolManagement": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) 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 new file mode 100644 index 00000000000..ee3e1450aed --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/__init__.py @@ -0,0 +1,17 @@ +# 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 ._operation_operations import OperationOperations +from ._disk_pool_operations import DiskPoolOperations +from ._iscsi_target_operations import IscsiTargetOperations + +__all__ = [ + 'OperationOperations', + 'DiskPoolOperations', + 'IscsiTargetOperations', +] diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pool_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pool_operations.py new file mode 100644 index 00000000000..c6fe949cdd9 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pool_operations.py @@ -0,0 +1,590 @@ +# 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, List, Optional, TypeVar, Union +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.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class DiskPoolOperations: + """DiskPoolOperations 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_by_subscription( + self, + **kwargs + ) -> AsyncIterable["models.DiskPoolListResult"]: + """Gets a list of Disk Pools in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.DiskPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + 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('DiskPoolListResult', 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_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["models.DiskPoolListResult"]: + """Gets a list of DiskPools. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.DiskPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_resource_group.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]$'), + } + 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('DiskPoolListResult', 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_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + disk_pool_name: str, + location: str, + tags: Optional[Dict[str, str]] = None, + sku: Optional["models.Sku"] = None, + availability_zones: Optional[List[str]] = None, + disks: Optional[List["models.Disk"]] = None, + subnet_id: Optional[str] = None, + **kwargs + ) -> "models.DiskPool": + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + disk_pool_payload = models.DiskPool(tags=tags, location=location, sku=sku, availability_zones=availability_zones, disks=disks, subnet_id=subnet_id) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(disk_pool_payload, 'DiskPool') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + disk_pool_name: str, + location: str, + tags: Optional[Dict[str, str]] = None, + sku: Optional["models.Sku"] = None, + availability_zones: Optional[List[str]] = None, + disks: Optional[List["models.Disk"]] = None, + subnet_id: Optional[str] = None, + **kwargs + ) -> AsyncLROPoller["models.DiskPool"]: + """Create a new Disk Pool. + + :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 + :param location: The geo-location where the resource lives. + :type location: str + :param tags: Resource tags. + :type tags: dict[str, str] + :param sku: Sku description. + :type sku: ~storage_pool_management.models.Sku + :param availability_zones: Logical zone for DiskPool resource. + :type availability_zones: list[str] + :param disks: List of Azure managed disks to attach to a DiskPool. + :type disks: list[~storage_pool_management.models.Disk] + :param subnet_id: Azure resource id of the subnet for the DiskPool. + :type subnet_id: 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 DiskPool or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.DiskPool] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + 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._create_or_update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + location=location, + tags=tags, + sku=sku, + availability_zones=availability_zones, + disks=disks, + subnet_id=subnet_id, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def update( + self, + resource_group_name: str, + disk_pool_name: str, + location: str, + tags: Optional[Dict[str, str]] = None, + sku: Optional["models.Sku"] = None, + availability_zones: Optional[List[str]] = None, + disks: Optional[List["models.Disk"]] = None, + subnet_id: Optional[str] = None, + **kwargs + ) -> "models.DiskPool": + """Update a Storage Pool. + + :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 + :param location: The geo-location where the resource lives. + :type location: str + :param tags: Resource tags. + :type tags: dict[str, str] + :param sku: Sku description. + :type sku: ~storage_pool_management.models.Sku + :param availability_zones: Logical zone for DiskPool resource. + :type availability_zones: list[str] + :param disks: List of Azure managed disks to attach to a DiskPool. + :type disks: list[~storage_pool_management.models.Disk] + :param subnet_id: Azure resource id of the subnet for the DiskPool. + :type subnet_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DiskPool, or the result of cls(response) + :rtype: ~storage_pool_management.models.DiskPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + disk_pool_payload = models.DiskPool(tags=tags, location=location, sku=sku, availability_zones=availability_zones, disks=disks, subnet_id=subnet_id) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(disk_pool_payload, 'DiskPool') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + 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) + + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def _delete_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 = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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.delete(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, 204]: + 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, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + disk_pool_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Delete a Disk Pool. + + :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._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + disk_pool_name: str, + **kwargs + ) -> "models.DiskPool": + """Get a Disk Pool. + + :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 + :return: DiskPool, or the result of cls(response) + :rtype: ~storage_pool_management.models.DiskPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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.get(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]: + 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) + + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_iscsi_target_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_iscsi_target_operations.py new file mode 100644 index 00000000000..b8eb1d87aef --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_iscsi_target_operations.py @@ -0,0 +1,442 @@ +# 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, List, Optional, TypeVar, Union +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.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class IscsiTargetOperations: + """IscsiTargetOperations 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_by_disk_pool( + self, + resource_group_name: str, + disk_pool_name: str, + **kwargs + ) -> AsyncIterable["models.IscsiTargetList"]: + """Get iSCSI Targets within a Disk Pool. + + :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 + :return: An iterator like instance of either IscsiTargetList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.IscsiTargetList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTargetList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_disk_pool.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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('IscsiTargetList', 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_by_disk_pool.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + tpgs: Optional[List["models.TargetPortalGroup"]] = None, + target_iqn: Optional[str] = None, + **kwargs + ) -> "models.IscsiTarget": + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + iscsi_target_payload = models.IscsiTarget(tpgs=tpgs, target_iqn=target_iqn) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(iscsi_target_payload, 'IscsiTarget') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + tpgs: Optional[List["models.TargetPortalGroup"]] = None, + target_iqn: Optional[str] = None, + **kwargs + ) -> AsyncLROPoller["models.IscsiTarget"]: + """Create or Update an iSCSI target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :param tpgs: list of iSCSI target portal groups. + :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] + :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: + iqn.2005-03.org.iscsi:server. + :type target_iqn: 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 IscsiTarget or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.IscsiTarget] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + 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._create_or_update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name, + tpgs=tpgs, + target_iqn=target_iqn, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_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 = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.delete(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, 204]: + 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, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_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._delete_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + **kwargs + ) -> "models.IscsiTarget": + """Gets an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: IscsiTarget, or the result of cls(response) + :rtype: ~storage_pool_management.models.IscsiTarget + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.get(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]: + 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) + + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_operation_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_operation_operations.py new file mode 100644 index 00000000000..a166417420e --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_operation_operations.py @@ -0,0 +1,105 @@ +# 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 OperationOperations: + """OperationOperations 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, + **kwargs + ) -> AsyncIterable["models.StoragePoolOperationListResult"]: + """Gets a list of StoragePool operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StoragePoolOperationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.StoragePoolOperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.StoragePoolOperationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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 + # 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('StoragePoolOperationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return 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': '/providers/Microsoft.StoragePool/operations'} # 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 new file mode 100644 index 00000000000..8263c9a93e7 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/__init__.py @@ -0,0 +1,82 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +try: + from ._models_py3 import Acl + from ._models_py3 import Attributes + from ._models_py3 import Disk + from ._models_py3 import DiskPool + from ._models_py3 import DiskPoolListResult + from ._models_py3 import Error + from ._models_py3 import ErrorAdditionalInfo + from ._models_py3 import ErrorResponse + from ._models_py3 import IscsiLun + from ._models_py3 import IscsiTarget + from ._models_py3 import IscsiTargetList + from ._models_py3 import ProxyResource + from ._models_py3 import Resource + from ._models_py3 import Sku + from ._models_py3 import StoragePoolOperationDisplay + from ._models_py3 import StoragePoolOperationListResult + from ._models_py3 import StoragePoolRPOperation + from ._models_py3 import SystemMetadata + from ._models_py3 import TargetPortalGroup + from ._models_py3 import TrackedResource +except (SyntaxError, ImportError): + from ._models import Acl # type: ignore + from ._models import Attributes # type: ignore + from ._models import Disk # type: ignore + from ._models import DiskPool # type: ignore + from ._models import DiskPoolListResult # type: ignore + from ._models import Error # type: ignore + from ._models import ErrorAdditionalInfo # type: ignore + from ._models import ErrorResponse # type: ignore + from ._models import IscsiLun # type: ignore + from ._models import IscsiTarget # type: ignore + from ._models import IscsiTargetList # type: ignore + from ._models import ProxyResource # type: ignore + from ._models import Resource # type: ignore + from ._models import Sku # type: ignore + from ._models import StoragePoolOperationDisplay # type: ignore + from ._models import StoragePoolOperationListResult # type: ignore + from ._models import StoragePoolRPOperation # type: ignore + from ._models import SystemMetadata # type: ignore + from ._models import TargetPortalGroup # type: ignore + from ._models import TrackedResource # type: ignore + +from ._storage_pool_management_enums import ( + OperationalStatus, + ProvisioningStates, + SkuTier, +) + +__all__ = [ + 'Acl', + 'Attributes', + 'Disk', + 'DiskPool', + 'DiskPoolListResult', + 'Error', + 'ErrorAdditionalInfo', + 'ErrorResponse', + 'IscsiLun', + 'IscsiTarget', + 'IscsiTargetList', + 'ProxyResource', + 'Resource', + 'Sku', + 'StoragePoolOperationDisplay', + 'StoragePoolOperationListResult', + 'StoragePoolRPOperation', + 'SystemMetadata', + 'TargetPortalGroup', + 'TrackedResource', + 'OperationalStatus', + 'ProvisioningStates', + 'SkuTier', +] diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py new file mode 100644 index 00000000000..ecc8ee7597c --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py @@ -0,0 +1,800 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + + +class Acl(msrest.serialization.Model): + """Access Control List (ACL) for an iSCSI target lun. + + All required parameters must be populated in order to send to Azure. + + :param initiator_iqn: Required. iSCSI initiator iqn (iSCSI Qualified Name); example: + iqn.2005-03.org.iscsi:client. + :type initiator_iqn: str + :param mapped_luns: Required. Array of lun names mapped to the ACL. + :type mapped_luns: list[str] + :param username: Username for Challenge Handshake Authentication Protocol (CHAP) + authentication. + :type username: str + :param password: Password for Challenge Handshake Authentication Protocol (CHAP) + authentication. + :type password: str + """ + + _validation = { + 'initiator_iqn': {'required': True}, + 'mapped_luns': {'required': True}, + 'username': {'max_length': 128, 'min_length': 7}, + 'password': {'max_length': 512, 'min_length': 12}, + } + + _attribute_map = { + 'initiator_iqn': {'key': 'initiatorIqn', 'type': 'str'}, + 'mapped_luns': {'key': 'mappedLuns', 'type': '[str]'}, + 'username': {'key': 'credentials.username', 'type': 'str'}, + 'password': {'key': 'credentials.password', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Acl, self).__init__(**kwargs) + self.initiator_iqn = kwargs['initiator_iqn'] + self.mapped_luns = kwargs['mapped_luns'] + self.username = kwargs.get('username', None) + self.password = kwargs.get('password', None) + + +class Attributes(msrest.serialization.Model): + """Attributes of an iSCSI target. + + All required parameters must be populated in order to send to Azure. + + :param authentication: Required. Indicates whether or not authentication is enabled on the ACL. + :type authentication: bool + :param prod_mode_write_protect: Required. Indicates whether or not write protect is enabled on + the luns. + :type prod_mode_write_protect: bool + """ + + _validation = { + 'authentication': {'required': True}, + 'prod_mode_write_protect': {'required': True}, + } + + _attribute_map = { + 'authentication': {'key': 'authentication', 'type': 'bool'}, + 'prod_mode_write_protect': {'key': 'prodModeWriteProtect', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(Attributes, self).__init__(**kwargs) + self.authentication = kwargs['authentication'] + self.prod_mode_write_protect = kwargs['prod_mode_write_protect'] + + +class Disk(msrest.serialization.Model): + """Managed disk to attach to the DiskPool. Required. + + All required parameters must be populated in order to send to Azure. + + :param id: Required. Unique Azure resource id of the managed disk. Required. + :type id: str + """ + + _validation = { + 'id': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Disk, self).__init__(**kwargs) + self.id = kwargs['id'] + + +class Resource(msrest.serialization.Model): + """ARM resource model definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class TrackedResource(Resource): + """The resource model definition for a ARM tracked top level resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TrackedResource, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) + self.location = kwargs['location'] + + +class DiskPool(TrackedResource): + """Request payload for Create or Update Disk Pool requests. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + :param sku: Sku description. + :type sku: ~storage_pool_management.models.Sku + :ivar system_data: Resource metadata required by ARM RPC. + :vartype system_data: ~storage_pool_management.models.SystemMetadata + :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: + "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". + :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates + :param availability_zones: Logical zone for DiskPool resource. + :type availability_zones: list[str] + :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", + "Unknown", "Healthy", "Unhealthy". + :vartype status: str or ~storage_pool_management.models.OperationalStatus + :param disks: List of Azure managed disks to attach to a DiskPool. + :type disks: list[~storage_pool_management.models.Disk] + :param subnet_id: Azure resource id of the subnet for the DiskPool. + :type subnet_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'system_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'status': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, + 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DiskPool, self).__init__(**kwargs) + self.sku = kwargs.get('sku', None) + self.system_data = None + self.provisioning_state = None + self.availability_zones = kwargs.get('availability_zones', None) + self.status = None + self.disks = kwargs.get('disks', None) + self.subnet_id = kwargs.get('subnet_id', None) + + +class DiskPoolListResult(msrest.serialization.Model): + """List of Disk Pools. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of Disk Pool objects. + :type value: list[~storage_pool_management.models.DiskPool] + :ivar next_link: URI to fetch the next section of the paginated response. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DiskPool]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DiskPoolListResult, self).__init__(**kwargs) + self.value = kwargs['value'] + self.next_link = None + + +class Error(msrest.serialization.Model): + """The resource management error response. + + :param error: RP error response. + :type error: ~storage_pool_management.models.ErrorResponse + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ErrorResponse'}, + } + + def __init__( + self, + **kwargs + ): + super(Error, self).__init__(**kwargs) + self.error = kwargs.get('error', None) + + +class ErrorAdditionalInfo(msrest.serialization.Model): + """The resource management error additional info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: The additional info type. + :vartype type: str + :ivar info: The additional info. + :vartype info: object + """ + + _validation = { + 'type': {'readonly': True}, + 'info': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'info': {'key': 'info', 'type': 'object'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorAdditionalInfo, self).__init__(**kwargs) + self.type = None + self.info = None + + +class ErrorResponse(msrest.serialization.Model): + """The resource management error response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar code: The error code. + :vartype code: str + :ivar message: The error message. + :vartype message: str + :ivar target: The error target. + :vartype target: str + :ivar details: The error details. + :vartype details: list[~storage_pool_management.models.ErrorResponse] + :ivar additional_info: The error additional info. + :vartype additional_info: list[~storage_pool_management.models.ErrorAdditionalInfo] + """ + + _validation = { + 'code': {'readonly': True}, + 'message': {'readonly': True}, + 'target': {'readonly': True}, + 'details': {'readonly': True}, + 'additional_info': {'readonly': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[ErrorResponse]'}, + 'additional_info': {'key': 'additionalInfo', 'type': '[ErrorAdditionalInfo]'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorResponse, self).__init__(**kwargs) + self.code = None + self.message = None + self.target = None + self.details = None + self.additional_info = None + + +class IscsiLun(msrest.serialization.Model): + """Lun to expose the ManagedDisk. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. Lun name. + :type name: str + :param managed_disk_azure_resource_id: Required. Unique Azure resource id of the managed disk. + Required. + :type managed_disk_azure_resource_id: str + """ + + _validation = { + 'name': {'required': True}, + 'managed_disk_azure_resource_id': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'managed_disk_azure_resource_id': {'key': 'managedDiskAzureResourceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IscsiLun, self).__init__(**kwargs) + self.name = kwargs['name'] + self.managed_disk_azure_resource_id = kwargs['managed_disk_azure_resource_id'] + + +class IscsiTarget(Resource): + """Payload for iSCSI Target Create or Update requests. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: + "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". + :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates + :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", + "Unknown", "Healthy", "Unhealthy". + :vartype status: str or ~storage_pool_management.models.OperationalStatus + :param tpgs: list of iSCSI target portal groups. + :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] + :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: + iqn.2005-03.org.iscsi:server. + :type target_iqn: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'status': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroup]'}, + 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IscsiTarget, self).__init__(**kwargs) + self.provisioning_state = None + self.status = None + self.tpgs = kwargs.get('tpgs', None) + self.target_iqn = kwargs.get('target_iqn', None) + + +class IscsiTargetList(msrest.serialization.Model): + """List of iSCSI Targets. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of iSCSI targets within a Disk Pool. + :type value: list[~storage_pool_management.models.IscsiTarget] + :ivar next_link: URI to fetch the next section of the paginated response. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[IscsiTarget]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IscsiTargetList, self).__init__(**kwargs) + self.value = kwargs['value'] + self.next_link = None + + +class ProxyResource(Resource): + """The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ProxyResource, self).__init__(**kwargs) + + +class Sku(msrest.serialization.Model): + """The resource model definition representing SKU. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code. + :type name: str + :param tier: This field is required to be implemented by the Resource Provider if the service + has more than one tier, but is not required on a PUT. Possible values include: "Free", "Basic", + "Standard", "Premium". + :type tier: str or ~storage_pool_management.models.SkuTier + :param size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :type size: str + :param family: If the service has different generations of hardware, for the same SKU, then + that can be captured here. + :type family: str + :param capacity: If the SKU supports scale out/in then the capacity integer should be included. + If scale out/in is not possible for the resource this may be omitted. + :type capacity: int + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'size': {'key': 'size', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'capacity': {'key': 'capacity', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(Sku, self).__init__(**kwargs) + self.name = kwargs['name'] + self.tier = kwargs.get('tier', None) + self.size = kwargs.get('size', None) + self.family = kwargs.get('family', None) + self.capacity = kwargs.get('capacity', None) + + +class StoragePoolOperationDisplay(msrest.serialization.Model): + """Metadata about an operation. + + All required parameters must be populated in order to send to Azure. + + :param provider: Required. Localized friendly form of the resource provider name. + :type provider: str + :param resource: Required. Localized friendly form of the resource type related to this + action/operation. + :type resource: str + :param operation: Required. Localized friendly name for the operation, as it should be shown to + the user. + :type operation: str + :param description: Required. Localized friendly description for the operation, as it should be + shown to the user. + :type description: str + """ + + _validation = { + 'provider': {'required': True}, + 'resource': {'required': True}, + 'operation': {'required': True}, + 'description': {'required': True}, + } + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StoragePoolOperationDisplay, self).__init__(**kwargs) + self.provider = kwargs['provider'] + self.resource = kwargs['resource'] + self.operation = kwargs['operation'] + self.description = kwargs['description'] + + +class StoragePoolOperationListResult(msrest.serialization.Model): + """List of operations supported by the RP. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of operations supported by the StoragePool RP. + :type value: list[~storage_pool_management.models.StoragePoolRPOperation] + :param next_link: URI to fetch the next section of the paginated response. + :type next_link: str + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StoragePoolRPOperation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StoragePoolOperationListResult, self).__init__(**kwargs) + self.value = kwargs['value'] + self.next_link = kwargs.get('next_link', None) + + +class StoragePoolRPOperation(msrest.serialization.Model): + """Description of a StoragePool RP Operation. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the operation being performed on this particular object. + :type name: str + :param is_data_action: Required. Indicates whether the operation applies to data-plane. + :type is_data_action: bool + :param action_type: Indicates the action type. + :type action_type: str + :param display: Required. Additional metadata about RP operation. + :type display: ~storage_pool_management.models.StoragePoolOperationDisplay + :param origin: The intended executor of the operation; governs the display of the operation in + the RBAC UX and the audit logs UX. + :type origin: str + """ + + _validation = { + 'name': {'required': True}, + 'is_data_action': {'required': True}, + 'display': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, + 'action_type': {'key': 'actionType', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'StoragePoolOperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StoragePoolRPOperation, self).__init__(**kwargs) + self.name = kwargs['name'] + self.is_data_action = kwargs['is_data_action'] + self.action_type = kwargs.get('action_type', None) + self.display = kwargs['display'] + self.origin = kwargs.get('origin', None) + + +class SystemMetadata(msrest.serialization.Model): + """Resource metadata required by ARM RPC. + + :param created_by: A string identifier for the identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource: user, application, + managedIdentity. + :type created_by_type: str + :param created_at: The timestamp of resource creation (UTC). + :type created_at: str + :param last_modified_by: A string identifier for the identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource: user, + application, managedIdentity. + :type last_modified_by_type: str + :param last_modified_at: The timestamp of resource last modification (UTC). + :type last_modified_at: str + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'str'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SystemMetadata, self).__init__(**kwargs) + self.created_by = kwargs.get('created_by', None) + self.created_by_type = kwargs.get('created_by_type', None) + self.created_at = kwargs.get('created_at', None) + self.last_modified_by = kwargs.get('last_modified_by', None) + self.last_modified_by_type = kwargs.get('last_modified_by_type', None) + self.last_modified_at = kwargs.get('last_modified_at', None) + + +class TargetPortalGroup(msrest.serialization.Model): + """iSCSI target portal group. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param luns: Required. Lun list to be exposed through the iSCSI target. Required. + :type luns: list[~storage_pool_management.models.IscsiLun] + :param acls: Required. Access Control List (ACL) for an iSCSI target lun. + :type acls: list[~storage_pool_management.models.Acl] + :param attributes: Required. Attributes of an iSCSI target. + :type attributes: ~storage_pool_management.models.Attributes + :ivar endpoints: list of public ip addresses to connect to the iSCSI target. + :vartype endpoints: list[str] + :ivar tag: The tag associated with the iSCSI target portal group. + :vartype tag: int + :ivar port: The port at which the iSCSI target is available. + :vartype port: int + """ + + _validation = { + 'luns': {'required': True}, + 'acls': {'required': True}, + 'attributes': {'required': True}, + 'endpoints': {'readonly': True}, + 'tag': {'readonly': True}, + 'port': {'readonly': True}, + } + + _attribute_map = { + 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, + 'acls': {'key': 'acls', 'type': '[Acl]'}, + 'attributes': {'key': 'attributes', 'type': 'Attributes'}, + 'endpoints': {'key': 'endpoints', 'type': '[str]'}, + 'tag': {'key': 'tag', 'type': 'int'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(TargetPortalGroup, self).__init__(**kwargs) + self.luns = kwargs['luns'] + self.acls = kwargs['acls'] + self.attributes = kwargs['attributes'] + self.endpoints = None + self.tag = None + self.port = None 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 new file mode 100644 index 00000000000..2f8e431e808 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models_py3.py @@ -0,0 +1,867 @@ +# 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 Dict, List, Optional, Union + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + +from ._storage_pool_management_enums import * + + +class Acl(msrest.serialization.Model): + """Access Control List (ACL) for an iSCSI target lun. + + All required parameters must be populated in order to send to Azure. + + :param initiator_iqn: Required. iSCSI initiator iqn (iSCSI Qualified Name); example: + iqn.2005-03.org.iscsi:client. + :type initiator_iqn: str + :param mapped_luns: Required. Array of lun names mapped to the ACL. + :type mapped_luns: list[str] + :param username: Username for Challenge Handshake Authentication Protocol (CHAP) + authentication. + :type username: str + :param password: Password for Challenge Handshake Authentication Protocol (CHAP) + authentication. + :type password: str + """ + + _validation = { + 'initiator_iqn': {'required': True}, + 'mapped_luns': {'required': True}, + 'username': {'max_length': 128, 'min_length': 7}, + 'password': {'max_length': 512, 'min_length': 12}, + } + + _attribute_map = { + 'initiator_iqn': {'key': 'initiatorIqn', 'type': 'str'}, + 'mapped_luns': {'key': 'mappedLuns', 'type': '[str]'}, + 'username': {'key': 'credentials.username', 'type': 'str'}, + 'password': {'key': 'credentials.password', 'type': 'str'}, + } + + def __init__( + self, + *, + initiator_iqn: str, + mapped_luns: List[str], + username: Optional[str] = None, + password: Optional[str] = None, + **kwargs + ): + super(Acl, self).__init__(**kwargs) + self.initiator_iqn = initiator_iqn + self.mapped_luns = mapped_luns + self.username = username + self.password = password + + +class Attributes(msrest.serialization.Model): + """Attributes of an iSCSI target. + + All required parameters must be populated in order to send to Azure. + + :param authentication: Required. Indicates whether or not authentication is enabled on the ACL. + :type authentication: bool + :param prod_mode_write_protect: Required. Indicates whether or not write protect is enabled on + the luns. + :type prod_mode_write_protect: bool + """ + + _validation = { + 'authentication': {'required': True}, + 'prod_mode_write_protect': {'required': True}, + } + + _attribute_map = { + 'authentication': {'key': 'authentication', 'type': 'bool'}, + 'prod_mode_write_protect': {'key': 'prodModeWriteProtect', 'type': 'bool'}, + } + + def __init__( + self, + *, + authentication: bool, + prod_mode_write_protect: bool, + **kwargs + ): + super(Attributes, self).__init__(**kwargs) + self.authentication = authentication + self.prod_mode_write_protect = prod_mode_write_protect + + +class Disk(msrest.serialization.Model): + """Managed disk to attach to the DiskPool. Required. + + All required parameters must be populated in order to send to Azure. + + :param id: Required. Unique Azure resource id of the managed disk. Required. + :type id: str + """ + + _validation = { + 'id': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + *, + id: str, + **kwargs + ): + super(Disk, self).__init__(**kwargs) + self.id = id + + +class Resource(msrest.serialization.Model): + """ARM resource model definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class TrackedResource(Resource): + """The resource model definition for a ARM tracked top level resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + **kwargs + ): + super(TrackedResource, self).__init__(**kwargs) + self.tags = tags + self.location = location + + +class DiskPool(TrackedResource): + """Request payload for Create or Update Disk Pool requests. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + :param sku: Sku description. + :type sku: ~storage_pool_management.models.Sku + :ivar system_data: Resource metadata required by ARM RPC. + :vartype system_data: ~storage_pool_management.models.SystemMetadata + :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: + "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". + :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates + :param availability_zones: Logical zone for DiskPool resource. + :type availability_zones: list[str] + :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", + "Unknown", "Healthy", "Unhealthy". + :vartype status: str or ~storage_pool_management.models.OperationalStatus + :param disks: List of Azure managed disks to attach to a DiskPool. + :type disks: list[~storage_pool_management.models.Disk] + :param subnet_id: Azure resource id of the subnet for the DiskPool. + :type subnet_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'system_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'status': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, + 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + sku: Optional["Sku"] = None, + availability_zones: Optional[List[str]] = None, + disks: Optional[List["Disk"]] = None, + subnet_id: Optional[str] = None, + **kwargs + ): + super(DiskPool, self).__init__(tags=tags, location=location, **kwargs) + self.sku = sku + self.system_data = None + self.provisioning_state = None + self.availability_zones = availability_zones + self.status = None + self.disks = disks + self.subnet_id = subnet_id + + +class DiskPoolListResult(msrest.serialization.Model): + """List of Disk Pools. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of Disk Pool objects. + :type value: list[~storage_pool_management.models.DiskPool] + :ivar next_link: URI to fetch the next section of the paginated response. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DiskPool]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: List["DiskPool"], + **kwargs + ): + super(DiskPoolListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class Error(msrest.serialization.Model): + """The resource management error response. + + :param error: RP error response. + :type error: ~storage_pool_management.models.ErrorResponse + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ErrorResponse'}, + } + + def __init__( + self, + *, + error: Optional["ErrorResponse"] = None, + **kwargs + ): + super(Error, self).__init__(**kwargs) + self.error = error + + +class ErrorAdditionalInfo(msrest.serialization.Model): + """The resource management error additional info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: The additional info type. + :vartype type: str + :ivar info: The additional info. + :vartype info: object + """ + + _validation = { + 'type': {'readonly': True}, + 'info': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'info': {'key': 'info', 'type': 'object'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorAdditionalInfo, self).__init__(**kwargs) + self.type = None + self.info = None + + +class ErrorResponse(msrest.serialization.Model): + """The resource management error response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar code: The error code. + :vartype code: str + :ivar message: The error message. + :vartype message: str + :ivar target: The error target. + :vartype target: str + :ivar details: The error details. + :vartype details: list[~storage_pool_management.models.ErrorResponse] + :ivar additional_info: The error additional info. + :vartype additional_info: list[~storage_pool_management.models.ErrorAdditionalInfo] + """ + + _validation = { + 'code': {'readonly': True}, + 'message': {'readonly': True}, + 'target': {'readonly': True}, + 'details': {'readonly': True}, + 'additional_info': {'readonly': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[ErrorResponse]'}, + 'additional_info': {'key': 'additionalInfo', 'type': '[ErrorAdditionalInfo]'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorResponse, self).__init__(**kwargs) + self.code = None + self.message = None + self.target = None + self.details = None + self.additional_info = None + + +class IscsiLun(msrest.serialization.Model): + """Lun to expose the ManagedDisk. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. Lun name. + :type name: str + :param managed_disk_azure_resource_id: Required. Unique Azure resource id of the managed disk. + Required. + :type managed_disk_azure_resource_id: str + """ + + _validation = { + 'name': {'required': True}, + 'managed_disk_azure_resource_id': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'managed_disk_azure_resource_id': {'key': 'managedDiskAzureResourceId', 'type': 'str'}, + } + + def __init__( + self, + *, + name: str, + managed_disk_azure_resource_id: str, + **kwargs + ): + super(IscsiLun, self).__init__(**kwargs) + self.name = name + self.managed_disk_azure_resource_id = managed_disk_azure_resource_id + + +class IscsiTarget(Resource): + """Payload for iSCSI Target Create or Update requests. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: + "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". + :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates + :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", + "Unknown", "Healthy", "Unhealthy". + :vartype status: str or ~storage_pool_management.models.OperationalStatus + :param tpgs: list of iSCSI target portal groups. + :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] + :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: + iqn.2005-03.org.iscsi:server. + :type target_iqn: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'status': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroup]'}, + 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, + } + + def __init__( + self, + *, + tpgs: Optional[List["TargetPortalGroup"]] = None, + target_iqn: Optional[str] = None, + **kwargs + ): + super(IscsiTarget, self).__init__(**kwargs) + self.provisioning_state = None + self.status = None + self.tpgs = tpgs + self.target_iqn = target_iqn + + +class IscsiTargetList(msrest.serialization.Model): + """List of iSCSI Targets. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of iSCSI targets within a Disk Pool. + :type value: list[~storage_pool_management.models.IscsiTarget] + :ivar next_link: URI to fetch the next section of the paginated response. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[IscsiTarget]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: List["IscsiTarget"], + **kwargs + ): + super(IscsiTargetList, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class ProxyResource(Resource): + """The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ProxyResource, self).__init__(**kwargs) + + +class Sku(msrest.serialization.Model): + """The resource model definition representing SKU. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code. + :type name: str + :param tier: This field is required to be implemented by the Resource Provider if the service + has more than one tier, but is not required on a PUT. Possible values include: "Free", "Basic", + "Standard", "Premium". + :type tier: str or ~storage_pool_management.models.SkuTier + :param size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :type size: str + :param family: If the service has different generations of hardware, for the same SKU, then + that can be captured here. + :type family: str + :param capacity: If the SKU supports scale out/in then the capacity integer should be included. + If scale out/in is not possible for the resource this may be omitted. + :type capacity: int + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'size': {'key': 'size', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'capacity': {'key': 'capacity', 'type': 'int'}, + } + + def __init__( + self, + *, + name: str, + tier: Optional[Union[str, "SkuTier"]] = None, + size: Optional[str] = None, + family: Optional[str] = None, + capacity: Optional[int] = None, + **kwargs + ): + super(Sku, self).__init__(**kwargs) + self.name = name + self.tier = tier + self.size = size + self.family = family + self.capacity = capacity + + +class StoragePoolOperationDisplay(msrest.serialization.Model): + """Metadata about an operation. + + All required parameters must be populated in order to send to Azure. + + :param provider: Required. Localized friendly form of the resource provider name. + :type provider: str + :param resource: Required. Localized friendly form of the resource type related to this + action/operation. + :type resource: str + :param operation: Required. Localized friendly name for the operation, as it should be shown to + the user. + :type operation: str + :param description: Required. Localized friendly description for the operation, as it should be + shown to the user. + :type description: str + """ + + _validation = { + 'provider': {'required': True}, + 'resource': {'required': True}, + 'operation': {'required': True}, + 'description': {'required': True}, + } + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + *, + provider: str, + resource: str, + operation: str, + description: str, + **kwargs + ): + super(StoragePoolOperationDisplay, self).__init__(**kwargs) + self.provider = provider + self.resource = resource + self.operation = operation + self.description = description + + +class StoragePoolOperationListResult(msrest.serialization.Model): + """List of operations supported by the RP. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of operations supported by the StoragePool RP. + :type value: list[~storage_pool_management.models.StoragePoolRPOperation] + :param next_link: URI to fetch the next section of the paginated response. + :type next_link: str + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StoragePoolRPOperation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: List["StoragePoolRPOperation"], + next_link: Optional[str] = None, + **kwargs + ): + super(StoragePoolOperationListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class StoragePoolRPOperation(msrest.serialization.Model): + """Description of a StoragePool RP Operation. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the operation being performed on this particular object. + :type name: str + :param is_data_action: Required. Indicates whether the operation applies to data-plane. + :type is_data_action: bool + :param action_type: Indicates the action type. + :type action_type: str + :param display: Required. Additional metadata about RP operation. + :type display: ~storage_pool_management.models.StoragePoolOperationDisplay + :param origin: The intended executor of the operation; governs the display of the operation in + the RBAC UX and the audit logs UX. + :type origin: str + """ + + _validation = { + 'name': {'required': True}, + 'is_data_action': {'required': True}, + 'display': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, + 'action_type': {'key': 'actionType', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'StoragePoolOperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + } + + def __init__( + self, + *, + name: str, + is_data_action: bool, + display: "StoragePoolOperationDisplay", + action_type: Optional[str] = None, + origin: Optional[str] = None, + **kwargs + ): + super(StoragePoolRPOperation, self).__init__(**kwargs) + self.name = name + self.is_data_action = is_data_action + self.action_type = action_type + self.display = display + self.origin = origin + + +class SystemMetadata(msrest.serialization.Model): + """Resource metadata required by ARM RPC. + + :param created_by: A string identifier for the identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource: user, application, + managedIdentity. + :type created_by_type: str + :param created_at: The timestamp of resource creation (UTC). + :type created_at: str + :param last_modified_by: A string identifier for the identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource: user, + application, managedIdentity. + :type last_modified_by_type: str + :param last_modified_at: The timestamp of resource last modification (UTC). + :type last_modified_at: str + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'str'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'str'}, + } + + def __init__( + self, + *, + created_by: Optional[str] = None, + created_by_type: Optional[str] = None, + created_at: Optional[str] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[str] = None, + last_modified_at: Optional[str] = None, + **kwargs + ): + super(SystemMetadata, self).__init__(**kwargs) + self.created_by = created_by + self.created_by_type = created_by_type + self.created_at = created_at + self.last_modified_by = last_modified_by + self.last_modified_by_type = last_modified_by_type + self.last_modified_at = last_modified_at + + +class TargetPortalGroup(msrest.serialization.Model): + """iSCSI target portal group. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param luns: Required. Lun list to be exposed through the iSCSI target. Required. + :type luns: list[~storage_pool_management.models.IscsiLun] + :param acls: Required. Access Control List (ACL) for an iSCSI target lun. + :type acls: list[~storage_pool_management.models.Acl] + :param attributes: Required. Attributes of an iSCSI target. + :type attributes: ~storage_pool_management.models.Attributes + :ivar endpoints: list of public ip addresses to connect to the iSCSI target. + :vartype endpoints: list[str] + :ivar tag: The tag associated with the iSCSI target portal group. + :vartype tag: int + :ivar port: The port at which the iSCSI target is available. + :vartype port: int + """ + + _validation = { + 'luns': {'required': True}, + 'acls': {'required': True}, + 'attributes': {'required': True}, + 'endpoints': {'readonly': True}, + 'tag': {'readonly': True}, + 'port': {'readonly': True}, + } + + _attribute_map = { + 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, + 'acls': {'key': 'acls', 'type': '[Acl]'}, + 'attributes': {'key': 'attributes', 'type': 'Attributes'}, + 'endpoints': {'key': 'endpoints', 'type': '[str]'}, + 'tag': {'key': 'tag', 'type': 'int'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + *, + luns: List["IscsiLun"], + acls: List["Acl"], + attributes: "Attributes", + **kwargs + ): + super(TargetPortalGroup, self).__init__(**kwargs) + self.luns = luns + self.acls = acls + self.attributes = attributes + self.endpoints = None + self.tag = None + self.port = None 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 new file mode 100644 index 00000000000..deae4a6f128 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_storage_pool_management_enums.py @@ -0,0 +1,59 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class OperationalStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Operational status of the Disk pool + """ + + INVALID = "Invalid" + UNKNOWN = "Unknown" + HEALTHY = "Healthy" + UNHEALTHY = "Unhealthy" + +class ProvisioningStates(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """State of provisioning of the iSCSI target + """ + + INVALID = "Invalid" + SUCCEEDED = "Succeeded" + FAILED = "Failed" + CANCELED = "Canceled" + PENDING = "Pending" + CREATING = "Creating" + UPDATING = "Updating" + DELETING = "Deleting" + +class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """This field is required to be implemented by the Resource Provider if the service has more than + one tier, but is not required on a PUT. + """ + + FREE = "Free" + BASIC = "Basic" + STANDARD = "Standard" + PREMIUM = "Premium" diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py new file mode 100644 index 00000000000..ee3e1450aed --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py @@ -0,0 +1,17 @@ +# 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 ._operation_operations import OperationOperations +from ._disk_pool_operations import DiskPoolOperations +from ._iscsi_target_operations import IscsiTargetOperations + +__all__ = [ + 'OperationOperations', + 'DiskPoolOperations', + 'IscsiTargetOperations', +] diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pool_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pool_operations.py new file mode 100644 index 00000000000..17091615e57 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pool_operations.py @@ -0,0 +1,602 @@ +# 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.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, List, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class DiskPoolOperations(object): + """DiskPoolOperations 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_by_subscription( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.DiskPoolListResult"] + """Gets a list of Disk Pools in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.DiskPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + 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('DiskPoolListResult', 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_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.DiskPoolListResult"] + """Gets a list of DiskPools. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.DiskPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_resource_group.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]$'), + } + 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('DiskPoolListResult', 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_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + location, # type: str + tags=None, # type: Optional[Dict[str, str]] + sku=None, # type: Optional["models.Sku"] + availability_zones=None, # type: Optional[List[str]] + disks=None, # type: Optional[List["models.Disk"]] + subnet_id=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "models.DiskPool" + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + disk_pool_payload = models.DiskPool(tags=tags, location=location, sku=sku, availability_zones=availability_zones, disks=disks, subnet_id=subnet_id) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(disk_pool_payload, 'DiskPool') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + location, # type: str + tags=None, # type: Optional[Dict[str, str]] + sku=None, # type: Optional["models.Sku"] + availability_zones=None, # type: Optional[List[str]] + disks=None, # type: Optional[List["models.Disk"]] + subnet_id=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> LROPoller["models.DiskPool"] + """Create a new Disk Pool. + + :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 + :param location: The geo-location where the resource lives. + :type location: str + :param tags: Resource tags. + :type tags: dict[str, str] + :param sku: Sku description. + :type sku: ~storage_pool_management.models.Sku + :param availability_zones: Logical zone for DiskPool resource. + :type availability_zones: list[str] + :param disks: List of Azure managed disks to attach to a DiskPool. + :type disks: list[~storage_pool_management.models.Disk] + :param subnet_id: Azure resource id of the subnet for the DiskPool. + :type subnet_id: 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 DiskPool or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.DiskPool] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + 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._create_or_update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + location=location, + tags=tags, + sku=sku, + availability_zones=availability_zones, + disks=disks, + subnet_id=subnet_id, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def update( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + location, # type: str + tags=None, # type: Optional[Dict[str, str]] + sku=None, # type: Optional["models.Sku"] + availability_zones=None, # type: Optional[List[str]] + disks=None, # type: Optional[List["models.Disk"]] + subnet_id=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "models.DiskPool" + """Update a Storage Pool. + + :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 + :param location: The geo-location where the resource lives. + :type location: str + :param tags: Resource tags. + :type tags: dict[str, str] + :param sku: Sku description. + :type sku: ~storage_pool_management.models.Sku + :param availability_zones: Logical zone for DiskPool resource. + :type availability_zones: list[str] + :param disks: List of Azure managed disks to attach to a DiskPool. + :type disks: list[~storage_pool_management.models.Disk] + :param subnet_id: Azure resource id of the subnet for the DiskPool. + :type subnet_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DiskPool, or the result of cls(response) + :rtype: ~storage_pool_management.models.DiskPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + disk_pool_payload = models.DiskPool(tags=tags, location=location, sku=sku, availability_zones=availability_zones, disks=disks, subnet_id=subnet_id) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(disk_pool_payload, 'DiskPool') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + 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) + + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def _delete_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 = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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.delete(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, 204]: + 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, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Delete a Disk Pool. + + :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._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.DiskPool" + """Get a Disk Pool. + + :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 + :return: DiskPool, or the result of cls(response) + :rtype: ~storage_pool_management.models.DiskPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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.get(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]: + 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) + + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_iscsi_target_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_iscsi_target_operations.py new file mode 100644 index 00000000000..0fb147f3fdc --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_iscsi_target_operations.py @@ -0,0 +1,452 @@ +# 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.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, List, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class IscsiTargetOperations(object): + """IscsiTargetOperations 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_by_disk_pool( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.IscsiTargetList"] + """Get iSCSI Targets within a Disk Pool. + + :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 + :return: An iterator like instance of either IscsiTargetList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.IscsiTargetList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTargetList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_disk_pool.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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('IscsiTargetList', 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_by_disk_pool.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + tpgs=None, # type: Optional[List["models.TargetPortalGroup"]] + target_iqn=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "models.IscsiTarget" + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + iscsi_target_payload = models.IscsiTarget(tpgs=tpgs, target_iqn=target_iqn) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(iscsi_target_payload, 'IscsiTarget') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + tpgs=None, # type: Optional[List["models.TargetPortalGroup"]] + target_iqn=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> LROPoller["models.IscsiTarget"] + """Create or Update an iSCSI target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :param tpgs: list of iSCSI target portal groups. + :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] + :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: + iqn.2005-03.org.iscsi:server. + :type target_iqn: 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 IscsiTarget or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.IscsiTarget] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + 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._create_or_update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name, + tpgs=tpgs, + target_iqn=target_iqn, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_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 = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.delete(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, 204]: + 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, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_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._delete_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.IscsiTarget" + """Gets an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: IscsiTarget, or the result of cls(response) + :rtype: ~storage_pool_management.models.IscsiTarget + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.get(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]: + 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) + + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operation_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operation_operations.py new file mode 100644 index 00000000000..f6275f4bc7b --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operation_operations.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from 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 OperationOperations(object): + """OperationOperations 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, + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.StoragePoolOperationListResult"] + """Gets a list of StoragePool operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StoragePoolOperationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.StoragePoolOperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.StoragePoolOperationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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 + # 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('StoragePoolOperationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return 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': '/providers/Microsoft.StoragePool/operations'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/py.typed b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/py.typed new file mode 100644 index 00000000000..e5aff4f83af --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file diff --git a/src/diskpool/gen.zip b/src/diskpool/gen.zip new file mode 100644 index 0000000000000000000000000000000000000000..b154d7794eed78140b04bc64f541a697fb9a8199 GIT binary patch literal 8517 zcmeGi?QYvPu-(@W|K0-->Hyn-Eu|ZZ0RapoOR^$pGGs~i0W^WYNVLsb7FCjR>I8m* zJ<;A_KlebpBQ05$<@lp%w*gh+D58$XyW`#QK797-^Dk;o@RCRT=Rf}te~-zNC-`{* zWAu)_(|*X+AQ2+E(oAV}6;ZsKhy0bV0v1!rg`13@k@llqwP)l&BxA{YeN7rclbrHE z3MIN4#$_TT)m+3b*^eS(fE1BTF*#zP3v*96kfm5i(l}(2=sqK-$Cuf#OD-78AM`s- zcx+%2Dc-O^6DfoyT_FKeWHA8*JP+-vwP%LBkdYpX8IS@C-HZz)HqM)5Kh@$KoV?RVgn?wRa#H=nsJn z|0N0WKS~gQAjIMlnk9a2d&&m{eqa#zLi(ve;8O$Oqv4jRLE_wC7&hwkj-Yk75sFw8 zq;4ois?Akzw_`eF#JL}iGnyw(1ym#gV;97^1^lV1f}tbIBYMLluE*^=5rg(S&#M5D zD%jJo<9I5)QGw(MTDtP?i;q4JCmtC5Og#WV_9h-!@Q8!SD=&8#?tvJBpqOV+d!r$; zRpyoXhg4H!)8F}Tl2s`!kV(vRn}_7_#5J`bZ!|Ngvb4a!K;ENxf_nr6C=U#Prjf1^ zof@PB6{+J~XmDy&hW`E!2UU=o_7oYgamN|aC}mY3*`Bw1=o3IUVbh&@YhH7MJ_`n_ z^Ll<1mD(BrzHT^3lhZ1xH##WrR0>WHuK9>{ex#9N&C&v8R8|VdA)MR{SQ%Mu+!y(Pqha36~~=hNKzI1}porY+@# zvvOT!_Fc%fp96s)H~9T{>E4`bua_E?Gd`>Rpf{NERVz)V{_8F9aPBo{>+2_CbBtER zB^yPj3n69!yYj#Z+H?$D-pntqB`so5tUNR~ z=mKnNPIkUOy}iFtSwy5guJ9k5N_g$yVxz5Ca7=j0VL>Pt=EiB@RC?2jIb1qjSP((%PA(wEhVT<@@|0pAI)vc2*gI?#AE0$+aPMUY z$Xx%gffnRL`>)I2b?OkAV}Udy+aHeSCe>f>et+FEJ%zgLLE#Kqh%j9<=_8sB4%(vk zUUmO))oLT?eiRoO#jr?by}oHu_}I~yErhK?BzdOLibc>EH7!HKH^!Pc<_>NlDO9fA zg2sLR5&`PP`W@6u>brIhs#EDz!*YnTCQwhuJ6@}onDzYtd%f^9-wuH{g%iwz76)d~ z#pUNcOD=<)ytzhkBX7p$@3WRNaCi3V>1SU*S^jMX_(DVB+UmOvXRp5e3UNGzp8)QE H5q$awbl^)0 literal 0 HcmV?d00001 diff --git a/src/diskpool/report.md b/src/diskpool/report.md new file mode 100644 index 00000000000..41ebc632bb6 --- /dev/null +++ b/src/diskpool/report.md @@ -0,0 +1,198 @@ +# Azure CLI Module Creation Report + +## EXTENSION +|CLI Extension|Command Groups| +|---------|------------| +|az diskpool|[groups](#CommandGroups) + +## GROUPS +### Command groups in `az diskpool` extension +|CLI Command Group|Group Swagger name|Commands| +|---------|------------|--------| +|az disk-pool|DiskPools|[commands](#CommandsInDiskPools)| +|az disk-pool iscsi-target|IscsiTargets|[commands](#CommandsInIscsiTargets)| + +## COMMANDS +### Commands in `az disk-pool` group +|CLI Command|Operation Swagger name|Parameters|Examples| +|---------|------------|--------|-----------| +|[az disk-pool list](#DiskPoolsListByResourceGroup)|ListByResourceGroup|[Parameters](#ParametersDiskPoolsListByResourceGroup)|[Example](#ExamplesDiskPoolsListByResourceGroup)| +|[az disk-pool list](#DiskPoolsListBySubscription)|ListBySubscription|[Parameters](#ParametersDiskPoolsListBySubscription)|[Example](#ExamplesDiskPoolsListBySubscription)| +|[az disk-pool show](#DiskPoolsGet)|Get|[Parameters](#ParametersDiskPoolsGet)|[Example](#ExamplesDiskPoolsGet)| +|[az disk-pool create](#DiskPoolsCreateOrUpdate#Create)|CreateOrUpdate#Create|[Parameters](#ParametersDiskPoolsCreateOrUpdate#Create)|[Example](#ExamplesDiskPoolsCreateOrUpdate#Create)| +|[az disk-pool update](#DiskPoolsUpdate)|Update|[Parameters](#ParametersDiskPoolsUpdate)|[Example](#ExamplesDiskPoolsUpdate)| +|[az disk-pool delete](#DiskPoolsDelete)|Delete|[Parameters](#ParametersDiskPoolsDelete)|[Example](#ExamplesDiskPoolsDelete)| + +### Commands in `az disk-pool iscsi-target` group +|CLI Command|Operation Swagger name|Parameters|Examples| +|---------|------------|--------|-----------| +|[az disk-pool iscsi-target list](#IscsiTargetsListByDiskPool)|ListByDiskPool|[Parameters](#ParametersIscsiTargetsListByDiskPool)|[Example](#ExamplesIscsiTargetsListByDiskPool)| +|[az disk-pool iscsi-target show](#IscsiTargetsGet)|Get|[Parameters](#ParametersIscsiTargetsGet)|[Example](#ExamplesIscsiTargetsGet)| +|[az disk-pool iscsi-target create](#IscsiTargetsCreateOrUpdate#Create)|CreateOrUpdate#Create|[Parameters](#ParametersIscsiTargetsCreateOrUpdate#Create)|[Example](#ExamplesIscsiTargetsCreateOrUpdate#Create)| +|[az disk-pool iscsi-target update](#IscsiTargetsCreateOrUpdate#Update)|CreateOrUpdate#Update|[Parameters](#ParametersIscsiTargetsCreateOrUpdate#Update)|Not Found| +|[az disk-pool iscsi-target delete](#IscsiTargetsDelete)|Delete|[Parameters](#ParametersIscsiTargetsDelete)|[Example](#ExamplesIscsiTargetsDelete)| + + +## COMMAND DETAILS + +### group `az disk-pool` +#### Command `az disk-pool list` + +##### Example +``` +az disk-pool list --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| + +#### Command `az disk-pool list` + +##### Example +``` +az disk-pool list +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +#### Command `az disk-pool show` + +##### Example +``` +az disk-pool show --name "myDiskPool" --resource-group "myResourceGroup" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| +|**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| + +#### Command `az disk-pool create` + +##### Example +``` +az disk-pool create --name "myDiskPool" --location "westus" --availability-zones "1" --disks \ +id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disk\ +s/vm-name_DataDisk_0" --disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/pr\ +oviders/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/re\ +sourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --sku \ +name="Standard_ABC" --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| +|**--location**|string|The geo-location where the resource lives|location|location| +|**--tags**|dictionary|Resource tags.|tags|tags| +|**--sku**|object|Sku description.|sku|sku| +|**--availability-zones**|array|Logical zone for DiskPool resource.|availability_zones|availabilityZones| +|**--disks**|array|List of Azure managed disks to attach to a DiskPool|disks|disks| +|**--subnet-id**|string|Azure resource id of the subnet for the DiskPool|subnet_id|subnetId| + +#### Command `az disk-pool update` + +##### Example +``` +az disk-pool update --name "myDiskPool" --location "westus" --availability-zones "1" --disks \ +id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disk\ +s/vm-name_DataDisk_0" --disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/pr\ +oviders/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/re\ +sourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --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| +|**--location**|string|The geo-location where the resource lives|location|location| +|**--tags**|dictionary|Resource tags.|tags|tags| +|**--sku**|object|Sku description.|sku|sku| +|**--availability-zones**|array|Logical zone for DiskPool resource.|availability_zones|availabilityZones| +|**--disks**|array|List of Azure managed disks to attach to a DiskPool|disks|disks| +|**--subnet-id**|string|Azure resource id of the subnet for the DiskPool|subnet_id|subnetId| + +#### Command `az disk-pool delete` + +##### Example +``` +az disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| +|**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| + +### group `az disk-pool iscsi-target` +#### Command `az disk-pool iscsi-target list` + +##### Example +``` +az disk-pool iscsi-target list --disk-pool-name "myDiskPool" --resource-group "myResourceGroup" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| +|**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| + +#### Command `az disk-pool iscsi-target show` + +##### Example +``` +az disk-pool iscsi-target show --disk-pool-name "myDiskPool" --name "myIscsiTarget" --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| +|**--iscsi-target-name**|string|The name of the iSCSI target.|iscsi_target_name|iscsiTargetName| + +#### Command `az disk-pool iscsi-target create` + +##### Example +``` +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\\",\\"usernam\ +e\\":\\"some_username\\"},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}],\\"attr\ +ibutes\\":{\\"authentication\\":true,\\"prodModeWriteProtect\\":false},\\"luns\\":[{\\"name\\":\\"lun0\\",\\"managedDis\ +kAzureResourceId\\":\\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Mic\ +rosoft.Compute/disks/vm-name_DataDisk_1\\"}]}]" --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| +|**--iscsi-target-name**|string|The name of the iSCSI target.|iscsi_target_name|iscsiTargetName| +|**--tpgs**|array|list of iSCSI target portal groups|tpgs|tpgs| +|**--target-iqn**|string|iSCSI target iqn (iSCSI Qualified Name); example: iqn.2005-03.org.iscsi:server|target_iqn|targetIqn| + +#### Command `az disk-pool iscsi-target update` + +##### 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| +|**--iscsi-target-name**|string|The name of the iSCSI target.|iscsi_target_name|iscsiTargetName| +|**--tpgs**|array|list of iSCSI target portal groups|tpgs|tpgs| +|**--target-iqn**|string|iSCSI target iqn (iSCSI Qualified Name); example: iqn.2005-03.org.iscsi:server|target_iqn|targetIqn| + +#### Command `az disk-pool iscsi-target delete` + +##### Example +``` +az disk-pool iscsi-target delete --disk-pool-name "myDiskPool" --name "myIscsiTarget" --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| +|**--iscsi-target-name**|string|The name of the iSCSI target.|iscsi_target_name|iscsiTargetName| diff --git a/src/diskpool/setup.cfg b/src/diskpool/setup.cfg new file mode 100644 index 00000000000..2fdd96e5d39 --- /dev/null +++ b/src/diskpool/setup.cfg @@ -0,0 +1 @@ +#setup.cfg \ No newline at end of file diff --git a/src/diskpool/setup.py b/src/diskpool/setup.py new file mode 100644 index 00000000000..d63937f7c2e --- /dev/null +++ b/src/diskpool/setup.py @@ -0,0 +1,58 @@ +#!/usr/bin/env python + +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + + +from codecs import open +from setuptools import setup, find_packages + +# HISTORY.rst entry. +VERSION = '0.1.0' +try: + from azext_diskpool.manual.version import VERSION +except ImportError: + pass + +# The full list of classifiers is available at +# https://pypi.python.org/pypi?%3Aaction=list_classifiers +CLASSIFIERS = [ + 'Development Status :: 4 - Beta', + 'Intended Audience :: Developers', + 'Intended Audience :: System Administrators', + 'Programming Language :: Python', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'License :: OSI Approved :: MIT License', +] + +DEPENDENCIES = [] + +try: + from azext_diskpool.manual.dependency import DEPENDENCIES +except ImportError: + pass + +with open('README.md', 'r', encoding='utf-8') as f: + README = f.read() +with open('HISTORY.rst', 'r', encoding='utf-8') as f: + HISTORY = f.read() + +setup( + name='diskpool', + version=VERSION, + description='Microsoft Azure Command-Line Tools StoragePoolManagement Extension', + author='Microsoft Corporation', + author_email='azpycli@microsoft.com', + url='https://github.com/Azure/azure-cli-extensions/tree/master/src/diskpool', + long_description=README + '\n\n' + HISTORY, + license='MIT', + classifiers=CLASSIFIERS, + packages=find_packages(), + install_requires=DEPENDENCIES, + package_data={'azext_diskpool': ['azext_metadata.json']}, +) From ecd7831499a1667ecc9079dbf0cb59a74e9dd9a0 Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Wed, 11 Nov 2020 18:37:51 +0800 Subject: [PATCH 04/30] refine help --- src/diskpool/azext_diskpool/manual/_help.py | 23 +++++++++++++ src/diskpool/azext_diskpool/manual/_params.py | 32 ++++++++++++++++++ src/diskpool/gen.zip | Bin 8517 -> 8517 bytes 3 files changed, 55 insertions(+) create mode 100644 src/diskpool/azext_diskpool/manual/_help.py create mode 100644 src/diskpool/azext_diskpool/manual/_params.py diff --git a/src/diskpool/azext_diskpool/manual/_help.py b/src/diskpool/azext_diskpool/manual/_help.py new file mode 100644 index 00000000000..38fdc57f4da --- /dev/null +++ b/src/diskpool/azext_diskpool/manual/_help.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# pylint: disable=too-many-lines + +from knack.help_files import helps + + +helps['disk-pool'] = """ + type: group + short-summary: Manage Azure disk pool. +""" + +helps['disk-pool iscsi-target'] = """ + type: group + short-summary: Manage iSCSI target with a Disk Pool. +""" diff --git a/src/diskpool/azext_diskpool/manual/_params.py b/src/diskpool/azext_diskpool/manual/_params.py new file mode 100644 index 00000000000..35a48560495 --- /dev/null +++ b/src/diskpool/azext_diskpool/manual/_params.py @@ -0,0 +1,32 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements + +from azure.cli.core.commands.parameters import ( + tags_type, + resource_group_name_type, + get_location_type +) +from azure.cli.core.commands.validators import ( + get_default_location_from_resource_group, + validate_file_or_dict +) +from azext_diskpool.action import ( + AddSku, + AddDisks +) + + +def load_arguments(self, _): + + with self.argument_context('disk-pool') as c: + c.argument('location', arg_type=get_location_type(self.cli_ctx), required=False, + validator=get_default_location_from_resource_group) diff --git a/src/diskpool/gen.zip b/src/diskpool/gen.zip index b154d7794eed78140b04bc64f541a697fb9a8199..e06575d4889a56c90ffac508530725c1beefc306 100644 GIT binary patch delta 30 icmX@=bkvDAz?+$civa|(L$WvWo>pK6(vxp1WB~wsnFzoD delta 30 icmX@=bkvDAz?+$civa|RTr)TFo>pK6(vxp1WB~wr;|Qz( From b13b7f38d252c0700b33f0e4c20a4b63cba70100 Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Fri, 13 Nov 2020 10:07:43 +0800 Subject: [PATCH 05/30] regenerate --- src/diskpool/gen.zip | Bin 8517 -> 8517 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/src/diskpool/gen.zip b/src/diskpool/gen.zip index e06575d4889a56c90ffac508530725c1beefc306..f807d7d55fbd021b2f54dfdfceb40d815399d705 100644 GIT binary patch delta 30 icmX@=bkvDAz?+$civa|5ymB`3o>pK6(vxp1WB~wmc?d87 delta 30 icmX@=bkvDAz?+$civa|(L$WvWo>pK6(vxp1WB~wsnFzoD From de83caf883865a751b7c5d0981e14232374cc24f Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Fri, 20 Nov 2020 15:15:21 +0800 Subject: [PATCH 06/30] support postional args --- .../azext_diskpool/azext_metadata.json | 2 +- .../azext_diskpool/generated/__init__.py | 12 - .../generated/_client_factory.py | 24 - .../azext_diskpool/generated/_help.py | 205 ----- .../azext_diskpool/generated/_params.py | 112 --- .../azext_diskpool/generated/_validators.py | 9 - .../azext_diskpool/generated/action.py | 66 -- .../azext_diskpool/generated/commands.py | 43 - .../azext_diskpool/generated/custom.py | 137 --- .../tests/latest/test_diskpool_scenario.py | 232 ++--- .../azext_diskpool/vendored_sdks/__init__.py | 12 - .../vendored_sdks/storagepool/__init__.py | 16 - .../storagepool/_configuration.py | 70 -- .../storagepool/_storage_pool_management.py | 80 -- .../vendored_sdks/storagepool/aio/__init__.py | 10 - .../storagepool/aio/_configuration.py | 66 -- .../aio/_storage_pool_management.py | 74 -- .../storagepool/aio/operations/__init__.py | 17 - .../aio/operations/_disk_pool_operations.py | 590 ------------ .../operations/_iscsi_target_operations.py | 442 --------- .../aio/operations/_operation_operations.py | 105 --- .../storagepool/models/__init__.py | 82 -- .../storagepool/models/_models.py | 800 ---------------- .../storagepool/models/_models_py3.py | 867 ------------------ .../models/_storage_pool_management_enums.py | 59 -- .../storagepool/operations/__init__.py | 17 - .../operations/_disk_pool_operations.py | 602 ------------ .../operations/_iscsi_target_operations.py | 452 --------- .../operations/_operation_operations.py | 110 --- .../vendored_sdks/storagepool/py.typed | 1 - src/diskpool/gen.zip | Bin 8517 -> 9799 bytes src/diskpool/report.md | 18 +- 32 files changed, 72 insertions(+), 5260 deletions(-) delete mode 100644 src/diskpool/azext_diskpool/generated/__init__.py delete mode 100644 src/diskpool/azext_diskpool/generated/_client_factory.py delete mode 100644 src/diskpool/azext_diskpool/generated/_help.py delete mode 100644 src/diskpool/azext_diskpool/generated/_params.py delete mode 100644 src/diskpool/azext_diskpool/generated/_validators.py delete mode 100644 src/diskpool/azext_diskpool/generated/action.py delete mode 100644 src/diskpool/azext_diskpool/generated/commands.py delete mode 100644 src/diskpool/azext_diskpool/generated/custom.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/__init__.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/_storage_pool_management.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/__init__.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_storage_pool_management.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/__init__.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pool_operations.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_iscsi_target_operations.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_operation_operations.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/__init__.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models_py3.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_storage_pool_management_enums.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pool_operations.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_iscsi_target_operations.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operation_operations.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/py.typed diff --git a/src/diskpool/azext_diskpool/azext_metadata.json b/src/diskpool/azext_diskpool/azext_metadata.json index 4f48fa652a5..cfc30c747c7 100644 --- a/src/diskpool/azext_diskpool/azext_metadata.json +++ b/src/diskpool/azext_diskpool/azext_metadata.json @@ -1,4 +1,4 @@ { "azext.isExperimental": true, - "azext.minCliCoreVersion": "2.11.0" + "azext.minCliCoreVersion": "2.15.0" } \ No newline at end of file diff --git a/src/diskpool/azext_diskpool/generated/__init__.py b/src/diskpool/azext_diskpool/generated/__init__.py deleted file mode 100644 index c9cfdc73e77..00000000000 --- a/src/diskpool/azext_diskpool/generated/__init__.py +++ /dev/null @@ -1,12 +0,0 @@ -# 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. -# -------------------------------------------------------------------------- - -__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/src/diskpool/azext_diskpool/generated/_client_factory.py b/src/diskpool/azext_diskpool/generated/_client_factory.py deleted file mode 100644 index 657087960c7..00000000000 --- a/src/diskpool/azext_diskpool/generated/_client_factory.py +++ /dev/null @@ -1,24 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - - -def cf_diskpool_cl(cli_ctx, *_): - from azure.cli.core.commands.client_factory import get_mgmt_service_client - from ..vendored_sdks.storagepool import StoragePoolManagement - return get_mgmt_service_client(cli_ctx, - StoragePoolManagement) - - -def cf_disk_pool(cli_ctx, *_): - return cf_diskpool_cl(cli_ctx).disk_pool - - -def cf_iscsi_target(cli_ctx, *_): - return cf_diskpool_cl(cli_ctx).iscsi_target diff --git a/src/diskpool/azext_diskpool/generated/_help.py b/src/diskpool/azext_diskpool/generated/_help.py deleted file mode 100644 index 54453116b33..00000000000 --- a/src/diskpool/azext_diskpool/generated/_help.py +++ /dev/null @@ -1,205 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- -# pylint: disable=too-many-lines - -from knack.help_files import helps - - -helps['disk-pool'] = """ - type: group - short-summary: disk-pool -""" - -helps['disk-pool list'] = """ - type: command - short-summary: "Gets a list of DiskPools. And Gets a list of Disk Pools in a subscription." - examples: - - name: List Disk Pools - text: |- - az disk-pool list --resource-group "myResourceGroup" - - name: List Disk Pools by subscription - text: |- - az disk-pool list -""" - -helps['disk-pool show'] = """ - type: command - short-summary: "Get a Disk Pool." - examples: - - name: Get a diskPool - text: |- - az disk-pool show --name "myDiskPool" --resource-group "myResourceGroup" -""" - -helps['disk-pool create'] = """ - type: command - short-summary: "Create a new Disk Pool." - parameters: - - name: --sku - short-summary: "Sku description." - long-summary: | - Usage: --sku name=XX tier=XX size=XX family=XX capacity=XX - - name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code - tier: This field is required to be implemented by the Resource Provider if the service has more than one \ -tier, but is not required on a PUT. - size: The SKU size. When the name field is the combination of tier and some other value, this would be the \ -standalone code. - family: If the service has different generations of hardware, for the same SKU, then that can be captured \ -here. - capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in \ -is not possible for the resource this may be omitted. - - name: --disks - short-summary: "List of Azure managed disks to attach to a DiskPool" - long-summary: | - Usage: --disks id=XX - - id: Required. Unique Azure resource id of the managed disk. Required. - - Multiple actions can be specified by using more than one --disks argument. - examples: - - name: Create or Update a Disk Pool - text: |- - az disk-pool create --name "myDiskPool" --location "westus" --availability-zones "1" --disks \ -id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disk\ -s/vm-name_DataDisk_0" --disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/pr\ -oviders/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/re\ -sourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --sku \ -name="Standard_ABC" --tags key="value" --resource-group "myResourceGroup" -""" - -helps['disk-pool update'] = """ - type: command - short-summary: "Update a Storage Pool." - parameters: - - name: --sku - short-summary: "Sku description." - long-summary: | - Usage: --sku name=XX tier=XX size=XX family=XX capacity=XX - - name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code - tier: This field is required to be implemented by the Resource Provider if the service has more than one \ -tier, but is not required on a PUT. - size: The SKU size. When the name field is the combination of tier and some other value, this would be the \ -standalone code. - family: If the service has different generations of hardware, for the same SKU, then that can be captured \ -here. - capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in \ -is not possible for the resource this may be omitted. - - name: --disks - short-summary: "List of Azure managed disks to attach to a DiskPool" - long-summary: | - Usage: --disks id=XX - - id: Required. Unique Azure resource id of the managed disk. Required. - - Multiple actions can be specified by using more than one --disks argument. - examples: - - name: Update Disk Pool - text: |- - az disk-pool update --name "myDiskPool" --location "westus" --availability-zones "1" --disks \ -id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disk\ -s/vm-name_DataDisk_0" --disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/pr\ -oviders/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/re\ -sourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --tags key="value" \ ---resource-group "myResourceGroup" -""" - -helps['disk-pool delete'] = """ - type: command - short-summary: "Delete a Disk Pool." - examples: - - name: Update Disk Pool - text: |- - az disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" -""" - -helps['disk-pool wait'] = """ - type: command - short-summary: Place the CLI in a waiting state until a condition of the disk-pool is met. - examples: - - name: Pause executing next line of CLI script until the disk-pool is successfully created. - text: |- - az disk-pool wait --name "myDiskPool" --resource-group "myResourceGroup" --created - - name: Pause executing next line of CLI script until the disk-pool is successfully deleted. - text: |- - az disk-pool wait --name "myDiskPool" --resource-group "myResourceGroup" --deleted -""" - -helps['disk-pool iscsi-target'] = """ - type: group - short-summary: disk-pool iscsi-target -""" - -helps['disk-pool iscsi-target list'] = """ - type: command - short-summary: "Get iSCSI Targets within a Disk Pool." - examples: - - name: List Disk Pools by Resource Group - text: |- - az disk-pool iscsi-target list --disk-pool-name "myDiskPool" --resource-group "myResourceGroup" -""" - -helps['disk-pool iscsi-target show'] = """ - type: command - short-summary: "Gets an iSCSI Target." - examples: - - name: Get an iscsiTarget - text: |- - az disk-pool iscsi-target show --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ -"myResourceGroup" -""" - -helps['disk-pool iscsi-target create'] = """ - type: command - short-summary: "Create an iSCSI target." - examples: - - name: Create or Update an iSCSI Target - text: |- - 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\\",\\"usernam\ -e\\":\\"some_username\\"},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}],\\"attr\ -ibutes\\":{\\"authentication\\":true,\\"prodModeWriteProtect\\":false},\\"luns\\":[{\\"name\\":\\"lun0\\",\\"managedDis\ -kAzureResourceId\\":\\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Mic\ -rosoft.Compute/disks/vm-name_DataDisk_1\\"}]}]" --resource-group "myResourceGroup" -""" - -helps['disk-pool iscsi-target update'] = """ - type: command - short-summary: "Update an iSCSI target." -""" - -helps['disk-pool iscsi-target delete'] = """ - type: command - short-summary: "Deletes an iSCSI Target." - examples: - - name: Delete an iscsiTarget - text: |- - az disk-pool iscsi-target delete --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ -"myResourceGroup" -""" - -helps['disk-pool iscsi-target wait'] = """ - type: command - short-summary: Place the CLI in a waiting state until a condition of the disk-pool iscsi-target is met. - examples: - - name: Pause executing next line of CLI script until the disk-pool iscsi-target is successfully created. - text: |- - az disk-pool iscsi-target wait --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ -"myResourceGroup" --created - - name: Pause executing next line of CLI script until the disk-pool iscsi-target is successfully updated. - text: |- - az disk-pool iscsi-target wait --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ -"myResourceGroup" --updated - - name: Pause executing next line of CLI script until the disk-pool iscsi-target is successfully deleted. - text: |- - az disk-pool iscsi-target wait --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ -"myResourceGroup" --deleted -""" diff --git a/src/diskpool/azext_diskpool/generated/_params.py b/src/diskpool/azext_diskpool/generated/_params.py deleted file mode 100644 index 65ecff537d2..00000000000 --- a/src/diskpool/azext_diskpool/generated/_params.py +++ /dev/null @@ -1,112 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- -# pylint: disable=too-many-lines -# pylint: disable=too-many-statements - -from azure.cli.core.commands.parameters import ( - tags_type, - resource_group_name_type, - get_location_type -) -from azure.cli.core.commands.validators import ( - get_default_location_from_resource_group, - validate_file_or_dict -) -from azext_diskpool.action import ( - AddSku, - AddDisks -) - - -def load_arguments(self, _): - - with self.argument_context('disk-pool list') as c: - c.argument('resource_group_name', resource_group_name_type) - - with self.argument_context('disk-pool show') 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 create') 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.') - c.argument('tags', tags_type) - c.argument('location', arg_type=get_location_type(self.cli_ctx), - validator=get_default_location_from_resource_group) - c.argument('sku', action=AddSku, nargs='*', help='Sku description.') - c.argument('availability_zones', nargs='*', help='Logical zone for DiskPool resource.') - c.argument('disks', action=AddDisks, nargs='*', help='List of Azure managed disks to attach to a DiskPool') - c.argument('subnet_id', type=str, help='Azure resource id of the subnet for the DiskPool') - - with self.argument_context('disk-pool update') 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') - c.argument('tags', tags_type) - c.argument('location', arg_type=get_location_type(self.cli_ctx), - validator=get_default_location_from_resource_group) - c.argument('sku', action=AddSku, nargs='*', help='Sku description.') - c.argument('availability_zones', nargs='*', help='Logical zone for DiskPool resource.') - c.argument('disks', action=AddDisks, nargs='*', help='List of Azure managed disks to attach to a DiskPool') - c.argument('subnet_id', type=str, help='Azure resource id of the subnet for the DiskPool') - - with self.argument_context('disk-pool delete') as c: - c.argument('resource_group_name', resource_group_name_type) - c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' - 'the Disk Pool.', id_part='name') - - with self.argument_context('disk-pool wait') as c: - c.argument('resource_group_name', resource_group_name_type) - c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' - 'the Disk Pool.', id_part='name') - - with self.argument_context('disk-pool 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.') - - with self.argument_context('disk-pool iscsi-target show') 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.', 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') - - with self.argument_context('disk-pool iscsi-target create') 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.') - c.argument('iscsi_target_name', options_list=['--name', '-n', '--iscsi-target-name'], type=str, help='The name ' - 'of the iSCSI target.') - c.argument('tpgs', type=validate_file_or_dict, help='list of iSCSI target portal groups Expected value: ' - 'json-string/@json-file.') - c.argument('target_iqn', type=str, help='iSCSI target iqn (iSCSI Qualified Name); example: ' - 'iqn.2005-03.org.iscsi:server') - - with self.argument_context('disk-pool iscsi-target update') 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.', 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('tpgs', type=validate_file_or_dict, help='list of iSCSI target portal groups Expected value: ' - 'json-string/@json-file.') - c.argument('target_iqn', type=str, help='iSCSI target iqn (iSCSI Qualified Name); example: ' - 'iqn.2005-03.org.iscsi:server') - - with self.argument_context('disk-pool iscsi-target delete') 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.', 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') - - with self.argument_context('disk-pool iscsi-target wait') 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.', 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') diff --git a/src/diskpool/azext_diskpool/generated/_validators.py b/src/diskpool/azext_diskpool/generated/_validators.py deleted file mode 100644 index b33a44c1ebf..00000000000 --- a/src/diskpool/azext_diskpool/generated/_validators.py +++ /dev/null @@ -1,9 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- diff --git a/src/diskpool/azext_diskpool/generated/action.py b/src/diskpool/azext_diskpool/generated/action.py deleted file mode 100644 index 4bc8d6f923b..00000000000 --- a/src/diskpool/azext_diskpool/generated/action.py +++ /dev/null @@ -1,66 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- -# pylint: disable=protected-access - -import argparse -from collections import defaultdict -from knack.util import CLIError - - -class AddSku(argparse.Action): - 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 - try: - properties = defaultdict(list) - for (k, v) in (x.split('=', 1) for x in values): - properties[k].append(v) - properties = dict(properties) - except ValueError: - raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) - d = {} - for k in properties: - kl = k.lower() - v = properties[k] - if kl == 'name': - d['name'] = v[0] - elif kl == 'tier': - d['tier'] = v[0] - elif kl == 'size': - d['size'] = v[0] - elif kl == 'family': - d['family'] = v[0] - elif kl == 'capacity': - d['capacity'] = v[0] - return d - - -class AddDisks(argparse._AppendAction): - def __call__(self, parser, namespace, values, option_string=None): - action = self.get_action(values, option_string) - super(AddDisks, self).__call__(parser, namespace, action, option_string) - - def get_action(self, values, option_string): # pylint: disable=no-self-use - try: - properties = defaultdict(list) - for (k, v) in (x.split('=', 1) for x in values): - properties[k].append(v) - properties = dict(properties) - except ValueError: - raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) - d = {} - for k in properties: - kl = k.lower() - v = properties[k] - if kl == 'id': - d['id'] = v[0] - return d diff --git a/src/diskpool/azext_diskpool/generated/commands.py b/src/diskpool/azext_diskpool/generated/commands.py deleted file mode 100644 index 6282ee3d848..00000000000 --- a/src/diskpool/azext_diskpool/generated/commands.py +++ /dev/null @@ -1,43 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- -# pylint: disable=too-many-statements -# pylint: disable=too-many-locals - -from azure.cli.core.commands import CliCommandType - - -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_pool_operations#DiskPoolOperations.{' - '}', - 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') - g.custom_command('delete', 'disk_pool_delete', supports_no_wait=True, confirmation=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_target_operations#IscsiTargetOperat' - 'ions.{}', - client_factory=cf_iscsi_target) - with self.command_group('disk-pool iscsi-target', diskpool_iscsi_target, client_factory=cf_iscsi_target, - is_experimental=True) as g: - g.custom_command('list', 'disk_pool_iscsi_target_list') - g.custom_show_command('show', 'disk_pool_iscsi_target_show') - g.custom_command('create', 'disk_pool_iscsi_target_create', supports_no_wait=True) - g.custom_command('update', 'disk_pool_iscsi_target_update', supports_no_wait=True) - g.custom_command('delete', 'disk_pool_iscsi_target_delete', supports_no_wait=True, confirmation=True) - g.custom_wait_command('wait', 'disk_pool_iscsi_target_show') diff --git a/src/diskpool/azext_diskpool/generated/custom.py b/src/diskpool/azext_diskpool/generated/custom.py deleted file mode 100644 index 56ac7160fb3..00000000000 --- a/src/diskpool/azext_diskpool/generated/custom.py +++ /dev/null @@ -1,137 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- -# pylint: disable=too-many-lines - -from azure.cli.core.util import sdk_no_wait - - -def disk_pool_list(client, - resource_group_name=None): - if resource_group_name: - return client.list_by_resource_group(resource_group_name=resource_group_name) - return client.list_by_subscription() - - -def disk_pool_show(client, - resource_group_name, - disk_pool_name): - return client.get(resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name) - - -def disk_pool_create(client, - resource_group_name, - disk_pool_name, - location, - tags=None, - sku=None, - availability_zones=None, - disks=None, - subnet_id=None, - no_wait=False): - return sdk_no_wait(no_wait, - client.begin_create_or_update, - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - tags=tags, - location=location, - sku=sku, - availability_zones=availability_zones, - disks=disks, - subnet_id=subnet_id) - - -def disk_pool_update(client, - resource_group_name, - disk_pool_name, - location, - tags=None, - sku=None, - availability_zones=None, - disks=None, - subnet_id=None): - return client.update(resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - tags=tags, - location=location, - sku=sku, - availability_zones=availability_zones, - disks=disks, - subnet_id=subnet_id) - - -def disk_pool_delete(client, - resource_group_name, - disk_pool_name, - no_wait=False): - return sdk_no_wait(no_wait, - client.begin_delete, - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name) - - -def disk_pool_iscsi_target_list(client, - resource_group_name, - disk_pool_name): - return client.list_by_disk_pool(resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name) - - -def disk_pool_iscsi_target_show(client, - resource_group_name, - disk_pool_name, - iscsi_target_name): - return client.get(resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_name) - - -def disk_pool_iscsi_target_create(client, - resource_group_name, - disk_pool_name, - iscsi_target_name, - tpgs=None, - target_iqn=None, - no_wait=False): - return sdk_no_wait(no_wait, - client.begin_create_or_update, - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_name, - tpgs=tpgs, - target_iqn=target_iqn) - - -def disk_pool_iscsi_target_update(client, - resource_group_name, - disk_pool_name, - iscsi_target_name, - tpgs=None, - target_iqn=None, - no_wait=False): - return sdk_no_wait(no_wait, - client.begin_create_or_update, - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_name, - tpgs=tpgs, - target_iqn=target_iqn) - - -def disk_pool_iscsi_target_delete(client, - resource_group_name, - disk_pool_name, - iscsi_target_name, - no_wait=False): - return sdk_no_wait(no_wait, - client.begin_delete, - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_name) diff --git a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py index 8fa3446b9fd..c35f2f86bfb 100644 --- a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py +++ b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py @@ -10,197 +10,88 @@ import os from azure.cli.testsdk import ScenarioTest -from .. import try_manual, raise_if, calc_coverage from azure.cli.testsdk import ResourceGroupPreparer from .preparers import VirtualNetworkPreparer +from .example_steps import step_create +from .example_steps import step_show +from .example_steps import step_list +from .example_steps import step_list +from .example_steps import step_update +from .example_steps import step_iscsi_target_create +from .example_steps import step_iscsi_target_show +from .example_steps import step_iscsi_target_list +from .example_steps import step_iscsi_target_delete +from .example_steps import step_delete +from .. import ( + try_manual, + raise_if, + calc_coverage +) TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) -# Env setup +# Env setup_scenario @try_manual -def setup(test, rg): +def setup_scenario(test, rg): pass -# EXAMPLE: /DiskPools/put/Create or Update a Disk Pool +# Env cleanup_scenario @try_manual -def step__diskpools_put_create_or_update_a_disk_pool(test, rg): - test.cmd('az disk-pool create ' - '--name "{myDiskPool}" ' - '--location "westus" ' - '--availability-zones "1" ' - '--disks id="/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Compute/disks/vm-nam' - 'e_DataDisk_0" ' - '--disks id="/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Compute/disks/vm-nam' - 'e_DataDisk_1" ' - '--subnet-id "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtualNetw' - 'orks/{vn}/subnets/default" ' - '--sku name="Standard_ABC" ' - '--tags key="value" ' - '--resource-group "{rg}"', - checks=[ - test.check("name", "{myDiskPool}", case_sensitive=False), - test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Netwo" - "rk/virtualNetworks/{vn}/subnets/default", case_sensitive=False), - ]) - test.cmd('az disk-pool wait --created ' - '--name "{myDiskPool}" ' - '--resource-group "{rg}"', - checks=[]) - - -# EXAMPLE: /DiskPools/get/Get a diskPool -@try_manual -def step__diskpools_get_get_a_diskpool(test, rg): - test.cmd('az disk-pool show ' - '--name "{myDiskPool}" ' - '--resource-group "{rg}"', - checks=[ - test.check("name", "{myDiskPool}", case_sensitive=False), - test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Netwo" - "rk/virtualNetworks/{vn}/subnets/default", case_sensitive=False), - ]) - - -# EXAMPLE: /DiskPools/get/List Disk Pools -@try_manual -def step__diskpools_get_list_disk_pools(test, rg): - test.cmd('az disk-pool list ' - '--resource-group "{rg}"', - checks=[ - test.check('length(@)', 1), - ]) - - -# EXAMPLE: /DiskPools/get/List Disk Pools by subscription -@try_manual -def step__diskpools_get(test, rg): - test.cmd('az disk-pool list ' - '-g ""', - checks=[ - test.check('length(@)', 1), - ]) - - -# EXAMPLE: /DiskPools/patch/Update Disk Pool -@try_manual -def step__diskpools_patch_update_disk_pool(test, rg): - test.cmd('az disk-pool update ' - '--name "{myDiskPool}" ' - '--location "westus" ' - '--availability-zones "1" ' - '--disks id="/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Compute/disks/vm-nam' - 'e_DataDisk_0" ' - '--disks id="/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Compute/disks/vm-nam' - 'e_DataDisk_1" ' - '--subnet-id "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtualNetw' - 'orks/{vn}/subnets/default" ' - '--tags key="value" ' - '--resource-group "{rg}"', - checks=[ - test.check("name", "{myDiskPool}", case_sensitive=False), - test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Netwo" - "rk/virtualNetworks/{vn}/subnets/default", case_sensitive=False), - ]) - - -# EXAMPLE: /IscsiTargets/put/Create or Update an iSCSI Target -@try_manual -def step__iscsitargets_put(test, rg): - test.cmd('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_us' - 'ername\\"}},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}}],\\"att' - 'ributes\\":{{\\"authentication\\":true,\\"prodModeWriteProtect\\":false}},\\"luns\\":[{{\\"name\\":\\"lun' - '0\\",\\"managedDiskAzureResourceId\\":\\"/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/M' - 'icrosoft.Compute/disks/vm-name_DataDisk_1\\"}}]}}]" ' - '--resource-group "{rg}"', - checks=[ - test.check("name", "{myIscsiTarget}", case_sensitive=False), - test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), - ]) - test.cmd('az disk-pool iscsi-target wait --created ' - '--name "{myIscsiTarget}" ' - '--resource-group "{rg}"', - checks=[]) - - -# EXAMPLE: /IscsiTargets/get/Get an iscsiTarget -@try_manual -def step__iscsitargets_get_get_an_iscsitarget(test, rg): - test.cmd('az disk-pool iscsi-target show ' - '--disk-pool-name "{myDiskPool}" ' - '--name "{myIscsiTarget}" ' - '--resource-group "{rg}"', - checks=[ - test.check("name", "{myIscsiTarget}", case_sensitive=False), - test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), - ]) - - -# EXAMPLE: /IscsiTargets/get/List Disk Pools by Resource Group -@try_manual -def step__iscsitargets_get(test, rg): - test.cmd('az disk-pool iscsi-target list ' - '--disk-pool-name "{myDiskPool}" ' - '--resource-group "{rg}"', - checks=[ - test.check('length(@)', 1), - ]) - - -# EXAMPLE: /IscsiTargets/delete/Delete an iscsiTarget -@try_manual -def step__iscsitargets_delete_delete_an_iscsitarget(test, rg): - test.cmd('az disk-pool iscsi-target delete -y ' - '--disk-pool-name "{myDiskPool}" ' - '--name "{myIscsiTarget}" ' - '--resource-group "{rg}"', - checks=[]) - - -# EXAMPLE: /DiskPools/delete/Update Disk Pool -@try_manual -def step__diskpools_delete_update_disk_pool(test, rg): - test.cmd('az disk-pool delete -y ' - '--name "{myDiskPool}" ' - '--resource-group "{rg}"', - checks=[]) - - -# Env cleanup -@try_manual -def cleanup(test, rg): +def cleanup_scenario(test, rg): pass -# Testcase +# Testcase: Scenario @try_manual def call_scenario(test, rg): - setup(test, rg) - step__diskpools_put_create_or_update_a_disk_pool(test, rg) - step__diskpools_get_get_a_diskpool(test, rg) - step__diskpools_get_list_disk_pools(test, rg) - step__diskpools_get(test, rg) - step__diskpools_patch_update_disk_pool(test, rg) - step__iscsitargets_put(test, rg) - step__iscsitargets_get_get_an_iscsitarget(test, rg) - step__iscsitargets_get(test, rg) - step__iscsitargets_delete_delete_an_iscsitarget(test, rg) - step__diskpools_delete_update_disk_pool(test, rg) - cleanup(test, rg) - - + setup_scenario(test, rg) + step_create(test, rg, checks=[ + test.check("name", "{myDiskPool}", case_sensitive=False), + test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" + "lNetworks/{vn}/subnets/default", case_sensitive=False), + ]) + step_show(test, rg, checks=[ + test.check("name", "{myDiskPool}", case_sensitive=False), + test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" + "lNetworks/{vn}/subnets/default", case_sensitive=False), + ]) + step_list(test, rg, checks=[ + test.check('length(@)', 1), + ]) + step_list(test, rg, checks=[ + test.check('length(@)', 1), + ]) + step_update(test, rg, checks=[ + test.check("name", "{myDiskPool}", case_sensitive=False), + test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" + "lNetworks/{vn}/subnets/default", case_sensitive=False), + ]) + step_iscsi_target_create(test, rg, checks=[ + test.check("name", "{myIscsiTarget}", case_sensitive=False), + test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), + ]) + step_iscsi_target_show(test, rg, checks=[ + test.check("name", "{myIscsiTarget}", case_sensitive=False), + test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), + ]) + step_iscsi_target_list(test, rg, checks=[ + test.check('length(@)', 1), + ]) + step_iscsi_target_delete(test, rg, checks=[]) + step_delete(test, rg, checks=[]) + cleanup_scenario(test, rg) + + +# Test class for Scenario @try_manual -class StoragePoolManagementScenarioTest(ScenarioTest): +class DiskpoolScenarioTest(ScenarioTest): @ResourceGroupPreparer(name_prefix='clitestdiskpool_myResourceGroup'[:7], key='rg', parameter_name='rg') @VirtualNetworkPreparer(name_prefix='clitestdiskpool_myvnet'[:7], key='vn', resource_group_key='rg') - def test_diskpool(self, rg): + def test_diskpool_Scenario(self, rg): self.kwargs.update({ 'subscription_id': self.get_subscription_id() @@ -214,3 +105,4 @@ def test_diskpool(self, rg): call_scenario(self, rg) calc_coverage(__file__) raise_if() + diff --git a/src/diskpool/azext_diskpool/vendored_sdks/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/__init__.py deleted file mode 100644 index c9cfdc73e77..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/__init__.py +++ /dev/null @@ -1,12 +0,0 @@ -# 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. -# -------------------------------------------------------------------------- - -__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py deleted file mode 100644 index 40013efe44d..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py +++ /dev/null @@ -1,16 +0,0 @@ -# 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 ._storage_pool_management import StoragePoolManagement -__all__ = ['StoragePoolManagement'] - -try: - from ._patch import patch_sdk # type: ignore - patch_sdk() -except ImportError: - pass diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py deleted file mode 100644 index cb67cb735d4..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py +++ /dev/null @@ -1,70 +0,0 @@ -# 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 - -from azure.core.configuration import Configuration -from azure.core.pipeline import policies -from azure.mgmt.core.policies import ARMHttpLoggingPolicy - -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. - - Note that all parameters used to create this instance are saved as instance - attributes. - - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials.TokenCredential - :param subscription_id: The ID of the target subscription. - :type subscription_id: str - """ - - def __init__( - self, - credential, # type: "TokenCredential" - subscription_id, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - if credential is None: - raise ValueError("Parameter 'credential' must not be None.") - if subscription_id is None: - raise ValueError("Parameter 'subscription_id' must not be None.") - super(StoragePoolManagementConfiguration, self).__init__(**kwargs) - - self.credential = credential - self.subscription_id = subscription_id - self.api_version = "2020-03-15-preview" - self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) - kwargs.setdefault('sdk_moniker', 'storagepoolmanagement/{}'.format(VERSION)) - self._configure(**kwargs) - - def _configure( - self, - **kwargs # type: Any - ): - # type: (...) -> None - self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) - self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) - self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) - self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) - self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) - self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) - self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) - self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) - self.authentication_policy = kwargs.get('authentication_policy') - if self.credential and not self.authentication_policy: - self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) 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 deleted file mode 100644 index af766862e5a..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_storage_pool_management.py +++ /dev/null @@ -1,80 +0,0 @@ -# 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 - -from azure.mgmt.core import ARMPipelineClient -from msrest import Deserializer, Serializer - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Optional - - from azure.core.credentials import TokenCredential - -from ._configuration import StoragePoolManagementConfiguration -from .operations import OperationOperations -from .operations import DiskPoolOperations -from .operations import IscsiTargetOperations -from . import models - - -class StoragePoolManagement(object): - """StoragePoolManagement. - - :ivar operation: OperationOperations operations - :vartype operation: storage_pool_management.operations.OperationOperations - :ivar disk_pool: DiskPoolOperations operations - :vartype disk_pool: storage_pool_management.operations.DiskPoolOperations - :ivar iscsi_target: IscsiTargetOperations operations - :vartype iscsi_target: storage_pool_management.operations.IscsiTargetOperations - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials.TokenCredential - :param subscription_id: The ID of the target subscription. - :type subscription_id: str - :param str base_url: Service URL - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - """ - - def __init__( - self, - credential, # type: "TokenCredential" - subscription_id, # type: str - base_url=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> None - if not base_url: - base_url = 'https://management.azure.com' - self._config = StoragePoolManagementConfiguration(credential, subscription_id, **kwargs) - self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) - - client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False - self._deserialize = Deserializer(client_models) - - self.operation = OperationOperations( - self._client, self._config, self._serialize, self._deserialize) - self.disk_pool = DiskPoolOperations( - self._client, self._config, self._serialize, self._deserialize) - self.iscsi_target = IscsiTargetOperations( - self._client, self._config, self._serialize, self._deserialize) - - def close(self): - # type: () -> None - self._client.close() - - def __enter__(self): - # type: () -> StoragePoolManagement - self._client.__enter__() - return self - - def __exit__(self, *exc_details): - # type: (Any) -> None - self._client.__exit__(*exc_details) diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/__init__.py deleted file mode 100644 index 9eb7de1efa2..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/__init__.py +++ /dev/null @@ -1,10 +0,0 @@ -# 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 ._storage_pool_management import StoragePoolManagement -__all__ = ['StoragePoolManagement'] diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py deleted file mode 100644 index 1aa64ffe5b1..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py +++ /dev/null @@ -1,66 +0,0 @@ -# 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, TYPE_CHECKING - -from azure.core.configuration import Configuration -from azure.core.pipeline import policies -from azure.mgmt.core.policies import ARMHttpLoggingPolicy - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from azure.core.credentials_async import AsyncTokenCredential - -VERSION = "unknown" - -class StoragePoolManagementConfiguration(Configuration): - """Configuration for StoragePoolManagement. - - Note that all parameters used to create this instance are saved as instance - attributes. - - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials_async.AsyncTokenCredential - :param subscription_id: The ID of the target subscription. - :type subscription_id: str - """ - - def __init__( - self, - credential: "AsyncTokenCredential", - subscription_id: str, - **kwargs: Any - ) -> None: - if credential is None: - raise ValueError("Parameter 'credential' must not be None.") - if subscription_id is None: - raise ValueError("Parameter 'subscription_id' must not be None.") - super(StoragePoolManagementConfiguration, self).__init__(**kwargs) - - self.credential = credential - self.subscription_id = subscription_id - self.api_version = "2020-03-15-preview" - self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) - kwargs.setdefault('sdk_moniker', 'storagepoolmanagement/{}'.format(VERSION)) - self._configure(**kwargs) - - def _configure( - self, - **kwargs: Any - ) -> None: - self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) - self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) - self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) - self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) - self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) - self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) - self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) - self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) - self.authentication_policy = kwargs.get('authentication_policy') - if self.credential and not self.authentication_policy: - self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) 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 deleted file mode 100644 index 66d98a2205d..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_storage_pool_management.py +++ /dev/null @@ -1,74 +0,0 @@ -# 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, Optional, TYPE_CHECKING - -from azure.mgmt.core import AsyncARMPipelineClient -from msrest import Deserializer, Serializer - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from azure.core.credentials_async import AsyncTokenCredential - -from ._configuration import StoragePoolManagementConfiguration -from .operations import OperationOperations -from .operations import DiskPoolOperations -from .operations import IscsiTargetOperations -from .. import models - - -class StoragePoolManagement(object): - """StoragePoolManagement. - - :ivar operation: OperationOperations operations - :vartype operation: storage_pool_management.aio.operations.OperationOperations - :ivar disk_pool: DiskPoolOperations operations - :vartype disk_pool: storage_pool_management.aio.operations.DiskPoolOperations - :ivar iscsi_target: IscsiTargetOperations operations - :vartype iscsi_target: storage_pool_management.aio.operations.IscsiTargetOperations - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials_async.AsyncTokenCredential - :param subscription_id: The ID of the target subscription. - :type subscription_id: str - :param str base_url: Service URL - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - """ - - def __init__( - self, - credential: "AsyncTokenCredential", - subscription_id: str, - base_url: Optional[str] = None, - **kwargs: Any - ) -> None: - if not base_url: - base_url = 'https://management.azure.com' - self._config = StoragePoolManagementConfiguration(credential, subscription_id, **kwargs) - self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) - - client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False - self._deserialize = Deserializer(client_models) - - self.operation = OperationOperations( - self._client, self._config, self._serialize, self._deserialize) - self.disk_pool = DiskPoolOperations( - self._client, self._config, self._serialize, self._deserialize) - self.iscsi_target = IscsiTargetOperations( - self._client, self._config, self._serialize, self._deserialize) - - async def close(self) -> None: - await self._client.close() - - async def __aenter__(self) -> "StoragePoolManagement": - await self._client.__aenter__() - return self - - async def __aexit__(self, *exc_details) -> None: - await self._client.__aexit__(*exc_details) 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 deleted file mode 100644 index ee3e1450aed..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/__init__.py +++ /dev/null @@ -1,17 +0,0 @@ -# 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 ._operation_operations import OperationOperations -from ._disk_pool_operations import DiskPoolOperations -from ._iscsi_target_operations import IscsiTargetOperations - -__all__ = [ - 'OperationOperations', - 'DiskPoolOperations', - 'IscsiTargetOperations', -] diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pool_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pool_operations.py deleted file mode 100644 index c6fe949cdd9..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pool_operations.py +++ /dev/null @@ -1,590 +0,0 @@ -# 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, List, Optional, TypeVar, Union -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.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class DiskPoolOperations: - """DiskPoolOperations 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_by_subscription( - self, - **kwargs - ) -> AsyncIterable["models.DiskPoolListResult"]: - """Gets a list of Disk Pools in a subscription. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.DiskPoolListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_subscription.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - 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('DiskPoolListResult', 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_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools'} # type: ignore - - def list_by_resource_group( - self, - resource_group_name: str, - **kwargs - ) -> AsyncIterable["models.DiskPoolListResult"]: - """Gets a list of DiskPools. - - :param resource_group_name: The name of the resource group. The name is case insensitive. - :type resource_group_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.DiskPoolListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_resource_group.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]$'), - } - 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('DiskPoolListResult', 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_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools'} # type: ignore - - async def _create_or_update_initial( - self, - resource_group_name: str, - disk_pool_name: str, - location: str, - tags: Optional[Dict[str, str]] = None, - sku: Optional["models.Sku"] = None, - availability_zones: Optional[List[str]] = None, - disks: Optional[List["models.Disk"]] = None, - subnet_id: Optional[str] = None, - **kwargs - ) -> "models.DiskPool": - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - - disk_pool_payload = models.DiskPool(tags=tags, location=location, sku=sku, availability_zones=availability_zones, disks=disks, subnet_id=subnet_id) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_payload, 'DiskPool') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - 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 response.status_code == 200: - deserialized = self._deserialize('DiskPool', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def begin_create_or_update( - self, - resource_group_name: str, - disk_pool_name: str, - location: str, - tags: Optional[Dict[str, str]] = None, - sku: Optional["models.Sku"] = None, - availability_zones: Optional[List[str]] = None, - disks: Optional[List["models.Disk"]] = None, - subnet_id: Optional[str] = None, - **kwargs - ) -> AsyncLROPoller["models.DiskPool"]: - """Create a new Disk Pool. - - :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 - :param location: The geo-location where the resource lives. - :type location: str - :param tags: Resource tags. - :type tags: dict[str, str] - :param sku: Sku description. - :type sku: ~storage_pool_management.models.Sku - :param availability_zones: Logical zone for DiskPool resource. - :type availability_zones: list[str] - :param disks: List of Azure managed disks to attach to a DiskPool. - :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Azure resource id of the subnet for the DiskPool. - :type subnet_id: 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 DiskPool or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.DiskPool] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - 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._create_or_update_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - location=location, - tags=tags, - sku=sku, - availability_zones=availability_zones, - disks=disks, - subnet_id=subnet_id, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def update( - self, - resource_group_name: str, - disk_pool_name: str, - location: str, - tags: Optional[Dict[str, str]] = None, - sku: Optional["models.Sku"] = None, - availability_zones: Optional[List[str]] = None, - disks: Optional[List["models.Disk"]] = None, - subnet_id: Optional[str] = None, - **kwargs - ) -> "models.DiskPool": - """Update a Storage Pool. - - :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 - :param location: The geo-location where the resource lives. - :type location: str - :param tags: Resource tags. - :type tags: dict[str, str] - :param sku: Sku description. - :type sku: ~storage_pool_management.models.Sku - :param availability_zones: Logical zone for DiskPool resource. - :type availability_zones: list[str] - :param disks: List of Azure managed disks to attach to a DiskPool. - :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Azure resource id of the subnet for the DiskPool. - :type subnet_id: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DiskPool, or the result of cls(response) - :rtype: ~storage_pool_management.models.DiskPool - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - - disk_pool_payload = models.DiskPool(tags=tags, location=location, sku=sku, availability_zones=availability_zones, disks=disks, subnet_id=subnet_id) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.update.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_payload, 'DiskPool') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - 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) - - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def _delete_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 = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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.delete(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, 204]: - 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, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def begin_delete( - self, - resource_group_name: str, - disk_pool_name: str, - **kwargs - ) -> AsyncLROPoller[None]: - """Delete a Disk Pool. - - :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._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - disk_pool_name: str, - **kwargs - ) -> "models.DiskPool": - """Get a Disk Pool. - - :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 - :return: DiskPool, or the result of cls(response) - :rtype: ~storage_pool_management.models.DiskPool - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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.get(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]: - 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) - - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_iscsi_target_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_iscsi_target_operations.py deleted file mode 100644 index b8eb1d87aef..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_iscsi_target_operations.py +++ /dev/null @@ -1,442 +0,0 @@ -# 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, List, Optional, TypeVar, Union -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.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class IscsiTargetOperations: - """IscsiTargetOperations 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_by_disk_pool( - self, - resource_group_name: str, - disk_pool_name: str, - **kwargs - ) -> AsyncIterable["models.IscsiTargetList"]: - """Get iSCSI Targets within a Disk Pool. - - :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 - :return: An iterator like instance of either IscsiTargetList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.IscsiTargetList] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTargetList"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_disk_pool.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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('IscsiTargetList', 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_by_disk_pool.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets'} # type: ignore - - async def _create_or_update_initial( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_name: str, - tpgs: Optional[List["models.TargetPortalGroup"]] = None, - target_iqn: Optional[str] = None, - **kwargs - ) -> "models.IscsiTarget": - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - - iscsi_target_payload = models.IscsiTarget(tpgs=tpgs, target_iqn=target_iqn) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(iscsi_target_payload, 'IscsiTarget') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - 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 response.status_code == 200: - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - async def begin_create_or_update( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_name: str, - tpgs: Optional[List["models.TargetPortalGroup"]] = None, - target_iqn: Optional[str] = None, - **kwargs - ) -> AsyncLROPoller["models.IscsiTarget"]: - """Create or Update an iSCSI target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_name: str - :param tpgs: list of iSCSI target portal groups. - :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] - :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: - iqn.2005-03.org.iscsi:server. - :type target_iqn: 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 IscsiTarget or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.IscsiTarget] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - 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._create_or_update_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_name, - tpgs=tpgs, - target_iqn=target_iqn, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - async def _delete_initial( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_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 = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.delete(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, 204]: - 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, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - async def begin_delete( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_name: str, - **kwargs - ) -> AsyncLROPoller[None]: - """Deletes an iSCSI Target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_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._delete_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_name: str, - **kwargs - ) -> "models.IscsiTarget": - """Gets an iSCSI Target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IscsiTarget, or the result of cls(response) - :rtype: ~storage_pool_management.models.IscsiTarget - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.get(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]: - 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) - - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_operation_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_operation_operations.py deleted file mode 100644 index a166417420e..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_operation_operations.py +++ /dev/null @@ -1,105 +0,0 @@ -# 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 OperationOperations: - """OperationOperations 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, - **kwargs - ) -> AsyncIterable["models.StoragePoolOperationListResult"]: - """Gets a list of StoragePool operations. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either StoragePoolOperationListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.StoragePoolOperationListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.StoragePoolOperationListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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 - # 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('StoragePoolOperationListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return 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': '/providers/Microsoft.StoragePool/operations'} # 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 deleted file mode 100644 index 8263c9a93e7..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/__init__.py +++ /dev/null @@ -1,82 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - -try: - from ._models_py3 import Acl - from ._models_py3 import Attributes - from ._models_py3 import Disk - from ._models_py3 import DiskPool - from ._models_py3 import DiskPoolListResult - from ._models_py3 import Error - from ._models_py3 import ErrorAdditionalInfo - from ._models_py3 import ErrorResponse - from ._models_py3 import IscsiLun - from ._models_py3 import IscsiTarget - from ._models_py3 import IscsiTargetList - from ._models_py3 import ProxyResource - from ._models_py3 import Resource - from ._models_py3 import Sku - from ._models_py3 import StoragePoolOperationDisplay - from ._models_py3 import StoragePoolOperationListResult - from ._models_py3 import StoragePoolRPOperation - from ._models_py3 import SystemMetadata - from ._models_py3 import TargetPortalGroup - from ._models_py3 import TrackedResource -except (SyntaxError, ImportError): - from ._models import Acl # type: ignore - from ._models import Attributes # type: ignore - from ._models import Disk # type: ignore - from ._models import DiskPool # type: ignore - from ._models import DiskPoolListResult # type: ignore - from ._models import Error # type: ignore - from ._models import ErrorAdditionalInfo # type: ignore - from ._models import ErrorResponse # type: ignore - from ._models import IscsiLun # type: ignore - from ._models import IscsiTarget # type: ignore - from ._models import IscsiTargetList # type: ignore - from ._models import ProxyResource # type: ignore - from ._models import Resource # type: ignore - from ._models import Sku # type: ignore - from ._models import StoragePoolOperationDisplay # type: ignore - from ._models import StoragePoolOperationListResult # type: ignore - from ._models import StoragePoolRPOperation # type: ignore - from ._models import SystemMetadata # type: ignore - from ._models import TargetPortalGroup # type: ignore - from ._models import TrackedResource # type: ignore - -from ._storage_pool_management_enums import ( - OperationalStatus, - ProvisioningStates, - SkuTier, -) - -__all__ = [ - 'Acl', - 'Attributes', - 'Disk', - 'DiskPool', - 'DiskPoolListResult', - 'Error', - 'ErrorAdditionalInfo', - 'ErrorResponse', - 'IscsiLun', - 'IscsiTarget', - 'IscsiTargetList', - 'ProxyResource', - 'Resource', - 'Sku', - 'StoragePoolOperationDisplay', - 'StoragePoolOperationListResult', - 'StoragePoolRPOperation', - 'SystemMetadata', - 'TargetPortalGroup', - 'TrackedResource', - 'OperationalStatus', - 'ProvisioningStates', - 'SkuTier', -] diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py deleted file mode 100644 index ecc8ee7597c..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py +++ /dev/null @@ -1,800 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - -from azure.core.exceptions import HttpResponseError -import msrest.serialization - - -class Acl(msrest.serialization.Model): - """Access Control List (ACL) for an iSCSI target lun. - - All required parameters must be populated in order to send to Azure. - - :param initiator_iqn: Required. iSCSI initiator iqn (iSCSI Qualified Name); example: - iqn.2005-03.org.iscsi:client. - :type initiator_iqn: str - :param mapped_luns: Required. Array of lun names mapped to the ACL. - :type mapped_luns: list[str] - :param username: Username for Challenge Handshake Authentication Protocol (CHAP) - authentication. - :type username: str - :param password: Password for Challenge Handshake Authentication Protocol (CHAP) - authentication. - :type password: str - """ - - _validation = { - 'initiator_iqn': {'required': True}, - 'mapped_luns': {'required': True}, - 'username': {'max_length': 128, 'min_length': 7}, - 'password': {'max_length': 512, 'min_length': 12}, - } - - _attribute_map = { - 'initiator_iqn': {'key': 'initiatorIqn', 'type': 'str'}, - 'mapped_luns': {'key': 'mappedLuns', 'type': '[str]'}, - 'username': {'key': 'credentials.username', 'type': 'str'}, - 'password': {'key': 'credentials.password', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Acl, self).__init__(**kwargs) - self.initiator_iqn = kwargs['initiator_iqn'] - self.mapped_luns = kwargs['mapped_luns'] - self.username = kwargs.get('username', None) - self.password = kwargs.get('password', None) - - -class Attributes(msrest.serialization.Model): - """Attributes of an iSCSI target. - - All required parameters must be populated in order to send to Azure. - - :param authentication: Required. Indicates whether or not authentication is enabled on the ACL. - :type authentication: bool - :param prod_mode_write_protect: Required. Indicates whether or not write protect is enabled on - the luns. - :type prod_mode_write_protect: bool - """ - - _validation = { - 'authentication': {'required': True}, - 'prod_mode_write_protect': {'required': True}, - } - - _attribute_map = { - 'authentication': {'key': 'authentication', 'type': 'bool'}, - 'prod_mode_write_protect': {'key': 'prodModeWriteProtect', 'type': 'bool'}, - } - - def __init__( - self, - **kwargs - ): - super(Attributes, self).__init__(**kwargs) - self.authentication = kwargs['authentication'] - self.prod_mode_write_protect = kwargs['prod_mode_write_protect'] - - -class Disk(msrest.serialization.Model): - """Managed disk to attach to the DiskPool. Required. - - All required parameters must be populated in order to send to Azure. - - :param id: Required. Unique Azure resource id of the managed disk. Required. - :type id: str - """ - - _validation = { - 'id': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Disk, self).__init__(**kwargs) - self.id = kwargs['id'] - - -class Resource(msrest.serialization.Model): - """ARM resource model definition. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Resource, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - - -class TrackedResource(Resource): - """The resource model definition for a ARM tracked top level resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(TrackedResource, self).__init__(**kwargs) - self.tags = kwargs.get('tags', None) - self.location = kwargs['location'] - - -class DiskPool(TrackedResource): - """Request payload for Create or Update Disk Pool requests. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - :param sku: Sku description. - :type sku: ~storage_pool_management.models.Sku - :ivar system_data: Resource metadata required by ARM RPC. - :vartype system_data: ~storage_pool_management.models.SystemMetadata - :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: - "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". - :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :param availability_zones: Logical zone for DiskPool resource. - :type availability_zones: list[str] - :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", - "Unknown", "Healthy", "Unhealthy". - :vartype status: str or ~storage_pool_management.models.OperationalStatus - :param disks: List of Azure managed disks to attach to a DiskPool. - :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Azure resource id of the subnet for the DiskPool. - :type subnet_id: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - 'system_data': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - 'status': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - 'sku': {'key': 'sku', 'type': 'Sku'}, - 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, - 'status': {'key': 'properties.status', 'type': 'str'}, - 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, - 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(DiskPool, self).__init__(**kwargs) - self.sku = kwargs.get('sku', None) - self.system_data = None - self.provisioning_state = None - self.availability_zones = kwargs.get('availability_zones', None) - self.status = None - self.disks = kwargs.get('disks', None) - self.subnet_id = kwargs.get('subnet_id', None) - - -class DiskPoolListResult(msrest.serialization.Model): - """List of Disk Pools. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. An array of Disk Pool objects. - :type value: list[~storage_pool_management.models.DiskPool] - :ivar next_link: URI to fetch the next section of the paginated response. - :vartype next_link: str - """ - - _validation = { - 'value': {'required': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[DiskPool]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(DiskPoolListResult, self).__init__(**kwargs) - self.value = kwargs['value'] - self.next_link = None - - -class Error(msrest.serialization.Model): - """The resource management error response. - - :param error: RP error response. - :type error: ~storage_pool_management.models.ErrorResponse - """ - - _attribute_map = { - 'error': {'key': 'error', 'type': 'ErrorResponse'}, - } - - def __init__( - self, - **kwargs - ): - super(Error, self).__init__(**kwargs) - self.error = kwargs.get('error', None) - - -class ErrorAdditionalInfo(msrest.serialization.Model): - """The resource management error additional info. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar type: The additional info type. - :vartype type: str - :ivar info: The additional info. - :vartype info: object - """ - - _validation = { - 'type': {'readonly': True}, - 'info': {'readonly': True}, - } - - _attribute_map = { - 'type': {'key': 'type', 'type': 'str'}, - 'info': {'key': 'info', 'type': 'object'}, - } - - def __init__( - self, - **kwargs - ): - super(ErrorAdditionalInfo, self).__init__(**kwargs) - self.type = None - self.info = None - - -class ErrorResponse(msrest.serialization.Model): - """The resource management error response. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar code: The error code. - :vartype code: str - :ivar message: The error message. - :vartype message: str - :ivar target: The error target. - :vartype target: str - :ivar details: The error details. - :vartype details: list[~storage_pool_management.models.ErrorResponse] - :ivar additional_info: The error additional info. - :vartype additional_info: list[~storage_pool_management.models.ErrorAdditionalInfo] - """ - - _validation = { - 'code': {'readonly': True}, - 'message': {'readonly': True}, - 'target': {'readonly': True}, - 'details': {'readonly': True}, - 'additional_info': {'readonly': True}, - } - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - 'target': {'key': 'target', 'type': 'str'}, - 'details': {'key': 'details', 'type': '[ErrorResponse]'}, - 'additional_info': {'key': 'additionalInfo', 'type': '[ErrorAdditionalInfo]'}, - } - - def __init__( - self, - **kwargs - ): - super(ErrorResponse, self).__init__(**kwargs) - self.code = None - self.message = None - self.target = None - self.details = None - self.additional_info = None - - -class IscsiLun(msrest.serialization.Model): - """Lun to expose the ManagedDisk. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. Lun name. - :type name: str - :param managed_disk_azure_resource_id: Required. Unique Azure resource id of the managed disk. - Required. - :type managed_disk_azure_resource_id: str - """ - - _validation = { - 'name': {'required': True}, - 'managed_disk_azure_resource_id': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'managed_disk_azure_resource_id': {'key': 'managedDiskAzureResourceId', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(IscsiLun, self).__init__(**kwargs) - self.name = kwargs['name'] - self.managed_disk_azure_resource_id = kwargs['managed_disk_azure_resource_id'] - - -class IscsiTarget(Resource): - """Payload for iSCSI Target Create or Update requests. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: - "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". - :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", - "Unknown", "Healthy", "Unhealthy". - :vartype status: str or ~storage_pool_management.models.OperationalStatus - :param tpgs: list of iSCSI target portal groups. - :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] - :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: - iqn.2005-03.org.iscsi:server. - :type target_iqn: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - 'status': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'status': {'key': 'properties.status', 'type': 'str'}, - 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroup]'}, - 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(IscsiTarget, self).__init__(**kwargs) - self.provisioning_state = None - self.status = None - self.tpgs = kwargs.get('tpgs', None) - self.target_iqn = kwargs.get('target_iqn', None) - - -class IscsiTargetList(msrest.serialization.Model): - """List of iSCSI Targets. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. An array of iSCSI targets within a Disk Pool. - :type value: list[~storage_pool_management.models.IscsiTarget] - :ivar next_link: URI to fetch the next section of the paginated response. - :vartype next_link: str - """ - - _validation = { - 'value': {'required': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[IscsiTarget]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(IscsiTargetList, self).__init__(**kwargs) - self.value = kwargs['value'] - self.next_link = None - - -class ProxyResource(Resource): - """The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ProxyResource, self).__init__(**kwargs) - - -class Sku(msrest.serialization.Model): - """The resource model definition representing SKU. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code. - :type name: str - :param tier: This field is required to be implemented by the Resource Provider if the service - has more than one tier, but is not required on a PUT. Possible values include: "Free", "Basic", - "Standard", "Premium". - :type tier: str or ~storage_pool_management.models.SkuTier - :param size: The SKU size. When the name field is the combination of tier and some other value, - this would be the standalone code. - :type size: str - :param family: If the service has different generations of hardware, for the same SKU, then - that can be captured here. - :type family: str - :param capacity: If the SKU supports scale out/in then the capacity integer should be included. - If scale out/in is not possible for the resource this may be omitted. - :type capacity: int - """ - - _validation = { - 'name': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'tier': {'key': 'tier', 'type': 'str'}, - 'size': {'key': 'size', 'type': 'str'}, - 'family': {'key': 'family', 'type': 'str'}, - 'capacity': {'key': 'capacity', 'type': 'int'}, - } - - def __init__( - self, - **kwargs - ): - super(Sku, self).__init__(**kwargs) - self.name = kwargs['name'] - self.tier = kwargs.get('tier', None) - self.size = kwargs.get('size', None) - self.family = kwargs.get('family', None) - self.capacity = kwargs.get('capacity', None) - - -class StoragePoolOperationDisplay(msrest.serialization.Model): - """Metadata about an operation. - - All required parameters must be populated in order to send to Azure. - - :param provider: Required. Localized friendly form of the resource provider name. - :type provider: str - :param resource: Required. Localized friendly form of the resource type related to this - action/operation. - :type resource: str - :param operation: Required. Localized friendly name for the operation, as it should be shown to - the user. - :type operation: str - :param description: Required. Localized friendly description for the operation, as it should be - shown to the user. - :type description: str - """ - - _validation = { - 'provider': {'required': True}, - 'resource': {'required': True}, - 'operation': {'required': True}, - 'description': {'required': True}, - } - - _attribute_map = { - 'provider': {'key': 'provider', 'type': 'str'}, - 'resource': {'key': 'resource', 'type': 'str'}, - 'operation': {'key': 'operation', 'type': 'str'}, - 'description': {'key': 'description', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(StoragePoolOperationDisplay, self).__init__(**kwargs) - self.provider = kwargs['provider'] - self.resource = kwargs['resource'] - self.operation = kwargs['operation'] - self.description = kwargs['description'] - - -class StoragePoolOperationListResult(msrest.serialization.Model): - """List of operations supported by the RP. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. An array of operations supported by the StoragePool RP. - :type value: list[~storage_pool_management.models.StoragePoolRPOperation] - :param next_link: URI to fetch the next section of the paginated response. - :type next_link: str - """ - - _validation = { - 'value': {'required': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[StoragePoolRPOperation]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(StoragePoolOperationListResult, self).__init__(**kwargs) - self.value = kwargs['value'] - self.next_link = kwargs.get('next_link', None) - - -class StoragePoolRPOperation(msrest.serialization.Model): - """Description of a StoragePool RP Operation. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. The name of the operation being performed on this particular object. - :type name: str - :param is_data_action: Required. Indicates whether the operation applies to data-plane. - :type is_data_action: bool - :param action_type: Indicates the action type. - :type action_type: str - :param display: Required. Additional metadata about RP operation. - :type display: ~storage_pool_management.models.StoragePoolOperationDisplay - :param origin: The intended executor of the operation; governs the display of the operation in - the RBAC UX and the audit logs UX. - :type origin: str - """ - - _validation = { - 'name': {'required': True}, - 'is_data_action': {'required': True}, - 'display': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, - 'action_type': {'key': 'actionType', 'type': 'str'}, - 'display': {'key': 'display', 'type': 'StoragePoolOperationDisplay'}, - 'origin': {'key': 'origin', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(StoragePoolRPOperation, self).__init__(**kwargs) - self.name = kwargs['name'] - self.is_data_action = kwargs['is_data_action'] - self.action_type = kwargs.get('action_type', None) - self.display = kwargs['display'] - self.origin = kwargs.get('origin', None) - - -class SystemMetadata(msrest.serialization.Model): - """Resource metadata required by ARM RPC. - - :param created_by: A string identifier for the identity that created the resource. - :type created_by: str - :param created_by_type: The type of identity that created the resource: user, application, - managedIdentity. - :type created_by_type: str - :param created_at: The timestamp of resource creation (UTC). - :type created_at: str - :param last_modified_by: A string identifier for the identity that last modified the resource. - :type last_modified_by: str - :param last_modified_by_type: The type of identity that last modified the resource: user, - application, managedIdentity. - :type last_modified_by_type: str - :param last_modified_at: The timestamp of resource last modification (UTC). - :type last_modified_at: str - """ - - _attribute_map = { - 'created_by': {'key': 'createdBy', 'type': 'str'}, - 'created_by_type': {'key': 'createdByType', 'type': 'str'}, - 'created_at': {'key': 'createdAt', 'type': 'str'}, - 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, - 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, - 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(SystemMetadata, self).__init__(**kwargs) - self.created_by = kwargs.get('created_by', None) - self.created_by_type = kwargs.get('created_by_type', None) - self.created_at = kwargs.get('created_at', None) - self.last_modified_by = kwargs.get('last_modified_by', None) - self.last_modified_by_type = kwargs.get('last_modified_by_type', None) - self.last_modified_at = kwargs.get('last_modified_at', None) - - -class TargetPortalGroup(msrest.serialization.Model): - """iSCSI target portal group. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param luns: Required. Lun list to be exposed through the iSCSI target. Required. - :type luns: list[~storage_pool_management.models.IscsiLun] - :param acls: Required. Access Control List (ACL) for an iSCSI target lun. - :type acls: list[~storage_pool_management.models.Acl] - :param attributes: Required. Attributes of an iSCSI target. - :type attributes: ~storage_pool_management.models.Attributes - :ivar endpoints: list of public ip addresses to connect to the iSCSI target. - :vartype endpoints: list[str] - :ivar tag: The tag associated with the iSCSI target portal group. - :vartype tag: int - :ivar port: The port at which the iSCSI target is available. - :vartype port: int - """ - - _validation = { - 'luns': {'required': True}, - 'acls': {'required': True}, - 'attributes': {'required': True}, - 'endpoints': {'readonly': True}, - 'tag': {'readonly': True}, - 'port': {'readonly': True}, - } - - _attribute_map = { - 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, - 'acls': {'key': 'acls', 'type': '[Acl]'}, - 'attributes': {'key': 'attributes', 'type': 'Attributes'}, - 'endpoints': {'key': 'endpoints', 'type': '[str]'}, - 'tag': {'key': 'tag', 'type': 'int'}, - 'port': {'key': 'port', 'type': 'int'}, - } - - def __init__( - self, - **kwargs - ): - super(TargetPortalGroup, self).__init__(**kwargs) - self.luns = kwargs['luns'] - self.acls = kwargs['acls'] - self.attributes = kwargs['attributes'] - self.endpoints = None - self.tag = None - self.port = None 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 deleted file mode 100644 index 2f8e431e808..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models_py3.py +++ /dev/null @@ -1,867 +0,0 @@ -# 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 Dict, List, Optional, Union - -from azure.core.exceptions import HttpResponseError -import msrest.serialization - -from ._storage_pool_management_enums import * - - -class Acl(msrest.serialization.Model): - """Access Control List (ACL) for an iSCSI target lun. - - All required parameters must be populated in order to send to Azure. - - :param initiator_iqn: Required. iSCSI initiator iqn (iSCSI Qualified Name); example: - iqn.2005-03.org.iscsi:client. - :type initiator_iqn: str - :param mapped_luns: Required. Array of lun names mapped to the ACL. - :type mapped_luns: list[str] - :param username: Username for Challenge Handshake Authentication Protocol (CHAP) - authentication. - :type username: str - :param password: Password for Challenge Handshake Authentication Protocol (CHAP) - authentication. - :type password: str - """ - - _validation = { - 'initiator_iqn': {'required': True}, - 'mapped_luns': {'required': True}, - 'username': {'max_length': 128, 'min_length': 7}, - 'password': {'max_length': 512, 'min_length': 12}, - } - - _attribute_map = { - 'initiator_iqn': {'key': 'initiatorIqn', 'type': 'str'}, - 'mapped_luns': {'key': 'mappedLuns', 'type': '[str]'}, - 'username': {'key': 'credentials.username', 'type': 'str'}, - 'password': {'key': 'credentials.password', 'type': 'str'}, - } - - def __init__( - self, - *, - initiator_iqn: str, - mapped_luns: List[str], - username: Optional[str] = None, - password: Optional[str] = None, - **kwargs - ): - super(Acl, self).__init__(**kwargs) - self.initiator_iqn = initiator_iqn - self.mapped_luns = mapped_luns - self.username = username - self.password = password - - -class Attributes(msrest.serialization.Model): - """Attributes of an iSCSI target. - - All required parameters must be populated in order to send to Azure. - - :param authentication: Required. Indicates whether or not authentication is enabled on the ACL. - :type authentication: bool - :param prod_mode_write_protect: Required. Indicates whether or not write protect is enabled on - the luns. - :type prod_mode_write_protect: bool - """ - - _validation = { - 'authentication': {'required': True}, - 'prod_mode_write_protect': {'required': True}, - } - - _attribute_map = { - 'authentication': {'key': 'authentication', 'type': 'bool'}, - 'prod_mode_write_protect': {'key': 'prodModeWriteProtect', 'type': 'bool'}, - } - - def __init__( - self, - *, - authentication: bool, - prod_mode_write_protect: bool, - **kwargs - ): - super(Attributes, self).__init__(**kwargs) - self.authentication = authentication - self.prod_mode_write_protect = prod_mode_write_protect - - -class Disk(msrest.serialization.Model): - """Managed disk to attach to the DiskPool. Required. - - All required parameters must be populated in order to send to Azure. - - :param id: Required. Unique Azure resource id of the managed disk. Required. - :type id: str - """ - - _validation = { - 'id': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - } - - def __init__( - self, - *, - id: str, - **kwargs - ): - super(Disk, self).__init__(**kwargs) - self.id = id - - -class Resource(msrest.serialization.Model): - """ARM resource model definition. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Resource, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - - -class TrackedResource(Resource): - """The resource model definition for a ARM tracked top level resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - } - - def __init__( - self, - *, - location: str, - tags: Optional[Dict[str, str]] = None, - **kwargs - ): - super(TrackedResource, self).__init__(**kwargs) - self.tags = tags - self.location = location - - -class DiskPool(TrackedResource): - """Request payload for Create or Update Disk Pool requests. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - :param sku: Sku description. - :type sku: ~storage_pool_management.models.Sku - :ivar system_data: Resource metadata required by ARM RPC. - :vartype system_data: ~storage_pool_management.models.SystemMetadata - :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: - "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". - :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :param availability_zones: Logical zone for DiskPool resource. - :type availability_zones: list[str] - :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", - "Unknown", "Healthy", "Unhealthy". - :vartype status: str or ~storage_pool_management.models.OperationalStatus - :param disks: List of Azure managed disks to attach to a DiskPool. - :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Azure resource id of the subnet for the DiskPool. - :type subnet_id: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - 'system_data': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - 'status': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - 'sku': {'key': 'sku', 'type': 'Sku'}, - 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, - 'status': {'key': 'properties.status', 'type': 'str'}, - 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, - 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, - } - - def __init__( - self, - *, - location: str, - tags: Optional[Dict[str, str]] = None, - sku: Optional["Sku"] = None, - availability_zones: Optional[List[str]] = None, - disks: Optional[List["Disk"]] = None, - subnet_id: Optional[str] = None, - **kwargs - ): - super(DiskPool, self).__init__(tags=tags, location=location, **kwargs) - self.sku = sku - self.system_data = None - self.provisioning_state = None - self.availability_zones = availability_zones - self.status = None - self.disks = disks - self.subnet_id = subnet_id - - -class DiskPoolListResult(msrest.serialization.Model): - """List of Disk Pools. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. An array of Disk Pool objects. - :type value: list[~storage_pool_management.models.DiskPool] - :ivar next_link: URI to fetch the next section of the paginated response. - :vartype next_link: str - """ - - _validation = { - 'value': {'required': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[DiskPool]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - *, - value: List["DiskPool"], - **kwargs - ): - super(DiskPoolListResult, self).__init__(**kwargs) - self.value = value - self.next_link = None - - -class Error(msrest.serialization.Model): - """The resource management error response. - - :param error: RP error response. - :type error: ~storage_pool_management.models.ErrorResponse - """ - - _attribute_map = { - 'error': {'key': 'error', 'type': 'ErrorResponse'}, - } - - def __init__( - self, - *, - error: Optional["ErrorResponse"] = None, - **kwargs - ): - super(Error, self).__init__(**kwargs) - self.error = error - - -class ErrorAdditionalInfo(msrest.serialization.Model): - """The resource management error additional info. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar type: The additional info type. - :vartype type: str - :ivar info: The additional info. - :vartype info: object - """ - - _validation = { - 'type': {'readonly': True}, - 'info': {'readonly': True}, - } - - _attribute_map = { - 'type': {'key': 'type', 'type': 'str'}, - 'info': {'key': 'info', 'type': 'object'}, - } - - def __init__( - self, - **kwargs - ): - super(ErrorAdditionalInfo, self).__init__(**kwargs) - self.type = None - self.info = None - - -class ErrorResponse(msrest.serialization.Model): - """The resource management error response. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar code: The error code. - :vartype code: str - :ivar message: The error message. - :vartype message: str - :ivar target: The error target. - :vartype target: str - :ivar details: The error details. - :vartype details: list[~storage_pool_management.models.ErrorResponse] - :ivar additional_info: The error additional info. - :vartype additional_info: list[~storage_pool_management.models.ErrorAdditionalInfo] - """ - - _validation = { - 'code': {'readonly': True}, - 'message': {'readonly': True}, - 'target': {'readonly': True}, - 'details': {'readonly': True}, - 'additional_info': {'readonly': True}, - } - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - 'target': {'key': 'target', 'type': 'str'}, - 'details': {'key': 'details', 'type': '[ErrorResponse]'}, - 'additional_info': {'key': 'additionalInfo', 'type': '[ErrorAdditionalInfo]'}, - } - - def __init__( - self, - **kwargs - ): - super(ErrorResponse, self).__init__(**kwargs) - self.code = None - self.message = None - self.target = None - self.details = None - self.additional_info = None - - -class IscsiLun(msrest.serialization.Model): - """Lun to expose the ManagedDisk. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. Lun name. - :type name: str - :param managed_disk_azure_resource_id: Required. Unique Azure resource id of the managed disk. - Required. - :type managed_disk_azure_resource_id: str - """ - - _validation = { - 'name': {'required': True}, - 'managed_disk_azure_resource_id': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'managed_disk_azure_resource_id': {'key': 'managedDiskAzureResourceId', 'type': 'str'}, - } - - def __init__( - self, - *, - name: str, - managed_disk_azure_resource_id: str, - **kwargs - ): - super(IscsiLun, self).__init__(**kwargs) - self.name = name - self.managed_disk_azure_resource_id = managed_disk_azure_resource_id - - -class IscsiTarget(Resource): - """Payload for iSCSI Target Create or Update requests. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: - "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". - :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", - "Unknown", "Healthy", "Unhealthy". - :vartype status: str or ~storage_pool_management.models.OperationalStatus - :param tpgs: list of iSCSI target portal groups. - :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] - :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: - iqn.2005-03.org.iscsi:server. - :type target_iqn: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - 'status': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'status': {'key': 'properties.status', 'type': 'str'}, - 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroup]'}, - 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, - } - - def __init__( - self, - *, - tpgs: Optional[List["TargetPortalGroup"]] = None, - target_iqn: Optional[str] = None, - **kwargs - ): - super(IscsiTarget, self).__init__(**kwargs) - self.provisioning_state = None - self.status = None - self.tpgs = tpgs - self.target_iqn = target_iqn - - -class IscsiTargetList(msrest.serialization.Model): - """List of iSCSI Targets. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. An array of iSCSI targets within a Disk Pool. - :type value: list[~storage_pool_management.models.IscsiTarget] - :ivar next_link: URI to fetch the next section of the paginated response. - :vartype next_link: str - """ - - _validation = { - 'value': {'required': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[IscsiTarget]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - *, - value: List["IscsiTarget"], - **kwargs - ): - super(IscsiTargetList, self).__init__(**kwargs) - self.value = value - self.next_link = None - - -class ProxyResource(Resource): - """The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ProxyResource, self).__init__(**kwargs) - - -class Sku(msrest.serialization.Model): - """The resource model definition representing SKU. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code. - :type name: str - :param tier: This field is required to be implemented by the Resource Provider if the service - has more than one tier, but is not required on a PUT. Possible values include: "Free", "Basic", - "Standard", "Premium". - :type tier: str or ~storage_pool_management.models.SkuTier - :param size: The SKU size. When the name field is the combination of tier and some other value, - this would be the standalone code. - :type size: str - :param family: If the service has different generations of hardware, for the same SKU, then - that can be captured here. - :type family: str - :param capacity: If the SKU supports scale out/in then the capacity integer should be included. - If scale out/in is not possible for the resource this may be omitted. - :type capacity: int - """ - - _validation = { - 'name': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'tier': {'key': 'tier', 'type': 'str'}, - 'size': {'key': 'size', 'type': 'str'}, - 'family': {'key': 'family', 'type': 'str'}, - 'capacity': {'key': 'capacity', 'type': 'int'}, - } - - def __init__( - self, - *, - name: str, - tier: Optional[Union[str, "SkuTier"]] = None, - size: Optional[str] = None, - family: Optional[str] = None, - capacity: Optional[int] = None, - **kwargs - ): - super(Sku, self).__init__(**kwargs) - self.name = name - self.tier = tier - self.size = size - self.family = family - self.capacity = capacity - - -class StoragePoolOperationDisplay(msrest.serialization.Model): - """Metadata about an operation. - - All required parameters must be populated in order to send to Azure. - - :param provider: Required. Localized friendly form of the resource provider name. - :type provider: str - :param resource: Required. Localized friendly form of the resource type related to this - action/operation. - :type resource: str - :param operation: Required. Localized friendly name for the operation, as it should be shown to - the user. - :type operation: str - :param description: Required. Localized friendly description for the operation, as it should be - shown to the user. - :type description: str - """ - - _validation = { - 'provider': {'required': True}, - 'resource': {'required': True}, - 'operation': {'required': True}, - 'description': {'required': True}, - } - - _attribute_map = { - 'provider': {'key': 'provider', 'type': 'str'}, - 'resource': {'key': 'resource', 'type': 'str'}, - 'operation': {'key': 'operation', 'type': 'str'}, - 'description': {'key': 'description', 'type': 'str'}, - } - - def __init__( - self, - *, - provider: str, - resource: str, - operation: str, - description: str, - **kwargs - ): - super(StoragePoolOperationDisplay, self).__init__(**kwargs) - self.provider = provider - self.resource = resource - self.operation = operation - self.description = description - - -class StoragePoolOperationListResult(msrest.serialization.Model): - """List of operations supported by the RP. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. An array of operations supported by the StoragePool RP. - :type value: list[~storage_pool_management.models.StoragePoolRPOperation] - :param next_link: URI to fetch the next section of the paginated response. - :type next_link: str - """ - - _validation = { - 'value': {'required': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[StoragePoolRPOperation]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - *, - value: List["StoragePoolRPOperation"], - next_link: Optional[str] = None, - **kwargs - ): - super(StoragePoolOperationListResult, self).__init__(**kwargs) - self.value = value - self.next_link = next_link - - -class StoragePoolRPOperation(msrest.serialization.Model): - """Description of a StoragePool RP Operation. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. The name of the operation being performed on this particular object. - :type name: str - :param is_data_action: Required. Indicates whether the operation applies to data-plane. - :type is_data_action: bool - :param action_type: Indicates the action type. - :type action_type: str - :param display: Required. Additional metadata about RP operation. - :type display: ~storage_pool_management.models.StoragePoolOperationDisplay - :param origin: The intended executor of the operation; governs the display of the operation in - the RBAC UX and the audit logs UX. - :type origin: str - """ - - _validation = { - 'name': {'required': True}, - 'is_data_action': {'required': True}, - 'display': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, - 'action_type': {'key': 'actionType', 'type': 'str'}, - 'display': {'key': 'display', 'type': 'StoragePoolOperationDisplay'}, - 'origin': {'key': 'origin', 'type': 'str'}, - } - - def __init__( - self, - *, - name: str, - is_data_action: bool, - display: "StoragePoolOperationDisplay", - action_type: Optional[str] = None, - origin: Optional[str] = None, - **kwargs - ): - super(StoragePoolRPOperation, self).__init__(**kwargs) - self.name = name - self.is_data_action = is_data_action - self.action_type = action_type - self.display = display - self.origin = origin - - -class SystemMetadata(msrest.serialization.Model): - """Resource metadata required by ARM RPC. - - :param created_by: A string identifier for the identity that created the resource. - :type created_by: str - :param created_by_type: The type of identity that created the resource: user, application, - managedIdentity. - :type created_by_type: str - :param created_at: The timestamp of resource creation (UTC). - :type created_at: str - :param last_modified_by: A string identifier for the identity that last modified the resource. - :type last_modified_by: str - :param last_modified_by_type: The type of identity that last modified the resource: user, - application, managedIdentity. - :type last_modified_by_type: str - :param last_modified_at: The timestamp of resource last modification (UTC). - :type last_modified_at: str - """ - - _attribute_map = { - 'created_by': {'key': 'createdBy', 'type': 'str'}, - 'created_by_type': {'key': 'createdByType', 'type': 'str'}, - 'created_at': {'key': 'createdAt', 'type': 'str'}, - 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, - 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, - 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'str'}, - } - - def __init__( - self, - *, - created_by: Optional[str] = None, - created_by_type: Optional[str] = None, - created_at: Optional[str] = None, - last_modified_by: Optional[str] = None, - last_modified_by_type: Optional[str] = None, - last_modified_at: Optional[str] = None, - **kwargs - ): - super(SystemMetadata, self).__init__(**kwargs) - self.created_by = created_by - self.created_by_type = created_by_type - self.created_at = created_at - self.last_modified_by = last_modified_by - self.last_modified_by_type = last_modified_by_type - self.last_modified_at = last_modified_at - - -class TargetPortalGroup(msrest.serialization.Model): - """iSCSI target portal group. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param luns: Required. Lun list to be exposed through the iSCSI target. Required. - :type luns: list[~storage_pool_management.models.IscsiLun] - :param acls: Required. Access Control List (ACL) for an iSCSI target lun. - :type acls: list[~storage_pool_management.models.Acl] - :param attributes: Required. Attributes of an iSCSI target. - :type attributes: ~storage_pool_management.models.Attributes - :ivar endpoints: list of public ip addresses to connect to the iSCSI target. - :vartype endpoints: list[str] - :ivar tag: The tag associated with the iSCSI target portal group. - :vartype tag: int - :ivar port: The port at which the iSCSI target is available. - :vartype port: int - """ - - _validation = { - 'luns': {'required': True}, - 'acls': {'required': True}, - 'attributes': {'required': True}, - 'endpoints': {'readonly': True}, - 'tag': {'readonly': True}, - 'port': {'readonly': True}, - } - - _attribute_map = { - 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, - 'acls': {'key': 'acls', 'type': '[Acl]'}, - 'attributes': {'key': 'attributes', 'type': 'Attributes'}, - 'endpoints': {'key': 'endpoints', 'type': '[str]'}, - 'tag': {'key': 'tag', 'type': 'int'}, - 'port': {'key': 'port', 'type': 'int'}, - } - - def __init__( - self, - *, - luns: List["IscsiLun"], - acls: List["Acl"], - attributes: "Attributes", - **kwargs - ): - super(TargetPortalGroup, self).__init__(**kwargs) - self.luns = luns - self.acls = acls - self.attributes = attributes - self.endpoints = None - self.tag = None - self.port = None 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 deleted file mode 100644 index deae4a6f128..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_storage_pool_management_enums.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - -from enum import Enum, EnumMeta -from six import with_metaclass - -class _CaseInsensitiveEnumMeta(EnumMeta): - def __getitem__(self, name): - return super().__getitem__(name.upper()) - - def __getattr__(cls, name): - """Return the enum member matching `name` - We use __getattr__ instead of descriptors or inserting into the enum - class' __dict__ in order to support `name` and `value` being both - properties for enum members (which live in the class' __dict__) and - enum members themselves. - """ - try: - return cls._member_map_[name.upper()] - except KeyError: - raise AttributeError(name) - - -class OperationalStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Operational status of the Disk pool - """ - - INVALID = "Invalid" - UNKNOWN = "Unknown" - HEALTHY = "Healthy" - UNHEALTHY = "Unhealthy" - -class ProvisioningStates(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """State of provisioning of the iSCSI target - """ - - INVALID = "Invalid" - SUCCEEDED = "Succeeded" - FAILED = "Failed" - CANCELED = "Canceled" - PENDING = "Pending" - CREATING = "Creating" - UPDATING = "Updating" - DELETING = "Deleting" - -class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """This field is required to be implemented by the Resource Provider if the service has more than - one tier, but is not required on a PUT. - """ - - FREE = "Free" - BASIC = "Basic" - STANDARD = "Standard" - PREMIUM = "Premium" diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py deleted file mode 100644 index ee3e1450aed..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py +++ /dev/null @@ -1,17 +0,0 @@ -# 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 ._operation_operations import OperationOperations -from ._disk_pool_operations import DiskPoolOperations -from ._iscsi_target_operations import IscsiTargetOperations - -__all__ = [ - 'OperationOperations', - 'DiskPoolOperations', - 'IscsiTargetOperations', -] diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pool_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pool_operations.py deleted file mode 100644 index 17091615e57..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pool_operations.py +++ /dev/null @@ -1,602 +0,0 @@ -# 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.core.polling import LROPoller, NoPolling, PollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.arm_polling import ARMPolling - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, List, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class DiskPoolOperations(object): - """DiskPoolOperations 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_by_subscription( - self, - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.DiskPoolListResult"] - """Gets a list of Disk Pools in a subscription. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.DiskPoolListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_subscription.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - 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('DiskPoolListResult', 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_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools'} # type: ignore - - def list_by_resource_group( - self, - resource_group_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.DiskPoolListResult"] - """Gets a list of DiskPools. - - :param resource_group_name: The name of the resource group. The name is case insensitive. - :type resource_group_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.DiskPoolListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_resource_group.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]$'), - } - 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('DiskPoolListResult', 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_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools'} # type: ignore - - def _create_or_update_initial( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - location, # type: str - tags=None, # type: Optional[Dict[str, str]] - sku=None, # type: Optional["models.Sku"] - availability_zones=None, # type: Optional[List[str]] - disks=None, # type: Optional[List["models.Disk"]] - subnet_id=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "models.DiskPool" - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - - disk_pool_payload = models.DiskPool(tags=tags, location=location, sku=sku, availability_zones=availability_zones, disks=disks, subnet_id=subnet_id) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_payload, 'DiskPool') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - 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 response.status_code == 200: - deserialized = self._deserialize('DiskPool', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - def begin_create_or_update( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - location, # type: str - tags=None, # type: Optional[Dict[str, str]] - sku=None, # type: Optional["models.Sku"] - availability_zones=None, # type: Optional[List[str]] - disks=None, # type: Optional[List["models.Disk"]] - subnet_id=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> LROPoller["models.DiskPool"] - """Create a new Disk Pool. - - :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 - :param location: The geo-location where the resource lives. - :type location: str - :param tags: Resource tags. - :type tags: dict[str, str] - :param sku: Sku description. - :type sku: ~storage_pool_management.models.Sku - :param availability_zones: Logical zone for DiskPool resource. - :type availability_zones: list[str] - :param disks: List of Azure managed disks to attach to a DiskPool. - :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Azure resource id of the subnet for the DiskPool. - :type subnet_id: 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 DiskPool or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.DiskPool] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - 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._create_or_update_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - location=location, - tags=tags, - sku=sku, - availability_zones=availability_zones, - disks=disks, - subnet_id=subnet_id, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - def update( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - location, # type: str - tags=None, # type: Optional[Dict[str, str]] - sku=None, # type: Optional["models.Sku"] - availability_zones=None, # type: Optional[List[str]] - disks=None, # type: Optional[List["models.Disk"]] - subnet_id=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "models.DiskPool" - """Update a Storage Pool. - - :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 - :param location: The geo-location where the resource lives. - :type location: str - :param tags: Resource tags. - :type tags: dict[str, str] - :param sku: Sku description. - :type sku: ~storage_pool_management.models.Sku - :param availability_zones: Logical zone for DiskPool resource. - :type availability_zones: list[str] - :param disks: List of Azure managed disks to attach to a DiskPool. - :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Azure resource id of the subnet for the DiskPool. - :type subnet_id: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DiskPool, or the result of cls(response) - :rtype: ~storage_pool_management.models.DiskPool - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - - disk_pool_payload = models.DiskPool(tags=tags, location=location, sku=sku, availability_zones=availability_zones, disks=disks, subnet_id=subnet_id) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.update.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_payload, 'DiskPool') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - 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) - - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - def _delete_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 = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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.delete(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, 204]: - 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, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - def begin_delete( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> LROPoller[None] - """Delete a Disk Pool. - - :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._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - def get( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "models.DiskPool" - """Get a Disk Pool. - - :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 - :return: DiskPool, or the result of cls(response) - :rtype: ~storage_pool_management.models.DiskPool - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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.get(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]: - 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) - - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_iscsi_target_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_iscsi_target_operations.py deleted file mode 100644 index 0fb147f3fdc..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_iscsi_target_operations.py +++ /dev/null @@ -1,452 +0,0 @@ -# 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.core.polling import LROPoller, NoPolling, PollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.arm_polling import ARMPolling - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, List, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class IscsiTargetOperations(object): - """IscsiTargetOperations 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_by_disk_pool( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.IscsiTargetList"] - """Get iSCSI Targets within a Disk Pool. - - :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 - :return: An iterator like instance of either IscsiTargetList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.IscsiTargetList] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTargetList"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_disk_pool.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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('IscsiTargetList', 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_by_disk_pool.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets'} # type: ignore - - def _create_or_update_initial( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - iscsi_target_name, # type: str - tpgs=None, # type: Optional[List["models.TargetPortalGroup"]] - target_iqn=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "models.IscsiTarget" - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - - iscsi_target_payload = models.IscsiTarget(tpgs=tpgs, target_iqn=target_iqn) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(iscsi_target_payload, 'IscsiTarget') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - 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 response.status_code == 200: - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - def begin_create_or_update( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - iscsi_target_name, # type: str - tpgs=None, # type: Optional[List["models.TargetPortalGroup"]] - target_iqn=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> LROPoller["models.IscsiTarget"] - """Create or Update an iSCSI target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_name: str - :param tpgs: list of iSCSI target portal groups. - :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] - :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: - iqn.2005-03.org.iscsi:server. - :type target_iqn: 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 IscsiTarget or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.IscsiTarget] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - 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._create_or_update_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_name, - tpgs=tpgs, - target_iqn=target_iqn, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - def _delete_initial( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - iscsi_target_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 = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.delete(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, 204]: - 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, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - def begin_delete( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - iscsi_target_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> LROPoller[None] - """Deletes an iSCSI Target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_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._delete_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - def get( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - iscsi_target_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "models.IscsiTarget" - """Gets an iSCSI Target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IscsiTarget, or the result of cls(response) - :rtype: ~storage_pool_management.models.IscsiTarget - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.get(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]: - 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) - - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operation_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operation_operations.py deleted file mode 100644 index f6275f4bc7b..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operation_operations.py +++ /dev/null @@ -1,110 +0,0 @@ -# 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 OperationOperations(object): - """OperationOperations 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, - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.StoragePoolOperationListResult"] - """Gets a list of StoragePool operations. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either StoragePoolOperationListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.StoragePoolOperationListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.StoragePoolOperationListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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 - # 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('StoragePoolOperationListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return 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': '/providers/Microsoft.StoragePool/operations'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/py.typed b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/py.typed deleted file mode 100644 index e5aff4f83af..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/py.typed +++ /dev/null @@ -1 +0,0 @@ -# Marker file for PEP 561. \ No newline at end of file diff --git a/src/diskpool/gen.zip b/src/diskpool/gen.zip index f807d7d55fbd021b2f54dfdfceb40d815399d705..604deac9973d394c300cc470085e3d5c43dd0e28 100644 GIT binary patch literal 9799 zcmeHN?{3>R5YPU8@P`cph5`FVxEpK(ww!ht1_TJ!EbWS*?T|IuA0Q0`Mxt#tvZ#@i zQ#bJ5W59qt$@U_9ncb0+EGbefXKv9ARbmJvk9Wr-dG|X~hY#O*x3z`Oojdybum70b z`RjwNE&P26b@T;$u3ew2^GJx`sb)&6rvb&cDP&Eq@>obE7fv+4MFtytTDQo)h~|=y zCz^D<9(l|?DU=v#sF#tDRC5tJWG@JaAyPy##pI0n4)lG*K`q665{EvML{Aubd~lpr zJLHJ5te~H3!b3w7N%4$%nn)ou83_rT0?P>~pggrwTepmQJ|klmGEfBsoy~J9cAxaf zUaZ9vuovhHgbysCkf`1Mgob0L$dt~BM`Oi+yCy zWOVe99aq3cvP?X3-I(nMtrnkxi8T?bHIiaV=!;k~#|yY)R)T*{5`v>-_K#tpD@ef> zB9MAy3$7;_Oh&@A zo=i=|#Y&=pr$ch;IW;1RBfp7OTzQJSn#wWLO-EAb(`ZI5tt!~VV7>-5R(Wc|D> zUe^6K)a=c=kKBU8w;}Zg);qv(c5I^AnvTPUz=K~x^c?(`(7Cg{{pDc$3rEPYW0c!5 zNKf8wzLyJQy5YutjYqV}y;m@m4dfNmpWm&ki0Xr&38WbMh!;RyMa*3t|77#4HkE+(dsH`Gl)ugA+r#Kq;b$4BTRNv=~fVe6I6MbeWhdXDi(|qkdnnj ztaHvUU<)cIae|jwBL>S(DGYaZ0Q*261fZp+uGIj0EdWU28=uu8mhb_%cXFjAXh25L zlG|REG+(i#&WkT1qRa-FdId1q%>ZH6o#M+b z{+$R}l6XM=ZxK6W{{-u8K7zX^soy0hr)F)VlW@GL-|f&B1RdM}y(Y1-oOH7Fk9|pJ zFhGY^g8CIyf$+@v2Wejb|5&vvXy}acfSz&it@FVPP*Rch?J7dl3feZ780?EFSe^|H z-{EX(#^l~BkCkeQGvRK(hB{T+$!0GD?r+dm#U#q4OJzI3sY^}zR59u5JSHY4wvRL% zTT$t|d*AF=SyZUT*J|r zUHX27^3B%%I$E6oHmdUu5L$;1mkO6-x&(sed@1j*ylN2+Qk zS&ecxY7`VvVU%^I{|3Xw)8jngdd-GEChb)_ux@VQn9iFFlPHLu_nH`3m#A-af~}B> zDQ@Nm-o!u=u61CyW?cTy#=w^p*^2urml4$g&5-b;{i6e7PhP4W3BP*Na5cl<=&myo z2lim69)@B_G)T1}AkDUH&Mu28Oko8N;4Ep?fl`HI&=Fvk_Q~bt)2D6f1qxm}wgjNU zXQAeB2#%G80s)dAe zv7}@5(HIY(EE?!I`St8Cn<+gXt=<{_7UC+ShYc1&S1GwLql0G>SdJ<;qJ%BXt9SE zk57`jfrHej|2AnT3r??=of>DACJnbiL9iSAS1q!eU<3rSHNds7WtyYdRa;>lEw2LE z9CtO$uq^nTcy5W`70nxnTAh zEWNJTH*8INSUtRFF0$b(i#6A7-C6g`3zt?R8O$qU)4H~795MgB(b0Wlev22c_{~7W zB;b|U_d1hiCQ1iTi70MlpTmc5z5Vf4{a07`HP-UE(KlFS5#@92CHs#)y#6z<@~QUW S!}s3D-fzR-pYYb7W9c7xALl&) literal 8517 zcmeGi?QYvPu-(@W|K0--Y607TEu|ZZ0RapoOS&R!GGs~i0W^WYNVLsb7FCjR>I8m* zJ<;A_KlebpBQ05$<@lp%w*gh+D58$XyW`#QK79J>^Dk2eK3kNg9Vt65VIyz0-2+4{4mz zs6`~@iut_T0)C^w55x$>)?+KMgZM-$1NKsiG&z+lp_0kzGRgE&Wy}4_rG~YBV){nN zK@MH3UA#EI@DGp9NC)_F6RP_zy;gW{WY2E|kMoD@rSErn#C*TmB6ZiTH=DH@NclxP zB8urWsqM`etc9#=M;j<0;J4S@tr55qs+67g`~J!4@rzyJ9fDPzf>kLmNws$%8R!pz z4gVzx@jprsfFQ);5}GA`ZhOiH1b$!;_(J-rLEuvZ;G^M|sX^l0U>G*)^p>D?w-Jh1 z6r^q_MykzKZ?|JQWW>1}jx(AkP6bpX0%I4%xdHsCs)C^-$|HKsBd*8oTM>iyJI|^B zkt*2Ju;X|ty;gzb30k`H?uw5-4<{ZN{7gLnK=vjcSn!C0$ty2+818`>f}ogZPWiC?!|>vEe^S}|EOCW`9CHYq(5svCRINNvQ9B}-Gdn`nnrA4^ zs!)-QwEf=AuSYEILCmt(thdOsvParX4j8Q#kJEMJ@?LW25obFuy*1Ym-vxbd8dK#O zu#!)2+WU~<-TyX@`V<`%gZh6ZI+~9~j#Qxd1(k4U zEX(C$!p{%RkBEg@;(a*c(H0M;bZdHAGp%jsEl=UlhnXyI&15cjRR!)Uvp&0Uo4<{T z1Ap9ac6Oe(cfNIn?74=tT~m&cmG-6+i1eM;cXyYU4hK_!6mV%1XPC3AWy)|eB(UKL zlz4uVT(eUtG!%vKeHZf(OExT55Lkh0cu`&$>9Rz}P;UwGAl%1d&e=3~KFWmpzG+K& z;jCO&nSB?s?PowB$PIo!Ub;7@+Uuo8<&4j2Kj;mneAP;mssDNl+@E{R+4}m4*c_u3 zamhx}=|YHEz^*)Sf;JrkmpAi^>v%kjx$#3|-^{e4-Np$nNz*=<3*1P2_XhXHVnji# z6VR@0>JcA8JMTIBaPLc*7G@Zkk0GXhyQV5^v+qlCuTA&;;kI+btfjEySV@Z*6e|zS z4Y~lEnvO%X z6qVES!y)f_tXK~xEUn-yTVe&yRYidU+QJED+B21y=YVn!mmGh~ki)#y$ftTdy)APF zg(Xncu`sGK2eRA*%&Y~)f_iPSF&0D+yOVQ>u_63Kn>?Wyhz=q6E%pu@#Rq7e8Qgo> z0W#PBYoG=B(EjW4cbz&!=2#%j$o7Zhxk>fcyWd^4Oi!UMdr&xo79vd7O!|nXgM+r{ zy;t2oT(#N=x*x?wMlmdsS+8%J6h3w|W(#4f5J{dXv|{jlKQTlgX&az)vz4mtO?Z9@s8K(C1!m;z+Nvr&9_6~P2mKypv8e1 zbaDB4&yvd^CvUD%+{l};`TMM;4BVZ*di>efkCuO%0lv^sxVHLk!|AIpzd{_3;U|Fm IUj(220ZpPxjsO4v diff --git a/src/diskpool/report.md b/src/diskpool/report.md index 41ebc632bb6..df1f75ab308 100644 --- a/src/diskpool/report.md +++ b/src/diskpool/report.md @@ -73,11 +73,11 @@ az disk-pool show --name "myDiskPool" --resource-group "myResourceGroup" ##### Example ``` az disk-pool create --name "myDiskPool" --location "westus" --availability-zones "1" --disks \ -id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disk\ -s/vm-name_DataDisk_0" --disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/pr\ -oviders/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/re\ -sourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --sku \ -name="Standard_ABC" --tags key="value" --resource-group "myResourceGroup" +"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/v\ +m-name_DataDisk_0" --disks "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/provider\ +s/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resource\ +Groups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --sku name="Standard_ABC" \ +--tags key="value" --resource-group "myResourceGroup" ``` ##### Parameters |Option|Type|Description|Path (SDK)|Swagger name| @@ -96,10 +96,10 @@ name="Standard_ABC" --tags key="value" --resource-group "myResourceGroup" ##### Example ``` az disk-pool update --name "myDiskPool" --location "westus" --availability-zones "1" --disks \ -id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disk\ -s/vm-name_DataDisk_0" --disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/pr\ -oviders/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/re\ -sourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --tags key="value" \ +"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/v\ +m-name_DataDisk_0" --disks "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/provider\ +s/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resource\ +Groups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --tags key="value" \ --resource-group "myResourceGroup" ``` ##### Parameters From ce59e31dd9e489be799744b7f007ab52f1120959 Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Fri, 20 Nov 2020 15:15:31 +0800 Subject: [PATCH 07/30] support postional args --- .../azext_diskpool/generated/__init__.py | 12 + .../generated/_client_factory.py | 24 + .../azext_diskpool/generated/_help.py | 205 +++++ .../azext_diskpool/generated/_params.py | 112 +++ .../azext_diskpool/generated/_validators.py | 9 + .../azext_diskpool/generated/action.py | 64 ++ .../azext_diskpool/generated/commands.py | 45 + .../azext_diskpool/generated/custom.py | 145 +++ .../tests/latest/example_steps.py | 157 ++++ .../azext_diskpool/vendored_sdks/__init__.py | 12 + .../vendored_sdks/storagepool/__init__.py | 16 + .../storagepool/_configuration.py | 70 ++ .../storagepool/_storage_pool_management.py | 80 ++ .../vendored_sdks/storagepool/aio/__init__.py | 10 + .../storagepool/aio/_configuration.py | 66 ++ .../storagepool/aio/_configuration_async.py | 67 ++ .../aio/_storage_pool_management.py | 74 ++ .../aio/_storage_pool_management_async.py | 74 ++ .../storagepool/aio/operations/__init__.py | 17 + .../aio/operations/_disk_pools_operations.py | 546 +++++++++++ .../operations/_iscsi_targets_operations.py | 434 +++++++++ .../storagepool/aio/operations/_operations.py | 105 +++ .../aio/operations_async/__init__.py | 17 + .../_disk_pools_operations_async.py | 517 +++++++++++ .../_iscsi_targets_operations_async.py | 408 +++++++++ .../aio/operations_async/_operations_async.py | 102 +++ .../storagepool/models/__init__.py | 82 ++ .../storagepool/models/_models.py | 800 ++++++++++++++++ .../storagepool/models/_models_py3.py | 867 ++++++++++++++++++ .../models/_storage_pool_management_enums.py | 59 ++ .../storagepool/operations/__init__.py | 17 + .../operations/_disk_pools_operations.py | 558 +++++++++++ .../operations/_iscsi_targets_operations.py | 444 +++++++++ .../storagepool/operations/_operations.py | 110 +++ .../vendored_sdks/storagepool/py.typed | 1 + 35 files changed, 6326 insertions(+) create mode 100644 src/diskpool/azext_diskpool/generated/__init__.py create mode 100644 src/diskpool/azext_diskpool/generated/_client_factory.py create mode 100644 src/diskpool/azext_diskpool/generated/_help.py create mode 100644 src/diskpool/azext_diskpool/generated/_params.py create mode 100644 src/diskpool/azext_diskpool/generated/_validators.py create mode 100644 src/diskpool/azext_diskpool/generated/action.py create mode 100644 src/diskpool/azext_diskpool/generated/commands.py create mode 100644 src/diskpool/azext_diskpool/generated/custom.py create mode 100644 src/diskpool/azext_diskpool/tests/latest/example_steps.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/__init__.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/_storage_pool_management.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/__init__.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration_async.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_storage_pool_management.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_storage_pool_management_async.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/__init__.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pools_operations.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_iscsi_targets_operations.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_operations.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/__init__.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_disk_pools_operations_async.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_iscsi_targets_operations_async.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_operations_async.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/__init__.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models_py3.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_storage_pool_management_enums.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pools_operations.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_iscsi_targets_operations.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operations.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/py.typed diff --git a/src/diskpool/azext_diskpool/generated/__init__.py b/src/diskpool/azext_diskpool/generated/__init__.py new file mode 100644 index 00000000000..c9cfdc73e77 --- /dev/null +++ b/src/diskpool/azext_diskpool/generated/__init__.py @@ -0,0 +1,12 @@ +# 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. +# -------------------------------------------------------------------------- + +__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/src/diskpool/azext_diskpool/generated/_client_factory.py b/src/diskpool/azext_diskpool/generated/_client_factory.py new file mode 100644 index 00000000000..16ba3e4f5bc --- /dev/null +++ b/src/diskpool/azext_diskpool/generated/_client_factory.py @@ -0,0 +1,24 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- + + +def cf_diskpool_cl(cli_ctx, *_): + from azure.cli.core.commands.client_factory import get_mgmt_service_client + from azext_diskpool.vendored_sdks.storagepool import StoragePoolManagement + return get_mgmt_service_client(cli_ctx, + StoragePoolManagement) + + +def cf_disk_pool(cli_ctx, *_): + return cf_diskpool_cl(cli_ctx).disk_pools + + +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 new file mode 100644 index 00000000000..19baf26bd35 --- /dev/null +++ b/src/diskpool/azext_diskpool/generated/_help.py @@ -0,0 +1,205 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# pylint: disable=too-many-lines + +from knack.help_files import helps + + +helps['disk-pool'] = """ + type: group + short-summary: Manage disk pool with diskpool +""" + +helps['disk-pool list'] = """ + type: command + short-summary: "Gets a list of DiskPools. And Gets a list of Disk Pools in a subscription." + examples: + - name: List Disk Pools + text: |- + az disk-pool list --resource-group "myResourceGroup" + - name: List Disk Pools by subscription + text: |- + az disk-pool list +""" + +helps['disk-pool show'] = """ + type: command + short-summary: "Get a Disk Pool." + examples: + - name: Get a diskPool + text: |- + az disk-pool show --name "myDiskPool" --resource-group "myResourceGroup" +""" + +helps['disk-pool create'] = """ + type: command + short-summary: "Create a new Disk Pool." + parameters: + - name: --sku + short-summary: "Sku description." + long-summary: | + Usage: --sku name=XX tier=XX size=XX family=XX capacity=XX + + name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code + tier: This field is required to be implemented by the Resource Provider if the service has more than one \ +tier, but is not required on a PUT. + size: The SKU size. When the name field is the combination of tier and some other value, this would be the \ +standalone code. + family: If the service has different generations of hardware, for the same SKU, then that can be captured \ +here. + capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in \ +is not possible for the resource this may be omitted. + - name: --disks + short-summary: "List of Azure managed disks to attach to a DiskPool" + long-summary: | + The order of this parameter is specific customized. Usage: --disks id-value + + id: Required. Unique Azure resource id of the managed disk. Required. + + Multiple actions can be specified by using more than one --disks argument. + examples: + - name: Create or Update a Disk Pool + text: |- + az disk-pool create --name "myDiskPool" --location "westus" --availability-zones "1" --disks \ +"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/v\ +m-name_DataDisk_0" --disks "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/provider\ +s/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resource\ +Groups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --sku name="Standard_ABC" \ +--tags key="value" --resource-group "myResourceGroup" +""" + +helps['disk-pool update'] = """ + type: command + short-summary: "Update a Storage Pool." + parameters: + - name: --sku + short-summary: "Sku description." + long-summary: | + Usage: --sku name=XX tier=XX size=XX family=XX capacity=XX + + name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code + tier: This field is required to be implemented by the Resource Provider if the service has more than one \ +tier, but is not required on a PUT. + size: The SKU size. When the name field is the combination of tier and some other value, this would be the \ +standalone code. + family: If the service has different generations of hardware, for the same SKU, then that can be captured \ +here. + capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in \ +is not possible for the resource this may be omitted. + - name: --disks + short-summary: "List of Azure managed disks to attach to a DiskPool" + long-summary: | + The order of this parameter is specific customized. Usage: --disks id-value + + id: Required. Unique Azure resource id of the managed disk. Required. + + Multiple actions can be specified by using more than one --disks argument. + examples: + - name: Update Disk Pool + text: |- + az disk-pool update --name "myDiskPool" --location "westus" --availability-zones "1" --disks \ +"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/v\ +m-name_DataDisk_0" --disks "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/provider\ +s/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resource\ +Groups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --tags key="value" \ +--resource-group "myResourceGroup" +""" + +helps['disk-pool delete'] = """ + type: command + short-summary: "Delete a Disk Pool." + examples: + - name: Update Disk Pool + text: |- + az disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" +""" + +helps['disk-pool wait'] = """ + type: command + short-summary: Place the CLI in a waiting state until a condition of the disk-pool is met. + examples: + - name: Pause executing next line of CLI script until the disk-pool is successfully created. + text: |- + az disk-pool wait --name "myDiskPool" --resource-group "myResourceGroup" --created + - name: Pause executing next line of CLI script until the disk-pool is successfully deleted. + text: |- + az disk-pool wait --name "myDiskPool" --resource-group "myResourceGroup" --deleted +""" + +helps['disk-pool iscsi-target'] = """ + type: group + short-summary: Manage iscsi target with diskpool +""" + +helps['disk-pool iscsi-target list'] = """ + type: command + short-summary: "Get iSCSI Targets within a Disk Pool." + examples: + - name: List Disk Pools by Resource Group + text: |- + az disk-pool iscsi-target list --disk-pool-name "myDiskPool" --resource-group "myResourceGroup" +""" + +helps['disk-pool iscsi-target show'] = """ + type: command + short-summary: "Gets an iSCSI Target." + examples: + - name: Get an iscsiTarget + text: |- + az disk-pool iscsi-target show --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ +"myResourceGroup" +""" + +helps['disk-pool iscsi-target create'] = """ + type: command + short-summary: "Create an iSCSI target." + examples: + - name: Create or Update an iSCSI Target + text: |- + 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\\",\\"usernam\ +e\\":\\"some_username\\"},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}],\\"attr\ +ibutes\\":{\\"authentication\\":true,\\"prodModeWriteProtect\\":false},\\"luns\\":[{\\"name\\":\\"lun0\\",\\"managedDis\ +kAzureResourceId\\":\\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Mic\ +rosoft.Compute/disks/vm-name_DataDisk_1\\"}]}]" --resource-group "myResourceGroup" +""" + +helps['disk-pool iscsi-target update'] = """ + type: command + short-summary: "Update an iSCSI target." +""" + +helps['disk-pool iscsi-target delete'] = """ + type: command + short-summary: "Deletes an iSCSI Target." + examples: + - name: Delete an iscsiTarget + text: |- + az disk-pool iscsi-target delete --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ +"myResourceGroup" +""" + +helps['disk-pool iscsi-target wait'] = """ + type: command + short-summary: Place the CLI in a waiting state until a condition of the disk-pool iscsi-target is met. + examples: + - name: Pause executing next line of CLI script until the disk-pool iscsi-target is successfully created. + text: |- + az disk-pool iscsi-target wait --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ +"myResourceGroup" --created + - name: Pause executing next line of CLI script until the disk-pool iscsi-target is successfully updated. + text: |- + az disk-pool iscsi-target wait --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ +"myResourceGroup" --updated + - name: Pause executing next line of CLI script until the disk-pool iscsi-target is successfully deleted. + text: |- + az disk-pool iscsi-target wait --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ +"myResourceGroup" --deleted +""" diff --git a/src/diskpool/azext_diskpool/generated/_params.py b/src/diskpool/azext_diskpool/generated/_params.py new file mode 100644 index 00000000000..6a8db4d0153 --- /dev/null +++ b/src/diskpool/azext_diskpool/generated/_params.py @@ -0,0 +1,112 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements + +from azure.cli.core.commands.parameters import ( + tags_type, + resource_group_name_type, + get_location_type +) +from azure.cli.core.commands.validators import ( + get_default_location_from_resource_group, + validate_file_or_dict +) +from azext_diskpool.action import ( + AddSku, + AddDisks +) + + +def load_arguments(self, _): + + with self.argument_context('disk-pool list') as c: + c.argument('resource_group_name', resource_group_name_type) + + with self.argument_context('disk-pool show') 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 create') 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.') + 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('sku', action=AddSku, nargs='+', help='Sku description.') + c.argument('availability_zones', nargs='+', help='Logical zone for DiskPool resource.') + c.argument('disks', action=AddDisks, nargs='+', help='List of Azure managed disks to attach to a DiskPool') + c.argument('subnet_id', type=str, help='Azure resource id of the subnet for the DiskPool') + + with self.argument_context('disk-pool update') 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') + 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('sku', action=AddSku, nargs='+', help='Sku description.') + c.argument('availability_zones', nargs='+', help='Logical zone for DiskPool resource.') + c.argument('disks', action=AddDisks, nargs='+', help='List of Azure managed disks to attach to a DiskPool') + c.argument('subnet_id', type=str, help='Azure resource id of the subnet for the DiskPool') + + with self.argument_context('disk-pool delete') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' + 'the Disk Pool.', id_part='name') + + with self.argument_context('disk-pool wait') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' + 'the Disk Pool.', id_part='name') + + with self.argument_context('disk-pool 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.') + + with self.argument_context('disk-pool iscsi-target show') 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.', 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') + + with self.argument_context('disk-pool iscsi-target create') 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.') + c.argument('iscsi_target_name', options_list=['--name', '-n', '--iscsi-target-name'], type=str, help='The name ' + 'of the iSCSI target.') + c.argument('tpgs', type=validate_file_or_dict, help='list of iSCSI target portal groups Expected value: ' + 'json-string/@json-file.') + c.argument('target_iqn', type=str, help='iSCSI target iqn (iSCSI Qualified Name); example: ' + 'iqn.2005-03.org.iscsi:server') + + with self.argument_context('disk-pool iscsi-target update') 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.', 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('tpgs', type=validate_file_or_dict, help='list of iSCSI target portal groups Expected value: ' + 'json-string/@json-file.') + c.argument('target_iqn', type=str, help='iSCSI target iqn (iSCSI Qualified Name); example: ' + 'iqn.2005-03.org.iscsi:server') + + with self.argument_context('disk-pool iscsi-target delete') 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.', 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') + + with self.argument_context('disk-pool iscsi-target wait') 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.', 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') diff --git a/src/diskpool/azext_diskpool/generated/_validators.py b/src/diskpool/azext_diskpool/generated/_validators.py new file mode 100644 index 00000000000..b33a44c1ebf --- /dev/null +++ b/src/diskpool/azext_diskpool/generated/_validators.py @@ -0,0 +1,9 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- diff --git a/src/diskpool/azext_diskpool/generated/action.py b/src/diskpool/azext_diskpool/generated/action.py new file mode 100644 index 00000000000..10b171f83a3 --- /dev/null +++ b/src/diskpool/azext_diskpool/generated/action.py @@ -0,0 +1,64 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# pylint: disable=protected-access + +import argparse +from collections import defaultdict +from knack.util import CLIError + + +class AddSku(argparse.Action): + 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 + try: + properties = defaultdict(list) + for (k, v) in (x.split('=', 1) for x in values): + properties[k].append(v) + properties = dict(properties) + except ValueError: + raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) + d = {} + for k in properties: + kl = k.lower() + v = properties[k] + if kl == 'name': + d['name'] = v[0] + elif kl == 'tier': + d['tier'] = v[0] + elif kl == 'size': + d['size'] = v[0] + elif kl == 'family': + d['family'] = v[0] + elif kl == 'capacity': + d['capacity'] = v[0] + return d + + +class AddDisks(argparse._AppendAction): + + def __call__(self, parser, namespace, values, option_string=None): + try: + value_list = values.split() + value_chunk_list = [value_list[x:x+1] for x in range(0, len(value_list), 1)] + Disk = namespace._cmd.get_models('Disk') + Disks = [] + for chunk in value_chunk_list: + id, = chunk + Disks.append( + Disk( + id = id + ) + ) + return Disks + except ValueError: + raise CLIError('usage error: {} NAME METRIC OPERATION VALUE'.format(option_string)) diff --git a/src/diskpool/azext_diskpool/generated/commands.py b/src/diskpool/azext_diskpool/generated/commands.py new file mode 100644 index 00000000000..a7c52dae5cd --- /dev/null +++ b/src/diskpool/azext_diskpool/generated/commands.py @@ -0,0 +1,45 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- +# pylint: disable=too-many-statements +# pylint: disable=too-many-locals + +from azure.cli.core.commands import CliCommandType + + +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') + g.custom_command('delete', 'disk_pool_delete', supports_no_wait=True, confirmation=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 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') + g.custom_command('create', 'disk_pool_iscsi_target_create', supports_no_wait=True) + g.custom_command('update', 'disk_pool_iscsi_target_update', supports_no_wait=True) + g.custom_command('delete', 'disk_pool_iscsi_target_delete', supports_no_wait=True, confirmation=True) + g.custom_wait_command('wait', 'disk_pool_iscsi_target_show') + + with self.command_group('diskpool', is_experimental=True): + pass diff --git a/src/diskpool/azext_diskpool/generated/custom.py b/src/diskpool/azext_diskpool/generated/custom.py new file mode 100644 index 00000000000..856c1059413 --- /dev/null +++ b/src/diskpool/azext_diskpool/generated/custom.py @@ -0,0 +1,145 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# pylint: disable=too-many-lines + +from azure.cli.core.util import sdk_no_wait + + +def disk_pool_list(client, + resource_group_name=None): + if resource_group_name: + return client.list_by_resource_group(resource_group_name=resource_group_name) + return client.list_by_subscription() + + +def disk_pool_show(client, + resource_group_name, + disk_pool_name): + return client.get(resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name) + + +def disk_pool_create(client, + resource_group_name, + disk_pool_name, + location, + tags=None, + sku=None, + availability_zones=None, + disks=None, + subnet_id=None, + no_wait=False): + disk_pool_payload = {} + disk_pool_payload['tags'] = tags + disk_pool_payload['location'] = location + disk_pool_payload['sku'] = sku + disk_pool_payload['availability_zones'] = availability_zones + disk_pool_payload['disks'] = disks + disk_pool_payload['subnet_id'] = subnet_id + return sdk_no_wait(no_wait, + client.begin_create_or_update, + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + disk_pool_payload=disk_pool_payload) + + +def disk_pool_update(client, + resource_group_name, + disk_pool_name, + location, + tags=None, + sku=None, + availability_zones=None, + disks=None, + subnet_id=None): + disk_pool_payload = {} + disk_pool_payload['tags'] = tags + disk_pool_payload['location'] = location + disk_pool_payload['sku'] = sku + disk_pool_payload['availability_zones'] = availability_zones + disk_pool_payload['disks'] = disks + disk_pool_payload['subnet_id'] = subnet_id + return client.update(resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + disk_pool_payload=disk_pool_payload) + + +def disk_pool_delete(client, + resource_group_name, + disk_pool_name, + no_wait=False): + return sdk_no_wait(no_wait, + client.begin_delete, + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name) + + +def disk_pool_iscsi_target_list(client, + resource_group_name, + disk_pool_name): + return client.list_by_disk_pool(resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name) + + +def disk_pool_iscsi_target_show(client, + resource_group_name, + disk_pool_name, + iscsi_target_name): + return client.get(resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name) + + +def disk_pool_iscsi_target_create(client, + resource_group_name, + disk_pool_name, + iscsi_target_name, + tpgs=None, + target_iqn=None, + no_wait=False): + iscsi_target_payload = {} + iscsi_target_payload['tpgs'] = tpgs + iscsi_target_payload['target_iqn'] = target_iqn + return sdk_no_wait(no_wait, + client.begin_create_or_update, + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name, + iscsi_target_payload=iscsi_target_payload) + + +def disk_pool_iscsi_target_update(client, + resource_group_name, + disk_pool_name, + iscsi_target_name, + tpgs=None, + target_iqn=None, + no_wait=False): + iscsi_target_payload = {} + iscsi_target_payload['tpgs'] = tpgs + iscsi_target_payload['target_iqn'] = target_iqn + return sdk_no_wait(no_wait, + client.begin_create_or_update, + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name, + iscsi_target_payload=iscsi_target_payload) + + +def disk_pool_iscsi_target_delete(client, + resource_group_name, + disk_pool_name, + iscsi_target_name, + no_wait=False): + return sdk_no_wait(no_wait, + client.begin_delete, + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name) 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..fb6392205d1 --- /dev/null +++ b/src/diskpool/azext_diskpool/tests/latest/example_steps.py @@ -0,0 +1,157 @@ +# -------------------------------------------------------------------------- +# 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 a Disk Pool +@try_manual +def step_create(test, rg, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool create ' + '--name "{myDiskPool}" ' + '--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/default" ' + '--sku name="Standard_ABC" ' + '--tags key="value" ' + '--resource-group "{rg}"', + checks=checks) + test.cmd('az disk-pool wait --created ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=[]) + + +# EXAMPLE: /DiskPools/get/Get a diskPool +@try_manual +def step_show(test, rg, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool show ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /DiskPools/get/List Disk Pools +@try_manual +def step_list(test, rg, 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_list(test, rg, 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, rg, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool update ' + '--name "{myDiskPool}" ' + '--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/default" ' + '--tags key="value" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /IscsiTargets/put/Create or Update an iSCSI Target +@try_manual +def step_iscsi_target_create(test, rg, checks=None): + if checks is None: + checks = [] + test.cmd('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_us' + 'ername\\"}},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}}],\\"att' + 'ributes\\":{{\\"authentication\\":true,\\"prodModeWriteProtect\\":false}},\\"luns\\":[{{\\"name\\":\\"lun' + '0\\",\\"managedDiskAzureResourceId\\":\\"/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/M' + 'icrosoft.Compute/disks/vm-name_DataDisk_1\\"}}]}}]" ' + '--resource-group "{rg}"', + checks=checks) + test.cmd('az disk-pool iscsi-target wait --created ' + '--name "{myIscsiTarget}" ' + '--resource-group "{rg}"', + checks=[]) + + +# EXAMPLE: /IscsiTargets/get/Get an iscsiTarget +@try_manual +def step_iscsi_target_show(test, rg, 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, rg, 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/delete/Delete an iscsiTarget +@try_manual +def step_iscsi_target_delete(test, rg, 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) + + +# EXAMPLE: /DiskPools/delete/Update Disk Pool +@try_manual +def step_delete(test, rg, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool delete -y ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=checks) + diff --git a/src/diskpool/azext_diskpool/vendored_sdks/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/__init__.py new file mode 100644 index 00000000000..c9cfdc73e77 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/__init__.py @@ -0,0 +1,12 @@ +# 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. +# -------------------------------------------------------------------------- + +__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py new file mode 100644 index 00000000000..40013efe44d --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py @@ -0,0 +1,16 @@ +# 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 ._storage_pool_management import StoragePoolManagement +__all__ = ['StoragePoolManagement'] + +try: + from ._patch import patch_sdk # type: ignore + patch_sdk() +except ImportError: + pass diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py new file mode 100644 index 00000000000..cb67cb735d4 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py @@ -0,0 +1,70 @@ +# 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 + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +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. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(StoragePoolManagementConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2020-03-15-preview" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'storagepoolmanagement/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) 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 new file mode 100644 index 00000000000..2d9df4d0e0a --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_storage_pool_management.py @@ -0,0 +1,80 @@ +# 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 + +from azure.mgmt.core import ARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Optional + + from azure.core.credentials import TokenCredential + +from ._configuration import StoragePoolManagementConfiguration +from .operations import Operations +from .operations import DiskPoolsOperations +from .operations import IscsiTargetsOperations +from . import models + + +class StoragePoolManagement(object): + """StoragePoolManagement. + + :ivar operations: Operations operations + :vartype operations: storage_pool_management.operations.Operations + :ivar disk_pools: DiskPoolsOperations operations + :vartype disk_pools: storage_pool_management.operations.DiskPoolsOperations + :ivar iscsi_targets: IscsiTargetsOperations operations + :vartype iscsi_targets: storage_pool_management.operations.IscsiTargetsOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + base_url=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> None + if not base_url: + base_url = 'https://management.azure.com' + self._config = StoragePoolManagementConfiguration(credential, subscription_id, **kwargs) + self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize) + self.disk_pools = DiskPoolsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.iscsi_targets = IscsiTargetsOperations( + self._client, self._config, self._serialize, self._deserialize) + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> StoragePoolManagement + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/__init__.py new file mode 100644 index 00000000000..9eb7de1efa2 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/__init__.py @@ -0,0 +1,10 @@ +# 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 ._storage_pool_management import StoragePoolManagement +__all__ = ['StoragePoolManagement'] diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py new file mode 100644 index 00000000000..1aa64ffe5b1 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py @@ -0,0 +1,66 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +VERSION = "unknown" + +class StoragePoolManagementConfiguration(Configuration): + """Configuration for StoragePoolManagement. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + **kwargs: Any + ) -> None: + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(StoragePoolManagementConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2020-03-15-preview" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'storagepoolmanagement/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs: Any + ) -> None: + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration_async.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration_async.py new file mode 100644 index 00000000000..72a7f47d9cd --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration_async.py @@ -0,0 +1,67 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +VERSION = "unknown" + +class StoragePoolManagementConfiguration(Configuration): + """Configuration for StoragePoolManagement. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + **kwargs: Any + ) -> None: + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(StoragePoolManagementConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2020-03-15-preview" + self.credential_scopes = ['https://management.azure.com/.default'] + self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) + kwargs.setdefault('sdk_moniker', 'storagepoolmanagement/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs: Any + ) -> None: + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) 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 new file mode 100644 index 00000000000..ec95131fa9f --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_storage_pool_management.py @@ -0,0 +1,74 @@ +# 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, Optional, TYPE_CHECKING + +from azure.mgmt.core import AsyncARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +from ._configuration import StoragePoolManagementConfiguration +from .operations import Operations +from .operations import DiskPoolsOperations +from .operations import IscsiTargetsOperations +from .. import models + + +class StoragePoolManagement(object): + """StoragePoolManagement. + + :ivar operations: Operations operations + :vartype operations: storage_pool_management.aio.operations.Operations + :ivar disk_pools: DiskPoolsOperations operations + :vartype disk_pools: storage_pool_management.aio.operations.DiskPoolsOperations + :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. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + base_url: Optional[str] = None, + **kwargs: Any + ) -> None: + if not base_url: + base_url = 'https://management.azure.com' + self._config = StoragePoolManagementConfiguration(credential, subscription_id, **kwargs) + self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize) + self.disk_pools = DiskPoolsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.iscsi_targets = IscsiTargetsOperations( + self._client, self._config, self._serialize, self._deserialize) + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "StoragePoolManagement": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_storage_pool_management_async.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_storage_pool_management_async.py new file mode 100644 index 00000000000..2865f24eabb --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_storage_pool_management_async.py @@ -0,0 +1,74 @@ +# 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, Optional, TYPE_CHECKING + +from azure.mgmt.core import AsyncARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +from ._configuration_async import StoragePoolManagementConfiguration +from .operations_async import Operations +from .operations_async import DiskPoolsOperations +from .operations_async import IscsiTargetsOperations +from .. import models + + +class StoragePoolManagement(object): + """StoragePoolManagement. + + :ivar operations: Operations operations + :vartype operations: storage_pool_management.aio.operations_async.Operations + :ivar disk_pools: DiskPoolsOperations operations + :vartype disk_pools: storage_pool_management.aio.operations_async.DiskPoolsOperations + :ivar iscsi_targets: IscsiTargetsOperations operations + :vartype iscsi_targets: storage_pool_management.aio.operations_async.IscsiTargetsOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + base_url: Optional[str] = None, + **kwargs: Any + ) -> None: + if not base_url: + base_url = 'https://management.azure.com' + self._config = StoragePoolManagementConfiguration(credential, subscription_id, **kwargs) + self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize) + self.disk_pools = DiskPoolsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.iscsi_targets = IscsiTargetsOperations( + self._client, self._config, self._serialize, self._deserialize) + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "StoragePoolManagement": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) 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 new file mode 100644 index 00000000000..076a93504e6 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/__init__.py @@ -0,0 +1,17 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations import Operations +from ._disk_pools_operations import DiskPoolsOperations +from ._iscsi_targets_operations import IscsiTargetsOperations + +__all__ = [ + 'Operations', + 'DiskPoolsOperations', + 'IscsiTargetsOperations', +] 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 new file mode 100644 index 00000000000..cc0a1230259 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pools_operations.py @@ -0,0 +1,546 @@ +# 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, Union +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.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class DiskPoolsOperations: + """DiskPoolsOperations 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_by_subscription( + self, + **kwargs + ) -> AsyncIterable["models.DiskPoolListResult"]: + """Gets a list of Disk Pools in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.DiskPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + 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('DiskPoolListResult', 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_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["models.DiskPoolListResult"]: + """Gets a list of DiskPools. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.DiskPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_resource_group.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]$'), + } + 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('DiskPoolListResult', 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_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + disk_pool_name: str, + disk_pool_payload: "models.DiskPool", + **kwargs + ) -> "models.DiskPool": + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(disk_pool_payload, 'DiskPool') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + disk_pool_name: str, + disk_pool_payload: "models.DiskPool", + **kwargs + ) -> AsyncLROPoller["models.DiskPool"]: + """Create a new Disk Pool. + + :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 + :param disk_pool_payload: Request payload for Disk Pool operations. + :type disk_pool_payload: ~storage_pool_management.models.DiskPool + :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 DiskPool or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.DiskPool] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + 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._create_or_update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + disk_pool_payload=disk_pool_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def update( + self, + resource_group_name: str, + disk_pool_name: str, + disk_pool_payload: "models.DiskPool", + **kwargs + ) -> "models.DiskPool": + """Update a Storage Pool. + + :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 + :param disk_pool_payload: Request payload for Disk Pool operations. + :type disk_pool_payload: ~storage_pool_management.models.DiskPool + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DiskPool, or the result of cls(response) + :rtype: ~storage_pool_management.models.DiskPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(disk_pool_payload, 'DiskPool') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + 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) + + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def _delete_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 = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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.delete(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, 204]: + 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, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + disk_pool_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Delete a Disk Pool. + + :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._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + disk_pool_name: str, + **kwargs + ) -> "models.DiskPool": + """Get a Disk Pool. + + :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 + :return: DiskPool, or the result of cls(response) + :rtype: ~storage_pool_management.models.DiskPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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.get(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]: + 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) + + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # 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 new file mode 100644 index 00000000000..b136ab3a5e9 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_iscsi_targets_operations.py @@ -0,0 +1,434 @@ +# 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, Union +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.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class IscsiTargetsOperations: + """IscsiTargetsOperations 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_by_disk_pool( + self, + resource_group_name: str, + disk_pool_name: str, + **kwargs + ) -> AsyncIterable["models.IscsiTargetList"]: + """Get iSCSI Targets within a Disk Pool. + + :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 + :return: An iterator like instance of either IscsiTargetList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.IscsiTargetList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTargetList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_disk_pool.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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('IscsiTargetList', 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_by_disk_pool.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + iscsi_target_payload: "models.IscsiTarget", + **kwargs + ) -> "models.IscsiTarget": + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(iscsi_target_payload, 'IscsiTarget') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + iscsi_target_payload: "models.IscsiTarget", + **kwargs + ) -> AsyncLROPoller["models.IscsiTarget"]: + """Create or Update an iSCSI target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :param iscsi_target_payload: Request payload for iSCSI target operations. + :type iscsi_target_payload: ~storage_pool_management.models.IscsiTarget + :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 IscsiTarget or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.IscsiTarget] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + 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._create_or_update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name, + iscsi_target_payload=iscsi_target_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_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 = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.delete(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, 204]: + 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, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_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._delete_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + **kwargs + ) -> "models.IscsiTarget": + """Gets an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: IscsiTarget, or the result of cls(response) + :rtype: ~storage_pool_management.models.IscsiTarget + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.get(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]: + 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) + + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore 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 new file mode 100644 index 00000000000..0b14b016f3e --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_operations.py @@ -0,0 +1,105 @@ +# 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 Operations: + """Operations 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, + **kwargs + ) -> AsyncIterable["models.StoragePoolOperationListResult"]: + """Gets a list of StoragePool operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StoragePoolOperationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.StoragePoolOperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.StoragePoolOperationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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 + # 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('StoragePoolOperationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return 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': '/providers/Microsoft.StoragePool/operations'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/__init__.py new file mode 100644 index 00000000000..3d2a1d8faa5 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/__init__.py @@ -0,0 +1,17 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations_async import Operations +from ._disk_pools_operations_async import DiskPoolsOperations +from ._iscsi_targets_operations_async import IscsiTargetsOperations + +__all__ = [ + 'Operations', + 'DiskPoolsOperations', + 'IscsiTargetsOperations', +] diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_disk_pools_operations_async.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_disk_pools_operations_async.py new file mode 100644 index 00000000000..1e18dd47c71 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_disk_pools_operations_async.py @@ -0,0 +1,517 @@ +# 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, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class DiskPoolsOperations: + """DiskPoolsOperations 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_by_subscription( + self, + **kwargs + ) -> AsyncIterable["models.DiskPoolListResult"]: + """Gets a list of Disk Pools in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.DiskPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + if not next_link: + # Construct URL + url = self.list_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + 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('DiskPoolListResult', 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_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["models.DiskPoolListResult"]: + """Gets a list of DiskPools. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.DiskPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + if not next_link: + # Construct URL + url = self.list_by_resource_group.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]$'), + } + 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('DiskPoolListResult', 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_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + disk_pool_name: str, + disk_pool_payload: "models.DiskPool", + **kwargs + ) -> "models.DiskPool": + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + + # Construct URL + url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = 'application/json' + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(disk_pool_payload, 'DiskPool') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + + 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 response.status_code == 200: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + disk_pool_name: str, + disk_pool_payload: "models.DiskPool", + **kwargs + ) -> AsyncLROPoller["models.DiskPool"]: + """Create a new Disk Pool. + + :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 + :param disk_pool_payload: Request payload for Disk Pool operations. + :type disk_pool_payload: ~storage_pool_management.models.DiskPool + :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 DiskPool or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.DiskPool] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + 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._create_or_update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + disk_pool_payload=disk_pool_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def update( + self, + resource_group_name: str, + disk_pool_name: str, + disk_pool_payload: "models.DiskPool", + **kwargs + ) -> "models.DiskPool": + """Update a Storage Pool. + + :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 + :param disk_pool_payload: Request payload for Disk Pool operations. + :type disk_pool_payload: ~storage_pool_management.models.DiskPool + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DiskPool, or the result of cls(response) + :rtype: ~storage_pool_management.models.DiskPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + + # Construct URL + url = self.update.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = 'application/json' + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(disk_pool_payload, 'DiskPool') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + 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) + + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + disk_pool_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + + # Construct URL + url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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] + + request = self._client.delete(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, 204]: + 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, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + disk_pool_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Delete a Disk Pool. + + :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._delete_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, {}) + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + disk_pool_name: str, + **kwargs + ) -> "models.DiskPool": + """Get a Disk Pool. + + :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 + :return: DiskPool, or the result of cls(response) + :rtype: ~storage_pool_management.models.DiskPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + + # Construct URL + url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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'] = 'application/json' + + request = self._client.get(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]: + 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) + + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_iscsi_targets_operations_async.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_iscsi_targets_operations_async.py new file mode 100644 index 00000000000..6772b122210 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_iscsi_targets_operations_async.py @@ -0,0 +1,408 @@ +# 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, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class IscsiTargetsOperations: + """IscsiTargetsOperations 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_by_disk_pool( + self, + resource_group_name: str, + disk_pool_name: str, + **kwargs + ) -> AsyncIterable["models.IscsiTargetList"]: + """Get iSCSI Targets within a Disk Pool. + + :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 + :return: An iterator like instance of either IscsiTargetList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.IscsiTargetList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTargetList"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + if not next_link: + # Construct URL + url = self.list_by_disk_pool.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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('IscsiTargetList', 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_by_disk_pool.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + iscsi_target_payload: "models.IscsiTarget", + **kwargs + ) -> "models.IscsiTarget": + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + + # Construct URL + url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = 'application/json' + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(iscsi_target_payload, 'IscsiTarget') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + + 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 response.status_code == 200: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + iscsi_target_payload: "models.IscsiTarget", + **kwargs + ) -> AsyncLROPoller["models.IscsiTarget"]: + """Create or Update an iSCSI target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :param iscsi_target_payload: Request payload for iSCSI target operations. + :type iscsi_target_payload: ~storage_pool_management.models.IscsiTarget + :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 IscsiTarget or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.IscsiTarget] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + 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._create_or_update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name, + iscsi_target_payload=iscsi_target_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + + # Construct URL + url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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] + + request = self._client.delete(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, 204]: + 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, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_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._delete_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_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, {}) + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + **kwargs + ) -> "models.IscsiTarget": + """Gets an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: IscsiTarget, or the result of cls(response) + :rtype: ~storage_pool_management.models.IscsiTarget + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + + # Construct URL + url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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'] = 'application/json' + + request = self._client.get(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]: + 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) + + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_operations_async.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_operations_async.py new file mode 100644 index 00000000000..7b1dc7e0c6b --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_operations_async.py @@ -0,0 +1,102 @@ +# 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 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 Operations: + """Operations 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, + **kwargs + ) -> AsyncIterable["models.StoragePoolOperationListResult"]: + """Gets a list of StoragePool operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StoragePoolOperationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.StoragePoolOperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.StoragePoolOperationListResult"] + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + # 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('StoragePoolOperationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return 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': '/providers/Microsoft.StoragePool/operations'} # 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 new file mode 100644 index 00000000000..d4ec87c63c8 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/__init__.py @@ -0,0 +1,82 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +try: + from ._models_py3 import Acl + from ._models_py3 import Attributes + from ._models_py3 import Disk + from ._models_py3 import DiskPool + from ._models_py3 import DiskPoolListResult + from ._models_py3 import Error + from ._models_py3 import ErrorAdditionalInfo + from ._models_py3 import ErrorResponse + from ._models_py3 import IscsiLun + from ._models_py3 import IscsiTarget + from ._models_py3 import IscsiTargetList + from ._models_py3 import ProxyResource + from ._models_py3 import Resource + from ._models_py3 import Sku + from ._models_py3 import StoragePoolOperationDisplay + from ._models_py3 import StoragePoolOperationListResult + from ._models_py3 import StoragePoolRpOperation + from ._models_py3 import SystemMetadata + from ._models_py3 import TargetPortalGroup + from ._models_py3 import TrackedResource +except (SyntaxError, ImportError): + from ._models import Acl # type: ignore + from ._models import Attributes # type: ignore + from ._models import Disk # type: ignore + from ._models import DiskPool # type: ignore + from ._models import DiskPoolListResult # type: ignore + from ._models import Error # type: ignore + from ._models import ErrorAdditionalInfo # type: ignore + from ._models import ErrorResponse # type: ignore + from ._models import IscsiLun # type: ignore + from ._models import IscsiTarget # type: ignore + from ._models import IscsiTargetList # type: ignore + from ._models import ProxyResource # type: ignore + from ._models import Resource # type: ignore + from ._models import Sku # type: ignore + from ._models import StoragePoolOperationDisplay # type: ignore + from ._models import StoragePoolOperationListResult # type: ignore + from ._models import StoragePoolRpOperation # type: ignore + from ._models import SystemMetadata # type: ignore + from ._models import TargetPortalGroup # type: ignore + from ._models import TrackedResource # type: ignore + +from ._storage_pool_management_enums import ( + OperationalStatus, + ProvisioningStates, + SkuTier, +) + +__all__ = [ + 'Acl', + 'Attributes', + 'Disk', + 'DiskPool', + 'DiskPoolListResult', + 'Error', + 'ErrorAdditionalInfo', + 'ErrorResponse', + 'IscsiLun', + 'IscsiTarget', + 'IscsiTargetList', + 'ProxyResource', + 'Resource', + 'Sku', + 'StoragePoolOperationDisplay', + 'StoragePoolOperationListResult', + 'StoragePoolRpOperation', + 'SystemMetadata', + 'TargetPortalGroup', + 'TrackedResource', + 'OperationalStatus', + 'ProvisioningStates', + 'SkuTier', +] diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py new file mode 100644 index 00000000000..4be1d4b6cff --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py @@ -0,0 +1,800 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + + +class Acl(msrest.serialization.Model): + """Access Control List (ACL) for an iSCSI target lun. + + All required parameters must be populated in order to send to Azure. + + :param initiator_iqn: Required. iSCSI initiator iqn (iSCSI Qualified Name); example: + iqn.2005-03.org.iscsi:client. + :type initiator_iqn: str + :param mapped_luns: Required. Array of lun names mapped to the ACL. + :type mapped_luns: list[str] + :param username: Username for Challenge Handshake Authentication Protocol (CHAP) + authentication. + :type username: str + :param password: Password for Challenge Handshake Authentication Protocol (CHAP) + authentication. + :type password: str + """ + + _validation = { + 'initiator_iqn': {'required': True}, + 'mapped_luns': {'required': True}, + 'username': {'max_length': 128, 'min_length': 7}, + 'password': {'max_length': 512, 'min_length': 12}, + } + + _attribute_map = { + 'initiator_iqn': {'key': 'initiatorIqn', 'type': 'str'}, + 'mapped_luns': {'key': 'mappedLuns', 'type': '[str]'}, + 'username': {'key': 'credentials.username', 'type': 'str'}, + 'password': {'key': 'credentials.password', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Acl, self).__init__(**kwargs) + self.initiator_iqn = kwargs['initiator_iqn'] + self.mapped_luns = kwargs['mapped_luns'] + self.username = kwargs.get('username', None) + self.password = kwargs.get('password', None) + + +class Attributes(msrest.serialization.Model): + """Attributes of an iSCSI target. + + All required parameters must be populated in order to send to Azure. + + :param authentication: Required. Indicates whether or not authentication is enabled on the ACL. + :type authentication: bool + :param prod_mode_write_protect: Required. Indicates whether or not write protect is enabled on + the luns. + :type prod_mode_write_protect: bool + """ + + _validation = { + 'authentication': {'required': True}, + 'prod_mode_write_protect': {'required': True}, + } + + _attribute_map = { + 'authentication': {'key': 'authentication', 'type': 'bool'}, + 'prod_mode_write_protect': {'key': 'prodModeWriteProtect', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(Attributes, self).__init__(**kwargs) + self.authentication = kwargs['authentication'] + self.prod_mode_write_protect = kwargs['prod_mode_write_protect'] + + +class Disk(msrest.serialization.Model): + """Managed disk to attach to the DiskPool. Required. + + All required parameters must be populated in order to send to Azure. + + :param id: Required. Unique Azure resource id of the managed disk. Required. + :type id: str + """ + + _validation = { + 'id': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Disk, self).__init__(**kwargs) + self.id = kwargs['id'] + + +class Resource(msrest.serialization.Model): + """ARM resource model definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class TrackedResource(Resource): + """The resource model definition for a ARM tracked top level resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TrackedResource, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) + self.location = kwargs['location'] + + +class DiskPool(TrackedResource): + """Request payload for Create or Update Disk Pool requests. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + :param sku: Sku description. + :type sku: ~storage_pool_management.models.Sku + :ivar system_data: Resource metadata required by ARM RPC. + :vartype system_data: ~storage_pool_management.models.SystemMetadata + :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: + "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". + :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates + :param availability_zones: Logical zone for DiskPool resource. + :type availability_zones: list[str] + :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", + "Unknown", "Healthy", "Unhealthy". + :vartype status: str or ~storage_pool_management.models.OperationalStatus + :param disks: List of Azure managed disks to attach to a DiskPool. + :type disks: list[~storage_pool_management.models.Disk] + :param subnet_id: Azure resource id of the subnet for the DiskPool. + :type subnet_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'system_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'status': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, + 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DiskPool, self).__init__(**kwargs) + self.sku = kwargs.get('sku', None) + self.system_data = None + self.provisioning_state = None + self.availability_zones = kwargs.get('availability_zones', None) + self.status = None + self.disks = kwargs.get('disks', None) + self.subnet_id = kwargs.get('subnet_id', None) + + +class DiskPoolListResult(msrest.serialization.Model): + """List of Disk Pools. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of Disk Pool objects. + :type value: list[~storage_pool_management.models.DiskPool] + :ivar next_link: URI to fetch the next section of the paginated response. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DiskPool]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DiskPoolListResult, self).__init__(**kwargs) + self.value = kwargs['value'] + self.next_link = None + + +class Error(msrest.serialization.Model): + """The resource management error response. + + :param error: RP error response. + :type error: ~storage_pool_management.models.ErrorResponse + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ErrorResponse'}, + } + + def __init__( + self, + **kwargs + ): + super(Error, self).__init__(**kwargs) + self.error = kwargs.get('error', None) + + +class ErrorAdditionalInfo(msrest.serialization.Model): + """The resource management error additional info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: The additional info type. + :vartype type: str + :ivar info: The additional info. + :vartype info: object + """ + + _validation = { + 'type': {'readonly': True}, + 'info': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'info': {'key': 'info', 'type': 'object'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorAdditionalInfo, self).__init__(**kwargs) + self.type = None + self.info = None + + +class ErrorResponse(msrest.serialization.Model): + """The resource management error response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar code: The error code. + :vartype code: str + :ivar message: The error message. + :vartype message: str + :ivar target: The error target. + :vartype target: str + :ivar details: The error details. + :vartype details: list[~storage_pool_management.models.ErrorResponse] + :ivar additional_info: The error additional info. + :vartype additional_info: list[~storage_pool_management.models.ErrorAdditionalInfo] + """ + + _validation = { + 'code': {'readonly': True}, + 'message': {'readonly': True}, + 'target': {'readonly': True}, + 'details': {'readonly': True}, + 'additional_info': {'readonly': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[ErrorResponse]'}, + 'additional_info': {'key': 'additionalInfo', 'type': '[ErrorAdditionalInfo]'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorResponse, self).__init__(**kwargs) + self.code = None + self.message = None + self.target = None + self.details = None + self.additional_info = None + + +class IscsiLun(msrest.serialization.Model): + """Lun to expose the ManagedDisk. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. Lun name. + :type name: str + :param managed_disk_azure_resource_id: Required. Unique Azure resource id of the managed disk. + Required. + :type managed_disk_azure_resource_id: str + """ + + _validation = { + 'name': {'required': True}, + 'managed_disk_azure_resource_id': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'managed_disk_azure_resource_id': {'key': 'managedDiskAzureResourceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IscsiLun, self).__init__(**kwargs) + self.name = kwargs['name'] + self.managed_disk_azure_resource_id = kwargs['managed_disk_azure_resource_id'] + + +class IscsiTarget(Resource): + """Payload for iSCSI Target Create or Update requests. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: + "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". + :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates + :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", + "Unknown", "Healthy", "Unhealthy". + :vartype status: str or ~storage_pool_management.models.OperationalStatus + :param tpgs: list of iSCSI target portal groups. + :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] + :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: + iqn.2005-03.org.iscsi:server. + :type target_iqn: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'status': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroup]'}, + 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IscsiTarget, self).__init__(**kwargs) + self.provisioning_state = None + self.status = None + self.tpgs = kwargs.get('tpgs', None) + self.target_iqn = kwargs.get('target_iqn', None) + + +class IscsiTargetList(msrest.serialization.Model): + """List of iSCSI Targets. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of iSCSI targets within a Disk Pool. + :type value: list[~storage_pool_management.models.IscsiTarget] + :ivar next_link: URI to fetch the next section of the paginated response. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[IscsiTarget]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IscsiTargetList, self).__init__(**kwargs) + self.value = kwargs['value'] + self.next_link = None + + +class ProxyResource(Resource): + """The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ProxyResource, self).__init__(**kwargs) + + +class Sku(msrest.serialization.Model): + """The resource model definition representing SKU. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code. + :type name: str + :param tier: This field is required to be implemented by the Resource Provider if the service + has more than one tier, but is not required on a PUT. Possible values include: "Free", "Basic", + "Standard", "Premium". + :type tier: str or ~storage_pool_management.models.SkuTier + :param size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :type size: str + :param family: If the service has different generations of hardware, for the same SKU, then + that can be captured here. + :type family: str + :param capacity: If the SKU supports scale out/in then the capacity integer should be included. + If scale out/in is not possible for the resource this may be omitted. + :type capacity: int + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'size': {'key': 'size', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'capacity': {'key': 'capacity', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(Sku, self).__init__(**kwargs) + self.name = kwargs['name'] + self.tier = kwargs.get('tier', None) + self.size = kwargs.get('size', None) + self.family = kwargs.get('family', None) + self.capacity = kwargs.get('capacity', None) + + +class StoragePoolOperationDisplay(msrest.serialization.Model): + """Metadata about an operation. + + All required parameters must be populated in order to send to Azure. + + :param provider: Required. Localized friendly form of the resource provider name. + :type provider: str + :param resource: Required. Localized friendly form of the resource type related to this + action/operation. + :type resource: str + :param operation: Required. Localized friendly name for the operation, as it should be shown to + the user. + :type operation: str + :param description: Required. Localized friendly description for the operation, as it should be + shown to the user. + :type description: str + """ + + _validation = { + 'provider': {'required': True}, + 'resource': {'required': True}, + 'operation': {'required': True}, + 'description': {'required': True}, + } + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StoragePoolOperationDisplay, self).__init__(**kwargs) + self.provider = kwargs['provider'] + self.resource = kwargs['resource'] + self.operation = kwargs['operation'] + self.description = kwargs['description'] + + +class StoragePoolOperationListResult(msrest.serialization.Model): + """List of operations supported by the RP. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of operations supported by the StoragePool RP. + :type value: list[~storage_pool_management.models.StoragePoolRpOperation] + :param next_link: URI to fetch the next section of the paginated response. + :type next_link: str + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StoragePoolRpOperation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StoragePoolOperationListResult, self).__init__(**kwargs) + self.value = kwargs['value'] + self.next_link = kwargs.get('next_link', None) + + +class StoragePoolRpOperation(msrest.serialization.Model): + """Description of a StoragePool RP Operation. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the operation being performed on this particular object. + :type name: str + :param is_data_action: Required. Indicates whether the operation applies to data-plane. + :type is_data_action: bool + :param action_type: Indicates the action type. + :type action_type: str + :param display: Required. Additional metadata about RP operation. + :type display: ~storage_pool_management.models.StoragePoolOperationDisplay + :param origin: The intended executor of the operation; governs the display of the operation in + the RBAC UX and the audit logs UX. + :type origin: str + """ + + _validation = { + 'name': {'required': True}, + 'is_data_action': {'required': True}, + 'display': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, + 'action_type': {'key': 'actionType', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'StoragePoolOperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StoragePoolRpOperation, self).__init__(**kwargs) + self.name = kwargs['name'] + self.is_data_action = kwargs['is_data_action'] + self.action_type = kwargs.get('action_type', None) + self.display = kwargs['display'] + self.origin = kwargs.get('origin', None) + + +class SystemMetadata(msrest.serialization.Model): + """Resource metadata required by ARM RPC. + + :param created_by: A string identifier for the identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource: user, application, + managedIdentity. + :type created_by_type: str + :param created_at: The timestamp of resource creation (UTC). + :type created_at: str + :param last_modified_by: A string identifier for the identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource: user, + application, managedIdentity. + :type last_modified_by_type: str + :param last_modified_at: The timestamp of resource last modification (UTC). + :type last_modified_at: str + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'str'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SystemMetadata, self).__init__(**kwargs) + self.created_by = kwargs.get('created_by', None) + self.created_by_type = kwargs.get('created_by_type', None) + self.created_at = kwargs.get('created_at', None) + self.last_modified_by = kwargs.get('last_modified_by', None) + self.last_modified_by_type = kwargs.get('last_modified_by_type', None) + self.last_modified_at = kwargs.get('last_modified_at', None) + + +class TargetPortalGroup(msrest.serialization.Model): + """iSCSI target portal group. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param luns: Required. Lun list to be exposed through the iSCSI target. Required. + :type luns: list[~storage_pool_management.models.IscsiLun] + :param acls: Required. Access Control List (ACL) for an iSCSI target lun. + :type acls: list[~storage_pool_management.models.Acl] + :param attributes: Required. Attributes of an iSCSI target. + :type attributes: ~storage_pool_management.models.Attributes + :ivar endpoints: list of public ip addresses to connect to the iSCSI target. + :vartype endpoints: list[str] + :ivar tag: The tag associated with the iSCSI target portal group. + :vartype tag: int + :ivar port: The port at which the iSCSI target is available. + :vartype port: int + """ + + _validation = { + 'luns': {'required': True}, + 'acls': {'required': True}, + 'attributes': {'required': True}, + 'endpoints': {'readonly': True}, + 'tag': {'readonly': True}, + 'port': {'readonly': True}, + } + + _attribute_map = { + 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, + 'acls': {'key': 'acls', 'type': '[Acl]'}, + 'attributes': {'key': 'attributes', 'type': 'Attributes'}, + 'endpoints': {'key': 'endpoints', 'type': '[str]'}, + 'tag': {'key': 'tag', 'type': 'int'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(TargetPortalGroup, self).__init__(**kwargs) + self.luns = kwargs['luns'] + self.acls = kwargs['acls'] + self.attributes = kwargs['attributes'] + self.endpoints = None + self.tag = None + self.port = None 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 new file mode 100644 index 00000000000..3c2aad1b4f0 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models_py3.py @@ -0,0 +1,867 @@ +# 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 Dict, List, Optional, Union + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + +from ._storage_pool_management_enums import * + + +class Acl(msrest.serialization.Model): + """Access Control List (ACL) for an iSCSI target lun. + + All required parameters must be populated in order to send to Azure. + + :param initiator_iqn: Required. iSCSI initiator iqn (iSCSI Qualified Name); example: + iqn.2005-03.org.iscsi:client. + :type initiator_iqn: str + :param mapped_luns: Required. Array of lun names mapped to the ACL. + :type mapped_luns: list[str] + :param username: Username for Challenge Handshake Authentication Protocol (CHAP) + authentication. + :type username: str + :param password: Password for Challenge Handshake Authentication Protocol (CHAP) + authentication. + :type password: str + """ + + _validation = { + 'initiator_iqn': {'required': True}, + 'mapped_luns': {'required': True}, + 'username': {'max_length': 128, 'min_length': 7}, + 'password': {'max_length': 512, 'min_length': 12}, + } + + _attribute_map = { + 'initiator_iqn': {'key': 'initiatorIqn', 'type': 'str'}, + 'mapped_luns': {'key': 'mappedLuns', 'type': '[str]'}, + 'username': {'key': 'credentials.username', 'type': 'str'}, + 'password': {'key': 'credentials.password', 'type': 'str'}, + } + + def __init__( + self, + *, + initiator_iqn: str, + mapped_luns: List[str], + username: Optional[str] = None, + password: Optional[str] = None, + **kwargs + ): + super(Acl, self).__init__(**kwargs) + self.initiator_iqn = initiator_iqn + self.mapped_luns = mapped_luns + self.username = username + self.password = password + + +class Attributes(msrest.serialization.Model): + """Attributes of an iSCSI target. + + All required parameters must be populated in order to send to Azure. + + :param authentication: Required. Indicates whether or not authentication is enabled on the ACL. + :type authentication: bool + :param prod_mode_write_protect: Required. Indicates whether or not write protect is enabled on + the luns. + :type prod_mode_write_protect: bool + """ + + _validation = { + 'authentication': {'required': True}, + 'prod_mode_write_protect': {'required': True}, + } + + _attribute_map = { + 'authentication': {'key': 'authentication', 'type': 'bool'}, + 'prod_mode_write_protect': {'key': 'prodModeWriteProtect', 'type': 'bool'}, + } + + def __init__( + self, + *, + authentication: bool, + prod_mode_write_protect: bool, + **kwargs + ): + super(Attributes, self).__init__(**kwargs) + self.authentication = authentication + self.prod_mode_write_protect = prod_mode_write_protect + + +class Disk(msrest.serialization.Model): + """Managed disk to attach to the DiskPool. Required. + + All required parameters must be populated in order to send to Azure. + + :param id: Required. Unique Azure resource id of the managed disk. Required. + :type id: str + """ + + _validation = { + 'id': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + *, + id: str, + **kwargs + ): + super(Disk, self).__init__(**kwargs) + self.id = id + + +class Resource(msrest.serialization.Model): + """ARM resource model definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class TrackedResource(Resource): + """The resource model definition for a ARM tracked top level resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + **kwargs + ): + super(TrackedResource, self).__init__(**kwargs) + self.tags = tags + self.location = location + + +class DiskPool(TrackedResource): + """Request payload for Create or Update Disk Pool requests. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + :param sku: Sku description. + :type sku: ~storage_pool_management.models.Sku + :ivar system_data: Resource metadata required by ARM RPC. + :vartype system_data: ~storage_pool_management.models.SystemMetadata + :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: + "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". + :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates + :param availability_zones: Logical zone for DiskPool resource. + :type availability_zones: list[str] + :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", + "Unknown", "Healthy", "Unhealthy". + :vartype status: str or ~storage_pool_management.models.OperationalStatus + :param disks: List of Azure managed disks to attach to a DiskPool. + :type disks: list[~storage_pool_management.models.Disk] + :param subnet_id: Azure resource id of the subnet for the DiskPool. + :type subnet_id: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'system_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'status': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, + 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + sku: Optional["Sku"] = None, + availability_zones: Optional[List[str]] = None, + disks: Optional[List["Disk"]] = None, + subnet_id: Optional[str] = None, + **kwargs + ): + super(DiskPool, self).__init__(tags=tags, location=location, **kwargs) + self.sku = sku + self.system_data = None + self.provisioning_state = None + self.availability_zones = availability_zones + self.status = None + self.disks = disks + self.subnet_id = subnet_id + + +class DiskPoolListResult(msrest.serialization.Model): + """List of Disk Pools. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of Disk Pool objects. + :type value: list[~storage_pool_management.models.DiskPool] + :ivar next_link: URI to fetch the next section of the paginated response. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DiskPool]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: List["DiskPool"], + **kwargs + ): + super(DiskPoolListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class Error(msrest.serialization.Model): + """The resource management error response. + + :param error: RP error response. + :type error: ~storage_pool_management.models.ErrorResponse + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ErrorResponse'}, + } + + def __init__( + self, + *, + error: Optional["ErrorResponse"] = None, + **kwargs + ): + super(Error, self).__init__(**kwargs) + self.error = error + + +class ErrorAdditionalInfo(msrest.serialization.Model): + """The resource management error additional info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: The additional info type. + :vartype type: str + :ivar info: The additional info. + :vartype info: object + """ + + _validation = { + 'type': {'readonly': True}, + 'info': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'info': {'key': 'info', 'type': 'object'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorAdditionalInfo, self).__init__(**kwargs) + self.type = None + self.info = None + + +class ErrorResponse(msrest.serialization.Model): + """The resource management error response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar code: The error code. + :vartype code: str + :ivar message: The error message. + :vartype message: str + :ivar target: The error target. + :vartype target: str + :ivar details: The error details. + :vartype details: list[~storage_pool_management.models.ErrorResponse] + :ivar additional_info: The error additional info. + :vartype additional_info: list[~storage_pool_management.models.ErrorAdditionalInfo] + """ + + _validation = { + 'code': {'readonly': True}, + 'message': {'readonly': True}, + 'target': {'readonly': True}, + 'details': {'readonly': True}, + 'additional_info': {'readonly': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[ErrorResponse]'}, + 'additional_info': {'key': 'additionalInfo', 'type': '[ErrorAdditionalInfo]'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorResponse, self).__init__(**kwargs) + self.code = None + self.message = None + self.target = None + self.details = None + self.additional_info = None + + +class IscsiLun(msrest.serialization.Model): + """Lun to expose the ManagedDisk. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. Lun name. + :type name: str + :param managed_disk_azure_resource_id: Required. Unique Azure resource id of the managed disk. + Required. + :type managed_disk_azure_resource_id: str + """ + + _validation = { + 'name': {'required': True}, + 'managed_disk_azure_resource_id': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'managed_disk_azure_resource_id': {'key': 'managedDiskAzureResourceId', 'type': 'str'}, + } + + def __init__( + self, + *, + name: str, + managed_disk_azure_resource_id: str, + **kwargs + ): + super(IscsiLun, self).__init__(**kwargs) + self.name = name + self.managed_disk_azure_resource_id = managed_disk_azure_resource_id + + +class IscsiTarget(Resource): + """Payload for iSCSI Target Create or Update requests. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: + "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". + :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates + :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", + "Unknown", "Healthy", "Unhealthy". + :vartype status: str or ~storage_pool_management.models.OperationalStatus + :param tpgs: list of iSCSI target portal groups. + :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] + :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: + iqn.2005-03.org.iscsi:server. + :type target_iqn: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'status': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroup]'}, + 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, + } + + def __init__( + self, + *, + tpgs: Optional[List["TargetPortalGroup"]] = None, + target_iqn: Optional[str] = None, + **kwargs + ): + super(IscsiTarget, self).__init__(**kwargs) + self.provisioning_state = None + self.status = None + self.tpgs = tpgs + self.target_iqn = target_iqn + + +class IscsiTargetList(msrest.serialization.Model): + """List of iSCSI Targets. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of iSCSI targets within a Disk Pool. + :type value: list[~storage_pool_management.models.IscsiTarget] + :ivar next_link: URI to fetch the next section of the paginated response. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[IscsiTarget]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: List["IscsiTarget"], + **kwargs + ): + super(IscsiTargetList, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class ProxyResource(Resource): + """The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ProxyResource, self).__init__(**kwargs) + + +class Sku(msrest.serialization.Model): + """The resource model definition representing SKU. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code. + :type name: str + :param tier: This field is required to be implemented by the Resource Provider if the service + has more than one tier, but is not required on a PUT. Possible values include: "Free", "Basic", + "Standard", "Premium". + :type tier: str or ~storage_pool_management.models.SkuTier + :param size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :type size: str + :param family: If the service has different generations of hardware, for the same SKU, then + that can be captured here. + :type family: str + :param capacity: If the SKU supports scale out/in then the capacity integer should be included. + If scale out/in is not possible for the resource this may be omitted. + :type capacity: int + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'size': {'key': 'size', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'capacity': {'key': 'capacity', 'type': 'int'}, + } + + def __init__( + self, + *, + name: str, + tier: Optional[Union[str, "SkuTier"]] = None, + size: Optional[str] = None, + family: Optional[str] = None, + capacity: Optional[int] = None, + **kwargs + ): + super(Sku, self).__init__(**kwargs) + self.name = name + self.tier = tier + self.size = size + self.family = family + self.capacity = capacity + + +class StoragePoolOperationDisplay(msrest.serialization.Model): + """Metadata about an operation. + + All required parameters must be populated in order to send to Azure. + + :param provider: Required. Localized friendly form of the resource provider name. + :type provider: str + :param resource: Required. Localized friendly form of the resource type related to this + action/operation. + :type resource: str + :param operation: Required. Localized friendly name for the operation, as it should be shown to + the user. + :type operation: str + :param description: Required. Localized friendly description for the operation, as it should be + shown to the user. + :type description: str + """ + + _validation = { + 'provider': {'required': True}, + 'resource': {'required': True}, + 'operation': {'required': True}, + 'description': {'required': True}, + } + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + *, + provider: str, + resource: str, + operation: str, + description: str, + **kwargs + ): + super(StoragePoolOperationDisplay, self).__init__(**kwargs) + self.provider = provider + self.resource = resource + self.operation = operation + self.description = description + + +class StoragePoolOperationListResult(msrest.serialization.Model): + """List of operations supported by the RP. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of operations supported by the StoragePool RP. + :type value: list[~storage_pool_management.models.StoragePoolRpOperation] + :param next_link: URI to fetch the next section of the paginated response. + :type next_link: str + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StoragePoolRpOperation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: List["StoragePoolRpOperation"], + next_link: Optional[str] = None, + **kwargs + ): + super(StoragePoolOperationListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class StoragePoolRpOperation(msrest.serialization.Model): + """Description of a StoragePool RP Operation. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the operation being performed on this particular object. + :type name: str + :param is_data_action: Required. Indicates whether the operation applies to data-plane. + :type is_data_action: bool + :param action_type: Indicates the action type. + :type action_type: str + :param display: Required. Additional metadata about RP operation. + :type display: ~storage_pool_management.models.StoragePoolOperationDisplay + :param origin: The intended executor of the operation; governs the display of the operation in + the RBAC UX and the audit logs UX. + :type origin: str + """ + + _validation = { + 'name': {'required': True}, + 'is_data_action': {'required': True}, + 'display': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, + 'action_type': {'key': 'actionType', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'StoragePoolOperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + } + + def __init__( + self, + *, + name: str, + is_data_action: bool, + display: "StoragePoolOperationDisplay", + action_type: Optional[str] = None, + origin: Optional[str] = None, + **kwargs + ): + super(StoragePoolRpOperation, self).__init__(**kwargs) + self.name = name + self.is_data_action = is_data_action + self.action_type = action_type + self.display = display + self.origin = origin + + +class SystemMetadata(msrest.serialization.Model): + """Resource metadata required by ARM RPC. + + :param created_by: A string identifier for the identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource: user, application, + managedIdentity. + :type created_by_type: str + :param created_at: The timestamp of resource creation (UTC). + :type created_at: str + :param last_modified_by: A string identifier for the identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource: user, + application, managedIdentity. + :type last_modified_by_type: str + :param last_modified_at: The timestamp of resource last modification (UTC). + :type last_modified_at: str + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'str'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'str'}, + } + + def __init__( + self, + *, + created_by: Optional[str] = None, + created_by_type: Optional[str] = None, + created_at: Optional[str] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[str] = None, + last_modified_at: Optional[str] = None, + **kwargs + ): + super(SystemMetadata, self).__init__(**kwargs) + self.created_by = created_by + self.created_by_type = created_by_type + self.created_at = created_at + self.last_modified_by = last_modified_by + self.last_modified_by_type = last_modified_by_type + self.last_modified_at = last_modified_at + + +class TargetPortalGroup(msrest.serialization.Model): + """iSCSI target portal group. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param luns: Required. Lun list to be exposed through the iSCSI target. Required. + :type luns: list[~storage_pool_management.models.IscsiLun] + :param acls: Required. Access Control List (ACL) for an iSCSI target lun. + :type acls: list[~storage_pool_management.models.Acl] + :param attributes: Required. Attributes of an iSCSI target. + :type attributes: ~storage_pool_management.models.Attributes + :ivar endpoints: list of public ip addresses to connect to the iSCSI target. + :vartype endpoints: list[str] + :ivar tag: The tag associated with the iSCSI target portal group. + :vartype tag: int + :ivar port: The port at which the iSCSI target is available. + :vartype port: int + """ + + _validation = { + 'luns': {'required': True}, + 'acls': {'required': True}, + 'attributes': {'required': True}, + 'endpoints': {'readonly': True}, + 'tag': {'readonly': True}, + 'port': {'readonly': True}, + } + + _attribute_map = { + 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, + 'acls': {'key': 'acls', 'type': '[Acl]'}, + 'attributes': {'key': 'attributes', 'type': 'Attributes'}, + 'endpoints': {'key': 'endpoints', 'type': '[str]'}, + 'tag': {'key': 'tag', 'type': 'int'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + *, + luns: List["IscsiLun"], + acls: List["Acl"], + attributes: "Attributes", + **kwargs + ): + super(TargetPortalGroup, self).__init__(**kwargs) + self.luns = luns + self.acls = acls + self.attributes = attributes + self.endpoints = None + self.tag = None + self.port = None 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 new file mode 100644 index 00000000000..deae4a6f128 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_storage_pool_management_enums.py @@ -0,0 +1,59 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class OperationalStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Operational status of the Disk pool + """ + + INVALID = "Invalid" + UNKNOWN = "Unknown" + HEALTHY = "Healthy" + UNHEALTHY = "Unhealthy" + +class ProvisioningStates(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """State of provisioning of the iSCSI target + """ + + INVALID = "Invalid" + SUCCEEDED = "Succeeded" + FAILED = "Failed" + CANCELED = "Canceled" + PENDING = "Pending" + CREATING = "Creating" + UPDATING = "Updating" + DELETING = "Deleting" + +class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """This field is required to be implemented by the Resource Provider if the service has more than + one tier, but is not required on a PUT. + """ + + FREE = "Free" + BASIC = "Basic" + STANDARD = "Standard" + PREMIUM = "Premium" diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py new file mode 100644 index 00000000000..076a93504e6 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py @@ -0,0 +1,17 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations import Operations +from ._disk_pools_operations import DiskPoolsOperations +from ._iscsi_targets_operations import IscsiTargetsOperations + +__all__ = [ + 'Operations', + 'DiskPoolsOperations', + 'IscsiTargetsOperations', +] 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 new file mode 100644 index 00000000000..2e4c1229772 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pools_operations.py @@ -0,0 +1,558 @@ +# 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.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class DiskPoolsOperations(object): + """DiskPoolsOperations 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_by_subscription( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.DiskPoolListResult"] + """Gets a list of Disk Pools in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.DiskPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + 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('DiskPoolListResult', 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_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.DiskPoolListResult"] + """Gets a list of DiskPools. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.DiskPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_resource_group.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]$'), + } + 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('DiskPoolListResult', 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_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + disk_pool_payload, # type: "models.DiskPool" + **kwargs # type: Any + ): + # type: (...) -> "models.DiskPool" + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(disk_pool_payload, 'DiskPool') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + disk_pool_payload, # type: "models.DiskPool" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["models.DiskPool"] + """Create a new Disk Pool. + + :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 + :param disk_pool_payload: Request payload for Disk Pool operations. + :type disk_pool_payload: ~storage_pool_management.models.DiskPool + :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 DiskPool or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.DiskPool] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + 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._create_or_update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + disk_pool_payload=disk_pool_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def update( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + disk_pool_payload, # type: "models.DiskPool" + **kwargs # type: Any + ): + # type: (...) -> "models.DiskPool" + """Update a Storage Pool. + + :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 + :param disk_pool_payload: Request payload for Disk Pool operations. + :type disk_pool_payload: ~storage_pool_management.models.DiskPool + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DiskPool, or the result of cls(response) + :rtype: ~storage_pool_management.models.DiskPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(disk_pool_payload, 'DiskPool') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + 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) + + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def _delete_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 = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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.delete(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, 204]: + 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, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Delete a Disk Pool. + + :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._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.DiskPool" + """Get a Disk Pool. + + :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 + :return: DiskPool, or the result of cls(response) + :rtype: ~storage_pool_management.models.DiskPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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.get(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]: + 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) + + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # 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 new file mode 100644 index 00000000000..c043566ef13 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_iscsi_targets_operations.py @@ -0,0 +1,444 @@ +# 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.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class IscsiTargetsOperations(object): + """IscsiTargetsOperations 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_by_disk_pool( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.IscsiTargetList"] + """Get iSCSI Targets within a Disk Pool. + + :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 + :return: An iterator like instance of either IscsiTargetList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.IscsiTargetList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTargetList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_disk_pool.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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('IscsiTargetList', 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_by_disk_pool.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + iscsi_target_payload, # type: "models.IscsiTarget" + **kwargs # type: Any + ): + # type: (...) -> "models.IscsiTarget" + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(iscsi_target_payload, 'IscsiTarget') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + iscsi_target_payload, # type: "models.IscsiTarget" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["models.IscsiTarget"] + """Create or Update an iSCSI target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :param iscsi_target_payload: Request payload for iSCSI target operations. + :type iscsi_target_payload: ~storage_pool_management.models.IscsiTarget + :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 IscsiTarget or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.IscsiTarget] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + 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._create_or_update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name, + iscsi_target_payload=iscsi_target_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_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 = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.delete(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, 204]: + 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, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_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._delete_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.IscsiTarget" + """Gets an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: IscsiTarget, or the result of cls(response) + :rtype: ~storage_pool_management.models.IscsiTarget + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.get(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]: + 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) + + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operations.py new file mode 100644 index 00000000000..bf704ee6432 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operations.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from 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 Operations(object): + """Operations 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, + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.StoragePoolOperationListResult"] + """Gets a list of StoragePool operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StoragePoolOperationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.StoragePoolOperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.StoragePoolOperationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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 + # 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('StoragePoolOperationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return 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': '/providers/Microsoft.StoragePool/operations'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/py.typed b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/py.typed new file mode 100644 index 00000000000..e5aff4f83af --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file From 1316e938f7b8afe13d011a460657125750ff9cd0 Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Mon, 11 Jan 2021 17:10:13 +0800 Subject: [PATCH 08/30] regenerage --- .../azext_diskpool/generated/_help.py | 97 +- .../azext_diskpool/generated/_params.py | 31 +- .../azext_diskpool/generated/action.py | 62 +- .../azext_diskpool/generated/commands.py | 2 +- .../azext_diskpool/generated/custom.py | 69 +- src/diskpool/azext_diskpool/manual/_params.py | 1 + src/diskpool/azext_diskpool/tests/__init__.py | 8 +- .../tests/latest/example_steps.py | 82 +- .../tests/latest/test_diskpool_scenario.py | 57 +- .../azext_diskpool/vendored_sdks/__init__.py | 12 - .../vendored_sdks/storagepool/__init__.py | 16 - .../storagepool/_configuration.py | 70 -- .../storagepool/_storage_pool_management.py | 80 -- .../vendored_sdks/storagepool/aio/__init__.py | 10 - .../storagepool/aio/_configuration.py | 66 -- .../storagepool/aio/_configuration_async.py | 67 -- .../aio/_storage_pool_management.py | 74 -- .../aio/_storage_pool_management_async.py | 74 -- .../storagepool/aio/operations/__init__.py | 17 - .../aio/operations/_disk_pools_operations.py | 546 ----------- .../operations/_iscsi_targets_operations.py | 434 --------- .../storagepool/aio/operations/_operations.py | 105 --- .../aio/operations_async/__init__.py | 17 - .../_disk_pools_operations_async.py | 517 ----------- .../_iscsi_targets_operations_async.py | 408 --------- .../aio/operations_async/_operations_async.py | 102 --- .../storagepool/models/__init__.py | 82 -- .../storagepool/models/_models.py | 800 ---------------- .../storagepool/models/_models_py3.py | 867 ------------------ .../models/_storage_pool_management_enums.py | 59 -- .../storagepool/operations/__init__.py | 17 - .../operations/_disk_pools_operations.py | 558 ----------- .../operations/_iscsi_targets_operations.py | 444 --------- .../storagepool/operations/_operations.py | 110 --- .../vendored_sdks/storagepool/py.typed | 1 - src/diskpool/gen.zip | Bin 9799 -> 11239 bytes src/diskpool/report.md | 67 +- 37 files changed, 247 insertions(+), 5782 deletions(-) delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/__init__.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/_storage_pool_management.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/__init__.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration_async.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_storage_pool_management.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_storage_pool_management_async.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/__init__.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pools_operations.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_iscsi_targets_operations.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_operations.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/__init__.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_disk_pools_operations_async.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_iscsi_targets_operations_async.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_operations_async.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/__init__.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models_py3.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_storage_pool_management_enums.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pools_operations.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_iscsi_targets_operations.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operations.py delete mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/py.typed diff --git a/src/diskpool/azext_diskpool/generated/_help.py b/src/diskpool/azext_diskpool/generated/_help.py index 19baf26bd35..1c4ecf44faa 100644 --- a/src/diskpool/azext_diskpool/generated/_help.py +++ b/src/diskpool/azext_diskpool/generated/_help.py @@ -19,7 +19,7 @@ helps['disk-pool list'] = """ type: command - short-summary: "Gets a list of DiskPools. And Gets a list of Disk Pools in a subscription." + short-summary: "Gets a list of DiskPools in a resource group. And Gets a list of Disk Pools in a subscription." examples: - name: List Disk Pools text: |- @@ -33,90 +33,60 @@ type: command short-summary: "Get a Disk Pool." examples: - - name: Get a diskPool + - name: Get Disk Pool text: |- az disk-pool show --name "myDiskPool" --resource-group "myResourceGroup" """ helps['disk-pool create'] = """ type: command - short-summary: "Create a new Disk Pool." + short-summary: "Create Disk Pool." parameters: - - name: --sku - short-summary: "Sku description." - long-summary: | - Usage: --sku name=XX tier=XX size=XX family=XX capacity=XX - - name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code - tier: This field is required to be implemented by the Resource Provider if the service has more than one \ -tier, but is not required on a PUT. - size: The SKU size. When the name field is the combination of tier and some other value, this would be the \ -standalone code. - family: If the service has different generations of hardware, for the same SKU, then that can be captured \ -here. - capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in \ -is not possible for the resource this may be omitted. - name: --disks - short-summary: "List of Azure managed disks to attach to a DiskPool" + short-summary: "List of Azure Managed Disks to attach to a Disk Pool." long-summary: | The order of this parameter is specific customized. Usage: --disks id-value - id: Required. Unique Azure resource id of the managed disk. Required. + id: Required. Unique Azure Resource ID of the Managed Disk. Multiple actions can be specified by using more than one --disks argument. examples: - - name: Create or Update a Disk Pool + - name: Create or Update Disk Pool text: |- - az disk-pool create --name "myDiskPool" --location "westus" --availability-zones "1" --disks \ + az disk-pool create --location "westus" --availability-zones "1" --disks "/subscriptions/11111111-1111-1\ +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_0" --disks "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/provider\ -s/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resource\ -Groups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --sku name="Standard_ABC" \ ---tags key="value" --resource-group "myResourceGroup" +m-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/prov\ +iders/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --tags key="value" --name "myDiskPool" \ +--resource-group "myResourceGroup" """ helps['disk-pool update'] = """ type: command - short-summary: "Update a Storage Pool." + short-summary: "Update a Disk Pool." parameters: - - name: --sku - short-summary: "Sku description." - long-summary: | - Usage: --sku name=XX tier=XX size=XX family=XX capacity=XX - - name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code - tier: This field is required to be implemented by the Resource Provider if the service has more than one \ -tier, but is not required on a PUT. - size: The SKU size. When the name field is the combination of tier and some other value, this would be the \ -standalone code. - family: If the service has different generations of hardware, for the same SKU, then that can be captured \ -here. - capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in \ -is not possible for the resource this may be omitted. - name: --disks - short-summary: "List of Azure managed disks to attach to a DiskPool" + short-summary: "List of Azure Managed Disks to attach to a Disk Pool." long-summary: | The order of this parameter is specific customized. Usage: --disks id-value - id: Required. Unique Azure resource id of the managed disk. Required. + id: Required. Unique Azure Resource ID of the Managed Disk. Multiple actions can be specified by using more than one --disks argument. examples: - name: Update Disk Pool text: |- - az disk-pool update --name "myDiskPool" --location "westus" --availability-zones "1" --disks \ + 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_0" --disks "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/provider\ -s/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resource\ -Groups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --tags key="value" \ ---resource-group "myResourceGroup" +m-name_DataDisk_1" --tags key="value" --resource-group "myResourceGroup" """ helps['disk-pool delete'] = """ type: command short-summary: "Delete a Disk Pool." examples: - - name: Update Disk Pool + - name: Delete Disk Pool text: |- az disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" """ @@ -128,6 +98,9 @@ - name: Pause executing next line of CLI script until the disk-pool is successfully created. text: |- az disk-pool wait --name "myDiskPool" --resource-group "myResourceGroup" --created + - name: Pause executing next line of CLI script until the disk-pool is successfully updated. + text: |- + az disk-pool wait --name "myDiskPool" --resource-group "myResourceGroup" --updated - name: Pause executing next line of CLI script until the disk-pool is successfully deleted. text: |- az disk-pool wait --name "myDiskPool" --resource-group "myResourceGroup" --deleted @@ -140,7 +113,7 @@ helps['disk-pool iscsi-target list'] = """ type: command - short-summary: "Get iSCSI Targets within a Disk Pool." + short-summary: "Get iSCSI Targets in a Disk Pool." examples: - name: List Disk Pools by Resource Group text: |- @@ -149,9 +122,9 @@ helps['disk-pool iscsi-target show'] = """ type: command - short-summary: "Gets an iSCSI Target." + short-summary: "Get an iSCSI Target." examples: - - name: Get an iscsiTarget + - name: Get iSCSI Target text: |- az disk-pool iscsi-target show --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ "myResourceGroup" @@ -159,28 +132,36 @@ helps['disk-pool iscsi-target create'] = """ type: command - short-summary: "Create an iSCSI target." + short-summary: "Create an iSCSI Target." examples: - - name: Create or Update an iSCSI Target + - name: Create or Update iSCSI Target text: |- - 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\\",\\"usernam\ + az disk-pool iscsi-target create --disk-pool-name "myDiskPool" --target-iqn \ +"iqn.2005-03.org.iscsi:server1" --tpgs "[{\\"acls\\":[{\\"credentials\\":{\\"password\\":\\"some_password\\",\\"usernam\ e\\":\\"some_username\\"},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}],\\"attr\ ibutes\\":{\\"authentication\\":true,\\"prodModeWriteProtect\\":false},\\"luns\\":[{\\"name\\":\\"lun0\\",\\"managedDis\ kAzureResourceId\\":\\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Mic\ -rosoft.Compute/disks/vm-name_DataDisk_1\\"}]}]" --resource-group "myResourceGroup" +rosoft.Compute/disks/vm-name_DataDisk_1\\"}]}]" --name "myIscsiTarget" --resource-group "myResourceGroup" """ helps['disk-pool iscsi-target update'] = """ type: command short-summary: "Update an iSCSI target." + examples: + - name: Update iSCSI Target + text: |- + az disk-pool iscsi-target update --disk-pool-name "myDiskPool" --name "myIscsiTarget" --tpgs \ +"[{\\"acls\\":[{\\"credentials\\":{\\"password\\":\\"some_password\\",\\"username\\":\\"some_username\\"},\\"initiatorI\ +qn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}],\\"luns\\":[{\\"name\\":\\"lun0\\",\\"managedD\ +iskAzureResourceId\\":\\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/M\ +icrosoft.Compute/disks/vm-name_DataDisk_1\\"}]}]" --resource-group "myResourceGroup" """ helps['disk-pool iscsi-target delete'] = """ type: command - short-summary: "Deletes an iSCSI Target." + short-summary: "Delete an iSCSI Target." examples: - - name: Delete an iscsiTarget + - name: Delete iSCSI Target text: |- az disk-pool iscsi-target delete --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ "myResourceGroup" diff --git a/src/diskpool/azext_diskpool/generated/_params.py b/src/diskpool/azext_diskpool/generated/_params.py index 6a8db4d0153..f9009d12841 100644 --- a/src/diskpool/azext_diskpool/generated/_params.py +++ b/src/diskpool/azext_diskpool/generated/_params.py @@ -20,8 +20,8 @@ validate_file_or_dict ) from azext_diskpool.action import ( - AddSku, - AddDisks + AddDiskPoolCreateDisks, + AddDiskPoolUpdateDisks ) @@ -42,22 +42,19 @@ 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('sku', action=AddSku, nargs='+', help='Sku description.') - c.argument('availability_zones', nargs='+', help='Logical zone for DiskPool resource.') - c.argument('disks', action=AddDisks, nargs='+', help='List of Azure managed disks to attach to a DiskPool') - c.argument('subnet_id', type=str, help='Azure resource id of the subnet for the DiskPool') + 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.') + c.argument('subnet_id', type=str, help='Azure Resource ID of a Subnet for the Disk Pool.') + c.argument('additional_capabilities', nargs='+', help='List of additional capabilities for a Disk Pool.') with self.argument_context('disk-pool update') 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') 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('sku', action=AddSku, nargs='+', help='Sku description.') - c.argument('availability_zones', nargs='+', help='Logical zone for DiskPool resource.') - c.argument('disks', action=AddDisks, nargs='+', help='List of Azure managed disks to attach to a DiskPool') - c.argument('subnet_id', type=str, help='Azure resource id of the subnet for the DiskPool') + c.argument('disks', action=AddDiskPoolUpdateDisks, nargs='+', help='List of Azure Managed Disks to attach to a ' + 'Disk Pool.') with self.argument_context('disk-pool delete') as c: c.argument('resource_group_name', resource_group_name_type) @@ -84,20 +81,18 @@ 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('tpgs', type=validate_file_or_dict, help='list of iSCSI target portal groups Expected value: ' + c.argument('tpgs', type=validate_file_or_dict, help='List of iSCSI target portal groups. Expected value: ' 'json-string/@json-file.') - c.argument('target_iqn', type=str, help='iSCSI target iqn (iSCSI Qualified Name); example: ' - 'iqn.2005-03.org.iscsi:server') + c.argument('target_iqn', type=str, help='iSCSI target IQN (iSCSI Qualified Name); example: ' + '"iqn.2005-03.org.iscsi:server".') with self.argument_context('disk-pool iscsi-target update') 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.', 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('tpgs', type=validate_file_or_dict, help='list of iSCSI target portal groups Expected value: ' + c.argument('tpgs', type=validate_file_or_dict, help='List of iSCSI target portal groups. Expected value: ' 'json-string/@json-file.') - c.argument('target_iqn', type=str, help='iSCSI target iqn (iSCSI Qualified Name); example: ' - 'iqn.2005-03.org.iscsi:server') with self.argument_context('disk-pool iscsi-target delete') as c: c.argument('resource_group_name', resource_group_name_type) diff --git a/src/diskpool/azext_diskpool/generated/action.py b/src/diskpool/azext_diskpool/generated/action.py index 10b171f83a3..13ecbf9563b 100644 --- a/src/diskpool/azext_diskpool/generated/action.py +++ b/src/diskpool/azext_diskpool/generated/action.py @@ -14,51 +14,45 @@ from knack.util import CLIError -class AddSku(argparse.Action): +class AddDiskPoolCreateDisks(argparse._AppendAction): def __call__(self, parser, namespace, values, option_string=None): action = self.get_action(values, option_string) - namespace.sku = action + for item in action: + super(AddDiskPoolCreateDisks, self).__call__(parser, namespace, item, option_string) - def get_action(self, values, option_string): # pylint: disable=no-self-use + def get_action(self, values, option_string=None): try: - properties = defaultdict(list) - for (k, v) in (x.split('=', 1) for x in values): - properties[k].append(v) - properties = dict(properties) + 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 + } + ) + return value_list except ValueError: - raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) - d = {} - for k in properties: - kl = k.lower() - v = properties[k] - if kl == 'name': - d['name'] = v[0] - elif kl == 'tier': - d['tier'] = v[0] - elif kl == 'size': - d['size'] = v[0] - elif kl == 'family': - d['family'] = v[0] - elif kl == 'capacity': - d['capacity'] = v[0] - return d - + raise CLIError('usage error: {} NAME METRIC OPERATION VALUE'.format(option_string)) -class AddDisks(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(AddDiskPoolUpdateDisks, self).__call__(parser, namespace, item, option_string) + + def get_action(self, values, option_string=None): try: - value_list = values.split() - value_chunk_list = [value_list[x:x+1] for x in range(0, len(value_list), 1)] - Disk = namespace._cmd.get_models('Disk') - Disks = [] + 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 - Disks.append( - Disk( - id = id - ) + value_list.append( + { + 'id': id + } ) - return Disks + return value_list except ValueError: raise CLIError('usage error: {} NAME METRIC OPERATION VALUE'.format(option_string)) diff --git a/src/diskpool/azext_diskpool/generated/commands.py b/src/diskpool/azext_diskpool/generated/commands.py index a7c52dae5cd..b3ab869f05b 100644 --- a/src/diskpool/azext_diskpool/generated/commands.py +++ b/src/diskpool/azext_diskpool/generated/commands.py @@ -24,7 +24,7 @@ def load_command_table(self, _): 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') + 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_wait_command('wait', 'disk_pool_show') diff --git a/src/diskpool/azext_diskpool/generated/custom.py b/src/diskpool/azext_diskpool/generated/custom.py index 856c1059413..8a6ddd58b80 100644 --- a/src/diskpool/azext_diskpool/generated/custom.py +++ b/src/diskpool/azext_diskpool/generated/custom.py @@ -30,45 +30,40 @@ def disk_pool_create(client, resource_group_name, disk_pool_name, location, + availability_zones, + subnet_id, tags=None, - sku=None, - availability_zones=None, disks=None, - subnet_id=None, + additional_capabilities=None, no_wait=False): - disk_pool_payload = {} - disk_pool_payload['tags'] = tags - disk_pool_payload['location'] = location - disk_pool_payload['sku'] = sku - disk_pool_payload['availability_zones'] = availability_zones - disk_pool_payload['disks'] = disks - disk_pool_payload['subnet_id'] = subnet_id + disk_pool_create_payload = {} + 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 + disk_pool_create_payload['subnet_id'] = subnet_id + 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, disk_pool_name=disk_pool_name, - disk_pool_payload=disk_pool_payload) + disk_pool_create_payload=disk_pool_create_payload) def disk_pool_update(client, resource_group_name, disk_pool_name, - location, tags=None, - sku=None, - availability_zones=None, disks=None, - subnet_id=None): - disk_pool_payload = {} - disk_pool_payload['tags'] = tags - disk_pool_payload['location'] = location - disk_pool_payload['sku'] = sku - disk_pool_payload['availability_zones'] = availability_zones - disk_pool_payload['disks'] = disks - disk_pool_payload['subnet_id'] = subnet_id - return client.update(resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - disk_pool_payload=disk_pool_payload) + no_wait=False): + disk_pool_update_payload = {} + disk_pool_update_payload['tags'] = tags + disk_pool_update_payload['disks'] = disks + return sdk_no_wait(no_wait, + client.begin_update, + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + disk_pool_update_payload=disk_pool_update_payload) def disk_pool_delete(client, @@ -101,36 +96,34 @@ def disk_pool_iscsi_target_create(client, resource_group_name, disk_pool_name, iscsi_target_name, - tpgs=None, - target_iqn=None, + tpgs, + target_iqn, no_wait=False): - iscsi_target_payload = {} - iscsi_target_payload['tpgs'] = tpgs - iscsi_target_payload['target_iqn'] = target_iqn + iscsi_target_create_payload = {} + iscsi_target_create_payload['tpgs'] = tpgs + iscsi_target_create_payload['target_iqn'] = target_iqn return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name=resource_group_name, disk_pool_name=disk_pool_name, iscsi_target_name=iscsi_target_name, - iscsi_target_payload=iscsi_target_payload) + iscsi_target_create_payload=iscsi_target_create_payload) def disk_pool_iscsi_target_update(client, resource_group_name, disk_pool_name, iscsi_target_name, - tpgs=None, - target_iqn=None, + tpgs, no_wait=False): - iscsi_target_payload = {} - iscsi_target_payload['tpgs'] = tpgs - iscsi_target_payload['target_iqn'] = target_iqn + iscsi_target_update_payload = {} + iscsi_target_update_payload['tpgs'] = tpgs return sdk_no_wait(no_wait, - client.begin_create_or_update, + client.begin_update, resource_group_name=resource_group_name, disk_pool_name=disk_pool_name, iscsi_target_name=iscsi_target_name, - iscsi_target_payload=iscsi_target_payload) + iscsi_target_update_payload=iscsi_target_update_payload) def disk_pool_iscsi_target_delete(client, diff --git a/src/diskpool/azext_diskpool/manual/_params.py b/src/diskpool/azext_diskpool/manual/_params.py index 35a48560495..2daedcd206b 100644 --- a/src/diskpool/azext_diskpool/manual/_params.py +++ b/src/diskpool/azext_diskpool/manual/_params.py @@ -30,3 +30,4 @@ def load_arguments(self, _): with self.argument_context('disk-pool') as c: 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.') diff --git a/src/diskpool/azext_diskpool/tests/__init__.py b/src/diskpool/azext_diskpool/tests/__init__.py index 50e0627daff..70488e93851 100644 --- a/src/diskpool/azext_diskpool/tests/__init__.py +++ b/src/diskpool/azext_diskpool/tests/__init__.py @@ -31,8 +31,8 @@ def try_manual(func): def import_manual_function(origin_func): from importlib import import_module - decorated_path = inspect.getfile(origin_func) - module_path = __path__[0] + decorated_path = inspect.getfile(origin_func).lower() + module_path = __path__[0].lower() if not decorated_path.startswith(module_path): raise Exception("Decorator can only be used in submodules!") manual_path = os.path.join( @@ -46,7 +46,6 @@ def import_manual_function(origin_func): def get_func_to_call(): func_to_call = func try: - func_to_call = import_manual_function(func) func_to_call = import_manual_function(func) logger.info("Found manual override for %s(...)", func.__name__) except (ImportError, AttributeError): @@ -66,6 +65,9 @@ def wrapper(*args, **kwargs): ret = func_to_call(*args, **kwargs) except (AssertionError, AzureError, CliTestError, CliExecutionError, SystemExit, JMESPathCheckAssertionError) as e: + use_exception_cache = os.getenv("TEST_EXCEPTION_CACHE") + if use_exception_cache is None or use_exception_cache.lower() != "true": + raise test_map[func.__name__]["end_dt"] = dt.datetime.utcnow() test_map[func.__name__]["result"] = FAILED test_map[func.__name__]["error_message"] = str(e).replace("\r\n", " ").replace("\n", " ")[:500] diff --git a/src/diskpool/azext_diskpool/tests/latest/example_steps.py b/src/diskpool/azext_diskpool/tests/latest/example_steps.py index fb6392205d1..a6dad4435fa 100644 --- a/src/diskpool/azext_diskpool/tests/latest/example_steps.py +++ b/src/diskpool/azext_diskpool/tests/latest/example_steps.py @@ -12,32 +12,45 @@ from .. import try_manual -# EXAMPLE: /DiskPools/put/Create or Update a Disk Pool +# EXAMPLE: /DiskPools/put/Create or Update Disk Pool @try_manual -def step_create(test, rg, checks=None): +def step_create_required(test, rg, checks=None): if checks is None: checks = [] test.cmd('az disk-pool create ' - '--name "{myDiskPool}" ' - '--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" ' + '--availability-zones "{zone}" ' '--subnet-id "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtualNetw' 'orks/{vn}/subnets/default" ' - '--sku name="Standard_ABC" ' - '--tags key="value" ' + '--name "{myDiskPool}" ' '--resource-group "{rg}"', - checks=checks) + checks=[]) test.cmd('az disk-pool wait --created ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=checks) + + +@try_manual +def step_create(test, rg, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool create ' + '--location "{location}" ' + '--availability-zones "{zone}" ' + '--disks "{myDisk1}" ' + '--disks "{myDisk2}" ' + '--subnet-id "{subnet}" ' + '--tags "{tag}" ' '--name "{myDiskPool}" ' '--resource-group "{rg}"', checks=[]) + test.cmd('az disk-pool wait --created ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=checks) -# EXAMPLE: /DiskPools/get/Get a diskPool +# EXAMPLE: /DiskPools/get/Get Disk Pool @try_manual def step_show(test, rg, checks=None): if checks is None: @@ -60,7 +73,7 @@ def step_list(test, rg, checks=None): # EXAMPLE: /DiskPools/get/List Disk Pools by subscription @try_manual -def step_list(test, rg, checks=None): +def step_list2(test, rg, checks=None): if checks is None: checks = [] test.cmd('az disk-pool list ' @@ -75,42 +88,35 @@ def step_update(test, rg, checks=None): checks = [] test.cmd('az disk-pool update ' '--name "{myDiskPool}" ' - '--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/default" ' + '--disks "{myDisk}" ' '--tags key="value" ' '--resource-group "{rg}"', checks=checks) -# EXAMPLE: /IscsiTargets/put/Create or Update an iSCSI Target +# EXAMPLE: /IscsiTargets/put/Create or Update iSCSI Target @try_manual def step_iscsi_target_create(test, rg, checks=None): if checks is None: checks = [] test.cmd('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_us' + '--tpgs "[{{\\"acls\\":[{{\\"credentials\\":{{\\"password\\":\\"some_password\\",\\"username\\":\\"some_us' 'ername\\"}},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}}],\\"att' 'ributes\\":{{\\"authentication\\":true,\\"prodModeWriteProtect\\":false}},\\"luns\\":[{{\\"name\\":\\"lun' '0\\",\\"managedDiskAzureResourceId\\":\\"/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/M' 'icrosoft.Compute/disks/vm-name_DataDisk_1\\"}}]}}]" ' + '--name "{myIscsiTarget}" ' '--resource-group "{rg}"', - checks=checks) + checks=[]) test.cmd('az disk-pool iscsi-target wait --created ' '--name "{myIscsiTarget}" ' '--resource-group "{rg}"', - checks=[]) + checks=checks) -# EXAMPLE: /IscsiTargets/get/Get an iscsiTarget +# EXAMPLE: /IscsiTargets/get/Get iSCSI Target @try_manual def step_iscsi_target_show(test, rg, checks=None): if checks is None: @@ -133,7 +139,23 @@ def step_iscsi_target_list(test, rg, checks=None): checks=checks) -# EXAMPLE: /IscsiTargets/delete/Delete an iscsiTarget +# EXAMPLE: /IscsiTargets/patch/Update iSCSI Target +@try_manual +def step_iscsi_target_update(test, rg, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool iscsi-target update ' + '--disk-pool-name "{myDiskPool}" ' + '--name "{myIscsiTarget}" ' + '--tpgs "[{{\\"acls\\":[{{\\"credentials\\":{{\\"password\\":\\"some_password\\",\\"username\\":\\"some_us' + 'ername\\"}},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}}],\\"lun' + 's\\":[{{\\"name\\":\\"lun0\\",\\"managedDiskAzureResourceId\\":\\"/subscriptions/{subscription_id}/resour' + 'ceGroups/{rg}/providers/Microsoft.Compute/disks/vm-name_DataDisk_1\\"}}]}}]" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /IscsiTargets/delete/Delete iSCSI Target @try_manual def step_iscsi_target_delete(test, rg, checks=None): if checks is None: @@ -145,7 +167,7 @@ def step_iscsi_target_delete(test, rg, checks=None): checks=checks) -# EXAMPLE: /DiskPools/delete/Update Disk Pool +# EXAMPLE: /DiskPools/delete/Delete Disk Pool @try_manual def step_delete(test, rg, checks=None): if checks is None: diff --git a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py index c35f2f86bfb..01792b375c8 100644 --- a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py +++ b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py @@ -12,14 +12,15 @@ from azure.cli.testsdk import ScenarioTest from azure.cli.testsdk import ResourceGroupPreparer from .preparers import VirtualNetworkPreparer -from .example_steps import step_create +from .example_steps import step_create, step_create_required from .example_steps import step_show from .example_steps import step_list -from .example_steps import step_list +from .example_steps import step_list2 from .example_steps import step_update from .example_steps import step_iscsi_target_create from .example_steps import step_iscsi_target_show from .example_steps import step_iscsi_target_list +from .example_steps import step_iscsi_target_update from .example_steps import step_iscsi_target_delete from .example_steps import step_delete from .. import ( @@ -48,38 +49,63 @@ def cleanup_scenario(test, rg): @try_manual def call_scenario(test, rg): setup_scenario(test, rg) - step_create(test, rg, checks=[ + step_create_required(test, rg, checks=[ + test.check("availabilityZones[0]", "{zone}", case_sensitive=False), + test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" + "lNetworks/{vn}/subnets/default", case_sensitive=False), test.check("name", "{myDiskPool}", case_sensitive=False), + test.check("disks", None) + ]) + step_update(test, rg, checks=[ + test.check("availabilityZones[0]", "{zone}", case_sensitive=False), test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" "lNetworks/{vn}/subnets/default", case_sensitive=False), + test.check("name", "{myDiskPool}", case_sensitive=False), + test.check("tags.key", "value"), + test.check("disks[0].id", "{myDisk}") ]) - step_show(test, rg, checks=[ + test.kwargs['myDiskPool'] = test.create_random_name(prefix='newpool', length=10), + step_create(test, rg, checks=[ + test.check("availabilityZones[0]", "{zone}", case_sensitive=False), + test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" + "lNetworks/{vn}/subnets/default", case_sensitive=False), test.check("name", "{myDiskPool}", case_sensitive=False), + test.check("disks[0].id", "{myDisk1}"), + test.check("disks[1].id", "{myDisk2}") + ]) + step_show(test, rg, checks=[ + test.check("availabilityZones[0]", "{zone}", case_sensitive=False), test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" "lNetworks/{vn}/subnets/default", case_sensitive=False), + test.check("name", "{myDiskPool}", case_sensitive=False), ]) step_list(test, rg, checks=[ test.check('length(@)', 1), ]) - step_list(test, rg, checks=[ + step_list2(test, rg, checks=[ test.check('length(@)', 1), ]) step_update(test, rg, checks=[ - test.check("name", "{myDiskPool}", case_sensitive=False), + test.check("availabilityZones[0]", "{zone}", case_sensitive=False), test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" "lNetworks/{vn}/subnets/default", case_sensitive=False), + test.check("name", "{myDiskPool}", case_sensitive=False), ]) step_iscsi_target_create(test, rg, checks=[ - test.check("name", "{myIscsiTarget}", case_sensitive=False), test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), + test.check("name", "{myIscsiTarget}", case_sensitive=False), ]) step_iscsi_target_show(test, rg, checks=[ - test.check("name", "{myIscsiTarget}", case_sensitive=False), test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), + test.check("name", "{myIscsiTarget}", case_sensitive=False), ]) step_iscsi_target_list(test, rg, checks=[ test.check('length(@)', 1), ]) + step_iscsi_target_update(test, rg, checks=[ + test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), + test.check("name", "{myIscsiTarget}", case_sensitive=False), + ]) step_iscsi_target_delete(test, rg, checks=[]) step_delete(test, rg, checks=[]) cleanup_scenario(test, rg) @@ -89,19 +115,22 @@ def call_scenario(test, rg): @try_manual class DiskpoolScenarioTest(ScenarioTest): - @ResourceGroupPreparer(name_prefix='clitestdiskpool_myResourceGroup'[:7], key='rg', parameter_name='rg') - @VirtualNetworkPreparer(name_prefix='clitestdiskpool_myvnet'[:7], key='vn', resource_group_key='rg') - def test_diskpool_Scenario(self, rg): - + def __init__(self, *args, **kwargs): + super(DiskpoolScenarioTest, self).__init__(*args, **kwargs) self.kwargs.update({ 'subscription_id': self.get_subscription_id() }) self.kwargs.update({ - 'myDiskPool': 'myDiskPool', - 'myIscsiTarget': 'myIscsiTarget', + 'myDiskPool': self.create_random_name(prefix='myDiskPool'[:5], length=10), + 'myIscsiTarget': self.create_random_name(prefix='myIscsiTarget'[:6], length=13), + 'myDisk': self.create_random_name(prefix='disk', length=10), + 'zone': "3" }) + @ResourceGroupPreparer(name_prefix='clitestdiskpool_myResourceGroup'[:7], key='rg', parameter_name='rg') + @VirtualNetworkPreparer(name_prefix='clitestdiskpool_myvnet'[:7], key='vn', resource_group_key='rg') + def test_diskpool_Scenario(self, rg): call_scenario(self, rg) calc_coverage(__file__) raise_if() diff --git a/src/diskpool/azext_diskpool/vendored_sdks/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/__init__.py deleted file mode 100644 index c9cfdc73e77..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/__init__.py +++ /dev/null @@ -1,12 +0,0 @@ -# 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. -# -------------------------------------------------------------------------- - -__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py deleted file mode 100644 index 40013efe44d..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py +++ /dev/null @@ -1,16 +0,0 @@ -# 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 ._storage_pool_management import StoragePoolManagement -__all__ = ['StoragePoolManagement'] - -try: - from ._patch import patch_sdk # type: ignore - patch_sdk() -except ImportError: - pass diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py deleted file mode 100644 index cb67cb735d4..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py +++ /dev/null @@ -1,70 +0,0 @@ -# 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 - -from azure.core.configuration import Configuration -from azure.core.pipeline import policies -from azure.mgmt.core.policies import ARMHttpLoggingPolicy - -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. - - Note that all parameters used to create this instance are saved as instance - attributes. - - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials.TokenCredential - :param subscription_id: The ID of the target subscription. - :type subscription_id: str - """ - - def __init__( - self, - credential, # type: "TokenCredential" - subscription_id, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - if credential is None: - raise ValueError("Parameter 'credential' must not be None.") - if subscription_id is None: - raise ValueError("Parameter 'subscription_id' must not be None.") - super(StoragePoolManagementConfiguration, self).__init__(**kwargs) - - self.credential = credential - self.subscription_id = subscription_id - self.api_version = "2020-03-15-preview" - self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) - kwargs.setdefault('sdk_moniker', 'storagepoolmanagement/{}'.format(VERSION)) - self._configure(**kwargs) - - def _configure( - self, - **kwargs # type: Any - ): - # type: (...) -> None - self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) - self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) - self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) - self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) - self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) - self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) - self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) - self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) - self.authentication_policy = kwargs.get('authentication_policy') - if self.credential and not self.authentication_policy: - self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) 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 deleted file mode 100644 index 2d9df4d0e0a..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_storage_pool_management.py +++ /dev/null @@ -1,80 +0,0 @@ -# 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 - -from azure.mgmt.core import ARMPipelineClient -from msrest import Deserializer, Serializer - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Optional - - from azure.core.credentials import TokenCredential - -from ._configuration import StoragePoolManagementConfiguration -from .operations import Operations -from .operations import DiskPoolsOperations -from .operations import IscsiTargetsOperations -from . import models - - -class StoragePoolManagement(object): - """StoragePoolManagement. - - :ivar operations: Operations operations - :vartype operations: storage_pool_management.operations.Operations - :ivar disk_pools: DiskPoolsOperations operations - :vartype disk_pools: storage_pool_management.operations.DiskPoolsOperations - :ivar iscsi_targets: IscsiTargetsOperations operations - :vartype iscsi_targets: storage_pool_management.operations.IscsiTargetsOperations - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials.TokenCredential - :param subscription_id: The ID of the target subscription. - :type subscription_id: str - :param str base_url: Service URL - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - """ - - def __init__( - self, - credential, # type: "TokenCredential" - subscription_id, # type: str - base_url=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> None - if not base_url: - base_url = 'https://management.azure.com' - self._config = StoragePoolManagementConfiguration(credential, subscription_id, **kwargs) - self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) - - client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False - self._deserialize = Deserializer(client_models) - - self.operations = Operations( - self._client, self._config, self._serialize, self._deserialize) - self.disk_pools = DiskPoolsOperations( - self._client, self._config, self._serialize, self._deserialize) - self.iscsi_targets = IscsiTargetsOperations( - self._client, self._config, self._serialize, self._deserialize) - - def close(self): - # type: () -> None - self._client.close() - - def __enter__(self): - # type: () -> StoragePoolManagement - self._client.__enter__() - return self - - def __exit__(self, *exc_details): - # type: (Any) -> None - self._client.__exit__(*exc_details) diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/__init__.py deleted file mode 100644 index 9eb7de1efa2..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/__init__.py +++ /dev/null @@ -1,10 +0,0 @@ -# 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 ._storage_pool_management import StoragePoolManagement -__all__ = ['StoragePoolManagement'] diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py deleted file mode 100644 index 1aa64ffe5b1..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py +++ /dev/null @@ -1,66 +0,0 @@ -# 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, TYPE_CHECKING - -from azure.core.configuration import Configuration -from azure.core.pipeline import policies -from azure.mgmt.core.policies import ARMHttpLoggingPolicy - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from azure.core.credentials_async import AsyncTokenCredential - -VERSION = "unknown" - -class StoragePoolManagementConfiguration(Configuration): - """Configuration for StoragePoolManagement. - - Note that all parameters used to create this instance are saved as instance - attributes. - - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials_async.AsyncTokenCredential - :param subscription_id: The ID of the target subscription. - :type subscription_id: str - """ - - def __init__( - self, - credential: "AsyncTokenCredential", - subscription_id: str, - **kwargs: Any - ) -> None: - if credential is None: - raise ValueError("Parameter 'credential' must not be None.") - if subscription_id is None: - raise ValueError("Parameter 'subscription_id' must not be None.") - super(StoragePoolManagementConfiguration, self).__init__(**kwargs) - - self.credential = credential - self.subscription_id = subscription_id - self.api_version = "2020-03-15-preview" - self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) - kwargs.setdefault('sdk_moniker', 'storagepoolmanagement/{}'.format(VERSION)) - self._configure(**kwargs) - - def _configure( - self, - **kwargs: Any - ) -> None: - self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) - self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) - self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) - self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) - self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) - self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) - self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) - self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) - self.authentication_policy = kwargs.get('authentication_policy') - if self.credential and not self.authentication_policy: - self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration_async.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration_async.py deleted file mode 100644 index 72a7f47d9cd..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration_async.py +++ /dev/null @@ -1,67 +0,0 @@ -# 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, TYPE_CHECKING - -from azure.core.configuration import Configuration -from azure.core.pipeline import policies -from azure.mgmt.core.policies import ARMHttpLoggingPolicy - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from azure.core.credentials_async import AsyncTokenCredential - -VERSION = "unknown" - -class StoragePoolManagementConfiguration(Configuration): - """Configuration for StoragePoolManagement. - - Note that all parameters used to create this instance are saved as instance - attributes. - - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials_async.AsyncTokenCredential - :param subscription_id: The ID of the target subscription. - :type subscription_id: str - """ - - def __init__( - self, - credential: "AsyncTokenCredential", - subscription_id: str, - **kwargs: Any - ) -> None: - if credential is None: - raise ValueError("Parameter 'credential' must not be None.") - if subscription_id is None: - raise ValueError("Parameter 'subscription_id' must not be None.") - super(StoragePoolManagementConfiguration, self).__init__(**kwargs) - - self.credential = credential - self.subscription_id = subscription_id - self.api_version = "2020-03-15-preview" - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) - kwargs.setdefault('sdk_moniker', 'storagepoolmanagement/{}'.format(VERSION)) - self._configure(**kwargs) - - def _configure( - self, - **kwargs: Any - ) -> None: - self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) - self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) - self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) - self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) - self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) - self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) - self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) - self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) - self.authentication_policy = kwargs.get('authentication_policy') - if self.credential and not self.authentication_policy: - self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) 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 deleted file mode 100644 index ec95131fa9f..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_storage_pool_management.py +++ /dev/null @@ -1,74 +0,0 @@ -# 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, Optional, TYPE_CHECKING - -from azure.mgmt.core import AsyncARMPipelineClient -from msrest import Deserializer, Serializer - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from azure.core.credentials_async import AsyncTokenCredential - -from ._configuration import StoragePoolManagementConfiguration -from .operations import Operations -from .operations import DiskPoolsOperations -from .operations import IscsiTargetsOperations -from .. import models - - -class StoragePoolManagement(object): - """StoragePoolManagement. - - :ivar operations: Operations operations - :vartype operations: storage_pool_management.aio.operations.Operations - :ivar disk_pools: DiskPoolsOperations operations - :vartype disk_pools: storage_pool_management.aio.operations.DiskPoolsOperations - :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. - :type credential: ~azure.core.credentials_async.AsyncTokenCredential - :param subscription_id: The ID of the target subscription. - :type subscription_id: str - :param str base_url: Service URL - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - """ - - def __init__( - self, - credential: "AsyncTokenCredential", - subscription_id: str, - base_url: Optional[str] = None, - **kwargs: Any - ) -> None: - if not base_url: - base_url = 'https://management.azure.com' - self._config = StoragePoolManagementConfiguration(credential, subscription_id, **kwargs) - self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) - - client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False - self._deserialize = Deserializer(client_models) - - self.operations = Operations( - self._client, self._config, self._serialize, self._deserialize) - self.disk_pools = DiskPoolsOperations( - self._client, self._config, self._serialize, self._deserialize) - self.iscsi_targets = IscsiTargetsOperations( - self._client, self._config, self._serialize, self._deserialize) - - async def close(self) -> None: - await self._client.close() - - async def __aenter__(self) -> "StoragePoolManagement": - await self._client.__aenter__() - return self - - async def __aexit__(self, *exc_details) -> None: - await self._client.__aexit__(*exc_details) diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_storage_pool_management_async.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_storage_pool_management_async.py deleted file mode 100644 index 2865f24eabb..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_storage_pool_management_async.py +++ /dev/null @@ -1,74 +0,0 @@ -# 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, Optional, TYPE_CHECKING - -from azure.mgmt.core import AsyncARMPipelineClient -from msrest import Deserializer, Serializer - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from azure.core.credentials_async import AsyncTokenCredential - -from ._configuration_async import StoragePoolManagementConfiguration -from .operations_async import Operations -from .operations_async import DiskPoolsOperations -from .operations_async import IscsiTargetsOperations -from .. import models - - -class StoragePoolManagement(object): - """StoragePoolManagement. - - :ivar operations: Operations operations - :vartype operations: storage_pool_management.aio.operations_async.Operations - :ivar disk_pools: DiskPoolsOperations operations - :vartype disk_pools: storage_pool_management.aio.operations_async.DiskPoolsOperations - :ivar iscsi_targets: IscsiTargetsOperations operations - :vartype iscsi_targets: storage_pool_management.aio.operations_async.IscsiTargetsOperations - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials_async.AsyncTokenCredential - :param subscription_id: The ID of the target subscription. - :type subscription_id: str - :param str base_url: Service URL - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - """ - - def __init__( - self, - credential: "AsyncTokenCredential", - subscription_id: str, - base_url: Optional[str] = None, - **kwargs: Any - ) -> None: - if not base_url: - base_url = 'https://management.azure.com' - self._config = StoragePoolManagementConfiguration(credential, subscription_id, **kwargs) - self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) - - client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False - self._deserialize = Deserializer(client_models) - - self.operations = Operations( - self._client, self._config, self._serialize, self._deserialize) - self.disk_pools = DiskPoolsOperations( - self._client, self._config, self._serialize, self._deserialize) - self.iscsi_targets = IscsiTargetsOperations( - self._client, self._config, self._serialize, self._deserialize) - - async def close(self) -> None: - await self._client.close() - - async def __aenter__(self) -> "StoragePoolManagement": - await self._client.__aenter__() - return self - - async def __aexit__(self, *exc_details) -> None: - await self._client.__aexit__(*exc_details) 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 deleted file mode 100644 index 076a93504e6..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/__init__.py +++ /dev/null @@ -1,17 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - -from ._operations import Operations -from ._disk_pools_operations import DiskPoolsOperations -from ._iscsi_targets_operations import IscsiTargetsOperations - -__all__ = [ - 'Operations', - 'DiskPoolsOperations', - 'IscsiTargetsOperations', -] 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 deleted file mode 100644 index cc0a1230259..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pools_operations.py +++ /dev/null @@ -1,546 +0,0 @@ -# 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, Union -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.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class DiskPoolsOperations: - """DiskPoolsOperations 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_by_subscription( - self, - **kwargs - ) -> AsyncIterable["models.DiskPoolListResult"]: - """Gets a list of Disk Pools in a subscription. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.DiskPoolListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_subscription.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - 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('DiskPoolListResult', 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_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools'} # type: ignore - - def list_by_resource_group( - self, - resource_group_name: str, - **kwargs - ) -> AsyncIterable["models.DiskPoolListResult"]: - """Gets a list of DiskPools. - - :param resource_group_name: The name of the resource group. The name is case insensitive. - :type resource_group_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.DiskPoolListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_resource_group.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]$'), - } - 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('DiskPoolListResult', 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_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools'} # type: ignore - - async def _create_or_update_initial( - self, - resource_group_name: str, - disk_pool_name: str, - disk_pool_payload: "models.DiskPool", - **kwargs - ) -> "models.DiskPool": - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_payload, 'DiskPool') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - 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 response.status_code == 200: - deserialized = self._deserialize('DiskPool', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def begin_create_or_update( - self, - resource_group_name: str, - disk_pool_name: str, - disk_pool_payload: "models.DiskPool", - **kwargs - ) -> AsyncLROPoller["models.DiskPool"]: - """Create a new Disk Pool. - - :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 - :param disk_pool_payload: Request payload for Disk Pool operations. - :type disk_pool_payload: ~storage_pool_management.models.DiskPool - :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 DiskPool or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.DiskPool] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - 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._create_or_update_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - disk_pool_payload=disk_pool_payload, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def update( - self, - resource_group_name: str, - disk_pool_name: str, - disk_pool_payload: "models.DiskPool", - **kwargs - ) -> "models.DiskPool": - """Update a Storage Pool. - - :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 - :param disk_pool_payload: Request payload for Disk Pool operations. - :type disk_pool_payload: ~storage_pool_management.models.DiskPool - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DiskPool, or the result of cls(response) - :rtype: ~storage_pool_management.models.DiskPool - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.update.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_payload, 'DiskPool') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - 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) - - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def _delete_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 = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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.delete(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, 204]: - 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, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def begin_delete( - self, - resource_group_name: str, - disk_pool_name: str, - **kwargs - ) -> AsyncLROPoller[None]: - """Delete a Disk Pool. - - :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._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - disk_pool_name: str, - **kwargs - ) -> "models.DiskPool": - """Get a Disk Pool. - - :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 - :return: DiskPool, or the result of cls(response) - :rtype: ~storage_pool_management.models.DiskPool - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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.get(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]: - 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) - - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # 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 deleted file mode 100644 index b136ab3a5e9..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_iscsi_targets_operations.py +++ /dev/null @@ -1,434 +0,0 @@ -# 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, Union -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.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class IscsiTargetsOperations: - """IscsiTargetsOperations 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_by_disk_pool( - self, - resource_group_name: str, - disk_pool_name: str, - **kwargs - ) -> AsyncIterable["models.IscsiTargetList"]: - """Get iSCSI Targets within a Disk Pool. - - :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 - :return: An iterator like instance of either IscsiTargetList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.IscsiTargetList] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTargetList"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_disk_pool.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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('IscsiTargetList', 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_by_disk_pool.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets'} # type: ignore - - async def _create_or_update_initial( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_name: str, - iscsi_target_payload: "models.IscsiTarget", - **kwargs - ) -> "models.IscsiTarget": - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(iscsi_target_payload, 'IscsiTarget') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - 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 response.status_code == 200: - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - async def begin_create_or_update( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_name: str, - iscsi_target_payload: "models.IscsiTarget", - **kwargs - ) -> AsyncLROPoller["models.IscsiTarget"]: - """Create or Update an iSCSI target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_name: str - :param iscsi_target_payload: Request payload for iSCSI target operations. - :type iscsi_target_payload: ~storage_pool_management.models.IscsiTarget - :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 IscsiTarget or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.IscsiTarget] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - 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._create_or_update_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_name, - iscsi_target_payload=iscsi_target_payload, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - async def _delete_initial( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_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 = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.delete(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, 204]: - 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, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - async def begin_delete( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_name: str, - **kwargs - ) -> AsyncLROPoller[None]: - """Deletes an iSCSI Target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_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._delete_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_name: str, - **kwargs - ) -> "models.IscsiTarget": - """Gets an iSCSI Target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IscsiTarget, or the result of cls(response) - :rtype: ~storage_pool_management.models.IscsiTarget - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.get(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]: - 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) - - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore 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 deleted file mode 100644 index 0b14b016f3e..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_operations.py +++ /dev/null @@ -1,105 +0,0 @@ -# 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 Operations: - """Operations 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, - **kwargs - ) -> AsyncIterable["models.StoragePoolOperationListResult"]: - """Gets a list of StoragePool operations. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either StoragePoolOperationListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.StoragePoolOperationListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.StoragePoolOperationListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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 - # 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('StoragePoolOperationListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return 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': '/providers/Microsoft.StoragePool/operations'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/__init__.py deleted file mode 100644 index 3d2a1d8faa5..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/__init__.py +++ /dev/null @@ -1,17 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - -from ._operations_async import Operations -from ._disk_pools_operations_async import DiskPoolsOperations -from ._iscsi_targets_operations_async import IscsiTargetsOperations - -__all__ = [ - 'Operations', - 'DiskPoolsOperations', - 'IscsiTargetsOperations', -] diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_disk_pools_operations_async.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_disk_pools_operations_async.py deleted file mode 100644 index 1e18dd47c71..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_disk_pools_operations_async.py +++ /dev/null @@ -1,517 +0,0 @@ -# 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, Union -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class DiskPoolsOperations: - """DiskPoolsOperations 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_by_subscription( - self, - **kwargs - ) -> AsyncIterable["models.DiskPoolListResult"]: - """Gets a list of Disk Pools in a subscription. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.DiskPoolListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list_by_subscription.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - 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('DiskPoolListResult', 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_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools'} # type: ignore - - def list_by_resource_group( - self, - resource_group_name: str, - **kwargs - ) -> AsyncIterable["models.DiskPoolListResult"]: - """Gets a list of DiskPools. - - :param resource_group_name: The name of the resource group. The name is case insensitive. - :type resource_group_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.DiskPoolListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list_by_resource_group.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]$'), - } - 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('DiskPoolListResult', 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_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools'} # type: ignore - - async def _create_or_update_initial( - self, - resource_group_name: str, - disk_pool_name: str, - disk_pool_payload: "models.DiskPool", - **kwargs - ) -> "models.DiskPool": - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_payload, 'DiskPool') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - - 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 response.status_code == 200: - deserialized = self._deserialize('DiskPool', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def begin_create_or_update( - self, - resource_group_name: str, - disk_pool_name: str, - disk_pool_payload: "models.DiskPool", - **kwargs - ) -> AsyncLROPoller["models.DiskPool"]: - """Create a new Disk Pool. - - :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 - :param disk_pool_payload: Request payload for Disk Pool operations. - :type disk_pool_payload: ~storage_pool_management.models.DiskPool - :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 DiskPool or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.DiskPool] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - 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._create_or_update_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - disk_pool_payload=disk_pool_payload, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - if polling is True: polling_method = AsyncARMPolling(lro_delay, **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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def update( - self, - resource_group_name: str, - disk_pool_name: str, - disk_pool_payload: "models.DiskPool", - **kwargs - ) -> "models.DiskPool": - """Update a Storage Pool. - - :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 - :param disk_pool_payload: Request payload for Disk Pool operations. - :type disk_pool_payload: ~storage_pool_management.models.DiskPool - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DiskPool, or the result of cls(response) - :rtype: ~storage_pool_management.models.DiskPool - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.update.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_payload, 'DiskPool') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - 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) - - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def _delete_initial( - self, - resource_group_name: str, - disk_pool_name: str, - **kwargs - ) -> None: - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - - # Construct URL - url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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] - - request = self._client.delete(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, 204]: - 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, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def begin_delete( - self, - resource_group_name: str, - disk_pool_name: str, - **kwargs - ) -> AsyncLROPoller[None]: - """Delete a Disk Pool. - - :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._delete_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, {}) - - if polling is True: polling_method = AsyncARMPolling(lro_delay, **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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - disk_pool_name: str, - **kwargs - ) -> "models.DiskPool": - """Get a Disk Pool. - - :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 - :return: DiskPool, or the result of cls(response) - :rtype: ~storage_pool_management.models.DiskPool - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - - # Construct URL - url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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'] = 'application/json' - - request = self._client.get(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]: - 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) - - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_iscsi_targets_operations_async.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_iscsi_targets_operations_async.py deleted file mode 100644 index 6772b122210..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_iscsi_targets_operations_async.py +++ /dev/null @@ -1,408 +0,0 @@ -# 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, Union -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class IscsiTargetsOperations: - """IscsiTargetsOperations 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_by_disk_pool( - self, - resource_group_name: str, - disk_pool_name: str, - **kwargs - ) -> AsyncIterable["models.IscsiTargetList"]: - """Get iSCSI Targets within a Disk Pool. - - :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 - :return: An iterator like instance of either IscsiTargetList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.IscsiTargetList] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTargetList"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list_by_disk_pool.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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('IscsiTargetList', 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_by_disk_pool.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets'} # type: ignore - - async def _create_or_update_initial( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_name: str, - iscsi_target_payload: "models.IscsiTarget", - **kwargs - ) -> "models.IscsiTarget": - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(iscsi_target_payload, 'IscsiTarget') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - - 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 response.status_code == 200: - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - async def begin_create_or_update( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_name: str, - iscsi_target_payload: "models.IscsiTarget", - **kwargs - ) -> AsyncLROPoller["models.IscsiTarget"]: - """Create or Update an iSCSI target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_name: str - :param iscsi_target_payload: Request payload for iSCSI target operations. - :type iscsi_target_payload: ~storage_pool_management.models.IscsiTarget - :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 IscsiTarget or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.IscsiTarget] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - 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._create_or_update_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_name, - iscsi_target_payload=iscsi_target_payload, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - if polling is True: polling_method = AsyncARMPolling(lro_delay, **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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - async def _delete_initial( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_name: str, - **kwargs - ) -> None: - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - - # Construct URL - url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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] - - request = self._client.delete(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, 204]: - 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, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - async def begin_delete( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_name: str, - **kwargs - ) -> AsyncLROPoller[None]: - """Deletes an iSCSI Target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_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._delete_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_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, {}) - - if polling is True: polling_method = AsyncARMPolling(lro_delay, **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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_name: str, - **kwargs - ) -> "models.IscsiTarget": - """Gets an iSCSI Target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IscsiTarget, or the result of cls(response) - :rtype: ~storage_pool_management.models.IscsiTarget - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - - # Construct URL - url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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'] = 'application/json' - - request = self._client.get(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]: - 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) - - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_operations_async.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_operations_async.py deleted file mode 100644 index 7b1dc7e0c6b..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations_async/_operations_async.py +++ /dev/null @@ -1,102 +0,0 @@ -# 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 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 Operations: - """Operations 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, - **kwargs - ) -> AsyncIterable["models.StoragePoolOperationListResult"]: - """Gets a list of StoragePool operations. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either StoragePoolOperationListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.StoragePoolOperationListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.StoragePoolOperationListResult"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - # 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('StoragePoolOperationListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return 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': '/providers/Microsoft.StoragePool/operations'} # 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 deleted file mode 100644 index d4ec87c63c8..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/__init__.py +++ /dev/null @@ -1,82 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - -try: - from ._models_py3 import Acl - from ._models_py3 import Attributes - from ._models_py3 import Disk - from ._models_py3 import DiskPool - from ._models_py3 import DiskPoolListResult - from ._models_py3 import Error - from ._models_py3 import ErrorAdditionalInfo - from ._models_py3 import ErrorResponse - from ._models_py3 import IscsiLun - from ._models_py3 import IscsiTarget - from ._models_py3 import IscsiTargetList - from ._models_py3 import ProxyResource - from ._models_py3 import Resource - from ._models_py3 import Sku - from ._models_py3 import StoragePoolOperationDisplay - from ._models_py3 import StoragePoolOperationListResult - from ._models_py3 import StoragePoolRpOperation - from ._models_py3 import SystemMetadata - from ._models_py3 import TargetPortalGroup - from ._models_py3 import TrackedResource -except (SyntaxError, ImportError): - from ._models import Acl # type: ignore - from ._models import Attributes # type: ignore - from ._models import Disk # type: ignore - from ._models import DiskPool # type: ignore - from ._models import DiskPoolListResult # type: ignore - from ._models import Error # type: ignore - from ._models import ErrorAdditionalInfo # type: ignore - from ._models import ErrorResponse # type: ignore - from ._models import IscsiLun # type: ignore - from ._models import IscsiTarget # type: ignore - from ._models import IscsiTargetList # type: ignore - from ._models import ProxyResource # type: ignore - from ._models import Resource # type: ignore - from ._models import Sku # type: ignore - from ._models import StoragePoolOperationDisplay # type: ignore - from ._models import StoragePoolOperationListResult # type: ignore - from ._models import StoragePoolRpOperation # type: ignore - from ._models import SystemMetadata # type: ignore - from ._models import TargetPortalGroup # type: ignore - from ._models import TrackedResource # type: ignore - -from ._storage_pool_management_enums import ( - OperationalStatus, - ProvisioningStates, - SkuTier, -) - -__all__ = [ - 'Acl', - 'Attributes', - 'Disk', - 'DiskPool', - 'DiskPoolListResult', - 'Error', - 'ErrorAdditionalInfo', - 'ErrorResponse', - 'IscsiLun', - 'IscsiTarget', - 'IscsiTargetList', - 'ProxyResource', - 'Resource', - 'Sku', - 'StoragePoolOperationDisplay', - 'StoragePoolOperationListResult', - 'StoragePoolRpOperation', - 'SystemMetadata', - 'TargetPortalGroup', - 'TrackedResource', - 'OperationalStatus', - 'ProvisioningStates', - 'SkuTier', -] diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py deleted file mode 100644 index 4be1d4b6cff..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py +++ /dev/null @@ -1,800 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - -from azure.core.exceptions import HttpResponseError -import msrest.serialization - - -class Acl(msrest.serialization.Model): - """Access Control List (ACL) for an iSCSI target lun. - - All required parameters must be populated in order to send to Azure. - - :param initiator_iqn: Required. iSCSI initiator iqn (iSCSI Qualified Name); example: - iqn.2005-03.org.iscsi:client. - :type initiator_iqn: str - :param mapped_luns: Required. Array of lun names mapped to the ACL. - :type mapped_luns: list[str] - :param username: Username for Challenge Handshake Authentication Protocol (CHAP) - authentication. - :type username: str - :param password: Password for Challenge Handshake Authentication Protocol (CHAP) - authentication. - :type password: str - """ - - _validation = { - 'initiator_iqn': {'required': True}, - 'mapped_luns': {'required': True}, - 'username': {'max_length': 128, 'min_length': 7}, - 'password': {'max_length': 512, 'min_length': 12}, - } - - _attribute_map = { - 'initiator_iqn': {'key': 'initiatorIqn', 'type': 'str'}, - 'mapped_luns': {'key': 'mappedLuns', 'type': '[str]'}, - 'username': {'key': 'credentials.username', 'type': 'str'}, - 'password': {'key': 'credentials.password', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Acl, self).__init__(**kwargs) - self.initiator_iqn = kwargs['initiator_iqn'] - self.mapped_luns = kwargs['mapped_luns'] - self.username = kwargs.get('username', None) - self.password = kwargs.get('password', None) - - -class Attributes(msrest.serialization.Model): - """Attributes of an iSCSI target. - - All required parameters must be populated in order to send to Azure. - - :param authentication: Required. Indicates whether or not authentication is enabled on the ACL. - :type authentication: bool - :param prod_mode_write_protect: Required. Indicates whether or not write protect is enabled on - the luns. - :type prod_mode_write_protect: bool - """ - - _validation = { - 'authentication': {'required': True}, - 'prod_mode_write_protect': {'required': True}, - } - - _attribute_map = { - 'authentication': {'key': 'authentication', 'type': 'bool'}, - 'prod_mode_write_protect': {'key': 'prodModeWriteProtect', 'type': 'bool'}, - } - - def __init__( - self, - **kwargs - ): - super(Attributes, self).__init__(**kwargs) - self.authentication = kwargs['authentication'] - self.prod_mode_write_protect = kwargs['prod_mode_write_protect'] - - -class Disk(msrest.serialization.Model): - """Managed disk to attach to the DiskPool. Required. - - All required parameters must be populated in order to send to Azure. - - :param id: Required. Unique Azure resource id of the managed disk. Required. - :type id: str - """ - - _validation = { - 'id': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Disk, self).__init__(**kwargs) - self.id = kwargs['id'] - - -class Resource(msrest.serialization.Model): - """ARM resource model definition. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Resource, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - - -class TrackedResource(Resource): - """The resource model definition for a ARM tracked top level resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(TrackedResource, self).__init__(**kwargs) - self.tags = kwargs.get('tags', None) - self.location = kwargs['location'] - - -class DiskPool(TrackedResource): - """Request payload for Create or Update Disk Pool requests. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - :param sku: Sku description. - :type sku: ~storage_pool_management.models.Sku - :ivar system_data: Resource metadata required by ARM RPC. - :vartype system_data: ~storage_pool_management.models.SystemMetadata - :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: - "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". - :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :param availability_zones: Logical zone for DiskPool resource. - :type availability_zones: list[str] - :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", - "Unknown", "Healthy", "Unhealthy". - :vartype status: str or ~storage_pool_management.models.OperationalStatus - :param disks: List of Azure managed disks to attach to a DiskPool. - :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Azure resource id of the subnet for the DiskPool. - :type subnet_id: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - 'system_data': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - 'status': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - 'sku': {'key': 'sku', 'type': 'Sku'}, - 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, - 'status': {'key': 'properties.status', 'type': 'str'}, - 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, - 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(DiskPool, self).__init__(**kwargs) - self.sku = kwargs.get('sku', None) - self.system_data = None - self.provisioning_state = None - self.availability_zones = kwargs.get('availability_zones', None) - self.status = None - self.disks = kwargs.get('disks', None) - self.subnet_id = kwargs.get('subnet_id', None) - - -class DiskPoolListResult(msrest.serialization.Model): - """List of Disk Pools. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. An array of Disk Pool objects. - :type value: list[~storage_pool_management.models.DiskPool] - :ivar next_link: URI to fetch the next section of the paginated response. - :vartype next_link: str - """ - - _validation = { - 'value': {'required': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[DiskPool]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(DiskPoolListResult, self).__init__(**kwargs) - self.value = kwargs['value'] - self.next_link = None - - -class Error(msrest.serialization.Model): - """The resource management error response. - - :param error: RP error response. - :type error: ~storage_pool_management.models.ErrorResponse - """ - - _attribute_map = { - 'error': {'key': 'error', 'type': 'ErrorResponse'}, - } - - def __init__( - self, - **kwargs - ): - super(Error, self).__init__(**kwargs) - self.error = kwargs.get('error', None) - - -class ErrorAdditionalInfo(msrest.serialization.Model): - """The resource management error additional info. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar type: The additional info type. - :vartype type: str - :ivar info: The additional info. - :vartype info: object - """ - - _validation = { - 'type': {'readonly': True}, - 'info': {'readonly': True}, - } - - _attribute_map = { - 'type': {'key': 'type', 'type': 'str'}, - 'info': {'key': 'info', 'type': 'object'}, - } - - def __init__( - self, - **kwargs - ): - super(ErrorAdditionalInfo, self).__init__(**kwargs) - self.type = None - self.info = None - - -class ErrorResponse(msrest.serialization.Model): - """The resource management error response. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar code: The error code. - :vartype code: str - :ivar message: The error message. - :vartype message: str - :ivar target: The error target. - :vartype target: str - :ivar details: The error details. - :vartype details: list[~storage_pool_management.models.ErrorResponse] - :ivar additional_info: The error additional info. - :vartype additional_info: list[~storage_pool_management.models.ErrorAdditionalInfo] - """ - - _validation = { - 'code': {'readonly': True}, - 'message': {'readonly': True}, - 'target': {'readonly': True}, - 'details': {'readonly': True}, - 'additional_info': {'readonly': True}, - } - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - 'target': {'key': 'target', 'type': 'str'}, - 'details': {'key': 'details', 'type': '[ErrorResponse]'}, - 'additional_info': {'key': 'additionalInfo', 'type': '[ErrorAdditionalInfo]'}, - } - - def __init__( - self, - **kwargs - ): - super(ErrorResponse, self).__init__(**kwargs) - self.code = None - self.message = None - self.target = None - self.details = None - self.additional_info = None - - -class IscsiLun(msrest.serialization.Model): - """Lun to expose the ManagedDisk. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. Lun name. - :type name: str - :param managed_disk_azure_resource_id: Required. Unique Azure resource id of the managed disk. - Required. - :type managed_disk_azure_resource_id: str - """ - - _validation = { - 'name': {'required': True}, - 'managed_disk_azure_resource_id': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'managed_disk_azure_resource_id': {'key': 'managedDiskAzureResourceId', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(IscsiLun, self).__init__(**kwargs) - self.name = kwargs['name'] - self.managed_disk_azure_resource_id = kwargs['managed_disk_azure_resource_id'] - - -class IscsiTarget(Resource): - """Payload for iSCSI Target Create or Update requests. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: - "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". - :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", - "Unknown", "Healthy", "Unhealthy". - :vartype status: str or ~storage_pool_management.models.OperationalStatus - :param tpgs: list of iSCSI target portal groups. - :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] - :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: - iqn.2005-03.org.iscsi:server. - :type target_iqn: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - 'status': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'status': {'key': 'properties.status', 'type': 'str'}, - 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroup]'}, - 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(IscsiTarget, self).__init__(**kwargs) - self.provisioning_state = None - self.status = None - self.tpgs = kwargs.get('tpgs', None) - self.target_iqn = kwargs.get('target_iqn', None) - - -class IscsiTargetList(msrest.serialization.Model): - """List of iSCSI Targets. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. An array of iSCSI targets within a Disk Pool. - :type value: list[~storage_pool_management.models.IscsiTarget] - :ivar next_link: URI to fetch the next section of the paginated response. - :vartype next_link: str - """ - - _validation = { - 'value': {'required': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[IscsiTarget]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(IscsiTargetList, self).__init__(**kwargs) - self.value = kwargs['value'] - self.next_link = None - - -class ProxyResource(Resource): - """The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ProxyResource, self).__init__(**kwargs) - - -class Sku(msrest.serialization.Model): - """The resource model definition representing SKU. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code. - :type name: str - :param tier: This field is required to be implemented by the Resource Provider if the service - has more than one tier, but is not required on a PUT. Possible values include: "Free", "Basic", - "Standard", "Premium". - :type tier: str or ~storage_pool_management.models.SkuTier - :param size: The SKU size. When the name field is the combination of tier and some other value, - this would be the standalone code. - :type size: str - :param family: If the service has different generations of hardware, for the same SKU, then - that can be captured here. - :type family: str - :param capacity: If the SKU supports scale out/in then the capacity integer should be included. - If scale out/in is not possible for the resource this may be omitted. - :type capacity: int - """ - - _validation = { - 'name': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'tier': {'key': 'tier', 'type': 'str'}, - 'size': {'key': 'size', 'type': 'str'}, - 'family': {'key': 'family', 'type': 'str'}, - 'capacity': {'key': 'capacity', 'type': 'int'}, - } - - def __init__( - self, - **kwargs - ): - super(Sku, self).__init__(**kwargs) - self.name = kwargs['name'] - self.tier = kwargs.get('tier', None) - self.size = kwargs.get('size', None) - self.family = kwargs.get('family', None) - self.capacity = kwargs.get('capacity', None) - - -class StoragePoolOperationDisplay(msrest.serialization.Model): - """Metadata about an operation. - - All required parameters must be populated in order to send to Azure. - - :param provider: Required. Localized friendly form of the resource provider name. - :type provider: str - :param resource: Required. Localized friendly form of the resource type related to this - action/operation. - :type resource: str - :param operation: Required. Localized friendly name for the operation, as it should be shown to - the user. - :type operation: str - :param description: Required. Localized friendly description for the operation, as it should be - shown to the user. - :type description: str - """ - - _validation = { - 'provider': {'required': True}, - 'resource': {'required': True}, - 'operation': {'required': True}, - 'description': {'required': True}, - } - - _attribute_map = { - 'provider': {'key': 'provider', 'type': 'str'}, - 'resource': {'key': 'resource', 'type': 'str'}, - 'operation': {'key': 'operation', 'type': 'str'}, - 'description': {'key': 'description', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(StoragePoolOperationDisplay, self).__init__(**kwargs) - self.provider = kwargs['provider'] - self.resource = kwargs['resource'] - self.operation = kwargs['operation'] - self.description = kwargs['description'] - - -class StoragePoolOperationListResult(msrest.serialization.Model): - """List of operations supported by the RP. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. An array of operations supported by the StoragePool RP. - :type value: list[~storage_pool_management.models.StoragePoolRpOperation] - :param next_link: URI to fetch the next section of the paginated response. - :type next_link: str - """ - - _validation = { - 'value': {'required': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[StoragePoolRpOperation]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(StoragePoolOperationListResult, self).__init__(**kwargs) - self.value = kwargs['value'] - self.next_link = kwargs.get('next_link', None) - - -class StoragePoolRpOperation(msrest.serialization.Model): - """Description of a StoragePool RP Operation. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. The name of the operation being performed on this particular object. - :type name: str - :param is_data_action: Required. Indicates whether the operation applies to data-plane. - :type is_data_action: bool - :param action_type: Indicates the action type. - :type action_type: str - :param display: Required. Additional metadata about RP operation. - :type display: ~storage_pool_management.models.StoragePoolOperationDisplay - :param origin: The intended executor of the operation; governs the display of the operation in - the RBAC UX and the audit logs UX. - :type origin: str - """ - - _validation = { - 'name': {'required': True}, - 'is_data_action': {'required': True}, - 'display': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, - 'action_type': {'key': 'actionType', 'type': 'str'}, - 'display': {'key': 'display', 'type': 'StoragePoolOperationDisplay'}, - 'origin': {'key': 'origin', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(StoragePoolRpOperation, self).__init__(**kwargs) - self.name = kwargs['name'] - self.is_data_action = kwargs['is_data_action'] - self.action_type = kwargs.get('action_type', None) - self.display = kwargs['display'] - self.origin = kwargs.get('origin', None) - - -class SystemMetadata(msrest.serialization.Model): - """Resource metadata required by ARM RPC. - - :param created_by: A string identifier for the identity that created the resource. - :type created_by: str - :param created_by_type: The type of identity that created the resource: user, application, - managedIdentity. - :type created_by_type: str - :param created_at: The timestamp of resource creation (UTC). - :type created_at: str - :param last_modified_by: A string identifier for the identity that last modified the resource. - :type last_modified_by: str - :param last_modified_by_type: The type of identity that last modified the resource: user, - application, managedIdentity. - :type last_modified_by_type: str - :param last_modified_at: The timestamp of resource last modification (UTC). - :type last_modified_at: str - """ - - _attribute_map = { - 'created_by': {'key': 'createdBy', 'type': 'str'}, - 'created_by_type': {'key': 'createdByType', 'type': 'str'}, - 'created_at': {'key': 'createdAt', 'type': 'str'}, - 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, - 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, - 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(SystemMetadata, self).__init__(**kwargs) - self.created_by = kwargs.get('created_by', None) - self.created_by_type = kwargs.get('created_by_type', None) - self.created_at = kwargs.get('created_at', None) - self.last_modified_by = kwargs.get('last_modified_by', None) - self.last_modified_by_type = kwargs.get('last_modified_by_type', None) - self.last_modified_at = kwargs.get('last_modified_at', None) - - -class TargetPortalGroup(msrest.serialization.Model): - """iSCSI target portal group. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param luns: Required. Lun list to be exposed through the iSCSI target. Required. - :type luns: list[~storage_pool_management.models.IscsiLun] - :param acls: Required. Access Control List (ACL) for an iSCSI target lun. - :type acls: list[~storage_pool_management.models.Acl] - :param attributes: Required. Attributes of an iSCSI target. - :type attributes: ~storage_pool_management.models.Attributes - :ivar endpoints: list of public ip addresses to connect to the iSCSI target. - :vartype endpoints: list[str] - :ivar tag: The tag associated with the iSCSI target portal group. - :vartype tag: int - :ivar port: The port at which the iSCSI target is available. - :vartype port: int - """ - - _validation = { - 'luns': {'required': True}, - 'acls': {'required': True}, - 'attributes': {'required': True}, - 'endpoints': {'readonly': True}, - 'tag': {'readonly': True}, - 'port': {'readonly': True}, - } - - _attribute_map = { - 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, - 'acls': {'key': 'acls', 'type': '[Acl]'}, - 'attributes': {'key': 'attributes', 'type': 'Attributes'}, - 'endpoints': {'key': 'endpoints', 'type': '[str]'}, - 'tag': {'key': 'tag', 'type': 'int'}, - 'port': {'key': 'port', 'type': 'int'}, - } - - def __init__( - self, - **kwargs - ): - super(TargetPortalGroup, self).__init__(**kwargs) - self.luns = kwargs['luns'] - self.acls = kwargs['acls'] - self.attributes = kwargs['attributes'] - self.endpoints = None - self.tag = None - self.port = None 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 deleted file mode 100644 index 3c2aad1b4f0..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models_py3.py +++ /dev/null @@ -1,867 +0,0 @@ -# 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 Dict, List, Optional, Union - -from azure.core.exceptions import HttpResponseError -import msrest.serialization - -from ._storage_pool_management_enums import * - - -class Acl(msrest.serialization.Model): - """Access Control List (ACL) for an iSCSI target lun. - - All required parameters must be populated in order to send to Azure. - - :param initiator_iqn: Required. iSCSI initiator iqn (iSCSI Qualified Name); example: - iqn.2005-03.org.iscsi:client. - :type initiator_iqn: str - :param mapped_luns: Required. Array of lun names mapped to the ACL. - :type mapped_luns: list[str] - :param username: Username for Challenge Handshake Authentication Protocol (CHAP) - authentication. - :type username: str - :param password: Password for Challenge Handshake Authentication Protocol (CHAP) - authentication. - :type password: str - """ - - _validation = { - 'initiator_iqn': {'required': True}, - 'mapped_luns': {'required': True}, - 'username': {'max_length': 128, 'min_length': 7}, - 'password': {'max_length': 512, 'min_length': 12}, - } - - _attribute_map = { - 'initiator_iqn': {'key': 'initiatorIqn', 'type': 'str'}, - 'mapped_luns': {'key': 'mappedLuns', 'type': '[str]'}, - 'username': {'key': 'credentials.username', 'type': 'str'}, - 'password': {'key': 'credentials.password', 'type': 'str'}, - } - - def __init__( - self, - *, - initiator_iqn: str, - mapped_luns: List[str], - username: Optional[str] = None, - password: Optional[str] = None, - **kwargs - ): - super(Acl, self).__init__(**kwargs) - self.initiator_iqn = initiator_iqn - self.mapped_luns = mapped_luns - self.username = username - self.password = password - - -class Attributes(msrest.serialization.Model): - """Attributes of an iSCSI target. - - All required parameters must be populated in order to send to Azure. - - :param authentication: Required. Indicates whether or not authentication is enabled on the ACL. - :type authentication: bool - :param prod_mode_write_protect: Required. Indicates whether or not write protect is enabled on - the luns. - :type prod_mode_write_protect: bool - """ - - _validation = { - 'authentication': {'required': True}, - 'prod_mode_write_protect': {'required': True}, - } - - _attribute_map = { - 'authentication': {'key': 'authentication', 'type': 'bool'}, - 'prod_mode_write_protect': {'key': 'prodModeWriteProtect', 'type': 'bool'}, - } - - def __init__( - self, - *, - authentication: bool, - prod_mode_write_protect: bool, - **kwargs - ): - super(Attributes, self).__init__(**kwargs) - self.authentication = authentication - self.prod_mode_write_protect = prod_mode_write_protect - - -class Disk(msrest.serialization.Model): - """Managed disk to attach to the DiskPool. Required. - - All required parameters must be populated in order to send to Azure. - - :param id: Required. Unique Azure resource id of the managed disk. Required. - :type id: str - """ - - _validation = { - 'id': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - } - - def __init__( - self, - *, - id: str, - **kwargs - ): - super(Disk, self).__init__(**kwargs) - self.id = id - - -class Resource(msrest.serialization.Model): - """ARM resource model definition. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Resource, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - - -class TrackedResource(Resource): - """The resource model definition for a ARM tracked top level resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - } - - def __init__( - self, - *, - location: str, - tags: Optional[Dict[str, str]] = None, - **kwargs - ): - super(TrackedResource, self).__init__(**kwargs) - self.tags = tags - self.location = location - - -class DiskPool(TrackedResource): - """Request payload for Create or Update Disk Pool requests. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - :param sku: Sku description. - :type sku: ~storage_pool_management.models.Sku - :ivar system_data: Resource metadata required by ARM RPC. - :vartype system_data: ~storage_pool_management.models.SystemMetadata - :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: - "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". - :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :param availability_zones: Logical zone for DiskPool resource. - :type availability_zones: list[str] - :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", - "Unknown", "Healthy", "Unhealthy". - :vartype status: str or ~storage_pool_management.models.OperationalStatus - :param disks: List of Azure managed disks to attach to a DiskPool. - :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Azure resource id of the subnet for the DiskPool. - :type subnet_id: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - 'system_data': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - 'status': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - 'sku': {'key': 'sku', 'type': 'Sku'}, - 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, - 'status': {'key': 'properties.status', 'type': 'str'}, - 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, - 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, - } - - def __init__( - self, - *, - location: str, - tags: Optional[Dict[str, str]] = None, - sku: Optional["Sku"] = None, - availability_zones: Optional[List[str]] = None, - disks: Optional[List["Disk"]] = None, - subnet_id: Optional[str] = None, - **kwargs - ): - super(DiskPool, self).__init__(tags=tags, location=location, **kwargs) - self.sku = sku - self.system_data = None - self.provisioning_state = None - self.availability_zones = availability_zones - self.status = None - self.disks = disks - self.subnet_id = subnet_id - - -class DiskPoolListResult(msrest.serialization.Model): - """List of Disk Pools. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. An array of Disk Pool objects. - :type value: list[~storage_pool_management.models.DiskPool] - :ivar next_link: URI to fetch the next section of the paginated response. - :vartype next_link: str - """ - - _validation = { - 'value': {'required': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[DiskPool]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - *, - value: List["DiskPool"], - **kwargs - ): - super(DiskPoolListResult, self).__init__(**kwargs) - self.value = value - self.next_link = None - - -class Error(msrest.serialization.Model): - """The resource management error response. - - :param error: RP error response. - :type error: ~storage_pool_management.models.ErrorResponse - """ - - _attribute_map = { - 'error': {'key': 'error', 'type': 'ErrorResponse'}, - } - - def __init__( - self, - *, - error: Optional["ErrorResponse"] = None, - **kwargs - ): - super(Error, self).__init__(**kwargs) - self.error = error - - -class ErrorAdditionalInfo(msrest.serialization.Model): - """The resource management error additional info. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar type: The additional info type. - :vartype type: str - :ivar info: The additional info. - :vartype info: object - """ - - _validation = { - 'type': {'readonly': True}, - 'info': {'readonly': True}, - } - - _attribute_map = { - 'type': {'key': 'type', 'type': 'str'}, - 'info': {'key': 'info', 'type': 'object'}, - } - - def __init__( - self, - **kwargs - ): - super(ErrorAdditionalInfo, self).__init__(**kwargs) - self.type = None - self.info = None - - -class ErrorResponse(msrest.serialization.Model): - """The resource management error response. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar code: The error code. - :vartype code: str - :ivar message: The error message. - :vartype message: str - :ivar target: The error target. - :vartype target: str - :ivar details: The error details. - :vartype details: list[~storage_pool_management.models.ErrorResponse] - :ivar additional_info: The error additional info. - :vartype additional_info: list[~storage_pool_management.models.ErrorAdditionalInfo] - """ - - _validation = { - 'code': {'readonly': True}, - 'message': {'readonly': True}, - 'target': {'readonly': True}, - 'details': {'readonly': True}, - 'additional_info': {'readonly': True}, - } - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - 'target': {'key': 'target', 'type': 'str'}, - 'details': {'key': 'details', 'type': '[ErrorResponse]'}, - 'additional_info': {'key': 'additionalInfo', 'type': '[ErrorAdditionalInfo]'}, - } - - def __init__( - self, - **kwargs - ): - super(ErrorResponse, self).__init__(**kwargs) - self.code = None - self.message = None - self.target = None - self.details = None - self.additional_info = None - - -class IscsiLun(msrest.serialization.Model): - """Lun to expose the ManagedDisk. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. Lun name. - :type name: str - :param managed_disk_azure_resource_id: Required. Unique Azure resource id of the managed disk. - Required. - :type managed_disk_azure_resource_id: str - """ - - _validation = { - 'name': {'required': True}, - 'managed_disk_azure_resource_id': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'managed_disk_azure_resource_id': {'key': 'managedDiskAzureResourceId', 'type': 'str'}, - } - - def __init__( - self, - *, - name: str, - managed_disk_azure_resource_id: str, - **kwargs - ): - super(IscsiLun, self).__init__(**kwargs) - self.name = name - self.managed_disk_azure_resource_id = managed_disk_azure_resource_id - - -class IscsiTarget(Resource): - """Payload for iSCSI Target Create or Update requests. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: - "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". - :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", - "Unknown", "Healthy", "Unhealthy". - :vartype status: str or ~storage_pool_management.models.OperationalStatus - :param tpgs: list of iSCSI target portal groups. - :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] - :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: - iqn.2005-03.org.iscsi:server. - :type target_iqn: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - 'status': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'status': {'key': 'properties.status', 'type': 'str'}, - 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroup]'}, - 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, - } - - def __init__( - self, - *, - tpgs: Optional[List["TargetPortalGroup"]] = None, - target_iqn: Optional[str] = None, - **kwargs - ): - super(IscsiTarget, self).__init__(**kwargs) - self.provisioning_state = None - self.status = None - self.tpgs = tpgs - self.target_iqn = target_iqn - - -class IscsiTargetList(msrest.serialization.Model): - """List of iSCSI Targets. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. An array of iSCSI targets within a Disk Pool. - :type value: list[~storage_pool_management.models.IscsiTarget] - :ivar next_link: URI to fetch the next section of the paginated response. - :vartype next_link: str - """ - - _validation = { - 'value': {'required': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[IscsiTarget]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - *, - value: List["IscsiTarget"], - **kwargs - ): - super(IscsiTargetList, self).__init__(**kwargs) - self.value = value - self.next_link = None - - -class ProxyResource(Resource): - """The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ProxyResource, self).__init__(**kwargs) - - -class Sku(msrest.serialization.Model): - """The resource model definition representing SKU. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code. - :type name: str - :param tier: This field is required to be implemented by the Resource Provider if the service - has more than one tier, but is not required on a PUT. Possible values include: "Free", "Basic", - "Standard", "Premium". - :type tier: str or ~storage_pool_management.models.SkuTier - :param size: The SKU size. When the name field is the combination of tier and some other value, - this would be the standalone code. - :type size: str - :param family: If the service has different generations of hardware, for the same SKU, then - that can be captured here. - :type family: str - :param capacity: If the SKU supports scale out/in then the capacity integer should be included. - If scale out/in is not possible for the resource this may be omitted. - :type capacity: int - """ - - _validation = { - 'name': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'tier': {'key': 'tier', 'type': 'str'}, - 'size': {'key': 'size', 'type': 'str'}, - 'family': {'key': 'family', 'type': 'str'}, - 'capacity': {'key': 'capacity', 'type': 'int'}, - } - - def __init__( - self, - *, - name: str, - tier: Optional[Union[str, "SkuTier"]] = None, - size: Optional[str] = None, - family: Optional[str] = None, - capacity: Optional[int] = None, - **kwargs - ): - super(Sku, self).__init__(**kwargs) - self.name = name - self.tier = tier - self.size = size - self.family = family - self.capacity = capacity - - -class StoragePoolOperationDisplay(msrest.serialization.Model): - """Metadata about an operation. - - All required parameters must be populated in order to send to Azure. - - :param provider: Required. Localized friendly form of the resource provider name. - :type provider: str - :param resource: Required. Localized friendly form of the resource type related to this - action/operation. - :type resource: str - :param operation: Required. Localized friendly name for the operation, as it should be shown to - the user. - :type operation: str - :param description: Required. Localized friendly description for the operation, as it should be - shown to the user. - :type description: str - """ - - _validation = { - 'provider': {'required': True}, - 'resource': {'required': True}, - 'operation': {'required': True}, - 'description': {'required': True}, - } - - _attribute_map = { - 'provider': {'key': 'provider', 'type': 'str'}, - 'resource': {'key': 'resource', 'type': 'str'}, - 'operation': {'key': 'operation', 'type': 'str'}, - 'description': {'key': 'description', 'type': 'str'}, - } - - def __init__( - self, - *, - provider: str, - resource: str, - operation: str, - description: str, - **kwargs - ): - super(StoragePoolOperationDisplay, self).__init__(**kwargs) - self.provider = provider - self.resource = resource - self.operation = operation - self.description = description - - -class StoragePoolOperationListResult(msrest.serialization.Model): - """List of operations supported by the RP. - - All required parameters must be populated in order to send to Azure. - - :param value: Required. An array of operations supported by the StoragePool RP. - :type value: list[~storage_pool_management.models.StoragePoolRpOperation] - :param next_link: URI to fetch the next section of the paginated response. - :type next_link: str - """ - - _validation = { - 'value': {'required': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[StoragePoolRpOperation]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - *, - value: List["StoragePoolRpOperation"], - next_link: Optional[str] = None, - **kwargs - ): - super(StoragePoolOperationListResult, self).__init__(**kwargs) - self.value = value - self.next_link = next_link - - -class StoragePoolRpOperation(msrest.serialization.Model): - """Description of a StoragePool RP Operation. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. The name of the operation being performed on this particular object. - :type name: str - :param is_data_action: Required. Indicates whether the operation applies to data-plane. - :type is_data_action: bool - :param action_type: Indicates the action type. - :type action_type: str - :param display: Required. Additional metadata about RP operation. - :type display: ~storage_pool_management.models.StoragePoolOperationDisplay - :param origin: The intended executor of the operation; governs the display of the operation in - the RBAC UX and the audit logs UX. - :type origin: str - """ - - _validation = { - 'name': {'required': True}, - 'is_data_action': {'required': True}, - 'display': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, - 'action_type': {'key': 'actionType', 'type': 'str'}, - 'display': {'key': 'display', 'type': 'StoragePoolOperationDisplay'}, - 'origin': {'key': 'origin', 'type': 'str'}, - } - - def __init__( - self, - *, - name: str, - is_data_action: bool, - display: "StoragePoolOperationDisplay", - action_type: Optional[str] = None, - origin: Optional[str] = None, - **kwargs - ): - super(StoragePoolRpOperation, self).__init__(**kwargs) - self.name = name - self.is_data_action = is_data_action - self.action_type = action_type - self.display = display - self.origin = origin - - -class SystemMetadata(msrest.serialization.Model): - """Resource metadata required by ARM RPC. - - :param created_by: A string identifier for the identity that created the resource. - :type created_by: str - :param created_by_type: The type of identity that created the resource: user, application, - managedIdentity. - :type created_by_type: str - :param created_at: The timestamp of resource creation (UTC). - :type created_at: str - :param last_modified_by: A string identifier for the identity that last modified the resource. - :type last_modified_by: str - :param last_modified_by_type: The type of identity that last modified the resource: user, - application, managedIdentity. - :type last_modified_by_type: str - :param last_modified_at: The timestamp of resource last modification (UTC). - :type last_modified_at: str - """ - - _attribute_map = { - 'created_by': {'key': 'createdBy', 'type': 'str'}, - 'created_by_type': {'key': 'createdByType', 'type': 'str'}, - 'created_at': {'key': 'createdAt', 'type': 'str'}, - 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, - 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, - 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'str'}, - } - - def __init__( - self, - *, - created_by: Optional[str] = None, - created_by_type: Optional[str] = None, - created_at: Optional[str] = None, - last_modified_by: Optional[str] = None, - last_modified_by_type: Optional[str] = None, - last_modified_at: Optional[str] = None, - **kwargs - ): - super(SystemMetadata, self).__init__(**kwargs) - self.created_by = created_by - self.created_by_type = created_by_type - self.created_at = created_at - self.last_modified_by = last_modified_by - self.last_modified_by_type = last_modified_by_type - self.last_modified_at = last_modified_at - - -class TargetPortalGroup(msrest.serialization.Model): - """iSCSI target portal group. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param luns: Required. Lun list to be exposed through the iSCSI target. Required. - :type luns: list[~storage_pool_management.models.IscsiLun] - :param acls: Required. Access Control List (ACL) for an iSCSI target lun. - :type acls: list[~storage_pool_management.models.Acl] - :param attributes: Required. Attributes of an iSCSI target. - :type attributes: ~storage_pool_management.models.Attributes - :ivar endpoints: list of public ip addresses to connect to the iSCSI target. - :vartype endpoints: list[str] - :ivar tag: The tag associated with the iSCSI target portal group. - :vartype tag: int - :ivar port: The port at which the iSCSI target is available. - :vartype port: int - """ - - _validation = { - 'luns': {'required': True}, - 'acls': {'required': True}, - 'attributes': {'required': True}, - 'endpoints': {'readonly': True}, - 'tag': {'readonly': True}, - 'port': {'readonly': True}, - } - - _attribute_map = { - 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, - 'acls': {'key': 'acls', 'type': '[Acl]'}, - 'attributes': {'key': 'attributes', 'type': 'Attributes'}, - 'endpoints': {'key': 'endpoints', 'type': '[str]'}, - 'tag': {'key': 'tag', 'type': 'int'}, - 'port': {'key': 'port', 'type': 'int'}, - } - - def __init__( - self, - *, - luns: List["IscsiLun"], - acls: List["Acl"], - attributes: "Attributes", - **kwargs - ): - super(TargetPortalGroup, self).__init__(**kwargs) - self.luns = luns - self.acls = acls - self.attributes = attributes - self.endpoints = None - self.tag = None - self.port = None 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 deleted file mode 100644 index deae4a6f128..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_storage_pool_management_enums.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - -from enum import Enum, EnumMeta -from six import with_metaclass - -class _CaseInsensitiveEnumMeta(EnumMeta): - def __getitem__(self, name): - return super().__getitem__(name.upper()) - - def __getattr__(cls, name): - """Return the enum member matching `name` - We use __getattr__ instead of descriptors or inserting into the enum - class' __dict__ in order to support `name` and `value` being both - properties for enum members (which live in the class' __dict__) and - enum members themselves. - """ - try: - return cls._member_map_[name.upper()] - except KeyError: - raise AttributeError(name) - - -class OperationalStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Operational status of the Disk pool - """ - - INVALID = "Invalid" - UNKNOWN = "Unknown" - HEALTHY = "Healthy" - UNHEALTHY = "Unhealthy" - -class ProvisioningStates(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """State of provisioning of the iSCSI target - """ - - INVALID = "Invalid" - SUCCEEDED = "Succeeded" - FAILED = "Failed" - CANCELED = "Canceled" - PENDING = "Pending" - CREATING = "Creating" - UPDATING = "Updating" - DELETING = "Deleting" - -class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """This field is required to be implemented by the Resource Provider if the service has more than - one tier, but is not required on a PUT. - """ - - FREE = "Free" - BASIC = "Basic" - STANDARD = "Standard" - PREMIUM = "Premium" diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py deleted file mode 100644 index 076a93504e6..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py +++ /dev/null @@ -1,17 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - -from ._operations import Operations -from ._disk_pools_operations import DiskPoolsOperations -from ._iscsi_targets_operations import IscsiTargetsOperations - -__all__ = [ - 'Operations', - 'DiskPoolsOperations', - 'IscsiTargetsOperations', -] 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 deleted file mode 100644 index 2e4c1229772..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pools_operations.py +++ /dev/null @@ -1,558 +0,0 @@ -# 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.core.polling import LROPoller, NoPolling, PollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.arm_polling import ARMPolling - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class DiskPoolsOperations(object): - """DiskPoolsOperations 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_by_subscription( - self, - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.DiskPoolListResult"] - """Gets a list of Disk Pools in a subscription. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.DiskPoolListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_subscription.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - 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('DiskPoolListResult', 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_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools'} # type: ignore - - def list_by_resource_group( - self, - resource_group_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.DiskPoolListResult"] - """Gets a list of DiskPools. - - :param resource_group_name: The name of the resource group. The name is case insensitive. - :type resource_group_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.DiskPoolListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_resource_group.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]$'), - } - 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('DiskPoolListResult', 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_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools'} # type: ignore - - def _create_or_update_initial( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - disk_pool_payload, # type: "models.DiskPool" - **kwargs # type: Any - ): - # type: (...) -> "models.DiskPool" - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_payload, 'DiskPool') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - 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 response.status_code == 200: - deserialized = self._deserialize('DiskPool', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - def begin_create_or_update( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - disk_pool_payload, # type: "models.DiskPool" - **kwargs # type: Any - ): - # type: (...) -> LROPoller["models.DiskPool"] - """Create a new Disk Pool. - - :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 - :param disk_pool_payload: Request payload for Disk Pool operations. - :type disk_pool_payload: ~storage_pool_management.models.DiskPool - :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 DiskPool or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.DiskPool] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - 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._create_or_update_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - disk_pool_payload=disk_pool_payload, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - def update( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - disk_pool_payload, # type: "models.DiskPool" - **kwargs # type: Any - ): - # type: (...) -> "models.DiskPool" - """Update a Storage Pool. - - :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 - :param disk_pool_payload: Request payload for Disk Pool operations. - :type disk_pool_payload: ~storage_pool_management.models.DiskPool - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DiskPool, or the result of cls(response) - :rtype: ~storage_pool_management.models.DiskPool - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.update.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_payload, 'DiskPool') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - 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) - - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - def _delete_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 = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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.delete(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, 204]: - 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, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - def begin_delete( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> LROPoller[None] - """Delete a Disk Pool. - - :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._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - def get( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "models.DiskPool" - """Get a Disk Pool. - - :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 - :return: DiskPool, or the result of cls(response) - :rtype: ~storage_pool_management.models.DiskPool - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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.get(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]: - 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) - - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # 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 deleted file mode 100644 index c043566ef13..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_iscsi_targets_operations.py +++ /dev/null @@ -1,444 +0,0 @@ -# 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.core.polling import LROPoller, NoPolling, PollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.arm_polling import ARMPolling - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class IscsiTargetsOperations(object): - """IscsiTargetsOperations 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_by_disk_pool( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.IscsiTargetList"] - """Get iSCSI Targets within a Disk Pool. - - :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 - :return: An iterator like instance of either IscsiTargetList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.IscsiTargetList] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTargetList"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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_by_disk_pool.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - 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('IscsiTargetList', 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_by_disk_pool.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets'} # type: ignore - - def _create_or_update_initial( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - iscsi_target_name, # type: str - iscsi_target_payload, # type: "models.IscsiTarget" - **kwargs # type: Any - ): - # type: (...) -> "models.IscsiTarget" - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(iscsi_target_payload, 'IscsiTarget') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - 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 response.status_code == 200: - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - def begin_create_or_update( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - iscsi_target_name, # type: str - iscsi_target_payload, # type: "models.IscsiTarget" - **kwargs # type: Any - ): - # type: (...) -> LROPoller["models.IscsiTarget"] - """Create or Update an iSCSI target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_name: str - :param iscsi_target_payload: Request payload for iSCSI target operations. - :type iscsi_target_payload: ~storage_pool_management.models.IscsiTarget - :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 IscsiTarget or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.IscsiTarget] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - 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._create_or_update_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_name, - iscsi_target_payload=iscsi_target_payload, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - def _delete_initial( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - iscsi_target_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 = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.delete(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, 204]: - 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, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - def begin_delete( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - iscsi_target_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> LROPoller[None] - """Deletes an iSCSI Target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_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._delete_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - def get( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - iscsi_target_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "models.IscsiTarget" - """Gets an iSCSI Target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IscsiTarget, or the result of cls(response) - :rtype: ~storage_pool_management.models.IscsiTarget - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - accept = "application/json" - - # Construct URL - url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.get(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]: - 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) - - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operations.py deleted file mode 100644 index bf704ee6432..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operations.py +++ /dev/null @@ -1,110 +0,0 @@ -# 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 Operations(object): - """Operations 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, - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.StoragePoolOperationListResult"] - """Gets a list of StoragePool operations. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either StoragePoolOperationListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.StoragePoolOperationListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.StoragePoolOperationListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - 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 - # 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('StoragePoolOperationListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return 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': '/providers/Microsoft.StoragePool/operations'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/py.typed b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/py.typed deleted file mode 100644 index e5aff4f83af..00000000000 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/py.typed +++ /dev/null @@ -1 +0,0 @@ -# Marker file for PEP 561. \ No newline at end of file diff --git a/src/diskpool/gen.zip b/src/diskpool/gen.zip index 604deac9973d394c300cc470085e3d5c43dd0e28..27467ba1cf7af498c7dda74be6d0ee22ff15af30 100644 GIT binary patch delta 1224 zcmbVMOHWfl6z+pZX`4a`g<^r;-b&iSr7a*2t0;*?)Us%J#PG5i%e35Z+k5Fud5GoV z23Klw7P=CD0g1WM4RP(p=vo&nT=*a%(P&~!TsXHuKqN6bHz()L%=x~2XU>^KirsQ-ygVNZqWN}hl=<%f&HU1dm_l-w7CIwEynG~Jw zX$=Qp&E_8bJN`0B5OJ7E$COcY9-?Ru2>ZF@17>q!(hIW&2Yj`@gJ-sDcCCxfU6_h`?A_qd)5H2++}d0wjM%`Fx>LG;6oLG4OcZNH8x{ErXbrn zb;IG*ns1ehLrqP!DmX2Ab+yv3hnQ;}-ne#Pw{Fcqh^o}T)ic6TM&yT0_Z%bgmNNAr zjp(&2tls4E2CIT-VmdU!3QMuJ`m4rO5c7^1S;1ksPJ!n73ycz!`ul>E%lP)wEmY7) zCMNjE_|g({+M#PRW-Jh(Ay#oT8a69WgWw*6dma~j=WR@LNbUAU^hJGG!Z7RP;lau6 zmBSaX=gO9Oon1!FOw7`lq99$MOH2sg(vl;Xk8tA!ReUeXQ8~++CxmYFN-QfvdA2jD z)rcqaD3!ulE+tZqP(*X&0I01c+5N>+9tOC$hfq*r2Bk13W|A_C{f(Y$4R!^?yg46> z>J3%8;~osS(>TKYQGJ%e!Pv6Hqs9h^mRAfMH2&S5^YIfvyX zXUoej!r(n!!vn4yAFn!C}+TANluT+>p1n$vGza*Cz~jifo#~I zsLGL;r;rKq;^Z^xn!unE0~tLTsAhAC5--!_9qN2=6`RkfCo@hK6j7TTs(DX>kx7IB mTl`M`p%tot87$zG03`(Zfq`To!pa8XGXddVAYGyg;sF58wWomq diff --git a/src/diskpool/report.md b/src/diskpool/report.md index df1f75ab308..f8ecbb1af48 100644 --- a/src/diskpool/report.md +++ b/src/diskpool/report.md @@ -29,7 +29,7 @@ |[az disk-pool iscsi-target list](#IscsiTargetsListByDiskPool)|ListByDiskPool|[Parameters](#ParametersIscsiTargetsListByDiskPool)|[Example](#ExamplesIscsiTargetsListByDiskPool)| |[az disk-pool iscsi-target show](#IscsiTargetsGet)|Get|[Parameters](#ParametersIscsiTargetsGet)|[Example](#ExamplesIscsiTargetsGet)| |[az disk-pool iscsi-target create](#IscsiTargetsCreateOrUpdate#Create)|CreateOrUpdate#Create|[Parameters](#ParametersIscsiTargetsCreateOrUpdate#Create)|[Example](#ExamplesIscsiTargetsCreateOrUpdate#Create)| -|[az disk-pool iscsi-target update](#IscsiTargetsCreateOrUpdate#Update)|CreateOrUpdate#Update|[Parameters](#ParametersIscsiTargetsCreateOrUpdate#Update)|Not Found| +|[az disk-pool iscsi-target update](#IscsiTargetsUpdate)|Update|[Parameters](#ParametersIscsiTargetsUpdate)|[Example](#ExamplesIscsiTargetsUpdate)| |[az disk-pool iscsi-target delete](#IscsiTargetsDelete)|Delete|[Parameters](#ParametersIscsiTargetsDelete)|[Example](#ExamplesIscsiTargetsDelete)| @@ -72,34 +72,32 @@ az disk-pool show --name "myDiskPool" --resource-group "myResourceGroup" ##### Example ``` -az disk-pool create --name "myDiskPool" --location "westus" --availability-zones "1" --disks \ +az disk-pool create --location "westus" --availability-zones "1" --disks "/subscriptions/11111111-1111-1111-1111-111111\ +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_0" --disks "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/provider\ -s/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resource\ -Groups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --sku name="Standard_ABC" \ ---tags key="value" --resource-group "myResourceGroup" +m-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/prov\ +iders/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --tags key="value" --name "myDiskPool" \ +--resource-group "myResourceGroup" ``` ##### Parameters |Option|Type|Description|Path (SDK)|Swagger name| |------|----|-----------|----------|------------| |**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| |**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| -|**--location**|string|The geo-location where the resource lives|location|location| +|**--location**|string|The geo-location where the resource lives.|location|location| +|**--availability-zones**|array|Logical zone for Disk Pool resource; example: ["1"].|availability_zones|availabilityZones| +|**--subnet-id**|string|Azure Resource ID of a Subnet for the Disk Pool.|subnet_id|subnetId| |**--tags**|dictionary|Resource tags.|tags|tags| -|**--sku**|object|Sku description.|sku|sku| -|**--availability-zones**|array|Logical zone for DiskPool resource.|availability_zones|availabilityZones| -|**--disks**|array|List of Azure managed disks to attach to a DiskPool|disks|disks| -|**--subnet-id**|string|Azure resource id of the subnet for the DiskPool|subnet_id|subnetId| +|**--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| #### Command `az disk-pool update` ##### Example ``` -az disk-pool update --name "myDiskPool" --location "westus" --availability-zones "1" --disks \ -"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/v\ -m-name_DataDisk_0" --disks "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/provider\ -s/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resource\ -Groups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --tags key="value" \ +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" ``` ##### Parameters @@ -107,12 +105,8 @@ Groups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnet |------|----|-----------|----------|------------| |**--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| -|**--location**|string|The geo-location where the resource lives|location|location| |**--tags**|dictionary|Resource tags.|tags|tags| -|**--sku**|object|Sku description.|sku|sku| -|**--availability-zones**|array|Logical zone for DiskPool resource.|availability_zones|availabilityZones| -|**--disks**|array|List of Azure managed disks to attach to a DiskPool|disks|disks| -|**--subnet-id**|string|Azure resource id of the subnet for the DiskPool|subnet_id|subnetId| +|**--disks**|array|List of Azure Managed Disks to attach to a Disk Pool.|disks|disks| #### Command `az disk-pool delete` @@ -156,12 +150,12 @@ az disk-pool iscsi-target show --disk-pool-name "myDiskPool" --name "myIscsiTarg ##### Example ``` -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\\",\\"usernam\ -e\\":\\"some_username\\"},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}],\\"attr\ -ibutes\\":{\\"authentication\\":true,\\"prodModeWriteProtect\\":false},\\"luns\\":[{\\"name\\":\\"lun0\\",\\"managedDis\ -kAzureResourceId\\":\\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Mic\ -rosoft.Compute/disks/vm-name_DataDisk_1\\"}]}]" --resource-group "myResourceGroup" +az disk-pool iscsi-target create --disk-pool-name "myDiskPool" --target-iqn "iqn.2005-03.org.iscsi:server1" --tpgs \ +"[{\\"acls\\":[{\\"credentials\\":{\\"password\\":\\"some_password\\",\\"username\\":\\"some_username\\"},\\"initiatorI\ +qn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}],\\"attributes\\":{\\"authentication\\":true,\\\ +"prodModeWriteProtect\\":false},\\"luns\\":[{\\"name\\":\\"lun0\\",\\"managedDiskAzureResourceId\\":\\"/subscriptions/1\ +1111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1\ +\\"}]}]" --name "myIscsiTarget" --resource-group "myResourceGroup" ``` ##### Parameters |Option|Type|Description|Path (SDK)|Swagger name| @@ -169,19 +163,26 @@ rosoft.Compute/disks/vm-name_DataDisk_1\\"}]}]" --resource-group "myResourceGrou |**--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| -|**--tpgs**|array|list of iSCSI target portal groups|tpgs|tpgs| -|**--target-iqn**|string|iSCSI target iqn (iSCSI Qualified Name); example: iqn.2005-03.org.iscsi:server|target_iqn|targetIqn| +|**--tpgs**|array|List of iSCSI target portal groups.|tpgs|tpgs| +|**--target-iqn**|string|iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".|target_iqn|targetIqn| -#### Command `az disk-pool iscsi-target update` +#### Command `az disk-pool iscsi-target update` -##### Parameters +##### Example +``` +az disk-pool iscsi-target update --disk-pool-name "myDiskPool" --name "myIscsiTarget" --tpgs \ +"[{\\"acls\\":[{\\"credentials\\":{\\"password\\":\\"some_password\\",\\"username\\":\\"some_username\\"},\\"initiatorI\ +qn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}],\\"luns\\":[{\\"name\\":\\"lun0\\",\\"managedD\ +iskAzureResourceId\\":\\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/M\ +icrosoft.Compute/disks/vm-name_DataDisk_1\\"}]}]" --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| |**--iscsi-target-name**|string|The name of the iSCSI target.|iscsi_target_name|iscsiTargetName| -|**--tpgs**|array|list of iSCSI target portal groups|tpgs|tpgs| -|**--target-iqn**|string|iSCSI target iqn (iSCSI Qualified Name); example: iqn.2005-03.org.iscsi:server|target_iqn|targetIqn| +|**--tpgs**|array|List of iSCSI target portal groups.|tpgs|tpgs| #### Command `az disk-pool iscsi-target delete` From ee1608442620f01690d952c5a8436dc19064360d Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Mon, 11 Jan 2021 17:10:21 +0800 Subject: [PATCH 09/30] regenerage --- .../azext_diskpool/vendored_sdks/__init__.py | 12 + .../vendored_sdks/storagepool/__init__.py | 16 + .../storagepool/_configuration.py | 70 ++ .../storagepool/_storage_pool_management.py | 80 ++ .../vendored_sdks/storagepool/aio/__init__.py | 10 + .../storagepool/aio/_configuration.py | 66 ++ .../aio/_storage_pool_management.py | 74 ++ .../storagepool/aio/operations/__init__.py | 17 + .../aio/operations/_disk_pools_operations.py | 608 ++++++++++ .../operations/_iscsi_targets_operations.py | 570 +++++++++ .../storagepool/aio/operations/_operations.py | 105 ++ .../storagepool/models/__init__.py | 95 ++ .../storagepool/models/_models.py | 975 +++++++++++++++ .../storagepool/models/_models_py3.py | 1056 +++++++++++++++++ .../models/_storage_pool_management_enums.py | 49 + .../storagepool/operations/__init__.py | 17 + .../operations/_disk_pools_operations.py | 621 ++++++++++ .../operations/_iscsi_targets_operations.py | 582 +++++++++ .../storagepool/operations/_operations.py | 110 ++ .../vendored_sdks/storagepool/py.typed | 1 + 20 files changed, 5134 insertions(+) create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/__init__.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/_storage_pool_management.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/__init__.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_storage_pool_management.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/__init__.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pools_operations.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_iscsi_targets_operations.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_operations.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/__init__.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models_py3.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_storage_pool_management_enums.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pools_operations.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_iscsi_targets_operations.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operations.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/py.typed diff --git a/src/diskpool/azext_diskpool/vendored_sdks/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/__init__.py new file mode 100644 index 00000000000..c9cfdc73e77 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/__init__.py @@ -0,0 +1,12 @@ +# 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. +# -------------------------------------------------------------------------- + +__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py new file mode 100644 index 00000000000..40013efe44d --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py @@ -0,0 +1,16 @@ +# 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 ._storage_pool_management import StoragePoolManagement +__all__ = ['StoragePoolManagement'] + +try: + from ._patch import patch_sdk # type: ignore + patch_sdk() +except ImportError: + pass diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py new file mode 100644 index 00000000000..cb67cb735d4 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py @@ -0,0 +1,70 @@ +# 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 + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +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. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(StoragePoolManagementConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2020-03-15-preview" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'storagepoolmanagement/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) 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 new file mode 100644 index 00000000000..2d9df4d0e0a --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_storage_pool_management.py @@ -0,0 +1,80 @@ +# 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 + +from azure.mgmt.core import ARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Optional + + from azure.core.credentials import TokenCredential + +from ._configuration import StoragePoolManagementConfiguration +from .operations import Operations +from .operations import DiskPoolsOperations +from .operations import IscsiTargetsOperations +from . import models + + +class StoragePoolManagement(object): + """StoragePoolManagement. + + :ivar operations: Operations operations + :vartype operations: storage_pool_management.operations.Operations + :ivar disk_pools: DiskPoolsOperations operations + :vartype disk_pools: storage_pool_management.operations.DiskPoolsOperations + :ivar iscsi_targets: IscsiTargetsOperations operations + :vartype iscsi_targets: storage_pool_management.operations.IscsiTargetsOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + base_url=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> None + if not base_url: + base_url = 'https://management.azure.com' + self._config = StoragePoolManagementConfiguration(credential, subscription_id, **kwargs) + self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize) + self.disk_pools = DiskPoolsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.iscsi_targets = IscsiTargetsOperations( + self._client, self._config, self._serialize, self._deserialize) + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> StoragePoolManagement + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/__init__.py new file mode 100644 index 00000000000..9eb7de1efa2 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/__init__.py @@ -0,0 +1,10 @@ +# 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 ._storage_pool_management import StoragePoolManagement +__all__ = ['StoragePoolManagement'] diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py new file mode 100644 index 00000000000..1aa64ffe5b1 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py @@ -0,0 +1,66 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +VERSION = "unknown" + +class StoragePoolManagementConfiguration(Configuration): + """Configuration for StoragePoolManagement. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + **kwargs: Any + ) -> None: + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(StoragePoolManagementConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2020-03-15-preview" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'storagepoolmanagement/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs: Any + ) -> None: + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) 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 new file mode 100644 index 00000000000..ec95131fa9f --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_storage_pool_management.py @@ -0,0 +1,74 @@ +# 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, Optional, TYPE_CHECKING + +from azure.mgmt.core import AsyncARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +from ._configuration import StoragePoolManagementConfiguration +from .operations import Operations +from .operations import DiskPoolsOperations +from .operations import IscsiTargetsOperations +from .. import models + + +class StoragePoolManagement(object): + """StoragePoolManagement. + + :ivar operations: Operations operations + :vartype operations: storage_pool_management.aio.operations.Operations + :ivar disk_pools: DiskPoolsOperations operations + :vartype disk_pools: storage_pool_management.aio.operations.DiskPoolsOperations + :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. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + base_url: Optional[str] = None, + **kwargs: Any + ) -> None: + if not base_url: + base_url = 'https://management.azure.com' + self._config = StoragePoolManagementConfiguration(credential, subscription_id, **kwargs) + self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize) + self.disk_pools = DiskPoolsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.iscsi_targets = IscsiTargetsOperations( + self._client, self._config, self._serialize, self._deserialize) + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "StoragePoolManagement": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) 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 new file mode 100644 index 00000000000..076a93504e6 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/__init__.py @@ -0,0 +1,17 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations import Operations +from ._disk_pools_operations import DiskPoolsOperations +from ._iscsi_targets_operations import IscsiTargetsOperations + +__all__ = [ + 'Operations', + 'DiskPoolsOperations', + 'IscsiTargetsOperations', +] 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 new file mode 100644 index 00000000000..c58904dc079 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pools_operations.py @@ -0,0 +1,608 @@ +# 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, Union +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.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class DiskPoolsOperations: + """DiskPoolsOperations 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_by_subscription( + self, + **kwargs + ) -> AsyncIterable["models.DiskPoolListResult"]: + """Gets a list of Disk Pools in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.DiskPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + 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('DiskPoolListResult', 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_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["models.DiskPoolListResult"]: + """Gets a list of DiskPools in a resource group. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.DiskPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_resource_group.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]$'), + } + 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('DiskPoolListResult', 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_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + disk_pool_name: str, + disk_pool_create_payload: "models.DiskPoolCreate", + **kwargs + ) -> "models.DiskPool": + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(disk_pool_create_payload, 'DiskPoolCreate') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + disk_pool_name: str, + disk_pool_create_payload: "models.DiskPoolCreate", + **kwargs + ) -> AsyncLROPoller["models.DiskPool"]: + """Create or Update Disk Pool. + + :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 + :param disk_pool_create_payload: Request payload for Disk Pool create operation. + :type disk_pool_create_payload: ~storage_pool_management.models.DiskPoolCreate + :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 DiskPool or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.DiskPool] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + 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._create_or_update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + disk_pool_create_payload=disk_pool_create_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def _update_initial( + self, + resource_group_name: str, + disk_pool_name: str, + disk_pool_update_payload: "models.DiskPoolUpdate", + **kwargs + ) -> "models.DiskPool": + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(disk_pool_update_payload, 'DiskPoolUpdate') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def begin_update( + self, + resource_group_name: str, + disk_pool_name: str, + disk_pool_update_payload: "models.DiskPoolUpdate", + **kwargs + ) -> AsyncLROPoller["models.DiskPool"]: + """Update a Disk Pool. + + :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 + :param disk_pool_update_payload: Request payload for Disk Pool update operation. + :type disk_pool_update_payload: ~storage_pool_management.models.DiskPoolUpdate + :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 DiskPool or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.DiskPool] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + 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._update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + disk_pool_update_payload=disk_pool_update_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def _delete_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 = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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.delete(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, 204]: + 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, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + disk_pool_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Delete a Disk Pool. + + :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._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + disk_pool_name: str, + **kwargs + ) -> "models.DiskPool": + """Get a Disk Pool. + + :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 + :return: DiskPool, or the result of cls(response) + :rtype: ~storage_pool_management.models.DiskPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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.get(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]: + 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) + + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # 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 new file mode 100644 index 00000000000..f6b7cc43bbd --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_iscsi_targets_operations.py @@ -0,0 +1,570 @@ +# 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, Union +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.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class IscsiTargetsOperations: + """IscsiTargetsOperations 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_by_disk_pool( + self, + resource_group_name: str, + disk_pool_name: str, + **kwargs + ) -> AsyncIterable["models.IscsiTargetList"]: + """Get iSCSI Targets in a Disk Pool. + + :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 + :return: An iterator like instance of either IscsiTargetList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.IscsiTargetList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTargetList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_disk_pool.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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('IscsiTargetList', 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_by_disk_pool.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + iscsi_target_create_payload: "models.IscsiTargetCreate", + **kwargs + ) -> "models.IscsiTarget": + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(iscsi_target_create_payload, 'IscsiTargetCreate') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + iscsi_target_create_payload: "models.IscsiTargetCreate", + **kwargs + ) -> AsyncLROPoller["models.IscsiTarget"]: + """Create or Update an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :param iscsi_target_create_payload: Request payload for iSCSI target create operation. + :type iscsi_target_create_payload: ~storage_pool_management.models.IscsiTargetCreate + :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 IscsiTarget or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.IscsiTarget] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + 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._create_or_update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name, + iscsi_target_create_payload=iscsi_target_create_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def _update_initial( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + iscsi_target_update_payload: "models.IscsiTargetUpdate", + **kwargs + ) -> "models.IscsiTarget": + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(iscsi_target_update_payload, 'IscsiTargetUpdate') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def begin_update( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + iscsi_target_update_payload: "models.IscsiTargetUpdate", + **kwargs + ) -> AsyncLROPoller["models.IscsiTarget"]: + """Update an iSCSI target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :param iscsi_target_update_payload: Request payload for iSCSI target operations. + :type iscsi_target_update_payload: ~storage_pool_management.models.IscsiTargetUpdate + :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 IscsiTarget or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.IscsiTarget] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + 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._update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name, + iscsi_target_update_payload=iscsi_target_update_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_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 = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.delete(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, 204]: + 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, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Delete an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_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._delete_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + **kwargs + ) -> "models.IscsiTarget": + """Get an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: IscsiTarget, or the result of cls(response) + :rtype: ~storage_pool_management.models.IscsiTarget + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.get(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]: + 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) + + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore 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 new file mode 100644 index 00000000000..0b14b016f3e --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_operations.py @@ -0,0 +1,105 @@ +# 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 Operations: + """Operations 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, + **kwargs + ) -> AsyncIterable["models.StoragePoolOperationListResult"]: + """Gets a list of StoragePool operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StoragePoolOperationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.StoragePoolOperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.StoragePoolOperationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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 + # 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('StoragePoolOperationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return 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': '/providers/Microsoft.StoragePool/operations'} # 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 new file mode 100644 index 00000000000..a0dca251514 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/__init__.py @@ -0,0 +1,95 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +try: + from ._models_py3 import Acl + from ._models_py3 import Attributes + from ._models_py3 import Disk + from ._models_py3 import DiskPool + from ._models_py3 import DiskPoolCreate + from ._models_py3 import DiskPoolListResult + from ._models_py3 import DiskPoolUpdate + from ._models_py3 import Error + from ._models_py3 import ErrorAdditionalInfo + from ._models_py3 import ErrorResponse + from ._models_py3 import IscsiLun + from ._models_py3 import IscsiTarget + from ._models_py3 import IscsiTargetCreate + from ._models_py3 import IscsiTargetList + from ._models_py3 import IscsiTargetUpdate + from ._models_py3 import ProxyResource + from ._models_py3 import Resource + from ._models_py3 import StoragePoolOperationDisplay + from ._models_py3 import StoragePoolOperationListResult + from ._models_py3 import StoragePoolRpOperation + from ._models_py3 import SystemMetadata + from ._models_py3 import TargetPortalGroup + from ._models_py3 import TargetPortalGroupCreate + from ._models_py3 import TargetPortalGroupUpdate + from ._models_py3 import TrackedResource +except (SyntaxError, ImportError): + from ._models import Acl # type: ignore + from ._models import Attributes # type: ignore + from ._models import Disk # type: ignore + from ._models import DiskPool # type: ignore + from ._models import DiskPoolCreate # type: ignore + from ._models import DiskPoolListResult # type: ignore + from ._models import DiskPoolUpdate # type: ignore + from ._models import Error # type: ignore + from ._models import ErrorAdditionalInfo # type: ignore + from ._models import ErrorResponse # type: ignore + from ._models import IscsiLun # type: ignore + from ._models import IscsiTarget # type: ignore + from ._models import IscsiTargetCreate # type: ignore + from ._models import IscsiTargetList # type: ignore + from ._models import IscsiTargetUpdate # type: ignore + from ._models import ProxyResource # type: ignore + from ._models import Resource # type: ignore + from ._models import StoragePoolOperationDisplay # type: ignore + from ._models import StoragePoolOperationListResult # type: ignore + from ._models import StoragePoolRpOperation # type: ignore + from ._models import SystemMetadata # type: ignore + from ._models import TargetPortalGroup # type: ignore + from ._models import TargetPortalGroupCreate # type: ignore + from ._models import TargetPortalGroupUpdate # type: ignore + from ._models import TrackedResource # type: ignore + +from ._storage_pool_management_enums import ( + OperationalStatus, + ProvisioningStates, +) + +__all__ = [ + 'Acl', + 'Attributes', + 'Disk', + 'DiskPool', + 'DiskPoolCreate', + 'DiskPoolListResult', + 'DiskPoolUpdate', + 'Error', + 'ErrorAdditionalInfo', + 'ErrorResponse', + 'IscsiLun', + 'IscsiTarget', + 'IscsiTargetCreate', + 'IscsiTargetList', + 'IscsiTargetUpdate', + 'ProxyResource', + 'Resource', + 'StoragePoolOperationDisplay', + 'StoragePoolOperationListResult', + 'StoragePoolRpOperation', + 'SystemMetadata', + 'TargetPortalGroup', + 'TargetPortalGroupCreate', + 'TargetPortalGroupUpdate', + 'TrackedResource', + 'OperationalStatus', + 'ProvisioningStates', +] diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py new file mode 100644 index 00000000000..48efeda14aa --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py @@ -0,0 +1,975 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + + +class Acl(msrest.serialization.Model): + """Access Control List (ACL) for an iSCSI Target Portal Group. + + All required parameters must be populated in order to send to Azure. + + :param initiator_iqn: Required. iSCSI initiator IQN (iSCSI Qualified Name); example: + "iqn.2005-03.org.iscsi:client". + :type initiator_iqn: str + :param mapped_luns: Required. List of LUN names mapped to the ACL. + :type mapped_luns: list[str] + :param username: Username for Challenge Handshake Authentication Protocol (CHAP) + authentication. + :type username: str + :param password: Password for Challenge Handshake Authentication Protocol (CHAP) + authentication. + :type password: str + """ + + _validation = { + 'initiator_iqn': {'required': True}, + 'mapped_luns': {'required': True}, + 'username': {'max_length': 511, 'min_length': 7}, + 'password': {'max_length': 255, 'min_length': 12, 'pattern': r'^[-\w_0-9A-Za-z]*$'}, + } + + _attribute_map = { + 'initiator_iqn': {'key': 'initiatorIqn', 'type': 'str'}, + 'mapped_luns': {'key': 'mappedLuns', 'type': '[str]'}, + 'username': {'key': 'credentials.username', 'type': 'str'}, + 'password': {'key': 'credentials.password', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Acl, self).__init__(**kwargs) + self.initiator_iqn = kwargs['initiator_iqn'] + self.mapped_luns = kwargs['mapped_luns'] + self.username = kwargs.get('username', None) + self.password = kwargs.get('password', None) + + +class Attributes(msrest.serialization.Model): + """Attributes of a iSCSI Target Portal Group. + + All required parameters must be populated in order to send to Azure. + + :param authentication: Required. Indicates whether or not authentication is enabled on the ACL. + :type authentication: bool + :param prod_mode_write_protect: Required. Indicates whether or not write protect is enabled on + the LUNs. + :type prod_mode_write_protect: bool + """ + + _validation = { + 'authentication': {'required': True}, + 'prod_mode_write_protect': {'required': True}, + } + + _attribute_map = { + 'authentication': {'key': 'authentication', 'type': 'bool'}, + 'prod_mode_write_protect': {'key': 'prodModeWriteProtect', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(Attributes, self).__init__(**kwargs) + self.authentication = kwargs['authentication'] + self.prod_mode_write_protect = kwargs['prod_mode_write_protect'] + + +class Disk(msrest.serialization.Model): + """Azure Managed Disk to attach to the Disk Pool. + + All required parameters must be populated in order to send to Azure. + + :param id: Required. Unique Azure Resource ID of the Managed Disk. + :type id: str + """ + + _validation = { + 'id': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Disk, self).__init__(**kwargs) + self.id = kwargs['id'] + + +class Resource(msrest.serialization.Model): + """ARM resource model definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class TrackedResource(Resource): + """The resource model definition for a ARM tracked top level resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TrackedResource, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) + self.location = kwargs['location'] + + +class DiskPool(TrackedResource): + """Response for Disk Pool request. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: 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 + include: "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", + "Deleting". + :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates + :param availability_zones: Required. Logical zone for Disk Pool resource; example: ["1"]. + :type availability_zones: list[str] + :ivar status: Required. Operational status of the Disk Pool. Possible values include: + "Invalid", "Unknown", "Healthy", "Unhealthy". + :vartype status: str or ~storage_pool_management.models.OperationalStatus + :param disks: List of Azure Managed Disks to attach to a Disk Pool. + :type disks: list[~storage_pool_management.models.Disk] + :param subnet_id: Required. Azure Resource ID of a Subnet for the Disk Pool. + :type subnet_id: str + :param additional_capabilities: List of additional capabilities for Disk Pool. + :type additional_capabilities: list[str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'system_data': {'readonly': True}, + 'provisioning_state': {'required': True, 'readonly': True}, + 'availability_zones': {'required': True}, + 'status': {'required': True, 'readonly': True}, + 'subnet_id': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, + 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, + 'additional_capabilities': {'key': 'properties.additionalCapabilities', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(DiskPool, self).__init__(**kwargs) + self.system_data = None + self.provisioning_state = None + self.availability_zones = kwargs['availability_zones'] + self.status = None + self.disks = kwargs.get('disks', None) + self.subnet_id = kwargs['subnet_id'] + self.additional_capabilities = kwargs.get('additional_capabilities', None) + + +class DiskPoolCreate(TrackedResource): + """Request payload for create or update Disk Pool request. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + :param availability_zones: Required. 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. + :type disks: list[~storage_pool_management.models.Disk] + :param subnet_id: Required. Azure Resource ID of a Subnet for the Disk Pool. + :type subnet_id: str + :param additional_capabilities: List of additional capabilities for a Disk Pool. + :type additional_capabilities: list[str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'availability_zones': {'required': True}, + 'subnet_id': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, + 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, + 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, + 'additional_capabilities': {'key': 'properties.additionalCapabilities', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(DiskPoolCreate, self).__init__(**kwargs) + self.availability_zones = kwargs['availability_zones'] + self.disks = kwargs.get('disks', None) + self.subnet_id = kwargs['subnet_id'] + self.additional_capabilities = kwargs.get('additional_capabilities', None) + + +class DiskPoolListResult(msrest.serialization.Model): + """List of Disk Pools. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of Disk Pool objects. + :type value: list[~storage_pool_management.models.DiskPool] + :ivar next_link: URI to fetch the next section of the paginated response. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DiskPool]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DiskPoolListResult, self).__init__(**kwargs) + self.value = kwargs['value'] + self.next_link = None + + +class DiskPoolUpdate(msrest.serialization.Model): + """Request payload for Update Disk Pool request. + + :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. + :type disks: list[~storage_pool_management.models.Disk] + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, + } + + def __init__( + self, + **kwargs + ): + super(DiskPoolUpdate, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) + self.disks = kwargs.get('disks', None) + + +class Error(msrest.serialization.Model): + """The resource management error response. + + :param error: RP error response. + :type error: ~storage_pool_management.models.ErrorResponse + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ErrorResponse'}, + } + + def __init__( + self, + **kwargs + ): + super(Error, self).__init__(**kwargs) + self.error = kwargs.get('error', None) + + +class ErrorAdditionalInfo(msrest.serialization.Model): + """The resource management error additional info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: The additional info type. + :vartype type: str + :ivar info: The additional info. + :vartype info: object + """ + + _validation = { + 'type': {'readonly': True}, + 'info': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'info': {'key': 'info', 'type': 'object'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorAdditionalInfo, self).__init__(**kwargs) + self.type = None + self.info = None + + +class ErrorResponse(msrest.serialization.Model): + """The resource management error response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar code: The error code. + :vartype code: str + :ivar message: The error message. + :vartype message: str + :ivar target: The error target. + :vartype target: str + :ivar details: The error details. + :vartype details: list[~storage_pool_management.models.ErrorResponse] + :ivar additional_info: The error additional info. + :vartype additional_info: list[~storage_pool_management.models.ErrorAdditionalInfo] + """ + + _validation = { + 'code': {'readonly': True}, + 'message': {'readonly': True}, + 'target': {'readonly': True}, + 'details': {'readonly': True}, + 'additional_info': {'readonly': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[ErrorResponse]'}, + 'additional_info': {'key': 'additionalInfo', 'type': '[ErrorAdditionalInfo]'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorResponse, self).__init__(**kwargs) + self.code = None + self.message = None + self.target = None + self.details = None + self.additional_info = None + + +class IscsiLun(msrest.serialization.Model): + """LUN to expose the Azure Managed Disk. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. User defined name for iSCSI LUN; example: "lun0". + :type name: str + :param managed_disk_azure_resource_id: Required. Azure Resource ID of the Managed Disk. + :type managed_disk_azure_resource_id: str + """ + + _validation = { + 'name': {'required': True}, + 'managed_disk_azure_resource_id': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'managed_disk_azure_resource_id': {'key': 'managedDiskAzureResourceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IscsiLun, self).__init__(**kwargs) + self.name = kwargs['name'] + self.managed_disk_azure_resource_id = kwargs['managed_disk_azure_resource_id'] + + +class IscsiTarget(Resource): + """Response for iSCSI Target requests. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :ivar provisioning_state: Required. State of the operation on the resource. Possible values + include: "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", + "Deleting". + :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates + :ivar status: Required. Operational status of the iSCSI Target. Possible values include: + "Invalid", "Unknown", "Healthy", "Unhealthy". + :vartype status: str or ~storage_pool_management.models.OperationalStatus + :param tpgs: Required. List of iSCSI target portal groups. + :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] + :param target_iqn: Required. iSCSI target IQN (iSCSI Qualified Name); example: + "iqn.2005-03.org.iscsi:server". + :type target_iqn: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'required': True, 'readonly': True}, + 'status': {'required': True, 'readonly': True}, + 'tpgs': {'required': True}, + 'target_iqn': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroup]'}, + 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IscsiTarget, self).__init__(**kwargs) + self.provisioning_state = None + self.status = None + self.tpgs = kwargs['tpgs'] + self.target_iqn = kwargs['target_iqn'] + + +class IscsiTargetCreate(Resource): + """Payload for iSCSI Target create or update requests. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tpgs: Required. List of iSCSI target portal groups. + :type tpgs: list[~storage_pool_management.models.TargetPortalGroupCreate] + :param target_iqn: Required. iSCSI target IQN (iSCSI Qualified Name); example: + "iqn.2005-03.org.iscsi:server". + :type target_iqn: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'tpgs': {'required': True}, + 'target_iqn': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroupCreate]'}, + 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IscsiTargetCreate, self).__init__(**kwargs) + self.tpgs = kwargs['tpgs'] + self.target_iqn = kwargs['target_iqn'] + + +class IscsiTargetList(msrest.serialization.Model): + """List of iSCSI Targets. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of iSCSI targets in a Disk Pool. + :type value: list[~storage_pool_management.models.IscsiTarget] + :ivar next_link: URI to fetch the next section of the paginated response. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[IscsiTarget]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IscsiTargetList, self).__init__(**kwargs) + self.value = kwargs['value'] + self.next_link = None + + +class IscsiTargetUpdate(msrest.serialization.Model): + """Payload for iSCSI Target update request. + + All required parameters must be populated in order to send to Azure. + + :param tpgs: Required. List of iSCSI target portal groups. + :type tpgs: list[~storage_pool_management.models.TargetPortalGroupUpdate] + """ + + _validation = { + 'tpgs': {'required': True}, + } + + _attribute_map = { + 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroupUpdate]'}, + } + + def __init__( + self, + **kwargs + ): + super(IscsiTargetUpdate, self).__init__(**kwargs) + self.tpgs = kwargs['tpgs'] + + +class ProxyResource(Resource): + """The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ProxyResource, self).__init__(**kwargs) + + +class StoragePoolOperationDisplay(msrest.serialization.Model): + """Metadata about an operation. + + All required parameters must be populated in order to send to Azure. + + :param provider: Required. Localized friendly form of the resource provider name. + :type provider: str + :param resource: Required. Localized friendly form of the resource type related to this + action/operation. + :type resource: str + :param operation: Required. Localized friendly name for the operation, as it should be shown to + the user. + :type operation: str + :param description: Required. Localized friendly description for the operation, as it should be + shown to the user. + :type description: str + """ + + _validation = { + 'provider': {'required': True}, + 'resource': {'required': True}, + 'operation': {'required': True}, + 'description': {'required': True}, + } + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StoragePoolOperationDisplay, self).__init__(**kwargs) + self.provider = kwargs['provider'] + self.resource = kwargs['resource'] + self.operation = kwargs['operation'] + self.description = kwargs['description'] + + +class StoragePoolOperationListResult(msrest.serialization.Model): + """List of operations supported by the RP. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of operations supported by the StoragePool RP. + :type value: list[~storage_pool_management.models.StoragePoolRpOperation] + :param next_link: URI to fetch the next section of the paginated response. + :type next_link: str + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StoragePoolRpOperation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StoragePoolOperationListResult, self).__init__(**kwargs) + self.value = kwargs['value'] + self.next_link = kwargs.get('next_link', None) + + +class StoragePoolRpOperation(msrest.serialization.Model): + """Description of a StoragePool RP Operation. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the operation being performed on this particular object. + :type name: str + :param is_data_action: Required. Indicates whether the operation applies to data-plane. + :type is_data_action: bool + :param action_type: Indicates the action type. + :type action_type: str + :param display: Required. Additional metadata about RP operation. + :type display: ~storage_pool_management.models.StoragePoolOperationDisplay + :param origin: The intended executor of the operation; governs the display of the operation in + the RBAC UX and the audit logs UX. + :type origin: str + """ + + _validation = { + 'name': {'required': True}, + 'is_data_action': {'required': True}, + 'display': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, + 'action_type': {'key': 'actionType', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'StoragePoolOperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StoragePoolRpOperation, self).__init__(**kwargs) + self.name = kwargs['name'] + self.is_data_action = kwargs['is_data_action'] + self.action_type = kwargs.get('action_type', None) + self.display = kwargs['display'] + self.origin = kwargs.get('origin', None) + + +class SystemMetadata(msrest.serialization.Model): + """Resource metadata required by ARM RPC. + + :param created_by: A string identifier for the identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource: user, application, + managedIdentity. + :type created_by_type: str + :param created_at: The timestamp of resource creation (UTC). + :type created_at: str + :param last_modified_by: A string identifier for the identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource: user, + application, managedIdentity. + :type last_modified_by_type: str + :param last_modified_at: The timestamp of resource last modification (UTC). + :type last_modified_at: str + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'str'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SystemMetadata, self).__init__(**kwargs) + self.created_by = kwargs.get('created_by', None) + self.created_by_type = kwargs.get('created_by_type', None) + self.created_at = kwargs.get('created_at', None) + self.last_modified_by = kwargs.get('last_modified_by', None) + self.last_modified_by_type = kwargs.get('last_modified_by_type', None) + self.last_modified_at = kwargs.get('last_modified_at', None) + + +class TargetPortalGroup(msrest.serialization.Model): + """Response properties for iSCSI target portal group. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param luns: Required. List of LUNs to be exposed through iSCSI Target Portal Group. + :type luns: list[~storage_pool_management.models.IscsiLun] + :param acls: Required. Access Control List (ACL) for an iSCSI Target Portal Group. + :type acls: list[~storage_pool_management.models.Acl] + :param attributes: Required. Attributes of an iSCSI Target Portal Group. + :type attributes: ~storage_pool_management.models.Attributes + :ivar endpoints: Required. List of private IPv4 addresses to connect to the iSCSI Target. + :vartype endpoints: list[str] + :ivar tag: Required. The tag associated with the iSCSI Target Portal Group. + :vartype tag: int + :ivar port: Required. The port used by iSCSI Target Portal Group. + :vartype port: int + """ + + _validation = { + 'luns': {'required': True}, + 'acls': {'required': True}, + 'attributes': {'required': True}, + 'endpoints': {'required': True, 'readonly': True}, + 'tag': {'required': True, 'readonly': True}, + 'port': {'required': True, 'readonly': True}, + } + + _attribute_map = { + 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, + 'acls': {'key': 'acls', 'type': '[Acl]'}, + 'attributes': {'key': 'attributes', 'type': 'Attributes'}, + 'endpoints': {'key': 'endpoints', 'type': '[str]'}, + 'tag': {'key': 'tag', 'type': 'int'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(TargetPortalGroup, self).__init__(**kwargs) + self.luns = kwargs['luns'] + self.acls = kwargs['acls'] + self.attributes = kwargs['attributes'] + self.endpoints = None + self.tag = None + self.port = None + + +class TargetPortalGroupCreate(msrest.serialization.Model): + """Target Portal Group properties for create or update iSCSI target request. + + All required parameters must be populated in order to send to Azure. + + :param luns: Required. List of LUNs to be exposed through the iSCSI Target Portal Group. + :type luns: list[~storage_pool_management.models.IscsiLun] + :param acls: Required. Access Control List (ACL) for an iSCSI Target Portal Group. + :type acls: list[~storage_pool_management.models.Acl] + :param attributes: Required. Attributes of an iSCSI Target Portal Group. + :type attributes: ~storage_pool_management.models.Attributes + """ + + _validation = { + 'luns': {'required': True}, + 'acls': {'required': True}, + 'attributes': {'required': True}, + } + + _attribute_map = { + 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, + 'acls': {'key': 'acls', 'type': '[Acl]'}, + 'attributes': {'key': 'attributes', 'type': 'Attributes'}, + } + + def __init__( + self, + **kwargs + ): + super(TargetPortalGroupCreate, self).__init__(**kwargs) + self.luns = kwargs['luns'] + self.acls = kwargs['acls'] + self.attributes = kwargs['attributes'] + + +class TargetPortalGroupUpdate(msrest.serialization.Model): + """Target Portal Group properties for update iSCSI target request. + + :param luns: List of LUNs to be exposed through the iSCSI Target Portal Group. + :type luns: list[~storage_pool_management.models.IscsiLun] + :param acls: Access Control List (ACL) for an iSCSI Target Portal Group. + :type acls: list[~storage_pool_management.models.Acl] + """ + + _attribute_map = { + 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, + 'acls': {'key': 'acls', 'type': '[Acl]'}, + } + + def __init__( + self, + **kwargs + ): + super(TargetPortalGroupUpdate, self).__init__(**kwargs) + self.luns = kwargs.get('luns', None) + self.acls = kwargs.get('acls', None) 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 new file mode 100644 index 00000000000..af4ff77fdab --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models_py3.py @@ -0,0 +1,1056 @@ +# 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 Dict, List, Optional + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + + +class Acl(msrest.serialization.Model): + """Access Control List (ACL) for an iSCSI Target Portal Group. + + All required parameters must be populated in order to send to Azure. + + :param initiator_iqn: Required. iSCSI initiator IQN (iSCSI Qualified Name); example: + "iqn.2005-03.org.iscsi:client". + :type initiator_iqn: str + :param mapped_luns: Required. List of LUN names mapped to the ACL. + :type mapped_luns: list[str] + :param username: Username for Challenge Handshake Authentication Protocol (CHAP) + authentication. + :type username: str + :param password: Password for Challenge Handshake Authentication Protocol (CHAP) + authentication. + :type password: str + """ + + _validation = { + 'initiator_iqn': {'required': True}, + 'mapped_luns': {'required': True}, + 'username': {'max_length': 511, 'min_length': 7}, + 'password': {'max_length': 255, 'min_length': 12, 'pattern': r'^[-\w_0-9A-Za-z]*$'}, + } + + _attribute_map = { + 'initiator_iqn': {'key': 'initiatorIqn', 'type': 'str'}, + 'mapped_luns': {'key': 'mappedLuns', 'type': '[str]'}, + 'username': {'key': 'credentials.username', 'type': 'str'}, + 'password': {'key': 'credentials.password', 'type': 'str'}, + } + + def __init__( + self, + *, + initiator_iqn: str, + mapped_luns: List[str], + username: Optional[str] = None, + password: Optional[str] = None, + **kwargs + ): + super(Acl, self).__init__(**kwargs) + self.initiator_iqn = initiator_iqn + self.mapped_luns = mapped_luns + self.username = username + self.password = password + + +class Attributes(msrest.serialization.Model): + """Attributes of a iSCSI Target Portal Group. + + All required parameters must be populated in order to send to Azure. + + :param authentication: Required. Indicates whether or not authentication is enabled on the ACL. + :type authentication: bool + :param prod_mode_write_protect: Required. Indicates whether or not write protect is enabled on + the LUNs. + :type prod_mode_write_protect: bool + """ + + _validation = { + 'authentication': {'required': True}, + 'prod_mode_write_protect': {'required': True}, + } + + _attribute_map = { + 'authentication': {'key': 'authentication', 'type': 'bool'}, + 'prod_mode_write_protect': {'key': 'prodModeWriteProtect', 'type': 'bool'}, + } + + def __init__( + self, + *, + authentication: bool, + prod_mode_write_protect: bool, + **kwargs + ): + super(Attributes, self).__init__(**kwargs) + self.authentication = authentication + self.prod_mode_write_protect = prod_mode_write_protect + + +class Disk(msrest.serialization.Model): + """Azure Managed Disk to attach to the Disk Pool. + + All required parameters must be populated in order to send to Azure. + + :param id: Required. Unique Azure Resource ID of the Managed Disk. + :type id: str + """ + + _validation = { + 'id': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + *, + id: str, + **kwargs + ): + super(Disk, self).__init__(**kwargs) + self.id = id + + +class Resource(msrest.serialization.Model): + """ARM resource model definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class TrackedResource(Resource): + """The resource model definition for a ARM tracked top level resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + **kwargs + ): + super(TrackedResource, self).__init__(**kwargs) + self.tags = tags + self.location = location + + +class DiskPool(TrackedResource): + """Response for Disk Pool request. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: 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 + include: "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", + "Deleting". + :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates + :param availability_zones: Required. Logical zone for Disk Pool resource; example: ["1"]. + :type availability_zones: list[str] + :ivar status: Required. Operational status of the Disk Pool. Possible values include: + "Invalid", "Unknown", "Healthy", "Unhealthy". + :vartype status: str or ~storage_pool_management.models.OperationalStatus + :param disks: List of Azure Managed Disks to attach to a Disk Pool. + :type disks: list[~storage_pool_management.models.Disk] + :param subnet_id: Required. Azure Resource ID of a Subnet for the Disk Pool. + :type subnet_id: str + :param additional_capabilities: List of additional capabilities for Disk Pool. + :type additional_capabilities: list[str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'system_data': {'readonly': True}, + 'provisioning_state': {'required': True, 'readonly': True}, + 'availability_zones': {'required': True}, + 'status': {'required': True, 'readonly': True}, + 'subnet_id': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, + 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, + 'additional_capabilities': {'key': 'properties.additionalCapabilities', 'type': '[str]'}, + } + + def __init__( + self, + *, + location: str, + availability_zones: List[str], + subnet_id: str, + tags: Optional[Dict[str, str]] = None, + disks: Optional[List["Disk"]] = None, + additional_capabilities: Optional[List[str]] = None, + **kwargs + ): + super(DiskPool, self).__init__(tags=tags, location=location, **kwargs) + self.system_data = None + self.provisioning_state = None + self.availability_zones = availability_zones + self.status = None + self.disks = disks + self.subnet_id = subnet_id + self.additional_capabilities = additional_capabilities + + +class DiskPoolCreate(TrackedResource): + """Request payload for create or update Disk Pool request. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + :param availability_zones: Required. 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. + :type disks: list[~storage_pool_management.models.Disk] + :param subnet_id: Required. Azure Resource ID of a Subnet for the Disk Pool. + :type subnet_id: str + :param additional_capabilities: List of additional capabilities for a Disk Pool. + :type additional_capabilities: list[str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'availability_zones': {'required': True}, + 'subnet_id': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, + 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, + 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, + 'additional_capabilities': {'key': 'properties.additionalCapabilities', 'type': '[str]'}, + } + + def __init__( + self, + *, + location: str, + availability_zones: List[str], + subnet_id: str, + tags: Optional[Dict[str, str]] = None, + disks: Optional[List["Disk"]] = None, + additional_capabilities: Optional[List[str]] = None, + **kwargs + ): + super(DiskPoolCreate, self).__init__(tags=tags, location=location, **kwargs) + self.availability_zones = availability_zones + self.disks = disks + self.subnet_id = subnet_id + self.additional_capabilities = additional_capabilities + + +class DiskPoolListResult(msrest.serialization.Model): + """List of Disk Pools. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of Disk Pool objects. + :type value: list[~storage_pool_management.models.DiskPool] + :ivar next_link: URI to fetch the next section of the paginated response. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DiskPool]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: List["DiskPool"], + **kwargs + ): + super(DiskPoolListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class DiskPoolUpdate(msrest.serialization.Model): + """Request payload for Update Disk Pool request. + + :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. + :type disks: list[~storage_pool_management.models.Disk] + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, + } + + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + disks: Optional[List["Disk"]] = None, + **kwargs + ): + super(DiskPoolUpdate, self).__init__(**kwargs) + self.tags = tags + self.disks = disks + + +class Error(msrest.serialization.Model): + """The resource management error response. + + :param error: RP error response. + :type error: ~storage_pool_management.models.ErrorResponse + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ErrorResponse'}, + } + + def __init__( + self, + *, + error: Optional["ErrorResponse"] = None, + **kwargs + ): + super(Error, self).__init__(**kwargs) + self.error = error + + +class ErrorAdditionalInfo(msrest.serialization.Model): + """The resource management error additional info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: The additional info type. + :vartype type: str + :ivar info: The additional info. + :vartype info: object + """ + + _validation = { + 'type': {'readonly': True}, + 'info': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'info': {'key': 'info', 'type': 'object'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorAdditionalInfo, self).__init__(**kwargs) + self.type = None + self.info = None + + +class ErrorResponse(msrest.serialization.Model): + """The resource management error response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar code: The error code. + :vartype code: str + :ivar message: The error message. + :vartype message: str + :ivar target: The error target. + :vartype target: str + :ivar details: The error details. + :vartype details: list[~storage_pool_management.models.ErrorResponse] + :ivar additional_info: The error additional info. + :vartype additional_info: list[~storage_pool_management.models.ErrorAdditionalInfo] + """ + + _validation = { + 'code': {'readonly': True}, + 'message': {'readonly': True}, + 'target': {'readonly': True}, + 'details': {'readonly': True}, + 'additional_info': {'readonly': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[ErrorResponse]'}, + 'additional_info': {'key': 'additionalInfo', 'type': '[ErrorAdditionalInfo]'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorResponse, self).__init__(**kwargs) + self.code = None + self.message = None + self.target = None + self.details = None + self.additional_info = None + + +class IscsiLun(msrest.serialization.Model): + """LUN to expose the Azure Managed Disk. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. User defined name for iSCSI LUN; example: "lun0". + :type name: str + :param managed_disk_azure_resource_id: Required. Azure Resource ID of the Managed Disk. + :type managed_disk_azure_resource_id: str + """ + + _validation = { + 'name': {'required': True}, + 'managed_disk_azure_resource_id': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'managed_disk_azure_resource_id': {'key': 'managedDiskAzureResourceId', 'type': 'str'}, + } + + def __init__( + self, + *, + name: str, + managed_disk_azure_resource_id: str, + **kwargs + ): + super(IscsiLun, self).__init__(**kwargs) + self.name = name + self.managed_disk_azure_resource_id = managed_disk_azure_resource_id + + +class IscsiTarget(Resource): + """Response for iSCSI Target requests. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :ivar provisioning_state: Required. State of the operation on the resource. Possible values + include: "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", + "Deleting". + :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates + :ivar status: Required. Operational status of the iSCSI Target. Possible values include: + "Invalid", "Unknown", "Healthy", "Unhealthy". + :vartype status: str or ~storage_pool_management.models.OperationalStatus + :param tpgs: Required. List of iSCSI target portal groups. + :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] + :param target_iqn: Required. iSCSI target IQN (iSCSI Qualified Name); example: + "iqn.2005-03.org.iscsi:server". + :type target_iqn: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'required': True, 'readonly': True}, + 'status': {'required': True, 'readonly': True}, + 'tpgs': {'required': True}, + 'target_iqn': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroup]'}, + 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, + } + + def __init__( + self, + *, + tpgs: List["TargetPortalGroup"], + target_iqn: str, + **kwargs + ): + super(IscsiTarget, self).__init__(**kwargs) + self.provisioning_state = None + self.status = None + self.tpgs = tpgs + self.target_iqn = target_iqn + + +class IscsiTargetCreate(Resource): + """Payload for iSCSI Target create or update requests. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tpgs: Required. List of iSCSI target portal groups. + :type tpgs: list[~storage_pool_management.models.TargetPortalGroupCreate] + :param target_iqn: Required. iSCSI target IQN (iSCSI Qualified Name); example: + "iqn.2005-03.org.iscsi:server". + :type target_iqn: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'tpgs': {'required': True}, + 'target_iqn': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroupCreate]'}, + 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, + } + + def __init__( + self, + *, + tpgs: List["TargetPortalGroupCreate"], + target_iqn: str, + **kwargs + ): + super(IscsiTargetCreate, self).__init__(**kwargs) + self.tpgs = tpgs + self.target_iqn = target_iqn + + +class IscsiTargetList(msrest.serialization.Model): + """List of iSCSI Targets. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of iSCSI targets in a Disk Pool. + :type value: list[~storage_pool_management.models.IscsiTarget] + :ivar next_link: URI to fetch the next section of the paginated response. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[IscsiTarget]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: List["IscsiTarget"], + **kwargs + ): + super(IscsiTargetList, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class IscsiTargetUpdate(msrest.serialization.Model): + """Payload for iSCSI Target update request. + + All required parameters must be populated in order to send to Azure. + + :param tpgs: Required. List of iSCSI target portal groups. + :type tpgs: list[~storage_pool_management.models.TargetPortalGroupUpdate] + """ + + _validation = { + 'tpgs': {'required': True}, + } + + _attribute_map = { + 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroupUpdate]'}, + } + + def __init__( + self, + *, + tpgs: List["TargetPortalGroupUpdate"], + **kwargs + ): + super(IscsiTargetUpdate, self).__init__(**kwargs) + self.tpgs = tpgs + + +class ProxyResource(Resource): + """The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ProxyResource, self).__init__(**kwargs) + + +class StoragePoolOperationDisplay(msrest.serialization.Model): + """Metadata about an operation. + + All required parameters must be populated in order to send to Azure. + + :param provider: Required. Localized friendly form of the resource provider name. + :type provider: str + :param resource: Required. Localized friendly form of the resource type related to this + action/operation. + :type resource: str + :param operation: Required. Localized friendly name for the operation, as it should be shown to + the user. + :type operation: str + :param description: Required. Localized friendly description for the operation, as it should be + shown to the user. + :type description: str + """ + + _validation = { + 'provider': {'required': True}, + 'resource': {'required': True}, + 'operation': {'required': True}, + 'description': {'required': True}, + } + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + *, + provider: str, + resource: str, + operation: str, + description: str, + **kwargs + ): + super(StoragePoolOperationDisplay, self).__init__(**kwargs) + self.provider = provider + self.resource = resource + self.operation = operation + self.description = description + + +class StoragePoolOperationListResult(msrest.serialization.Model): + """List of operations supported by the RP. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. An array of operations supported by the StoragePool RP. + :type value: list[~storage_pool_management.models.StoragePoolRpOperation] + :param next_link: URI to fetch the next section of the paginated response. + :type next_link: str + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[StoragePoolRpOperation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: List["StoragePoolRpOperation"], + next_link: Optional[str] = None, + **kwargs + ): + super(StoragePoolOperationListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class StoragePoolRpOperation(msrest.serialization.Model): + """Description of a StoragePool RP Operation. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the operation being performed on this particular object. + :type name: str + :param is_data_action: Required. Indicates whether the operation applies to data-plane. + :type is_data_action: bool + :param action_type: Indicates the action type. + :type action_type: str + :param display: Required. Additional metadata about RP operation. + :type display: ~storage_pool_management.models.StoragePoolOperationDisplay + :param origin: The intended executor of the operation; governs the display of the operation in + the RBAC UX and the audit logs UX. + :type origin: str + """ + + _validation = { + 'name': {'required': True}, + 'is_data_action': {'required': True}, + 'display': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, + 'action_type': {'key': 'actionType', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'StoragePoolOperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + } + + def __init__( + self, + *, + name: str, + is_data_action: bool, + display: "StoragePoolOperationDisplay", + action_type: Optional[str] = None, + origin: Optional[str] = None, + **kwargs + ): + super(StoragePoolRpOperation, self).__init__(**kwargs) + self.name = name + self.is_data_action = is_data_action + self.action_type = action_type + self.display = display + self.origin = origin + + +class SystemMetadata(msrest.serialization.Model): + """Resource metadata required by ARM RPC. + + :param created_by: A string identifier for the identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource: user, application, + managedIdentity. + :type created_by_type: str + :param created_at: The timestamp of resource creation (UTC). + :type created_at: str + :param last_modified_by: A string identifier for the identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource: user, + application, managedIdentity. + :type last_modified_by_type: str + :param last_modified_at: The timestamp of resource last modification (UTC). + :type last_modified_at: str + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'str'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'str'}, + } + + def __init__( + self, + *, + created_by: Optional[str] = None, + created_by_type: Optional[str] = None, + created_at: Optional[str] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[str] = None, + last_modified_at: Optional[str] = None, + **kwargs + ): + super(SystemMetadata, self).__init__(**kwargs) + self.created_by = created_by + self.created_by_type = created_by_type + self.created_at = created_at + self.last_modified_by = last_modified_by + self.last_modified_by_type = last_modified_by_type + self.last_modified_at = last_modified_at + + +class TargetPortalGroup(msrest.serialization.Model): + """Response properties for iSCSI target portal group. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param luns: Required. List of LUNs to be exposed through iSCSI Target Portal Group. + :type luns: list[~storage_pool_management.models.IscsiLun] + :param acls: Required. Access Control List (ACL) for an iSCSI Target Portal Group. + :type acls: list[~storage_pool_management.models.Acl] + :param attributes: Required. Attributes of an iSCSI Target Portal Group. + :type attributes: ~storage_pool_management.models.Attributes + :ivar endpoints: Required. List of private IPv4 addresses to connect to the iSCSI Target. + :vartype endpoints: list[str] + :ivar tag: Required. The tag associated with the iSCSI Target Portal Group. + :vartype tag: int + :ivar port: Required. The port used by iSCSI Target Portal Group. + :vartype port: int + """ + + _validation = { + 'luns': {'required': True}, + 'acls': {'required': True}, + 'attributes': {'required': True}, + 'endpoints': {'required': True, 'readonly': True}, + 'tag': {'required': True, 'readonly': True}, + 'port': {'required': True, 'readonly': True}, + } + + _attribute_map = { + 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, + 'acls': {'key': 'acls', 'type': '[Acl]'}, + 'attributes': {'key': 'attributes', 'type': 'Attributes'}, + 'endpoints': {'key': 'endpoints', 'type': '[str]'}, + 'tag': {'key': 'tag', 'type': 'int'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + *, + luns: List["IscsiLun"], + acls: List["Acl"], + attributes: "Attributes", + **kwargs + ): + super(TargetPortalGroup, self).__init__(**kwargs) + self.luns = luns + self.acls = acls + self.attributes = attributes + self.endpoints = None + self.tag = None + self.port = None + + +class TargetPortalGroupCreate(msrest.serialization.Model): + """Target Portal Group properties for create or update iSCSI target request. + + All required parameters must be populated in order to send to Azure. + + :param luns: Required. List of LUNs to be exposed through the iSCSI Target Portal Group. + :type luns: list[~storage_pool_management.models.IscsiLun] + :param acls: Required. Access Control List (ACL) for an iSCSI Target Portal Group. + :type acls: list[~storage_pool_management.models.Acl] + :param attributes: Required. Attributes of an iSCSI Target Portal Group. + :type attributes: ~storage_pool_management.models.Attributes + """ + + _validation = { + 'luns': {'required': True}, + 'acls': {'required': True}, + 'attributes': {'required': True}, + } + + _attribute_map = { + 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, + 'acls': {'key': 'acls', 'type': '[Acl]'}, + 'attributes': {'key': 'attributes', 'type': 'Attributes'}, + } + + def __init__( + self, + *, + luns: List["IscsiLun"], + acls: List["Acl"], + attributes: "Attributes", + **kwargs + ): + super(TargetPortalGroupCreate, self).__init__(**kwargs) + self.luns = luns + self.acls = acls + self.attributes = attributes + + +class TargetPortalGroupUpdate(msrest.serialization.Model): + """Target Portal Group properties for update iSCSI target request. + + :param luns: List of LUNs to be exposed through the iSCSI Target Portal Group. + :type luns: list[~storage_pool_management.models.IscsiLun] + :param acls: Access Control List (ACL) for an iSCSI Target Portal Group. + :type acls: list[~storage_pool_management.models.Acl] + """ + + _attribute_map = { + 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, + 'acls': {'key': 'acls', 'type': '[Acl]'}, + } + + def __init__( + self, + *, + luns: Optional[List["IscsiLun"]] = None, + acls: Optional[List["Acl"]] = None, + **kwargs + ): + super(TargetPortalGroupUpdate, self).__init__(**kwargs) + self.luns = luns + self.acls = acls 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 new file mode 100644 index 00000000000..4815ee3bbf2 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_storage_pool_management_enums.py @@ -0,0 +1,49 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class OperationalStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Operational status of the Disk Pool. + """ + + INVALID = "Invalid" + UNKNOWN = "Unknown" + HEALTHY = "Healthy" + UNHEALTHY = "Unhealthy" + +class ProvisioningStates(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Provisioning state of the iSCSI Target. + """ + + INVALID = "Invalid" + SUCCEEDED = "Succeeded" + FAILED = "Failed" + CANCELED = "Canceled" + PENDING = "Pending" + CREATING = "Creating" + UPDATING = "Updating" + DELETING = "Deleting" diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py new file mode 100644 index 00000000000..076a93504e6 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py @@ -0,0 +1,17 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations import Operations +from ._disk_pools_operations import DiskPoolsOperations +from ._iscsi_targets_operations import IscsiTargetsOperations + +__all__ = [ + 'Operations', + 'DiskPoolsOperations', + 'IscsiTargetsOperations', +] 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 new file mode 100644 index 00000000000..0ea7b973f36 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pools_operations.py @@ -0,0 +1,621 @@ +# 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.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class DiskPoolsOperations(object): + """DiskPoolsOperations 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_by_subscription( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.DiskPoolListResult"] + """Gets a list of Disk Pools in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.DiskPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + 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('DiskPoolListResult', 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_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.DiskPoolListResult"] + """Gets a list of DiskPools in a resource group. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DiskPoolListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.DiskPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_resource_group.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]$'), + } + 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('DiskPoolListResult', 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_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + disk_pool_create_payload, # type: "models.DiskPoolCreate" + **kwargs # type: Any + ): + # type: (...) -> "models.DiskPool" + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(disk_pool_create_payload, 'DiskPoolCreate') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + disk_pool_create_payload, # type: "models.DiskPoolCreate" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["models.DiskPool"] + """Create or Update Disk Pool. + + :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 + :param disk_pool_create_payload: Request payload for Disk Pool create operation. + :type disk_pool_create_payload: ~storage_pool_management.models.DiskPoolCreate + :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 DiskPool or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.DiskPool] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + 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._create_or_update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + disk_pool_create_payload=disk_pool_create_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def _update_initial( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + disk_pool_update_payload, # type: "models.DiskPoolUpdate" + **kwargs # type: Any + ): + # type: (...) -> "models.DiskPool" + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(disk_pool_update_payload, 'DiskPoolUpdate') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def begin_update( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + disk_pool_update_payload, # type: "models.DiskPoolUpdate" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["models.DiskPool"] + """Update a Disk Pool. + + :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 + :param disk_pool_update_payload: Request payload for Disk Pool update operation. + :type disk_pool_update_payload: ~storage_pool_management.models.DiskPoolUpdate + :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 DiskPool or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.DiskPool] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + 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._update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + disk_pool_update_payload=disk_pool_update_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, 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_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def _delete_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 = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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.delete(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, 204]: + 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, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Delete a Disk Pool. + + :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._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.DiskPool" + """Get a Disk Pool. + + :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 + :return: DiskPool, or the result of cls(response) + :rtype: ~storage_pool_management.models.DiskPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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.get(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]: + 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) + + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # 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 new file mode 100644 index 00000000000..066e3309cab --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_iscsi_targets_operations.py @@ -0,0 +1,582 @@ +# 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.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class IscsiTargetsOperations(object): + """IscsiTargetsOperations 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_by_disk_pool( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.IscsiTargetList"] + """Get iSCSI Targets in a Disk Pool. + + :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 + :return: An iterator like instance of either IscsiTargetList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.IscsiTargetList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTargetList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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_by_disk_pool.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + } + 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('IscsiTargetList', 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_by_disk_pool.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + iscsi_target_create_payload, # type: "models.IscsiTargetCreate" + **kwargs # type: Any + ): + # type: (...) -> "models.IscsiTarget" + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(iscsi_target_create_payload, 'IscsiTargetCreate') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + iscsi_target_create_payload, # type: "models.IscsiTargetCreate" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["models.IscsiTarget"] + """Create or Update an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :param iscsi_target_create_payload: Request payload for iSCSI target create operation. + :type iscsi_target_create_payload: ~storage_pool_management.models.IscsiTargetCreate + :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 IscsiTarget or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.IscsiTarget] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + 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._create_or_update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name, + iscsi_target_create_payload=iscsi_target_create_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, 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_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + def _update_initial( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + iscsi_target_update_payload, # type: "models.IscsiTargetUpdate" + **kwargs # type: Any + ): + # type: (...) -> "models.IscsiTarget" + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(iscsi_target_update_payload, 'IscsiTargetUpdate') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + 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 response.status_code == 200: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + def begin_update( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + iscsi_target_update_payload, # type: "models.IscsiTargetUpdate" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["models.IscsiTarget"] + """Update an iSCSI target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :param iscsi_target_update_payload: Request payload for iSCSI target operations. + :type iscsi_target_update_payload: ~storage_pool_management.models.IscsiTargetUpdate + :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 IscsiTarget or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.IscsiTarget] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + 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._update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name, + iscsi_target_update_payload=iscsi_target_update_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, 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_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_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 = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self._delete_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.delete(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, 204]: + 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, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Delete an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_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._delete_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, 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_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.IscsiTarget" + """Get an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI target. + :type iscsi_target_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: IscsiTarget, or the result of cls(response) + :rtype: ~storage_pool_management.models.IscsiTarget + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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.get(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]: + 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) + + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operations.py new file mode 100644 index 00000000000..bf704ee6432 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operations.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from 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 Operations(object): + """Operations 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, + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.StoragePoolOperationListResult"] + """Gets a list of StoragePool operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either StoragePoolOperationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.StoragePoolOperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.StoragePoolOperationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-03-15-preview" + 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 + # 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('StoragePoolOperationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return 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': '/providers/Microsoft.StoragePool/operations'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/py.typed b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/py.typed new file mode 100644 index 00000000000..e5aff4f83af --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file From c28818f5de18638b50d0985dd4985640fd813ce6 Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Mon, 11 Jan 2021 17:11:58 +0800 Subject: [PATCH 10/30] upgrade version --- src/diskpool/HISTORY.rst | 3 +++ src/diskpool/setup.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/diskpool/HISTORY.rst b/src/diskpool/HISTORY.rst index 1c139576ba0..21d7ad9fcc5 100644 --- a/src/diskpool/HISTORY.rst +++ b/src/diskpool/HISTORY.rst @@ -2,6 +2,9 @@ Release History =============== +0.2.0 +++++++ +* Refine the command interface 0.1.0 ++++++ diff --git a/src/diskpool/setup.py b/src/diskpool/setup.py index d63937f7c2e..06bc4ea3613 100644 --- a/src/diskpool/setup.py +++ b/src/diskpool/setup.py @@ -10,7 +10,7 @@ from setuptools import setup, find_packages # HISTORY.rst entry. -VERSION = '0.1.0' +VERSION = '0.2.0' try: from azext_diskpool.manual.version import VERSION except ImportError: From be386a809f7d2770cd2dd9ba6f7526613a5b7ce2 Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Mon, 11 Jan 2021 17:18:57 +0800 Subject: [PATCH 11/30] refine readme --- src/diskpool/README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/diskpool/README.md b/src/diskpool/README.md index b593b61b22c..d895aaad5cc 100644 --- a/src/diskpool/README.md +++ b/src/diskpool/README.md @@ -1,35 +1,35 @@ -# Azure CLI diskpool Extension # +# Azure CLI Extension # This is the extension for diskpool ### How to use ### Install this extension using the below CLI command ``` -az extension add --name diskpool +az extension add -s https://zuhdefault.blob.core.windows.net/cliext/diskpool-0.2.0-py3-none-any.whl ``` ### Included Features ### -#### diskpool disk-pool #### +#### disk-pool #### ##### Create ##### ``` -az diskpool disk-pool create --name "myDiskPool" --location "westus" --availability-zones "1" \ +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" \ --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" -az diskpool disk-pool wait --created --name "{myDiskPool}" --resource-group "{rg}" +az disk-pool wait --created --name "myDiskPool" --resource-group "myResourceGroup" ``` ##### Show ##### ``` -az diskpool disk-pool show --name "myDiskPool" --resource-group "myResourceGroup" +az disk-pool show --name "myDiskPool" --resource-group "myResourceGroup" ``` ##### List ##### ``` -az diskpool disk-pool list --resource-group "myResourceGroup" +az disk-pool list --resource-group "myResourceGroup" ``` ##### Update ##### ``` -az diskpool disk-pool update --name "myDiskPool" --location "westus" --availability-zones "1" \ +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" \ @@ -37,7 +37,7 @@ az diskpool disk-pool update --name "myDiskPool" --location "westus" --availabil ``` ##### Delete ##### ``` -az diskpool disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" +az disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" ``` #### disk-pool iscsi-target #### ##### Create ##### @@ -47,7 +47,7 @@ az disk-pool iscsi-target create --disk-pool-name "myDiskPool" --name "myIscsiTa --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 wait --created --name "{myIscsiTarget}" --resource-group "{rg}" +az disk-pool iscsi-target wait --created --name "myIscsiTarget" --resource-group "myResourceGroup" ``` ##### Show ##### ``` From 28e4f801a566e39f98bd5049599d3d35933e4faf Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Fri, 15 Jan 2021 15:29:24 +0800 Subject: [PATCH 12/30] table transform --- .../azext_diskpool/manual/_transformers.py | 42 +++++++++++++++++++ .../azext_diskpool/manual/commands.py | 24 +++++++++++ 2 files changed, 66 insertions(+) create mode 100644 src/diskpool/azext_diskpool/manual/_transformers.py create mode 100644 src/diskpool/azext_diskpool/manual/commands.py diff --git a/src/diskpool/azext_diskpool/manual/_transformers.py b/src/diskpool/azext_diskpool/manual/_transformers.py new file mode 100644 index 00000000000..f6262db3cda --- /dev/null +++ b/src/diskpool/azext_diskpool/manual/_transformers.py @@ -0,0 +1,42 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + + +def build_table_output(result, projection): + + if not isinstance(result, list): + result = [result] + + final_list = [] + + from collections import OrderedDict + for item in result: + def _value_from_path(each_item, path): + obj = each_item + try: + for part in path.split('.'): + obj = obj.get(part, None) + except AttributeError: + obj = None + return obj or ' ' + + item_dict = OrderedDict() + for element in projection: + item_dict[element[0]] = _value_from_path(item, element[1]) + final_list.append(item_dict) + + return final_list + + +def transform_disk_pool_list_output(result): + """ Transform to convert SDK output into a form that is more readily + usable by the CLI and tools such as jpterm. """ + return build_table_output(result, [ + ('Name', 'name'), + ('Availability Zones', 'availabilityZones'), + ('Status', 'status'), + ('Location', 'location'), + ('Last Modified', 'systemData.lastModifiedAt') + ]) diff --git a/src/diskpool/azext_diskpool/manual/commands.py b/src/diskpool/azext_diskpool/manual/commands.py new file mode 100644 index 00000000000..ac7275186f4 --- /dev/null +++ b/src/diskpool/azext_diskpool/manual/commands.py @@ -0,0 +1,24 @@ +# -------------------------------------------------------------------------- +# 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.cli.core.commands import CliCommandType + + +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: + from ._transformers import transform_disk_pool_list_output + g.custom_command('list', 'disk_pool_list', table_transformer=transform_disk_pool_list_output) From 1d4b3d4771fb2b4f15361026cf0c0f6d4a3b2cd9 Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Sat, 20 Feb 2021 14:11:35 +0800 Subject: [PATCH 13/30] regenerate --- src/diskpool/HISTORY.rst | 5 +- .../azext_diskpool/generated/_help.py | 38 ++-- .../azext_diskpool/generated/_params.py | 43 ++--- .../azext_diskpool/generated/custom.py | 4 +- .../tests/latest/example_steps.py | 2 + .../tests/latest/test_diskpool_scenario.py | 27 +-- .../aio/operations/_disk_pools_operations.py | 24 +-- .../operations/_iscsi_targets_operations.py | 22 +-- .../storagepool/models/__init__.py | 2 + .../storagepool/models/_models.py | 152 ++++++++-------- .../storagepool/models/_models_py3.py | 165 ++++++++++-------- .../models/_storage_pool_management_enums.py | 16 +- .../operations/_disk_pools_operations.py | 24 +-- .../operations/_iscsi_targets_operations.py | 22 +-- src/diskpool/gen.zip | Bin 11239 -> 11220 bytes src/diskpool/report.md | 35 ++-- src/diskpool/setup.py | 2 +- 17 files changed, 325 insertions(+), 258 deletions(-) diff --git a/src/diskpool/HISTORY.rst b/src/diskpool/HISTORY.rst index 21d7ad9fcc5..77c56130843 100644 --- a/src/diskpool/HISTORY.rst +++ b/src/diskpool/HISTORY.rst @@ -2,9 +2,10 @@ Release History =============== -0.2.0 + +0.1.1 ++++++ -* Refine the command interface +* Add --tier support. 0.1.0 ++++++ diff --git a/src/diskpool/azext_diskpool/generated/_help.py b/src/diskpool/azext_diskpool/generated/_help.py index 1c4ecf44faa..006f4e5e29e 100644 --- a/src/diskpool/azext_diskpool/generated/_help.py +++ b/src/diskpool/azext_diskpool/generated/_help.py @@ -31,19 +31,19 @@ helps['disk-pool show'] = """ type: command - short-summary: "Get a Disk Pool." + short-summary: "Get a Disk pool." examples: - - name: Get Disk Pool + - name: Get Disk pool text: |- az disk-pool show --name "myDiskPool" --resource-group "myResourceGroup" """ helps['disk-pool create'] = """ type: command - short-summary: "Create Disk Pool." + short-summary: "Create Disk pool." parameters: - name: --disks - short-summary: "List of Azure Managed Disks to attach to a Disk Pool." + short-summary: "List of Azure Managed Disks to attach to a Disk pool. Can attach 8 disks at most." long-summary: | The order of this parameter is specific customized. Usage: --disks id-value @@ -51,22 +51,22 @@ Multiple actions can be specified by using more than one --disks argument. examples: - - name: Create or Update Disk Pool + - name: Create or Update Disk pool text: |- az disk-pool create --location "westus" --availability-zones "1" --disks "/subscriptions/11111111-1111-1\ 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" --tags key="value" --name "myDiskPool" \ +iders/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --tier "Basic" --tags key="value" --name "myDiskPool" \ --resource-group "myResourceGroup" """ helps['disk-pool update'] = """ type: command - short-summary: "Update a Disk Pool." + short-summary: "Update a Disk pool." parameters: - name: --disks - short-summary: "List of Azure Managed Disks to attach to a Disk Pool." + short-summary: "List of Azure Managed Disks to attach to a Disk pool. Can attach 8 disks at most." long-summary: | The order of this parameter is specific customized. Usage: --disks id-value @@ -74,7 +74,7 @@ Multiple actions can be specified by using more than one --disks argument. examples: - - name: Update Disk Pool + - name: Update Disk pool text: |- 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 \ @@ -84,9 +84,9 @@ helps['disk-pool delete'] = """ type: command - short-summary: "Delete a Disk Pool." + short-summary: "Delete a Disk pool." examples: - - name: Delete Disk Pool + - name: Delete Disk pool text: |- az disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" """ @@ -113,7 +113,7 @@ helps['disk-pool iscsi-target list'] = """ type: command - short-summary: "Get iSCSI Targets in a Disk Pool." + short-summary: "Get iSCSI Targets in a Disk pool." examples: - name: List Disk Pools by Resource Group text: |- @@ -122,9 +122,9 @@ helps['disk-pool iscsi-target show'] = """ type: command - short-summary: "Get an iSCSI Target." + short-summary: "Get an iSCSI target." examples: - - name: Get iSCSI Target + - name: Get iSCSI target text: |- az disk-pool iscsi-target show --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ "myResourceGroup" @@ -132,9 +132,9 @@ helps['disk-pool iscsi-target create'] = """ type: command - short-summary: "Create an iSCSI Target." + short-summary: "Create an iSCSI target." examples: - - name: Create or Update iSCSI Target + - name: Create or Update iSCSI target text: |- az disk-pool iscsi-target create --disk-pool-name "myDiskPool" --target-iqn \ "iqn.2005-03.org.iscsi:server1" --tpgs "[{\\"acls\\":[{\\"credentials\\":{\\"password\\":\\"some_password\\",\\"usernam\ @@ -148,7 +148,7 @@ type: command short-summary: "Update an iSCSI target." examples: - - name: Update iSCSI Target + - name: Update iSCSI target text: |- az disk-pool iscsi-target update --disk-pool-name "myDiskPool" --name "myIscsiTarget" --tpgs \ "[{\\"acls\\":[{\\"credentials\\":{\\"password\\":\\"some_password\\",\\"username\\":\\"some_username\\"},\\"initiatorI\ @@ -159,9 +159,9 @@ helps['disk-pool iscsi-target delete'] = """ type: command - short-summary: "Delete an iSCSI Target." + short-summary: "Delete an iSCSI target." examples: - - name: Delete iSCSI Target + - name: Delete iSCSI target text: |- az disk-pool iscsi-target delete --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ "myResourceGroup" diff --git a/src/diskpool/azext_diskpool/generated/_params.py b/src/diskpool/azext_diskpool/generated/_params.py index f9009d12841..6310be4e600 100644 --- a/src/diskpool/azext_diskpool/generated/_params.py +++ b/src/diskpool/azext_diskpool/generated/_params.py @@ -12,6 +12,7 @@ from azure.cli.core.commands.parameters import ( tags_type, + get_enum_type, resource_group_name_type, get_location_type ) @@ -33,75 +34,77 @@ def load_arguments(self, _): with self.argument_context('disk-pool show') 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') + 'the Disk pool.', id_part='name') with self.argument_context('disk-pool create') 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.') + 'the Disk pool.') 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('availability_zones', nargs='+', help='Logical zone for Disk Pool resource; example: ["1"].') + 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.') - c.argument('subnet_id', type=str, help='Azure Resource ID of a Subnet for the Disk Pool.') - c.argument('additional_capabilities', nargs='+', help='List of additional capabilities for a Disk Pool.') + 'Disk pool. Can attach 8 disks at most.') + c.argument('subnet_id', type=str, help='Azure Resource ID of a Subnet for the Disk pool.') + c.argument('additional_capabilities', nargs='+', help='List of additional capabilities for a Disk pool.') + c.argument('tier', arg_type=get_enum_type(['Basic', 'Standard', 'Premium']), help='Determines the SKU of VM ' + 'deployed for Disk pool') with self.argument_context('disk-pool update') 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') + 'the Disk pool.', id_part='name') c.argument('tags', tags_type) c.argument('disks', action=AddDiskPoolUpdateDisks, nargs='+', help='List of Azure Managed Disks to attach to a ' - 'Disk Pool.') + 'Disk pool. Can attach 8 disks at most.') with self.argument_context('disk-pool delete') 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') + 'the Disk pool.', id_part='name') with self.argument_context('disk-pool wait') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' - 'the Disk Pool.', id_part='name') + 'the Disk pool.', id_part='name') 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.') + c.argument('disk_pool_name', type=str, help='The name of the Disk pool.') with self.argument_context('disk-pool iscsi-target show') 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.', id_part='name') + 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') with self.argument_context('disk-pool iscsi-target create') 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.') + 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('tpgs', type=validate_file_or_dict, help='List of iSCSI target portal groups. Expected value: ' - 'json-string/@json-file.') + c.argument('tpgs', type=validate_file_or_dict, help='List of iSCSI target portal groups. Can have 1 portal ' + 'group at most. Expected value: json-string/@json-file.') c.argument('target_iqn', type=str, help='iSCSI target IQN (iSCSI Qualified Name); example: ' '"iqn.2005-03.org.iscsi:server".') with self.argument_context('disk-pool iscsi-target update') 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.', id_part='name') + 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('tpgs', type=validate_file_or_dict, help='List of iSCSI target portal groups. Expected value: ' - 'json-string/@json-file.') + c.argument('tpgs', type=validate_file_or_dict, help='List of iSCSI target portal groups. Can have 1 portal ' + 'group at most. Expected value: json-string/@json-file.') with self.argument_context('disk-pool iscsi-target delete') 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.', id_part='name') + 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') with self.argument_context('disk-pool iscsi-target wait') 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.', id_part='name') + 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') diff --git a/src/diskpool/azext_diskpool/generated/custom.py b/src/diskpool/azext_diskpool/generated/custom.py index 8a6ddd58b80..2c9140bcaf5 100644 --- a/src/diskpool/azext_diskpool/generated/custom.py +++ b/src/diskpool/azext_diskpool/generated/custom.py @@ -32,6 +32,7 @@ def disk_pool_create(client, location, availability_zones, subnet_id, + tier, tags=None, disks=None, additional_capabilities=None, @@ -43,6 +44,7 @@ def disk_pool_create(client, disk_pool_create_payload['disks'] = disks disk_pool_create_payload['subnet_id'] = subnet_id disk_pool_create_payload['additional_capabilities'] = additional_capabilities + disk_pool_create_payload['tier'] = tier return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name=resource_group_name, @@ -97,7 +99,7 @@ def disk_pool_iscsi_target_create(client, disk_pool_name, iscsi_target_name, tpgs, - target_iqn, + target_iqn=None, no_wait=False): iscsi_target_create_payload = {} iscsi_target_create_payload['tpgs'] = tpgs diff --git a/src/diskpool/azext_diskpool/tests/latest/example_steps.py b/src/diskpool/azext_diskpool/tests/latest/example_steps.py index a6dad4435fa..55e11120535 100644 --- a/src/diskpool/azext_diskpool/tests/latest/example_steps.py +++ b/src/diskpool/azext_diskpool/tests/latest/example_steps.py @@ -21,6 +21,7 @@ def step_create_required(test, rg, checks=None): '--availability-zones "{zone}" ' '--subnet-id "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtualNetw' 'orks/{vn}/subnets/default" ' + '--tier "Basic" ' '--name "{myDiskPool}" ' '--resource-group "{rg}"', checks=[]) @@ -40,6 +41,7 @@ def step_create(test, rg, checks=None): '--disks "{myDisk1}" ' '--disks "{myDisk2}" ' '--subnet-id "{subnet}" ' + '--tier "Basic" ' '--tags "{tag}" ' '--name "{myDiskPool}" ' '--resource-group "{rg}"', diff --git a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py index 01792b375c8..447ec7e46bb 100644 --- a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py +++ b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py @@ -56,19 +56,11 @@ def call_scenario(test, rg): test.check("name", "{myDiskPool}", case_sensitive=False), test.check("disks", None) ]) - step_update(test, rg, checks=[ - test.check("availabilityZones[0]", "{zone}", case_sensitive=False), - test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" - "lNetworks/{vn}/subnets/default", case_sensitive=False), - test.check("name", "{myDiskPool}", case_sensitive=False), - test.check("tags.key", "value"), - test.check("disks[0].id", "{myDisk}") - ]) - test.kwargs['myDiskPool'] = test.create_random_name(prefix='newpool', length=10), step_create(test, rg, checks=[ test.check("availabilityZones[0]", "{zone}", case_sensitive=False), test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" "lNetworks/{vn}/subnets/default", case_sensitive=False), + test.check("tier", "Basic", case_sensitive=False), test.check("name", "{myDiskPool}", case_sensitive=False), test.check("disks[0].id", "{myDisk1}"), test.check("disks[1].id", "{myDisk2}") @@ -77,6 +69,7 @@ def call_scenario(test, rg): test.check("availabilityZones[0]", "{zone}", case_sensitive=False), test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" "lNetworks/{vn}/subnets/default", case_sensitive=False), + test.check("tier", "Basic", case_sensitive=False), test.check("name", "{myDiskPool}", case_sensitive=False), ]) step_list(test, rg, checks=[ @@ -91,6 +84,16 @@ def call_scenario(test, rg): "lNetworks/{vn}/subnets/default", case_sensitive=False), test.check("name", "{myDiskPool}", case_sensitive=False), ]) + step_update(test, rg, checks=[ + test.check("availabilityZones[0]", "{zone}", case_sensitive=False), + test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" + "lNetworks/{vn}/subnets/default", case_sensitive=False), + test.check("tier", "Basic", case_sensitive=False), + test.check("name", "{myDiskPool}", case_sensitive=False), + test.check("tags.key", "value"), + test.check("disks[0].id", "{myDisk}") + ]) + test.kwargs['myDiskPool'] = test.create_random_name(prefix='newpool', length=10), step_iscsi_target_create(test, rg, checks=[ test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), test.check("name", "{myIscsiTarget}", case_sensitive=False), @@ -122,10 +125,10 @@ def __init__(self, *args, **kwargs): }) self.kwargs.update({ - 'myDiskPool': self.create_random_name(prefix='myDiskPool'[:5], length=10), - 'myIscsiTarget': self.create_random_name(prefix='myIscsiTarget'[:6], length=13), 'myDisk': self.create_random_name(prefix='disk', length=10), - 'zone': "3" + 'zone': "3", + 'myDiskPool': self.create_random_name(prefix='diskpool', length=10), + 'myIscsiTarget': self.create_random_name(prefix='iscsi', length=10), }) @ResourceGroupPreparer(name_prefix='clitestdiskpool_myResourceGroup'[:7], key='rg', parameter_name='rg') 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 c58904dc079..3db3c2987d6 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 @@ -222,7 +222,7 @@ async def _create_or_update_initial( pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response - if response.status_code not in [200, 202]: + if response.status_code not in [200, 201]: 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) @@ -230,7 +230,7 @@ async def _create_or_update_initial( if response.status_code == 200: deserialized = self._deserialize('DiskPool', pipeline_response) - if response.status_code == 202: + if response.status_code == 201: deserialized = self._deserialize('DiskPool', pipeline_response) if cls: @@ -246,13 +246,13 @@ 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. :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. + :param disk_pool_name: The name of the Disk pool. :type disk_pool_name: str - :param disk_pool_create_payload: Request payload for Disk Pool create operation. + :param disk_pool_create_payload: Request payload for Disk pool create operation. :type disk_pool_create_payload: ~storage_pool_management.models.DiskPoolCreate :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. @@ -375,13 +375,13 @@ async def begin_update( disk_pool_update_payload: "models.DiskPoolUpdate", **kwargs ) -> AsyncLROPoller["models.DiskPool"]: - """Update a Disk Pool. + """Update a Disk pool. :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. + :param disk_pool_name: The name of the Disk pool. :type disk_pool_name: str - :param disk_pool_update_payload: Request payload for Disk Pool update operation. + :param disk_pool_update_payload: Request payload for Disk pool update operation. :type disk_pool_update_payload: ~storage_pool_management.models.DiskPoolUpdate :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. @@ -490,11 +490,11 @@ async def begin_delete( disk_pool_name: str, **kwargs ) -> AsyncLROPoller[None]: - """Delete a Disk Pool. + """Delete a Disk pool. :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. + :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. @@ -554,11 +554,11 @@ async def get( disk_pool_name: str, **kwargs ) -> "models.DiskPool": - """Get a Disk Pool. + """Get a Disk pool. :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. + :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 :return: DiskPool, or the result of cls(response) 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 f6b7cc43bbd..2fd48535b9d 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 @@ -49,11 +49,11 @@ def list_by_disk_pool( disk_pool_name: str, **kwargs ) -> AsyncIterable["models.IscsiTargetList"]: - """Get iSCSI Targets in a Disk Pool. + """Get iSCSI Targets in a Disk pool. :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. + :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 :return: An iterator like instance of either IscsiTargetList or the result of cls(response) @@ -161,7 +161,7 @@ async def _create_or_update_initial( pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response - if response.status_code not in [200, 202]: + if response.status_code not in [200, 201]: 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) @@ -169,7 +169,7 @@ async def _create_or_update_initial( if response.status_code == 200: deserialized = self._deserialize('IscsiTarget', pipeline_response) - if response.status_code == 202: + if response.status_code == 201: deserialized = self._deserialize('IscsiTarget', pipeline_response) if cls: @@ -186,11 +186,11 @@ async def begin_create_or_update( iscsi_target_create_payload: "models.IscsiTargetCreate", **kwargs ) -> AsyncLROPoller["models.IscsiTarget"]: - """Create or Update an iSCSI Target. + """Create or Update an iSCSI target. :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. + :param disk_pool_name: The name of the Disk pool. :type disk_pool_name: str :param iscsi_target_name: The name of the iSCSI target. :type iscsi_target_name: str @@ -326,7 +326,7 @@ async def begin_update( :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. + :param disk_pool_name: The name of the Disk pool. :type disk_pool_name: str :param iscsi_target_name: The name of the iSCSI target. :type iscsi_target_name: str @@ -444,11 +444,11 @@ async def begin_delete( iscsi_target_name: str, **kwargs ) -> AsyncLROPoller[None]: - """Delete an iSCSI Target. + """Delete an iSCSI target. :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. + :param disk_pool_name: The name of the Disk pool. :type disk_pool_name: str :param iscsi_target_name: The name of the iSCSI target. :type iscsi_target_name: str @@ -513,11 +513,11 @@ async def get( iscsi_target_name: str, **kwargs ) -> "models.IscsiTarget": - """Get an iSCSI Target. + """Get an iSCSI target. :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. + :param disk_pool_name: The name of the Disk pool. :type disk_pool_name: str :param iscsi_target_name: The name of the iSCSI target. :type iscsi_target_name: str 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 a0dca251514..b36f54235d2 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/__init__.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/__init__.py @@ -60,6 +60,7 @@ from ._models import TrackedResource # type: ignore from ._storage_pool_management_enums import ( + DiskPoolTier, OperationalStatus, ProvisioningStates, ) @@ -90,6 +91,7 @@ 'TargetPortalGroupCreate', 'TargetPortalGroupUpdate', 'TrackedResource', + 'DiskPoolTier', 'OperationalStatus', 'ProvisioningStates', ] 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 48efeda14aa..872b3b33614 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py @@ -11,7 +11,7 @@ class Acl(msrest.serialization.Model): - """Access Control List (ACL) for an iSCSI Target Portal Group. + """Access Control List (ACL) for an iSCSI target portal group. All required parameters must be populated in order to send to Azure. @@ -54,7 +54,7 @@ def __init__( class Attributes(msrest.serialization.Model): - """Attributes of a iSCSI Target Portal Group. + """Attributes of a iSCSI target portal group. All required parameters must be populated in order to send to Azure. @@ -85,7 +85,7 @@ def __init__( class Disk(msrest.serialization.Model): - """Azure Managed Disk to attach to the Disk Pool. + """Azure Managed Disk to attach to the Disk pool. All required parameters must be populated in order to send to Azure. @@ -192,7 +192,7 @@ def __init__( class DiskPool(TrackedResource): - """Response for Disk Pool request. + """Response for Disk pool request. Variables are only populated by the server, and will be ignored when sending a request. @@ -216,17 +216,21 @@ class DiskPool(TrackedResource): include: "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :param availability_zones: Required. Logical zone for Disk Pool resource; example: ["1"]. + :param availability_zones: Required. Logical zone for Disk pool resource; example: ["1"]. :type availability_zones: list[str] - :ivar status: Required. Operational status of the Disk Pool. Possible values include: - "Invalid", "Unknown", "Healthy", "Unhealthy". - :vartype status: str or ~storage_pool_management.models.OperationalStatus - :param disks: List of Azure Managed Disks to attach to a Disk Pool. + :param status: Required. Operational status of the Disk pool. Possible values include: + "Invalid", "Unknown", "Healthy", "Unhealthy", "Updating", "Running", "Stopped", "Stopped + (deallocated)". + :type status: str or ~storage_pool_management.models.OperationalStatus + :param disks: List of Azure Managed Disks to attach to a Disk pool. Can attach 8 disks at most. :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Required. Azure Resource ID of a Subnet for the Disk Pool. + :param subnet_id: Required. Azure Resource ID of a Subnet for the Disk pool. :type subnet_id: str - :param additional_capabilities: List of additional capabilities for Disk Pool. + :param additional_capabilities: List of additional capabilities for Disk pool. :type additional_capabilities: list[str] + :param tier: Required. Determines the SKU of VM deployed for Disk pool. Possible values + include: "Basic", "Standard", "Premium". + :type tier: str or ~storage_pool_management.models.DiskPoolTier """ _validation = { @@ -237,8 +241,9 @@ class DiskPool(TrackedResource): 'system_data': {'readonly': True}, 'provisioning_state': {'required': True, 'readonly': True}, 'availability_zones': {'required': True}, - 'status': {'required': True, 'readonly': True}, + 'status': {'required': True}, 'subnet_id': {'required': True}, + 'tier': {'required': True}, } _attribute_map = { @@ -254,6 +259,7 @@ class DiskPool(TrackedResource): 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, 'additional_capabilities': {'key': 'properties.additionalCapabilities', 'type': '[str]'}, + 'tier': {'key': 'properties.tier', 'type': 'str'}, } def __init__( @@ -264,19 +270,24 @@ def __init__( self.system_data = None self.provisioning_state = None self.availability_zones = kwargs['availability_zones'] - self.status = None + self.status = kwargs['status'] self.disks = kwargs.get('disks', None) self.subnet_id = kwargs['subnet_id'] self.additional_capabilities = kwargs.get('additional_capabilities', None) + self.tier = kwargs['tier'] -class DiskPoolCreate(TrackedResource): - """Request payload for create or update Disk Pool request. +class DiskPoolCreate(msrest.serialization.Model): + """Request payload for create or update Disk pool request. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str :ivar id: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str @@ -285,39 +296,40 @@ class DiskPoolCreate(TrackedResource): :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - :param availability_zones: Required. Logical zone for Disk Pool resource; example: ["1"]. + :param availability_zones: Required. 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. + :param disks: List of Azure Managed Disks to attach to a Disk pool. Can attach 8 disks at most. :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Required. Azure Resource ID of a Subnet for the Disk Pool. + :param subnet_id: Required. Azure Resource ID of a Subnet for the Disk pool. :type subnet_id: str - :param additional_capabilities: List of additional capabilities for a Disk Pool. + :param additional_capabilities: List of additional capabilities for a Disk pool. :type additional_capabilities: list[str] + :param tier: Required. Determines the SKU of VM deployed for Disk pool. Possible values + include: "Basic", "Standard", "Premium". + :type tier: str or ~storage_pool_management.models.DiskPoolTier """ _validation = { + 'location': {'required': True}, 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'location': {'required': True}, 'availability_zones': {'required': True}, 'subnet_id': {'required': True}, + 'tier': {'required': True}, } _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, 'additional_capabilities': {'key': 'properties.additionalCapabilities', 'type': '[str]'}, + 'tier': {'key': 'properties.tier', 'type': 'str'}, } def __init__( @@ -325,10 +337,16 @@ def __init__( **kwargs ): super(DiskPoolCreate, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) + self.location = kwargs['location'] + self.id = None + self.name = None + self.type = None self.availability_zones = kwargs['availability_zones'] self.disks = kwargs.get('disks', None) self.subnet_id = kwargs['subnet_id'] self.additional_capabilities = kwargs.get('additional_capabilities', None) + self.tier = kwargs['tier'] class DiskPoolListResult(msrest.serialization.Model): @@ -338,7 +356,7 @@ class DiskPoolListResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param value: Required. An array of Disk Pool objects. + :param value: Required. An array of Disk pool objects. :type value: list[~storage_pool_management.models.DiskPool] :ivar next_link: URI to fetch the next section of the paginated response. :vartype next_link: str @@ -364,11 +382,11 @@ def __init__( class DiskPoolUpdate(msrest.serialization.Model): - """Request payload for Update Disk Pool request. + """Request payload for Update Disk pool request. :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. + :param disks: List of Azure Managed Disks to attach to a Disk pool. Can attach 8 disks at most. :type disks: list[~storage_pool_management.models.Disk] """ @@ -511,7 +529,7 @@ def __init__( class IscsiTarget(Resource): - """Response for iSCSI Target requests. + """Response for iSCSI target requests. Variables are only populated by the server, and will be ignored when sending a request. @@ -529,10 +547,11 @@ class IscsiTarget(Resource): include: "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :ivar status: Required. Operational status of the iSCSI Target. Possible values include: - "Invalid", "Unknown", "Healthy", "Unhealthy". - :vartype status: str or ~storage_pool_management.models.OperationalStatus - :param tpgs: Required. List of iSCSI target portal groups. + :param status: Required. Operational status of the iSCSI target. Possible values include: + "Invalid", "Unknown", "Healthy", "Unhealthy", "Updating", "Running", "Stopped", "Stopped + (deallocated)". + :type status: str or ~storage_pool_management.models.OperationalStatus + :param tpgs: Required. List of iSCSI target portal groups. Can have 1 portal group at most. :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] :param target_iqn: Required. iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server". @@ -544,7 +563,7 @@ class IscsiTarget(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'provisioning_state': {'required': True, 'readonly': True}, - 'status': {'required': True, 'readonly': True}, + 'status': {'required': True}, 'tpgs': {'required': True}, 'target_iqn': {'required': True}, } @@ -565,13 +584,13 @@ def __init__( ): super(IscsiTarget, self).__init__(**kwargs) self.provisioning_state = None - self.status = None + self.status = kwargs['status'] self.tpgs = kwargs['tpgs'] self.target_iqn = kwargs['target_iqn'] class IscsiTargetCreate(Resource): - """Payload for iSCSI Target create or update requests. + """Payload for iSCSI target create or update requests. Variables are only populated by the server, and will be ignored when sending a request. @@ -585,9 +604,9 @@ class IscsiTargetCreate(Resource): :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. :vartype type: str - :param tpgs: Required. List of iSCSI target portal groups. + :param tpgs: Required. List of iSCSI target portal groups. Can have 1 portal group at most. :type tpgs: list[~storage_pool_management.models.TargetPortalGroupCreate] - :param target_iqn: Required. iSCSI target IQN (iSCSI Qualified Name); example: + :param target_iqn: iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server". :type target_iqn: str """ @@ -597,7 +616,6 @@ class IscsiTargetCreate(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'tpgs': {'required': True}, - 'target_iqn': {'required': True}, } _attribute_map = { @@ -614,7 +632,7 @@ def __init__( ): super(IscsiTargetCreate, self).__init__(**kwargs) self.tpgs = kwargs['tpgs'] - self.target_iqn = kwargs['target_iqn'] + self.target_iqn = kwargs.get('target_iqn', None) class IscsiTargetList(msrest.serialization.Model): @@ -624,7 +642,7 @@ class IscsiTargetList(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param value: Required. An array of iSCSI targets in a Disk Pool. + :param value: Required. An array of iSCSI targets in a Disk pool. :type value: list[~storage_pool_management.models.IscsiTarget] :ivar next_link: URI to fetch the next section of the paginated response. :vartype next_link: str @@ -650,11 +668,11 @@ def __init__( class IscsiTargetUpdate(msrest.serialization.Model): - """Payload for iSCSI Target update request. + """Payload for iSCSI target update request. All required parameters must be populated in order to send to Azure. - :param tpgs: Required. List of iSCSI target portal groups. + :param tpgs: Required. List of iSCSI target portal groups. Can have 1 portal group at most. :type tpgs: list[~storage_pool_management.models.TargetPortalGroupUpdate] """ @@ -868,31 +886,29 @@ def __init__( class TargetPortalGroup(msrest.serialization.Model): """Response properties for iSCSI target portal group. - Variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to Azure. - :param luns: Required. List of LUNs to be exposed through iSCSI Target Portal Group. + :param luns: Required. List of LUNs to be exposed through iSCSI target portal group. :type luns: list[~storage_pool_management.models.IscsiLun] - :param acls: Required. Access Control List (ACL) for an iSCSI Target Portal Group. + :param acls: Required. Access Control List (ACL) for an iSCSI target portal group. :type acls: list[~storage_pool_management.models.Acl] - :param attributes: Required. Attributes of an iSCSI Target Portal Group. + :param attributes: Required. Attributes of an iSCSI target portal group. :type attributes: ~storage_pool_management.models.Attributes - :ivar endpoints: Required. List of private IPv4 addresses to connect to the iSCSI Target. - :vartype endpoints: list[str] - :ivar tag: Required. The tag associated with the iSCSI Target Portal Group. - :vartype tag: int - :ivar port: Required. The port used by iSCSI Target Portal Group. - :vartype port: int + :param endpoints: Required. List of private IPv4 addresses to connect to the iSCSI target. + :type endpoints: list[str] + :param tag: Required. The tag associated with the iSCSI target portal group. + :type tag: int + :param port: Required. The port used by iSCSI target portal group. + :type port: int """ _validation = { 'luns': {'required': True}, 'acls': {'required': True}, 'attributes': {'required': True}, - 'endpoints': {'required': True, 'readonly': True}, - 'tag': {'required': True, 'readonly': True}, - 'port': {'required': True, 'readonly': True}, + 'endpoints': {'required': True}, + 'tag': {'required': True}, + 'port': {'required': True}, } _attribute_map = { @@ -912,21 +928,21 @@ def __init__( self.luns = kwargs['luns'] self.acls = kwargs['acls'] self.attributes = kwargs['attributes'] - self.endpoints = None - self.tag = None - self.port = None + self.endpoints = kwargs['endpoints'] + self.tag = kwargs['tag'] + self.port = kwargs['port'] class TargetPortalGroupCreate(msrest.serialization.Model): - """Target Portal Group properties for create or update iSCSI target request. + """Target portal group properties for create or update iSCSI target request. All required parameters must be populated in order to send to Azure. - :param luns: Required. List of LUNs to be exposed through the iSCSI Target Portal Group. + :param luns: Required. List of LUNs to be exposed through the iSCSI target portal group. :type luns: list[~storage_pool_management.models.IscsiLun] - :param acls: Required. Access Control List (ACL) for an iSCSI Target Portal Group. + :param acls: Required. Access Control List (ACL) for an iSCSI target portal group. :type acls: list[~storage_pool_management.models.Acl] - :param attributes: Required. Attributes of an iSCSI Target Portal Group. + :param attributes: Required. Attributes of an iSCSI target portal group. :type attributes: ~storage_pool_management.models.Attributes """ @@ -953,11 +969,11 @@ def __init__( class TargetPortalGroupUpdate(msrest.serialization.Model): - """Target Portal Group properties for update iSCSI target request. + """Target portal group properties for update iSCSI target request. - :param luns: List of LUNs to be exposed through the iSCSI Target Portal Group. + :param luns: List of LUNs to be exposed through the iSCSI target portal group. :type luns: list[~storage_pool_management.models.IscsiLun] - :param acls: Access Control List (ACL) for an iSCSI Target Portal Group. + :param acls: Access Control List (ACL) for an iSCSI target portal group. :type acls: list[~storage_pool_management.models.Acl] """ 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 af4ff77fdab..b24509c3c84 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 @@ -6,14 +6,16 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Dict, List, Optional +from typing import Dict, List, Optional, Union from azure.core.exceptions import HttpResponseError import msrest.serialization +from ._storage_pool_management_enums import * + class Acl(msrest.serialization.Model): - """Access Control List (ACL) for an iSCSI Target Portal Group. + """Access Control List (ACL) for an iSCSI target portal group. All required parameters must be populated in order to send to Azure. @@ -61,7 +63,7 @@ def __init__( class Attributes(msrest.serialization.Model): - """Attributes of a iSCSI Target Portal Group. + """Attributes of a iSCSI target portal group. All required parameters must be populated in order to send to Azure. @@ -95,7 +97,7 @@ def __init__( class Disk(msrest.serialization.Model): - """Azure Managed Disk to attach to the Disk Pool. + """Azure Managed Disk to attach to the Disk pool. All required parameters must be populated in order to send to Azure. @@ -207,7 +209,7 @@ def __init__( class DiskPool(TrackedResource): - """Response for Disk Pool request. + """Response for Disk pool request. Variables are only populated by the server, and will be ignored when sending a request. @@ -231,17 +233,21 @@ class DiskPool(TrackedResource): include: "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :param availability_zones: Required. Logical zone for Disk Pool resource; example: ["1"]. + :param availability_zones: Required. Logical zone for Disk pool resource; example: ["1"]. :type availability_zones: list[str] - :ivar status: Required. Operational status of the Disk Pool. Possible values include: - "Invalid", "Unknown", "Healthy", "Unhealthy". - :vartype status: str or ~storage_pool_management.models.OperationalStatus - :param disks: List of Azure Managed Disks to attach to a Disk Pool. + :param status: Required. Operational status of the Disk pool. Possible values include: + "Invalid", "Unknown", "Healthy", "Unhealthy", "Updating", "Running", "Stopped", "Stopped + (deallocated)". + :type status: str or ~storage_pool_management.models.OperationalStatus + :param disks: List of Azure Managed Disks to attach to a Disk pool. Can attach 8 disks at most. :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Required. Azure Resource ID of a Subnet for the Disk Pool. + :param subnet_id: Required. Azure Resource ID of a Subnet for the Disk pool. :type subnet_id: str - :param additional_capabilities: List of additional capabilities for Disk Pool. + :param additional_capabilities: List of additional capabilities for Disk pool. :type additional_capabilities: list[str] + :param tier: Required. Determines the SKU of VM deployed for Disk pool. Possible values + include: "Basic", "Standard", "Premium". + :type tier: str or ~storage_pool_management.models.DiskPoolTier """ _validation = { @@ -252,8 +258,9 @@ class DiskPool(TrackedResource): 'system_data': {'readonly': True}, 'provisioning_state': {'required': True, 'readonly': True}, 'availability_zones': {'required': True}, - 'status': {'required': True, 'readonly': True}, + 'status': {'required': True}, 'subnet_id': {'required': True}, + 'tier': {'required': True}, } _attribute_map = { @@ -269,6 +276,7 @@ class DiskPool(TrackedResource): 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, 'additional_capabilities': {'key': 'properties.additionalCapabilities', 'type': '[str]'}, + 'tier': {'key': 'properties.tier', 'type': 'str'}, } def __init__( @@ -276,7 +284,9 @@ def __init__( *, location: str, availability_zones: List[str], + status: Union[str, "OperationalStatus"], subnet_id: str, + tier: Union[str, "DiskPoolTier"], tags: Optional[Dict[str, str]] = None, disks: Optional[List["Disk"]] = None, additional_capabilities: Optional[List[str]] = None, @@ -286,19 +296,24 @@ def __init__( self.system_data = None self.provisioning_state = None self.availability_zones = availability_zones - self.status = None + self.status = status self.disks = disks self.subnet_id = subnet_id self.additional_capabilities = additional_capabilities + self.tier = tier -class DiskPoolCreate(TrackedResource): - """Request payload for create or update Disk Pool request. +class DiskPoolCreate(msrest.serialization.Model): + """Request payload for create or update Disk pool request. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str :ivar id: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str @@ -307,39 +322,40 @@ class DiskPoolCreate(TrackedResource): :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - :param availability_zones: Required. Logical zone for Disk Pool resource; example: ["1"]. + :param availability_zones: Required. 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. + :param disks: List of Azure Managed Disks to attach to a Disk pool. Can attach 8 disks at most. :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Required. Azure Resource ID of a Subnet for the Disk Pool. + :param subnet_id: Required. Azure Resource ID of a Subnet for the Disk pool. :type subnet_id: str - :param additional_capabilities: List of additional capabilities for a Disk Pool. + :param additional_capabilities: List of additional capabilities for a Disk pool. :type additional_capabilities: list[str] + :param tier: Required. Determines the SKU of VM deployed for Disk pool. Possible values + include: "Basic", "Standard", "Premium". + :type tier: str or ~storage_pool_management.models.DiskPoolTier """ _validation = { + 'location': {'required': True}, 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'location': {'required': True}, 'availability_zones': {'required': True}, 'subnet_id': {'required': True}, + 'tier': {'required': True}, } _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, 'additional_capabilities': {'key': 'properties.additionalCapabilities', 'type': '[str]'}, + 'tier': {'key': 'properties.tier', 'type': 'str'}, } def __init__( @@ -348,16 +364,23 @@ def __init__( location: str, availability_zones: List[str], subnet_id: str, + tier: Union[str, "DiskPoolTier"], tags: Optional[Dict[str, str]] = None, disks: Optional[List["Disk"]] = None, additional_capabilities: Optional[List[str]] = None, **kwargs ): - super(DiskPoolCreate, self).__init__(tags=tags, location=location, **kwargs) + super(DiskPoolCreate, self).__init__(**kwargs) + self.tags = tags + self.location = location + self.id = None + self.name = None + self.type = None self.availability_zones = availability_zones self.disks = disks self.subnet_id = subnet_id self.additional_capabilities = additional_capabilities + self.tier = tier class DiskPoolListResult(msrest.serialization.Model): @@ -367,7 +390,7 @@ class DiskPoolListResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param value: Required. An array of Disk Pool objects. + :param value: Required. An array of Disk pool objects. :type value: list[~storage_pool_management.models.DiskPool] :ivar next_link: URI to fetch the next section of the paginated response. :vartype next_link: str @@ -395,11 +418,11 @@ def __init__( class DiskPoolUpdate(msrest.serialization.Model): - """Request payload for Update Disk Pool request. + """Request payload for Update Disk pool request. :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. + :param disks: List of Azure Managed Disks to attach to a Disk pool. Can attach 8 disks at most. :type disks: list[~storage_pool_management.models.Disk] """ @@ -550,7 +573,7 @@ def __init__( class IscsiTarget(Resource): - """Response for iSCSI Target requests. + """Response for iSCSI target requests. Variables are only populated by the server, and will be ignored when sending a request. @@ -568,10 +591,11 @@ class IscsiTarget(Resource): include: "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :ivar status: Required. Operational status of the iSCSI Target. Possible values include: - "Invalid", "Unknown", "Healthy", "Unhealthy". - :vartype status: str or ~storage_pool_management.models.OperationalStatus - :param tpgs: Required. List of iSCSI target portal groups. + :param status: Required. Operational status of the iSCSI target. Possible values include: + "Invalid", "Unknown", "Healthy", "Unhealthy", "Updating", "Running", "Stopped", "Stopped + (deallocated)". + :type status: str or ~storage_pool_management.models.OperationalStatus + :param tpgs: Required. List of iSCSI target portal groups. Can have 1 portal group at most. :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] :param target_iqn: Required. iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server". @@ -583,7 +607,7 @@ class IscsiTarget(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'provisioning_state': {'required': True, 'readonly': True}, - 'status': {'required': True, 'readonly': True}, + 'status': {'required': True}, 'tpgs': {'required': True}, 'target_iqn': {'required': True}, } @@ -601,19 +625,20 @@ class IscsiTarget(Resource): def __init__( self, *, + status: Union[str, "OperationalStatus"], tpgs: List["TargetPortalGroup"], target_iqn: str, **kwargs ): super(IscsiTarget, self).__init__(**kwargs) self.provisioning_state = None - self.status = None + self.status = status self.tpgs = tpgs self.target_iqn = target_iqn class IscsiTargetCreate(Resource): - """Payload for iSCSI Target create or update requests. + """Payload for iSCSI target create or update requests. Variables are only populated by the server, and will be ignored when sending a request. @@ -627,9 +652,9 @@ class IscsiTargetCreate(Resource): :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. :vartype type: str - :param tpgs: Required. List of iSCSI target portal groups. + :param tpgs: Required. List of iSCSI target portal groups. Can have 1 portal group at most. :type tpgs: list[~storage_pool_management.models.TargetPortalGroupCreate] - :param target_iqn: Required. iSCSI target IQN (iSCSI Qualified Name); example: + :param target_iqn: iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server". :type target_iqn: str """ @@ -639,7 +664,6 @@ class IscsiTargetCreate(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'tpgs': {'required': True}, - 'target_iqn': {'required': True}, } _attribute_map = { @@ -654,7 +678,7 @@ def __init__( self, *, tpgs: List["TargetPortalGroupCreate"], - target_iqn: str, + target_iqn: Optional[str] = None, **kwargs ): super(IscsiTargetCreate, self).__init__(**kwargs) @@ -669,7 +693,7 @@ class IscsiTargetList(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param value: Required. An array of iSCSI targets in a Disk Pool. + :param value: Required. An array of iSCSI targets in a Disk pool. :type value: list[~storage_pool_management.models.IscsiTarget] :ivar next_link: URI to fetch the next section of the paginated response. :vartype next_link: str @@ -697,11 +721,11 @@ def __init__( class IscsiTargetUpdate(msrest.serialization.Model): - """Payload for iSCSI Target update request. + """Payload for iSCSI target update request. All required parameters must be populated in order to send to Azure. - :param tpgs: Required. List of iSCSI target portal groups. + :param tpgs: Required. List of iSCSI target portal groups. Can have 1 portal group at most. :type tpgs: list[~storage_pool_management.models.TargetPortalGroupUpdate] """ @@ -938,31 +962,29 @@ def __init__( class TargetPortalGroup(msrest.serialization.Model): """Response properties for iSCSI target portal group. - Variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to Azure. - :param luns: Required. List of LUNs to be exposed through iSCSI Target Portal Group. + :param luns: Required. List of LUNs to be exposed through iSCSI target portal group. :type luns: list[~storage_pool_management.models.IscsiLun] - :param acls: Required. Access Control List (ACL) for an iSCSI Target Portal Group. + :param acls: Required. Access Control List (ACL) for an iSCSI target portal group. :type acls: list[~storage_pool_management.models.Acl] - :param attributes: Required. Attributes of an iSCSI Target Portal Group. + :param attributes: Required. Attributes of an iSCSI target portal group. :type attributes: ~storage_pool_management.models.Attributes - :ivar endpoints: Required. List of private IPv4 addresses to connect to the iSCSI Target. - :vartype endpoints: list[str] - :ivar tag: Required. The tag associated with the iSCSI Target Portal Group. - :vartype tag: int - :ivar port: Required. The port used by iSCSI Target Portal Group. - :vartype port: int + :param endpoints: Required. List of private IPv4 addresses to connect to the iSCSI target. + :type endpoints: list[str] + :param tag: Required. The tag associated with the iSCSI target portal group. + :type tag: int + :param port: Required. The port used by iSCSI target portal group. + :type port: int """ _validation = { 'luns': {'required': True}, 'acls': {'required': True}, 'attributes': {'required': True}, - 'endpoints': {'required': True, 'readonly': True}, - 'tag': {'required': True, 'readonly': True}, - 'port': {'required': True, 'readonly': True}, + 'endpoints': {'required': True}, + 'tag': {'required': True}, + 'port': {'required': True}, } _attribute_map = { @@ -980,27 +1002,30 @@ def __init__( luns: List["IscsiLun"], acls: List["Acl"], attributes: "Attributes", + endpoints: List[str], + tag: int, + port: int, **kwargs ): super(TargetPortalGroup, self).__init__(**kwargs) self.luns = luns self.acls = acls self.attributes = attributes - self.endpoints = None - self.tag = None - self.port = None + self.endpoints = endpoints + self.tag = tag + self.port = port class TargetPortalGroupCreate(msrest.serialization.Model): - """Target Portal Group properties for create or update iSCSI target request. + """Target portal group properties for create or update iSCSI target request. All required parameters must be populated in order to send to Azure. - :param luns: Required. List of LUNs to be exposed through the iSCSI Target Portal Group. + :param luns: Required. List of LUNs to be exposed through the iSCSI target portal group. :type luns: list[~storage_pool_management.models.IscsiLun] - :param acls: Required. Access Control List (ACL) for an iSCSI Target Portal Group. + :param acls: Required. Access Control List (ACL) for an iSCSI target portal group. :type acls: list[~storage_pool_management.models.Acl] - :param attributes: Required. Attributes of an iSCSI Target Portal Group. + :param attributes: Required. Attributes of an iSCSI target portal group. :type attributes: ~storage_pool_management.models.Attributes """ @@ -1031,11 +1056,11 @@ def __init__( class TargetPortalGroupUpdate(msrest.serialization.Model): - """Target Portal Group properties for update iSCSI target request. + """Target portal group properties for update iSCSI target request. - :param luns: List of LUNs to be exposed through the iSCSI Target Portal Group. + :param luns: List of LUNs to be exposed through the iSCSI target portal group. :type luns: list[~storage_pool_management.models.IscsiLun] - :param acls: Access Control List (ACL) for an iSCSI Target Portal Group. + :param acls: Access Control List (ACL) for an iSCSI target portal group. :type acls: list[~storage_pool_management.models.Acl] """ 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 4815ee3bbf2..1611e61b6a8 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 @@ -26,17 +26,29 @@ def __getattr__(cls, name): raise AttributeError(name) +class DiskPoolTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """SKU of the VM host part of the Disk pool deployment + """ + + BASIC = "Basic" + STANDARD = "Standard" + PREMIUM = "Premium" + class OperationalStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Operational status of the Disk Pool. + """Operational status of the resource. """ INVALID = "Invalid" UNKNOWN = "Unknown" HEALTHY = "Healthy" UNHEALTHY = "Unhealthy" + UPDATING = "Updating" + RUNNING = "Running" + STOPPED = "Stopped" + STOPPED_DEALLOCATED__ = "Stopped (deallocated)" class ProvisioningStates(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Provisioning state of the iSCSI Target. + """Provisioning state of the iSCSI target. """ INVALID = "Invalid" 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 0ea7b973f36..2b6ca3164d8 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 @@ -229,7 +229,7 @@ def _create_or_update_initial( pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response - if response.status_code not in [200, 202]: + if response.status_code not in [200, 201]: 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) @@ -237,7 +237,7 @@ def _create_or_update_initial( if response.status_code == 200: deserialized = self._deserialize('DiskPool', pipeline_response) - if response.status_code == 202: + if response.status_code == 201: deserialized = self._deserialize('DiskPool', pipeline_response) if cls: @@ -254,13 +254,13 @@ def begin_create_or_update( **kwargs # type: Any ): # type: (...) -> LROPoller["models.DiskPool"] - """Create or Update Disk Pool. + """Create or Update Disk pool. :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. + :param disk_pool_name: The name of the Disk pool. :type disk_pool_name: str - :param disk_pool_create_payload: Request payload for Disk Pool create operation. + :param disk_pool_create_payload: Request payload for Disk pool create operation. :type disk_pool_create_payload: ~storage_pool_management.models.DiskPoolCreate :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. @@ -385,13 +385,13 @@ def begin_update( **kwargs # type: Any ): # type: (...) -> LROPoller["models.DiskPool"] - """Update a Disk Pool. + """Update a Disk pool. :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. + :param disk_pool_name: The name of the Disk pool. :type disk_pool_name: str - :param disk_pool_update_payload: Request payload for Disk Pool update operation. + :param disk_pool_update_payload: Request payload for Disk pool update operation. :type disk_pool_update_payload: ~storage_pool_management.models.DiskPoolUpdate :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. @@ -502,11 +502,11 @@ def begin_delete( **kwargs # type: Any ): # type: (...) -> LROPoller[None] - """Delete a Disk Pool. + """Delete a Disk pool. :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. + :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. @@ -567,11 +567,11 @@ def get( **kwargs # type: Any ): # type: (...) -> "models.DiskPool" - """Get a Disk Pool. + """Get a Disk pool. :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. + :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 :return: DiskPool, or the result of cls(response) 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 066e3309cab..f3dc97321ab 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 @@ -54,11 +54,11 @@ def list_by_disk_pool( **kwargs # type: Any ): # type: (...) -> Iterable["models.IscsiTargetList"] - """Get iSCSI Targets in a Disk Pool. + """Get iSCSI Targets in a Disk pool. :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. + :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 :return: An iterator like instance of either IscsiTargetList or the result of cls(response) @@ -167,7 +167,7 @@ def _create_or_update_initial( pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response - if response.status_code not in [200, 202]: + if response.status_code not in [200, 201]: 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) @@ -175,7 +175,7 @@ def _create_or_update_initial( if response.status_code == 200: deserialized = self._deserialize('IscsiTarget', pipeline_response) - if response.status_code == 202: + if response.status_code == 201: deserialized = self._deserialize('IscsiTarget', pipeline_response) if cls: @@ -193,11 +193,11 @@ def begin_create_or_update( **kwargs # type: Any ): # type: (...) -> LROPoller["models.IscsiTarget"] - """Create or Update an iSCSI Target. + """Create or Update an iSCSI target. :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. + :param disk_pool_name: The name of the Disk pool. :type disk_pool_name: str :param iscsi_target_name: The name of the iSCSI target. :type iscsi_target_name: str @@ -335,7 +335,7 @@ def begin_update( :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. + :param disk_pool_name: The name of the Disk pool. :type disk_pool_name: str :param iscsi_target_name: The name of the iSCSI target. :type iscsi_target_name: str @@ -455,11 +455,11 @@ def begin_delete( **kwargs # type: Any ): # type: (...) -> LROPoller[None] - """Delete an iSCSI Target. + """Delete an iSCSI target. :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. + :param disk_pool_name: The name of the Disk pool. :type disk_pool_name: str :param iscsi_target_name: The name of the iSCSI target. :type iscsi_target_name: str @@ -525,11 +525,11 @@ def get( **kwargs # type: Any ): # type: (...) -> "models.IscsiTarget" - """Get an iSCSI Target. + """Get an iSCSI target. :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. + :param disk_pool_name: The name of the Disk pool. :type disk_pool_name: str :param iscsi_target_name: The name of the iSCSI target. :type iscsi_target_name: str diff --git a/src/diskpool/gen.zip b/src/diskpool/gen.zip index 27467ba1cf7af498c7dda74be6d0ee22ff15af30..7f837cf62cf4331407fb30926e2047624e21598a 100644 GIT binary patch delta 501 zcmaDJekEKcz?+$civa{gJ%WQaUAMR2Ey%zC!ln$9bG79*TB)=1mSm&OUM8Sq@);i9$qSg-Hd}JHv+$_rR=Q*s zX9wix=crHq%`eXn6!0ugF3t=|EJ{x;QQsUPkjp3pa_#h4EBm}97#KiU2jp74&8$Ka zOpFDa_ZpP8{_^I7#gsHu}fHJ_P-oaMZK z*oFLO>5%IbgE@u7+W; X7Q(s!Z&o&t3^NdZ2GXa2atsUrjRl8D delta 651 zcmcZ-{ybbfz?+$civa}Q3TX%B>(zH;2r@8aY!vrmpX|$NxA_*k1>(Gq;=*3zWNq zM+~SUYV$KC1ty5lW_?wDX2y`s_8NJNP-Bj3KC1^g$kuB&S359tL6`%Gb5lza^-3yA zs<{*tlyr4Vi&K@X6rzC~AlD(Wv?RYMwYWq-vC1I_7?i~&N=v9TBR9E1TgCyKPZ8=2wGjRe@MdKL$uI-qXCQqKD96A6 E0G$N5l>h($ diff --git a/src/diskpool/report.md b/src/diskpool/report.md index f8ecbb1af48..db9be1ad803 100644 --- a/src/diskpool/report.md +++ b/src/diskpool/report.md @@ -66,7 +66,7 @@ az disk-pool show --name "myDiskPool" --resource-group "myResourceGroup" |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| +|**--disk-pool-name**|string|The name of the Disk pool.|disk_pool_name|diskPoolName| #### Command `az disk-pool create` @@ -76,20 +76,21 @@ 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" --tags key="value" --name "myDiskPool" \ +iders/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --tier "Basic" --tags key="value" --name "myDiskPool" \ --resource-group "myResourceGroup" ``` ##### Parameters |Option|Type|Description|Path (SDK)|Swagger name| |------|----|-----------|----------|------------| |**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| -|**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| +|**--disk-pool-name**|string|The name of the Disk pool.|disk_pool_name|diskPoolName| |**--location**|string|The geo-location where the resource lives.|location|location| -|**--availability-zones**|array|Logical zone for Disk Pool resource; example: ["1"].|availability_zones|availabilityZones| -|**--subnet-id**|string|Azure Resource ID of a Subnet for the Disk Pool.|subnet_id|subnetId| +|**--availability-zones**|array|Logical zone for Disk pool resource; example: ["1"].|availability_zones|availabilityZones| +|**--subnet-id**|string|Azure Resource ID of a Subnet for the Disk pool.|subnet_id|subnetId| +|**--tier**|choice|Determines the SKU of VM deployed for Disk pool|tier|tier| |**--tags**|dictionary|Resource tags.|tags|tags| -|**--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| +|**--disks**|array|List of Azure Managed Disks to attach to a Disk pool. Can attach 8 disks at most.|disks|disks| +|**--additional-capabilities**|array|List of additional capabilities for a Disk pool.|additional_capabilities|additionalCapabilities| #### Command `az disk-pool update` @@ -104,9 +105,9 @@ esourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0" --disks "/sub |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| +|**--disk-pool-name**|string|The name of the Disk pool.|disk_pool_name|diskPoolName| |**--tags**|dictionary|Resource tags.|tags|tags| -|**--disks**|array|List of Azure Managed Disks to attach to a Disk Pool.|disks|disks| +|**--disks**|array|List of Azure Managed Disks to attach to a Disk pool. Can attach 8 disks at most.|disks|disks| #### Command `az disk-pool delete` @@ -118,7 +119,7 @@ az disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" |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| +|**--disk-pool-name**|string|The name of the Disk pool.|disk_pool_name|diskPoolName| ### group `az disk-pool iscsi-target` #### Command `az disk-pool iscsi-target list` @@ -131,7 +132,7 @@ az disk-pool iscsi-target list --disk-pool-name "myDiskPool" --resource-group "m |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| +|**--disk-pool-name**|string|The name of the Disk pool.|disk_pool_name|diskPoolName| #### Command `az disk-pool iscsi-target show` @@ -143,7 +144,7 @@ az disk-pool iscsi-target show --disk-pool-name "myDiskPool" --name "myIscsiTarg |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| +|**--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| #### Command `az disk-pool iscsi-target create` @@ -161,9 +162,9 @@ qn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}],\\"attr |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| +|**--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| -|**--tpgs**|array|List of iSCSI target portal groups.|tpgs|tpgs| +|**--tpgs**|array|List of iSCSI target portal groups. Can have 1 portal group at most.|tpgs|tpgs| |**--target-iqn**|string|iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".|target_iqn|targetIqn| #### Command `az disk-pool iscsi-target update` @@ -180,9 +181,9 @@ icrosoft.Compute/disks/vm-name_DataDisk_1\\"}]}]" --resource-group "myResourceGr |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| +|**--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| -|**--tpgs**|array|List of iSCSI target portal groups.|tpgs|tpgs| +|**--tpgs**|array|List of iSCSI target portal groups. Can have 1 portal group at most.|tpgs|tpgs| #### Command `az disk-pool iscsi-target delete` @@ -195,5 +196,5 @@ az disk-pool iscsi-target delete --disk-pool-name "myDiskPool" --name "myIscsiTa |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| +|**--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| diff --git a/src/diskpool/setup.py b/src/diskpool/setup.py index 06bc4ea3613..8bfa1256ec9 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.2.0' +VERSION = '0.1.1' try: from azext_diskpool.manual.version import VERSION except ImportError: From 8d56c6ebea078f589420c0c30b932f20bbdb3c18 Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Tue, 23 Feb 2021 14:54:15 +0800 Subject: [PATCH 14/30] 0.2.1 --- src/diskpool/HISTORY.rst | 4 +- .../azext_diskpool/generated/_help.py | 101 ++-- .../azext_diskpool/generated/_params.py | 61 +-- .../azext_diskpool/generated/action.py | 45 +- .../azext_diskpool/generated/commands.py | 6 +- .../azext_diskpool/generated/custom.py | 74 +-- .../azext_diskpool/manual/commands.py | 2 +- .../tests/latest/example_steps.py | 112 +++++ .../tests/latest/test_diskpool_scenario.py | 19 +- .../aio/operations/_disk_pools_operations.py | 132 ++--- .../operations/_iscsi_targets_operations.py | 166 +------ .../storagepool/models/__init__.py | 25 +- .../storagepool/models/_models.py | 410 +++++----------- .../storagepool/models/_models_py3.py | 449 +++++------------- .../models/_storage_pool_management_enums.py | 26 +- .../operations/_disk_pools_operations.py | 133 ++---- .../operations/_iscsi_targets_operations.py | 168 +------ src/diskpool/gen.zip | Bin 11220 -> 10218 bytes src/diskpool/report.md | 86 ++-- src/diskpool/setup.py | 2 +- 20 files changed, 671 insertions(+), 1350 deletions(-) diff --git a/src/diskpool/HISTORY.rst b/src/diskpool/HISTORY.rst index 77c56130843..78208dab623 100644 --- a/src/diskpool/HISTORY.rst +++ b/src/diskpool/HISTORY.rst @@ -3,9 +3,9 @@ Release History =============== -0.1.1 +0.2.2 ++++++ -* Add --tier support. +* Minor fix 0.1.0 ++++++ diff --git a/src/diskpool/azext_diskpool/generated/_help.py b/src/diskpool/azext_diskpool/generated/_help.py index 006f4e5e29e..19baf26bd35 100644 --- a/src/diskpool/azext_diskpool/generated/_help.py +++ b/src/diskpool/azext_diskpool/generated/_help.py @@ -19,7 +19,7 @@ helps['disk-pool list'] = """ type: command - short-summary: "Gets a list of DiskPools in a resource group. And Gets a list of Disk Pools in a subscription." + short-summary: "Gets a list of DiskPools. And Gets a list of Disk Pools in a subscription." examples: - name: List Disk Pools text: |- @@ -31,62 +31,92 @@ helps['disk-pool show'] = """ type: command - short-summary: "Get a Disk pool." + short-summary: "Get a Disk Pool." examples: - - name: Get Disk pool + - name: Get a diskPool text: |- az disk-pool show --name "myDiskPool" --resource-group "myResourceGroup" """ helps['disk-pool create'] = """ type: command - short-summary: "Create Disk pool." + short-summary: "Create a new Disk Pool." parameters: + - name: --sku + short-summary: "Sku description." + long-summary: | + Usage: --sku name=XX tier=XX size=XX family=XX capacity=XX + + name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code + tier: This field is required to be implemented by the Resource Provider if the service has more than one \ +tier, but is not required on a PUT. + size: The SKU size. When the name field is the combination of tier and some other value, this would be the \ +standalone code. + family: If the service has different generations of hardware, for the same SKU, then that can be captured \ +here. + capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in \ +is not possible for the resource this may be omitted. - name: --disks - short-summary: "List of Azure Managed Disks to attach to a Disk pool. Can attach 8 disks at most." + short-summary: "List of Azure managed disks to attach to a DiskPool" long-summary: | The order of this parameter is specific customized. Usage: --disks id-value - id: Required. Unique Azure Resource ID of the Managed Disk. + id: Required. Unique Azure resource id of the managed disk. Required. Multiple actions can be specified by using more than one --disks argument. examples: - - name: Create or Update Disk pool + - name: Create or Update a Disk Pool text: |- - az disk-pool create --location "westus" --availability-zones "1" --disks "/subscriptions/11111111-1111-1\ -111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0" --disks \ + az disk-pool create --name "myDiskPool" --location "westus" --availability-zones "1" --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" --tier "Basic" --tags key="value" --name "myDiskPool" \ ---resource-group "myResourceGroup" +m-name_DataDisk_0" --disks "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/provider\ +s/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resource\ +Groups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --sku name="Standard_ABC" \ +--tags key="value" --resource-group "myResourceGroup" """ helps['disk-pool update'] = """ type: command - short-summary: "Update a Disk pool." + short-summary: "Update a Storage Pool." parameters: + - name: --sku + short-summary: "Sku description." + long-summary: | + Usage: --sku name=XX tier=XX size=XX family=XX capacity=XX + + name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code + tier: This field is required to be implemented by the Resource Provider if the service has more than one \ +tier, but is not required on a PUT. + size: The SKU size. When the name field is the combination of tier and some other value, this would be the \ +standalone code. + family: If the service has different generations of hardware, for the same SKU, then that can be captured \ +here. + capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in \ +is not possible for the resource this may be omitted. - name: --disks - short-summary: "List of Azure Managed Disks to attach to a Disk pool. Can attach 8 disks at most." + short-summary: "List of Azure managed disks to attach to a DiskPool" long-summary: | The order of this parameter is specific customized. Usage: --disks id-value - id: Required. Unique Azure Resource ID of the Managed Disk. + id: Required. Unique Azure resource id of the managed disk. Required. Multiple actions can be specified by using more than one --disks argument. examples: - - name: Update Disk pool + - name: Update Disk Pool text: |- - 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 \ + az disk-pool update --name "myDiskPool" --location "westus" --availability-zones "1" --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_0" --disks "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/provider\ +s/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resource\ +Groups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --tags key="value" \ +--resource-group "myResourceGroup" """ helps['disk-pool delete'] = """ type: command - short-summary: "Delete a Disk pool." + short-summary: "Delete a Disk Pool." examples: - - name: Delete Disk pool + - name: Update Disk Pool text: |- az disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" """ @@ -98,9 +128,6 @@ - name: Pause executing next line of CLI script until the disk-pool is successfully created. text: |- az disk-pool wait --name "myDiskPool" --resource-group "myResourceGroup" --created - - name: Pause executing next line of CLI script until the disk-pool is successfully updated. - text: |- - az disk-pool wait --name "myDiskPool" --resource-group "myResourceGroup" --updated - name: Pause executing next line of CLI script until the disk-pool is successfully deleted. text: |- az disk-pool wait --name "myDiskPool" --resource-group "myResourceGroup" --deleted @@ -113,7 +140,7 @@ helps['disk-pool iscsi-target list'] = """ type: command - short-summary: "Get iSCSI Targets in a Disk pool." + short-summary: "Get iSCSI Targets within a Disk Pool." examples: - name: List Disk Pools by Resource Group text: |- @@ -122,9 +149,9 @@ helps['disk-pool iscsi-target show'] = """ type: command - short-summary: "Get an iSCSI target." + short-summary: "Gets an iSCSI Target." examples: - - name: Get iSCSI target + - name: Get an iscsiTarget text: |- az disk-pool iscsi-target show --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ "myResourceGroup" @@ -134,34 +161,26 @@ type: command short-summary: "Create an iSCSI target." examples: - - name: Create or Update iSCSI target + - name: Create or Update an iSCSI Target text: |- - az disk-pool iscsi-target create --disk-pool-name "myDiskPool" --target-iqn \ -"iqn.2005-03.org.iscsi:server1" --tpgs "[{\\"acls\\":[{\\"credentials\\":{\\"password\\":\\"some_password\\",\\"usernam\ + 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\\",\\"usernam\ e\\":\\"some_username\\"},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}],\\"attr\ ibutes\\":{\\"authentication\\":true,\\"prodModeWriteProtect\\":false},\\"luns\\":[{\\"name\\":\\"lun0\\",\\"managedDis\ kAzureResourceId\\":\\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Mic\ -rosoft.Compute/disks/vm-name_DataDisk_1\\"}]}]" --name "myIscsiTarget" --resource-group "myResourceGroup" +rosoft.Compute/disks/vm-name_DataDisk_1\\"}]}]" --resource-group "myResourceGroup" """ helps['disk-pool iscsi-target update'] = """ type: command short-summary: "Update an iSCSI target." - examples: - - name: Update iSCSI target - text: |- - az disk-pool iscsi-target update --disk-pool-name "myDiskPool" --name "myIscsiTarget" --tpgs \ -"[{\\"acls\\":[{\\"credentials\\":{\\"password\\":\\"some_password\\",\\"username\\":\\"some_username\\"},\\"initiatorI\ -qn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}],\\"luns\\":[{\\"name\\":\\"lun0\\",\\"managedD\ -iskAzureResourceId\\":\\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/M\ -icrosoft.Compute/disks/vm-name_DataDisk_1\\"}]}]" --resource-group "myResourceGroup" """ helps['disk-pool iscsi-target delete'] = """ type: command - short-summary: "Delete an iSCSI target." + short-summary: "Deletes an iSCSI Target." examples: - - name: Delete iSCSI target + - name: Delete an iscsiTarget text: |- az disk-pool iscsi-target delete --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ "myResourceGroup" diff --git a/src/diskpool/azext_diskpool/generated/_params.py b/src/diskpool/azext_diskpool/generated/_params.py index 6310be4e600..6d63c73e3c8 100644 --- a/src/diskpool/azext_diskpool/generated/_params.py +++ b/src/diskpool/azext_diskpool/generated/_params.py @@ -12,7 +12,6 @@ from azure.cli.core.commands.parameters import ( tags_type, - get_enum_type, resource_group_name_type, get_location_type ) @@ -21,8 +20,8 @@ validate_file_or_dict ) from azext_diskpool.action import ( - AddDiskPoolCreateDisks, - AddDiskPoolUpdateDisks + AddSku, + AddDisks ) @@ -34,77 +33,81 @@ def load_arguments(self, _): with self.argument_context('disk-pool show') 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') + 'the Disk Pool.', id_part='name') with self.argument_context('disk-pool create') 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.') + 'the Disk Pool.') 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('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. Can attach 8 disks at most.') - c.argument('subnet_id', type=str, help='Azure Resource ID of a Subnet for the Disk pool.') - c.argument('additional_capabilities', nargs='+', help='List of additional capabilities for a Disk pool.') - c.argument('tier', arg_type=get_enum_type(['Basic', 'Standard', 'Premium']), help='Determines the SKU of VM ' - 'deployed for Disk pool') + c.argument('sku', action=AddSku, nargs='+', help='Sku description.') + c.argument('availability_zones', nargs='+', help='Logical zone for DiskPool resource.') + c.argument('disks', action=AddDisks, nargs='+', help='List of Azure managed disks to attach to a DiskPool') + c.argument('subnet_id', type=str, help='Azure resource id of the subnet for the DiskPool') with self.argument_context('disk-pool update') 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') + 'the Disk Pool.', id_part='name') c.argument('tags', tags_type) - c.argument('disks', action=AddDiskPoolUpdateDisks, nargs='+', help='List of Azure Managed Disks to attach to a ' - 'Disk pool. Can attach 8 disks at most.') + c.argument('location', arg_type=get_location_type(self.cli_ctx), required=False, + validator=get_default_location_from_resource_group) + c.argument('sku', action=AddSku, nargs='+', help='Sku description.') + c.argument('availability_zones', nargs='+', help='Logical zone for DiskPool resource.') + c.argument('disks', action=AddDisks, nargs='+', help='List of Azure managed disks to attach to a DiskPool') + c.argument('subnet_id', type=str, help='Azure resource id of the subnet for the DiskPool') with self.argument_context('disk-pool delete') 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') + 'the Disk Pool.', id_part='name') with self.argument_context('disk-pool wait') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' - 'the Disk pool.', id_part='name') + 'the Disk Pool.', id_part='name') 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.') + c.argument('disk_pool_name', type=str, help='The name of the Disk Pool.') with self.argument_context('disk-pool iscsi-target show') 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.', id_part='name') + 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') with self.argument_context('disk-pool iscsi-target create') 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.') + 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('tpgs', type=validate_file_or_dict, help='List of iSCSI target portal groups. Can have 1 portal ' - 'group at most. Expected value: json-string/@json-file.') - c.argument('target_iqn', type=str, help='iSCSI target IQN (iSCSI Qualified Name); example: ' - '"iqn.2005-03.org.iscsi:server".') + c.argument('tpgs', type=validate_file_or_dict, help='list of iSCSI target portal groups Expected value: ' + 'json-string/@json-file.') + c.argument('target_iqn', type=str, help='iSCSI target iqn (iSCSI Qualified Name); example: ' + 'iqn.2005-03.org.iscsi:server') with self.argument_context('disk-pool iscsi-target update') 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.', id_part='name') + 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('tpgs', type=validate_file_or_dict, help='List of iSCSI target portal groups. Can have 1 portal ' - 'group at most. Expected value: json-string/@json-file.') + c.argument('tpgs', type=validate_file_or_dict, help='list of iSCSI target portal groups Expected value: ' + 'json-string/@json-file.') + c.argument('target_iqn', type=str, help='iSCSI target iqn (iSCSI Qualified Name); example: ' + 'iqn.2005-03.org.iscsi:server') + c.ignore('iscsi_target_payload') with self.argument_context('disk-pool iscsi-target delete') 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.', id_part='name') + 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') with self.argument_context('disk-pool iscsi-target wait') 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.', id_part='name') + 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') diff --git a/src/diskpool/azext_diskpool/generated/action.py b/src/diskpool/azext_diskpool/generated/action.py index 13ecbf9563b..31b7e7da4aa 100644 --- a/src/diskpool/azext_diskpool/generated/action.py +++ b/src/diskpool/azext_diskpool/generated/action.py @@ -14,33 +14,44 @@ from knack.util import CLIError -class AddDiskPoolCreateDisks(argparse._AppendAction): +class AddSku(argparse.Action): 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) + namespace.sku = action - def get_action(self, values, option_string=None): + def get_action(self, values, option_string): # pylint: disable=no-self-use 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 - } - ) - return value_list + properties = defaultdict(list) + for (k, v) in (x.split('=', 1) for x in values): + properties[k].append(v) + properties = dict(properties) except ValueError: - raise CLIError('usage error: {} NAME METRIC OPERATION VALUE'.format(option_string)) + raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) + d = {} + for k in properties: + kl = k.lower() + v = properties[k] + if kl == 'name': + d['name'] = v[0] + elif kl == 'tier': + d['tier'] = v[0] + elif kl == 'size': + d['size'] = v[0] + elif kl == 'family': + d['family'] = v[0] + elif kl == 'capacity': + d['capacity'] = v[0] + else: + raise CLIError('Unsupported Key {} is provided for parameter sku. All possible keys are: name, tier, ' + 'size, family, capacity'.format(k)) + return d -class AddDiskPoolUpdateDisks(argparse._AppendAction): +class AddDisks(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(AddDisks, self).__call__(parser, namespace, item, option_string) def get_action(self, values, option_string=None): try: diff --git a/src/diskpool/azext_diskpool/generated/commands.py b/src/diskpool/azext_diskpool/generated/commands.py index b3ab869f05b..634b8f00bab 100644 --- a/src/diskpool/azext_diskpool/generated/commands.py +++ b/src/diskpool/azext_diskpool/generated/commands.py @@ -24,7 +24,7 @@ def load_command_table(self, _): 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('update', 'disk_pool_update') g.custom_command('delete', 'disk_pool_delete', supports_no_wait=True, confirmation=True) g.custom_wait_command('wait', 'disk_pool_show') @@ -37,7 +37,9 @@ def load_command_table(self, _): g.custom_command('list', 'disk_pool_iscsi_target_list') g.custom_show_command('show', 'disk_pool_iscsi_target_show') g.custom_command('create', 'disk_pool_iscsi_target_create', supports_no_wait=True) - g.custom_command('update', 'disk_pool_iscsi_target_update', supports_no_wait=True) + g.generic_update_command('update', setter_arg_name='iscsi_target_payload', + setter_name='begin_create_or_update', + custom_func_name='disk_pool_iscsi_target_update', supports_no_wait=True) g.custom_command('delete', 'disk_pool_iscsi_target_delete', supports_no_wait=True, confirmation=True) g.custom_wait_command('wait', 'disk_pool_iscsi_target_show') diff --git a/src/diskpool/azext_diskpool/generated/custom.py b/src/diskpool/azext_diskpool/generated/custom.py index 2c9140bcaf5..9ae5d7450a6 100644 --- a/src/diskpool/azext_diskpool/generated/custom.py +++ b/src/diskpool/azext_diskpool/generated/custom.py @@ -8,6 +8,7 @@ # regenerated. # -------------------------------------------------------------------------- # pylint: disable=too-many-lines +# pylint: disable=unused-argument from azure.cli.core.util import sdk_no_wait @@ -31,41 +32,44 @@ def disk_pool_create(client, disk_pool_name, location, availability_zones, - subnet_id, - tier, tags=None, + sku=None, disks=None, - additional_capabilities=None, + subnet_id=None, no_wait=False): - disk_pool_create_payload = {} - 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 - disk_pool_create_payload['subnet_id'] = subnet_id - disk_pool_create_payload['additional_capabilities'] = additional_capabilities - disk_pool_create_payload['tier'] = tier + disk_pool_payload = {} + disk_pool_payload['tags'] = tags + disk_pool_payload['location'] = location + disk_pool_payload['sku'] = sku + disk_pool_payload['availability_zones'] = availability_zones + disk_pool_payload['disks'] = disks + disk_pool_payload['subnet_id'] = subnet_id return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name=resource_group_name, disk_pool_name=disk_pool_name, - disk_pool_create_payload=disk_pool_create_payload) + disk_pool_payload=disk_pool_payload) def disk_pool_update(client, resource_group_name, disk_pool_name, + location, + availability_zones, tags=None, + sku=None, disks=None, - no_wait=False): - disk_pool_update_payload = {} - disk_pool_update_payload['tags'] = tags - disk_pool_update_payload['disks'] = disks - return sdk_no_wait(no_wait, - client.begin_update, - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - disk_pool_update_payload=disk_pool_update_payload) + subnet_id=None): + disk_pool_payload = {} + disk_pool_payload['tags'] = tags + disk_pool_payload['location'] = location + disk_pool_payload['sku'] = sku + disk_pool_payload['availability_zones'] = availability_zones + disk_pool_payload['disks'] = disks + disk_pool_payload['subnet_id'] = subnet_id + return client.update(resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + disk_pool_payload=disk_pool_payload) def disk_pool_delete(client, @@ -98,34 +102,32 @@ def disk_pool_iscsi_target_create(client, resource_group_name, disk_pool_name, iscsi_target_name, - tpgs, + tpgs=None, target_iqn=None, no_wait=False): - iscsi_target_create_payload = {} - iscsi_target_create_payload['tpgs'] = tpgs - iscsi_target_create_payload['target_iqn'] = target_iqn + iscsi_target_payload = {} + iscsi_target_payload['tpgs'] = tpgs + iscsi_target_payload['target_iqn'] = target_iqn return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name=resource_group_name, disk_pool_name=disk_pool_name, iscsi_target_name=iscsi_target_name, - iscsi_target_create_payload=iscsi_target_create_payload) + iscsi_target_payload=iscsi_target_payload) -def disk_pool_iscsi_target_update(client, +def disk_pool_iscsi_target_update(instance, resource_group_name, disk_pool_name, iscsi_target_name, - tpgs, + tpgs=None, + target_iqn=None, no_wait=False): - iscsi_target_update_payload = {} - iscsi_target_update_payload['tpgs'] = tpgs - return sdk_no_wait(no_wait, - client.begin_update, - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_name, - iscsi_target_update_payload=iscsi_target_update_payload) + if tpgs is not None: + instance.tpgs = tpgs + if target_iqn is not None: + instance.target_iqn = target_iqn + return instance def disk_pool_iscsi_target_delete(client, diff --git a/src/diskpool/azext_diskpool/manual/commands.py b/src/diskpool/azext_diskpool/manual/commands.py index ac7275186f4..9aa58a6a7b3 100644 --- a/src/diskpool/azext_diskpool/manual/commands.py +++ b/src/diskpool/azext_diskpool/manual/commands.py @@ -19,6 +19,6 @@ 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) as g: + with self.command_group('disk-pool', diskpool_disk_pool, client_factory=cf_disk_pool, is_preview=True) as g: from ._transformers import transform_disk_pool_list_output g.custom_command('list', 'disk_pool_list', table_transformer=transform_disk_pool_list_output) diff --git a/src/diskpool/azext_diskpool/tests/latest/example_steps.py b/src/diskpool/azext_diskpool/tests/latest/example_steps.py index 55e11120535..0ca181cd8a7 100644 --- a/src/diskpool/azext_diskpool/tests/latest/example_steps.py +++ b/src/diskpool/azext_diskpool/tests/latest/example_steps.py @@ -63,6 +63,42 @@ def step_show(test, rg, checks=None): checks=checks) +# EXAMPLE: /DiskPools/put/Create or Update a Disk Pool +@try_manual +def step_create(test, rg, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool create ' + '--name "{myDiskPool}" ' + '--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/default" ' + '--sku name="Standard_ABC" ' + '--tags key="value" ' + '--resource-group "{rg}"', + checks=[]) + test.cmd('az disk-pool wait --created ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /DiskPools/get/Get a diskPool +@try_manual +def step_show(test, rg, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool show ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=checks) + + # EXAMPLE: /DiskPools/get/List Disk Pools @try_manual def step_list(test, rg, checks=None): @@ -130,6 +166,60 @@ def step_iscsi_target_show(test, rg, checks=None): checks=checks) +# EXAMPLE: /DiskPools/patch/Update Disk Pool +@try_manual +def step_update(test, rg, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool update ' + '--name "{myDiskPool}" ' + '--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/default" ' + '--tags key="value" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /IscsiTargets/put/Create or Update an iSCSI Target +@try_manual +def step_iscsi_target_create(test, rg, checks=None): + if checks is None: + checks = [] + test.cmd('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_us' + 'ername\\"}},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}}],\\"att' + 'ributes\\":{{\\"authentication\\":true,\\"prodModeWriteProtect\\":false}},\\"luns\\":[{{\\"name\\":\\"lun' + '0\\",\\"managedDiskAzureResourceId\\":\\"/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/M' + 'icrosoft.Compute/disks/vm-name_DataDisk_1\\"}}]}}]" ' + '--resource-group "{rg}"', + checks=[]) + test.cmd('az disk-pool iscsi-target wait --created ' + '--name "{myIscsiTarget}" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /IscsiTargets/get/Get an iscsiTarget +@try_manual +def step_iscsi_target_show(test, rg, 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, rg, checks=None): @@ -179,3 +269,25 @@ def step_delete(test, rg, checks=None): '--resource-group "{rg}"', checks=checks) +# EXAMPLE: /IscsiTargets/delete/Delete an iscsiTarget +@try_manual +def step_iscsi_target_delete(test, rg, 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) + + +# EXAMPLE: /DiskPools/delete/Update Disk Pool +@try_manual +def step_delete(test, rg, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool delete -y ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=checks) + diff --git a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py index 447ec7e46bb..3cae95825b0 100644 --- a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py +++ b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py @@ -20,7 +20,6 @@ from .example_steps import step_iscsi_target_create from .example_steps import step_iscsi_target_show from .example_steps import step_iscsi_target_list -from .example_steps import step_iscsi_target_update from .example_steps import step_iscsi_target_delete from .example_steps import step_delete from .. import ( @@ -58,19 +57,17 @@ def call_scenario(test, rg): ]) step_create(test, rg, checks=[ test.check("availabilityZones[0]", "{zone}", case_sensitive=False), - test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" - "lNetworks/{vn}/subnets/default", case_sensitive=False), - test.check("tier", "Basic", case_sensitive=False), test.check("name", "{myDiskPool}", case_sensitive=False), test.check("disks[0].id", "{myDisk1}"), test.check("disks[1].id", "{myDisk2}") + test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" + "lNetworks/{vn}/subnets/default", case_sensitive=False), ]) step_show(test, rg, checks=[ test.check("availabilityZones[0]", "{zone}", case_sensitive=False), + test.check("name", "{myDiskPool}", case_sensitive=False), test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" "lNetworks/{vn}/subnets/default", case_sensitive=False), - test.check("tier", "Basic", case_sensitive=False), - test.check("name", "{myDiskPool}", case_sensitive=False), ]) step_list(test, rg, checks=[ test.check('length(@)', 1), @@ -80,9 +77,9 @@ def call_scenario(test, rg): ]) step_update(test, rg, checks=[ test.check("availabilityZones[0]", "{zone}", case_sensitive=False), + test.check("name", "{myDiskPool}", case_sensitive=False), test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" "lNetworks/{vn}/subnets/default", case_sensitive=False), - test.check("name", "{myDiskPool}", case_sensitive=False), ]) step_update(test, rg, checks=[ test.check("availabilityZones[0]", "{zone}", case_sensitive=False), @@ -95,20 +92,16 @@ def call_scenario(test, rg): ]) test.kwargs['myDiskPool'] = test.create_random_name(prefix='newpool', length=10), step_iscsi_target_create(test, rg, checks=[ - test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), test.check("name", "{myIscsiTarget}", case_sensitive=False), + test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), ]) step_iscsi_target_show(test, rg, checks=[ - test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), test.check("name", "{myIscsiTarget}", case_sensitive=False), + test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), ]) step_iscsi_target_list(test, rg, checks=[ test.check('length(@)', 1), ]) - step_iscsi_target_update(test, rg, checks=[ - test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), - test.check("name", "{myIscsiTarget}", case_sensitive=False), - ]) step_iscsi_target_delete(test, rg, checks=[]) step_delete(test, rg, checks=[]) cleanup_scenario(test, rg) 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 3db3c2987d6..cc0a1230259 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 @@ -115,7 +115,7 @@ def list_by_resource_group( resource_group_name: str, **kwargs ) -> AsyncIterable["models.DiskPoolListResult"]: - """Gets a list of DiskPools in a resource group. + """Gets a list of DiskPools. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -185,7 +185,7 @@ async def _create_or_update_initial( self, resource_group_name: str, disk_pool_name: str, - disk_pool_create_payload: "models.DiskPoolCreate", + disk_pool_payload: "models.DiskPool", **kwargs ) -> "models.DiskPool": cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] @@ -216,13 +216,13 @@ async def _create_or_update_initial( header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_create_payload, 'DiskPoolCreate') + body_content = self._serialize.body(disk_pool_payload, 'DiskPool') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response - if response.status_code not in [200, 201]: + 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) @@ -230,7 +230,7 @@ async def _create_or_update_initial( if response.status_code == 200: deserialized = self._deserialize('DiskPool', pipeline_response) - if response.status_code == 201: + if response.status_code == 202: deserialized = self._deserialize('DiskPool', pipeline_response) if cls: @@ -243,17 +243,17 @@ async def begin_create_or_update( self, resource_group_name: str, disk_pool_name: str, - disk_pool_create_payload: "models.DiskPoolCreate", + disk_pool_payload: "models.DiskPool", **kwargs ) -> AsyncLROPoller["models.DiskPool"]: - """Create or Update Disk pool. + """Create a new Disk Pool. :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. + :param disk_pool_name: The name of the Disk Pool. :type disk_pool_name: str - :param disk_pool_create_payload: Request payload for Disk pool create operation. - :type disk_pool_create_payload: ~storage_pool_management.models.DiskPoolCreate + :param disk_pool_payload: Request payload for Disk Pool operations. + :type disk_pool_payload: ~storage_pool_management.models.DiskPool :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 @@ -275,7 +275,7 @@ async def begin_create_or_update( raw_result = await self._create_or_update_initial( resource_group_name=resource_group_name, disk_pool_name=disk_pool_name, - disk_pool_create_payload=disk_pool_create_payload, + disk_pool_payload=disk_pool_payload, cls=lambda x,y,z: x, **kwargs ) @@ -310,13 +310,26 @@ def get_long_running_output(pipeline_response): return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - async def _update_initial( + async def update( self, resource_group_name: str, disk_pool_name: str, - disk_pool_update_payload: "models.DiskPoolUpdate", + disk_pool_payload: "models.DiskPool", **kwargs ) -> "models.DiskPool": + """Update a Storage Pool. + + :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 + :param disk_pool_payload: Request payload for Disk Pool operations. + :type disk_pool_payload: ~storage_pool_management.models.DiskPool + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DiskPool, or the result of cls(response) + :rtype: ~storage_pool_management.models.DiskPool + :raises: ~azure.core.exceptions.HttpResponseError + """ cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError @@ -327,7 +340,7 @@ async def _update_initial( accept = "application/json" # Construct URL - url = self._update_initial.metadata['url'] # type: ignore + url = self.update.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]$'), @@ -345,99 +358,24 @@ async def _update_initial( header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_update_payload, 'DiskPoolUpdate') + body_content = self._serialize.body(disk_pool_payload, 'DiskPool') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response - if response.status_code not in [200, 202]: + if response.status_code not in [200]: 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 response.status_code == 200: - deserialized = self._deserialize('DiskPool', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('DiskPool', pipeline_response) + deserialized = self._deserialize('DiskPool', pipeline_response) if cls: return cls(pipeline_response, deserialized, {}) return deserialized - _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - async def begin_update( - self, - resource_group_name: str, - disk_pool_name: str, - disk_pool_update_payload: "models.DiskPoolUpdate", - **kwargs - ) -> AsyncLROPoller["models.DiskPool"]: - """Update a Disk pool. - - :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 - :param disk_pool_update_payload: Request payload for Disk pool update operation. - :type disk_pool_update_payload: ~storage_pool_management.models.DiskPoolUpdate - :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 DiskPool or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.DiskPool] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - 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._update_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - disk_pool_update_payload=disk_pool_update_payload, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore async def _delete_initial( self, @@ -490,11 +428,11 @@ async def begin_delete( disk_pool_name: str, **kwargs ) -> AsyncLROPoller[None]: - """Delete a Disk pool. + """Delete a Disk Pool. :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. + :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. @@ -554,11 +492,11 @@ async def get( disk_pool_name: str, **kwargs ) -> "models.DiskPool": - """Get a Disk pool. + """Get a Disk Pool. :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. + :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 :return: DiskPool, or the result of cls(response) 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 2fd48535b9d..b136ab3a5e9 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 @@ -49,11 +49,11 @@ def list_by_disk_pool( disk_pool_name: str, **kwargs ) -> AsyncIterable["models.IscsiTargetList"]: - """Get iSCSI Targets in a Disk pool. + """Get iSCSI Targets within a Disk Pool. :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. + :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 :return: An iterator like instance of either IscsiTargetList or the result of cls(response) @@ -123,7 +123,7 @@ async def _create_or_update_initial( resource_group_name: str, disk_pool_name: str, iscsi_target_name: str, - iscsi_target_create_payload: "models.IscsiTargetCreate", + iscsi_target_payload: "models.IscsiTarget", **kwargs ) -> "models.IscsiTarget": cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] @@ -155,13 +155,13 @@ async def _create_or_update_initial( header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(iscsi_target_create_payload, 'IscsiTargetCreate') + body_content = self._serialize.body(iscsi_target_payload, 'IscsiTarget') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response - if response.status_code not in [200, 201]: + 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) @@ -169,7 +169,7 @@ async def _create_or_update_initial( if response.status_code == 200: deserialized = self._deserialize('IscsiTarget', pipeline_response) - if response.status_code == 201: + if response.status_code == 202: deserialized = self._deserialize('IscsiTarget', pipeline_response) if cls: @@ -183,19 +183,19 @@ async def begin_create_or_update( resource_group_name: str, disk_pool_name: str, iscsi_target_name: str, - iscsi_target_create_payload: "models.IscsiTargetCreate", + iscsi_target_payload: "models.IscsiTarget", **kwargs ) -> AsyncLROPoller["models.IscsiTarget"]: """Create or Update an iSCSI target. :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. + :param disk_pool_name: The name of the Disk Pool. :type disk_pool_name: str :param iscsi_target_name: The name of the iSCSI target. :type iscsi_target_name: str - :param iscsi_target_create_payload: Request payload for iSCSI target create operation. - :type iscsi_target_create_payload: ~storage_pool_management.models.IscsiTargetCreate + :param iscsi_target_payload: Request payload for iSCSI target operations. + :type iscsi_target_payload: ~storage_pool_management.models.IscsiTarget :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 @@ -218,7 +218,7 @@ async def begin_create_or_update( resource_group_name=resource_group_name, disk_pool_name=disk_pool_name, iscsi_target_name=iscsi_target_name, - iscsi_target_create_payload=iscsi_target_create_payload, + iscsi_target_payload=iscsi_target_payload, cls=lambda x,y,z: x, **kwargs ) @@ -254,142 +254,6 @@ def get_long_running_output(pipeline_response): return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - async def _update_initial( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_name: str, - iscsi_target_update_payload: "models.IscsiTargetUpdate", - **kwargs - ) -> "models.IscsiTarget": - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(iscsi_target_update_payload, 'IscsiTargetUpdate') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - 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 response.status_code == 200: - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - async def begin_update( - self, - resource_group_name: str, - disk_pool_name: str, - iscsi_target_name: str, - iscsi_target_update_payload: "models.IscsiTargetUpdate", - **kwargs - ) -> AsyncLROPoller["models.IscsiTarget"]: - """Update an iSCSI target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_name: str - :param iscsi_target_update_payload: Request payload for iSCSI target operations. - :type iscsi_target_update_payload: ~storage_pool_management.models.IscsiTargetUpdate - :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 IscsiTarget or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.IscsiTarget] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - 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._update_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_name, - iscsi_target_update_payload=iscsi_target_update_payload, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, 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_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - async def _delete_initial( self, resource_group_name: str, @@ -444,11 +308,11 @@ async def begin_delete( iscsi_target_name: str, **kwargs ) -> AsyncLROPoller[None]: - """Delete an iSCSI target. + """Deletes an iSCSI Target. :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. + :param disk_pool_name: The name of the Disk Pool. :type disk_pool_name: str :param iscsi_target_name: The name of the iSCSI target. :type iscsi_target_name: str @@ -513,11 +377,11 @@ async def get( iscsi_target_name: str, **kwargs ) -> "models.IscsiTarget": - """Get an iSCSI target. + """Gets an iSCSI Target. :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. + :param disk_pool_name: The name of the Disk Pool. :type disk_pool_name: str :param iscsi_target_name: The name of the iSCSI target. :type iscsi_target_name: str 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 b36f54235d2..d4ec87c63c8 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/__init__.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/__init__.py @@ -11,58 +11,48 @@ from ._models_py3 import Attributes from ._models_py3 import Disk from ._models_py3 import DiskPool - from ._models_py3 import DiskPoolCreate from ._models_py3 import DiskPoolListResult - from ._models_py3 import DiskPoolUpdate from ._models_py3 import Error from ._models_py3 import ErrorAdditionalInfo from ._models_py3 import ErrorResponse from ._models_py3 import IscsiLun from ._models_py3 import IscsiTarget - from ._models_py3 import IscsiTargetCreate from ._models_py3 import IscsiTargetList - from ._models_py3 import IscsiTargetUpdate from ._models_py3 import ProxyResource from ._models_py3 import Resource + from ._models_py3 import Sku from ._models_py3 import StoragePoolOperationDisplay from ._models_py3 import StoragePoolOperationListResult from ._models_py3 import StoragePoolRpOperation from ._models_py3 import SystemMetadata from ._models_py3 import TargetPortalGroup - from ._models_py3 import TargetPortalGroupCreate - from ._models_py3 import TargetPortalGroupUpdate from ._models_py3 import TrackedResource except (SyntaxError, ImportError): from ._models import Acl # type: ignore from ._models import Attributes # type: ignore from ._models import Disk # type: ignore from ._models import DiskPool # type: ignore - from ._models import DiskPoolCreate # type: ignore from ._models import DiskPoolListResult # type: ignore - from ._models import DiskPoolUpdate # type: ignore from ._models import Error # type: ignore from ._models import ErrorAdditionalInfo # type: ignore from ._models import ErrorResponse # type: ignore from ._models import IscsiLun # type: ignore from ._models import IscsiTarget # type: ignore - from ._models import IscsiTargetCreate # type: ignore from ._models import IscsiTargetList # type: ignore - from ._models import IscsiTargetUpdate # type: ignore from ._models import ProxyResource # type: ignore from ._models import Resource # type: ignore + from ._models import Sku # type: ignore from ._models import StoragePoolOperationDisplay # type: ignore from ._models import StoragePoolOperationListResult # type: ignore from ._models import StoragePoolRpOperation # type: ignore from ._models import SystemMetadata # type: ignore from ._models import TargetPortalGroup # type: ignore - from ._models import TargetPortalGroupCreate # type: ignore - from ._models import TargetPortalGroupUpdate # type: ignore from ._models import TrackedResource # type: ignore from ._storage_pool_management_enums import ( - DiskPoolTier, OperationalStatus, ProvisioningStates, + SkuTier, ) __all__ = [ @@ -70,28 +60,23 @@ 'Attributes', 'Disk', 'DiskPool', - 'DiskPoolCreate', 'DiskPoolListResult', - 'DiskPoolUpdate', 'Error', 'ErrorAdditionalInfo', 'ErrorResponse', 'IscsiLun', 'IscsiTarget', - 'IscsiTargetCreate', 'IscsiTargetList', - 'IscsiTargetUpdate', 'ProxyResource', 'Resource', + 'Sku', 'StoragePoolOperationDisplay', 'StoragePoolOperationListResult', 'StoragePoolRpOperation', 'SystemMetadata', 'TargetPortalGroup', - 'TargetPortalGroupCreate', - 'TargetPortalGroupUpdate', 'TrackedResource', - 'DiskPoolTier', 'OperationalStatus', 'ProvisioningStates', + 'SkuTier', ] 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 872b3b33614..4c897efb916 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py @@ -11,14 +11,14 @@ class Acl(msrest.serialization.Model): - """Access Control List (ACL) for an iSCSI target portal group. + """Access Control List (ACL) for an iSCSI target lun. All required parameters must be populated in order to send to Azure. - :param initiator_iqn: Required. iSCSI initiator IQN (iSCSI Qualified Name); example: - "iqn.2005-03.org.iscsi:client". + :param initiator_iqn: Required. iSCSI initiator iqn (iSCSI Qualified Name); example: + iqn.2005-03.org.iscsi:client. :type initiator_iqn: str - :param mapped_luns: Required. List of LUN names mapped to the ACL. + :param mapped_luns: Required. Array of lun names mapped to the ACL. :type mapped_luns: list[str] :param username: Username for Challenge Handshake Authentication Protocol (CHAP) authentication. @@ -31,8 +31,8 @@ class Acl(msrest.serialization.Model): _validation = { 'initiator_iqn': {'required': True}, 'mapped_luns': {'required': True}, - 'username': {'max_length': 511, 'min_length': 7}, - 'password': {'max_length': 255, 'min_length': 12, 'pattern': r'^[-\w_0-9A-Za-z]*$'}, + 'username': {'max_length': 128, 'min_length': 7}, + 'password': {'max_length': 512, 'min_length': 12}, } _attribute_map = { @@ -54,14 +54,14 @@ def __init__( class Attributes(msrest.serialization.Model): - """Attributes of a iSCSI target portal group. + """Attributes of an iSCSI target. All required parameters must be populated in order to send to Azure. :param authentication: Required. Indicates whether or not authentication is enabled on the ACL. :type authentication: bool :param prod_mode_write_protect: Required. Indicates whether or not write protect is enabled on - the LUNs. + the luns. :type prod_mode_write_protect: bool """ @@ -85,11 +85,11 @@ def __init__( class Disk(msrest.serialization.Model): - """Azure Managed Disk to attach to the Disk pool. + """Managed disk to attach to the DiskPool. Required. All required parameters must be populated in order to send to Azure. - :param id: Required. Unique Azure Resource ID of the Managed Disk. + :param id: Required. Unique Azure resource id of the managed disk. Required. :type id: str """ @@ -192,7 +192,7 @@ def __init__( class DiskPool(TrackedResource): - """Response for Disk pool request. + """Request payload for Create or Update Disk Pool requests. Variables are only populated by the server, and will be ignored when sending a request. @@ -210,27 +210,22 @@ class DiskPool(TrackedResource): :type tags: dict[str, str] :param location: Required. The geo-location where the resource lives. :type location: str + :param sku: Sku description. + :type sku: ~storage_pool_management.models.Sku :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 - include: "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", - "Deleting". + :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: + "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :param availability_zones: Required. Logical zone for Disk pool resource; example: ["1"]. + :param availability_zones: Required. Logical zone for DiskPool resource. :type availability_zones: list[str] - :param status: Required. Operational status of the Disk pool. Possible values include: - "Invalid", "Unknown", "Healthy", "Unhealthy", "Updating", "Running", "Stopped", "Stopped - (deallocated)". - :type status: str or ~storage_pool_management.models.OperationalStatus - :param disks: List of Azure Managed Disks to attach to a Disk pool. Can attach 8 disks at most. + :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", + "Unknown", "Healthy", "Unhealthy". + :vartype status: str or ~storage_pool_management.models.OperationalStatus + :param disks: List of Azure managed disks to attach to a DiskPool. :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Required. Azure Resource ID of a Subnet for the Disk pool. + :param subnet_id: Azure resource id of the subnet for the DiskPool. :type subnet_id: str - :param additional_capabilities: List of additional capabilities for Disk pool. - :type additional_capabilities: list[str] - :param tier: Required. Determines the SKU of VM deployed for Disk pool. Possible values - include: "Basic", "Standard", "Premium". - :type tier: str or ~storage_pool_management.models.DiskPoolTier """ _validation = { @@ -239,11 +234,9 @@ class DiskPool(TrackedResource): 'type': {'readonly': True}, 'location': {'required': True}, 'system_data': {'readonly': True}, - 'provisioning_state': {'required': True, 'readonly': True}, + 'provisioning_state': {'readonly': True}, 'availability_zones': {'required': True}, - 'status': {'required': True}, - 'subnet_id': {'required': True}, - 'tier': {'required': True}, + 'status': {'readonly': True}, } _attribute_map = { @@ -252,14 +245,13 @@ class DiskPool(TrackedResource): 'type': {'key': 'type', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'location': {'key': 'location', 'type': 'str'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, 'status': {'key': 'properties.status', 'type': 'str'}, 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, - 'additional_capabilities': {'key': 'properties.additionalCapabilities', 'type': '[str]'}, - 'tier': {'key': 'properties.tier', 'type': 'str'}, } def __init__( @@ -267,86 +259,13 @@ def __init__( **kwargs ): super(DiskPool, self).__init__(**kwargs) + self.sku = kwargs.get('sku', None) self.system_data = None self.provisioning_state = None self.availability_zones = kwargs['availability_zones'] - self.status = kwargs['status'] + self.status = None self.disks = kwargs.get('disks', None) - self.subnet_id = kwargs['subnet_id'] - self.additional_capabilities = kwargs.get('additional_capabilities', None) - self.tier = kwargs['tier'] - - -class DiskPoolCreate(msrest.serialization.Model): - """Request payload for create or update Disk pool request. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - :param availability_zones: Required. 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. Can attach 8 disks at most. - :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Required. Azure Resource ID of a Subnet for the Disk pool. - :type subnet_id: str - :param additional_capabilities: List of additional capabilities for a Disk pool. - :type additional_capabilities: list[str] - :param tier: Required. Determines the SKU of VM deployed for Disk pool. Possible values - include: "Basic", "Standard", "Premium". - :type tier: str or ~storage_pool_management.models.DiskPoolTier - """ - - _validation = { - 'location': {'required': True}, - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'availability_zones': {'required': True}, - 'subnet_id': {'required': True}, - 'tier': {'required': True}, - } - - _attribute_map = { - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, - 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, - 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, - 'additional_capabilities': {'key': 'properties.additionalCapabilities', 'type': '[str]'}, - 'tier': {'key': 'properties.tier', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(DiskPoolCreate, self).__init__(**kwargs) - self.tags = kwargs.get('tags', None) - self.location = kwargs['location'] - self.id = None - self.name = None - self.type = None - self.availability_zones = kwargs['availability_zones'] - self.disks = kwargs.get('disks', None) - self.subnet_id = kwargs['subnet_id'] - self.additional_capabilities = kwargs.get('additional_capabilities', None) - self.tier = kwargs['tier'] + self.subnet_id = kwargs.get('subnet_id', None) class DiskPoolListResult(msrest.serialization.Model): @@ -356,7 +275,7 @@ class DiskPoolListResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param value: Required. An array of Disk pool objects. + :param value: Required. An array of Disk Pool objects. :type value: list[~storage_pool_management.models.DiskPool] :ivar next_link: URI to fetch the next section of the paginated response. :vartype next_link: str @@ -381,29 +300,6 @@ def __init__( self.next_link = None -class DiskPoolUpdate(msrest.serialization.Model): - """Request payload for Update Disk pool request. - - :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. Can attach 8 disks at most. - :type disks: list[~storage_pool_management.models.Disk] - """ - - _attribute_map = { - 'tags': {'key': 'tags', 'type': '{str}'}, - 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, - } - - def __init__( - self, - **kwargs - ): - super(DiskPoolUpdate, self).__init__(**kwargs) - self.tags = kwargs.get('tags', None) - self.disks = kwargs.get('disks', None) - - class Error(msrest.serialization.Model): """The resource management error response. @@ -499,13 +395,14 @@ def __init__( class IscsiLun(msrest.serialization.Model): - """LUN to expose the Azure Managed Disk. + """Lun to expose the ManagedDisk. All required parameters must be populated in order to send to Azure. - :param name: Required. User defined name for iSCSI LUN; example: "lun0". + :param name: Required. Lun name. :type name: str - :param managed_disk_azure_resource_id: Required. Azure Resource ID of the Managed Disk. + :param managed_disk_azure_resource_id: Required. Unique Azure resource id of the managed disk. + Required. :type managed_disk_azure_resource_id: str """ @@ -529,12 +426,10 @@ def __init__( class IscsiTarget(Resource): - """Response for iSCSI target requests. + """Payload for iSCSI Target Create or Update requests. Variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to Azure. - :ivar id: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str @@ -543,18 +438,16 @@ class IscsiTarget(Resource): :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. :vartype type: str - :ivar provisioning_state: Required. State of the operation on the resource. Possible values - include: "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", - "Deleting". + :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: + "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :param status: Required. Operational status of the iSCSI target. Possible values include: - "Invalid", "Unknown", "Healthy", "Unhealthy", "Updating", "Running", "Stopped", "Stopped - (deallocated)". - :type status: str or ~storage_pool_management.models.OperationalStatus - :param tpgs: Required. List of iSCSI target portal groups. Can have 1 portal group at most. + :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", + "Unknown", "Healthy", "Unhealthy". + :vartype status: str or ~storage_pool_management.models.OperationalStatus + :param tpgs: list of iSCSI target portal groups. :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] - :param target_iqn: Required. iSCSI target IQN (iSCSI Qualified Name); example: - "iqn.2005-03.org.iscsi:server". + :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: + iqn.2005-03.org.iscsi:server. :type target_iqn: str """ @@ -562,10 +455,8 @@ class IscsiTarget(Resource): 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'provisioning_state': {'required': True, 'readonly': True}, - 'status': {'required': True}, - 'tpgs': {'required': True}, - 'target_iqn': {'required': True}, + 'provisioning_state': {'readonly': True}, + 'status': {'readonly': True}, } _attribute_map = { @@ -584,54 +475,8 @@ def __init__( ): super(IscsiTarget, self).__init__(**kwargs) self.provisioning_state = None - self.status = kwargs['status'] - self.tpgs = kwargs['tpgs'] - self.target_iqn = kwargs['target_iqn'] - - -class IscsiTargetCreate(Resource): - """Payload for iSCSI target create or update requests. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - :param tpgs: Required. List of iSCSI target portal groups. Can have 1 portal group at most. - :type tpgs: list[~storage_pool_management.models.TargetPortalGroupCreate] - :param target_iqn: iSCSI target IQN (iSCSI Qualified Name); example: - "iqn.2005-03.org.iscsi:server". - :type target_iqn: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'tpgs': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroupCreate]'}, - 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(IscsiTargetCreate, self).__init__(**kwargs) - self.tpgs = kwargs['tpgs'] + self.status = None + self.tpgs = kwargs.get('tpgs', None) self.target_iqn = kwargs.get('target_iqn', None) @@ -642,7 +487,7 @@ class IscsiTargetList(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param value: Required. An array of iSCSI targets in a Disk pool. + :param value: Required. An array of iSCSI targets within a Disk Pool. :type value: list[~storage_pool_management.models.IscsiTarget] :ivar next_link: URI to fetch the next section of the paginated response. :vartype next_link: str @@ -667,31 +512,6 @@ def __init__( self.next_link = None -class IscsiTargetUpdate(msrest.serialization.Model): - """Payload for iSCSI target update request. - - All required parameters must be populated in order to send to Azure. - - :param tpgs: Required. List of iSCSI target portal groups. Can have 1 portal group at most. - :type tpgs: list[~storage_pool_management.models.TargetPortalGroupUpdate] - """ - - _validation = { - 'tpgs': {'required': True}, - } - - _attribute_map = { - 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroupUpdate]'}, - } - - def __init__( - self, - **kwargs - ): - super(IscsiTargetUpdate, self).__init__(**kwargs) - self.tpgs = kwargs['tpgs'] - - class ProxyResource(Resource): """The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. @@ -726,6 +546,52 @@ def __init__( super(ProxyResource, self).__init__(**kwargs) +class Sku(msrest.serialization.Model): + """The resource model definition representing SKU. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code. + :type name: str + :param tier: This field is required to be implemented by the Resource Provider if the service + has more than one tier, but is not required on a PUT. Possible values include: "Free", "Basic", + "Standard", "Premium". + :type tier: str or ~storage_pool_management.models.SkuTier + :param size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :type size: str + :param family: If the service has different generations of hardware, for the same SKU, then + that can be captured here. + :type family: str + :param capacity: If the SKU supports scale out/in then the capacity integer should be included. + If scale out/in is not possible for the resource this may be omitted. + :type capacity: int + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'size': {'key': 'size', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'capacity': {'key': 'capacity', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(Sku, self).__init__(**kwargs) + self.name = kwargs['name'] + self.tier = kwargs.get('tier', None) + self.size = kwargs.get('size', None) + self.family = kwargs.get('family', None) + self.capacity = kwargs.get('capacity', None) + + class StoragePoolOperationDisplay(msrest.serialization.Model): """Metadata about an operation. @@ -884,31 +750,33 @@ def __init__( class TargetPortalGroup(msrest.serialization.Model): - """Response properties for iSCSI target portal group. + """iSCSI target portal group. + + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :param luns: Required. List of LUNs to be exposed through iSCSI target portal group. + :param luns: Required. Lun list to be exposed through the iSCSI target. Required. :type luns: list[~storage_pool_management.models.IscsiLun] - :param acls: Required. Access Control List (ACL) for an iSCSI target portal group. + :param acls: Required. Access Control List (ACL) for an iSCSI target lun. :type acls: list[~storage_pool_management.models.Acl] - :param attributes: Required. Attributes of an iSCSI target portal group. + :param attributes: Required. Attributes of an iSCSI target. :type attributes: ~storage_pool_management.models.Attributes - :param endpoints: Required. List of private IPv4 addresses to connect to the iSCSI target. - :type endpoints: list[str] - :param tag: Required. The tag associated with the iSCSI target portal group. - :type tag: int - :param port: Required. The port used by iSCSI target portal group. - :type port: int + :ivar endpoints: list of public ip addresses to connect to the iSCSI target. + :vartype endpoints: list[str] + :ivar tag: The tag associated with the iSCSI target portal group. + :vartype tag: int + :ivar port: The port at which the iSCSI target is available. + :vartype port: int """ _validation = { 'luns': {'required': True}, 'acls': {'required': True}, 'attributes': {'required': True}, - 'endpoints': {'required': True}, - 'tag': {'required': True}, - 'port': {'required': True}, + 'endpoints': {'readonly': True}, + 'tag': {'readonly': True}, + 'port': {'readonly': True}, } _attribute_map = { @@ -928,64 +796,6 @@ def __init__( self.luns = kwargs['luns'] self.acls = kwargs['acls'] self.attributes = kwargs['attributes'] - self.endpoints = kwargs['endpoints'] - self.tag = kwargs['tag'] - self.port = kwargs['port'] - - -class TargetPortalGroupCreate(msrest.serialization.Model): - """Target portal group properties for create or update iSCSI target request. - - All required parameters must be populated in order to send to Azure. - - :param luns: Required. List of LUNs to be exposed through the iSCSI target portal group. - :type luns: list[~storage_pool_management.models.IscsiLun] - :param acls: Required. Access Control List (ACL) for an iSCSI target portal group. - :type acls: list[~storage_pool_management.models.Acl] - :param attributes: Required. Attributes of an iSCSI target portal group. - :type attributes: ~storage_pool_management.models.Attributes - """ - - _validation = { - 'luns': {'required': True}, - 'acls': {'required': True}, - 'attributes': {'required': True}, - } - - _attribute_map = { - 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, - 'acls': {'key': 'acls', 'type': '[Acl]'}, - 'attributes': {'key': 'attributes', 'type': 'Attributes'}, - } - - def __init__( - self, - **kwargs - ): - super(TargetPortalGroupCreate, self).__init__(**kwargs) - self.luns = kwargs['luns'] - self.acls = kwargs['acls'] - self.attributes = kwargs['attributes'] - - -class TargetPortalGroupUpdate(msrest.serialization.Model): - """Target portal group properties for update iSCSI target request. - - :param luns: List of LUNs to be exposed through the iSCSI target portal group. - :type luns: list[~storage_pool_management.models.IscsiLun] - :param acls: Access Control List (ACL) for an iSCSI target portal group. - :type acls: list[~storage_pool_management.models.Acl] - """ - - _attribute_map = { - 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, - 'acls': {'key': 'acls', 'type': '[Acl]'}, - } - - def __init__( - self, - **kwargs - ): - super(TargetPortalGroupUpdate, self).__init__(**kwargs) - self.luns = kwargs.get('luns', None) - self.acls = kwargs.get('acls', None) + self.endpoints = None + self.tag = None + self.port = None 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 b24509c3c84..b875445df59 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 @@ -15,14 +15,14 @@ class Acl(msrest.serialization.Model): - """Access Control List (ACL) for an iSCSI target portal group. + """Access Control List (ACL) for an iSCSI target lun. All required parameters must be populated in order to send to Azure. - :param initiator_iqn: Required. iSCSI initiator IQN (iSCSI Qualified Name); example: - "iqn.2005-03.org.iscsi:client". + :param initiator_iqn: Required. iSCSI initiator iqn (iSCSI Qualified Name); example: + iqn.2005-03.org.iscsi:client. :type initiator_iqn: str - :param mapped_luns: Required. List of LUN names mapped to the ACL. + :param mapped_luns: Required. Array of lun names mapped to the ACL. :type mapped_luns: list[str] :param username: Username for Challenge Handshake Authentication Protocol (CHAP) authentication. @@ -35,8 +35,8 @@ class Acl(msrest.serialization.Model): _validation = { 'initiator_iqn': {'required': True}, 'mapped_luns': {'required': True}, - 'username': {'max_length': 511, 'min_length': 7}, - 'password': {'max_length': 255, 'min_length': 12, 'pattern': r'^[-\w_0-9A-Za-z]*$'}, + 'username': {'max_length': 128, 'min_length': 7}, + 'password': {'max_length': 512, 'min_length': 12}, } _attribute_map = { @@ -63,14 +63,14 @@ def __init__( class Attributes(msrest.serialization.Model): - """Attributes of a iSCSI target portal group. + """Attributes of an iSCSI target. All required parameters must be populated in order to send to Azure. :param authentication: Required. Indicates whether or not authentication is enabled on the ACL. :type authentication: bool :param prod_mode_write_protect: Required. Indicates whether or not write protect is enabled on - the LUNs. + the luns. :type prod_mode_write_protect: bool """ @@ -97,11 +97,11 @@ def __init__( class Disk(msrest.serialization.Model): - """Azure Managed Disk to attach to the Disk pool. + """Managed disk to attach to the DiskPool. Required. All required parameters must be populated in order to send to Azure. - :param id: Required. Unique Azure Resource ID of the Managed Disk. + :param id: Required. Unique Azure resource id of the managed disk. Required. :type id: str """ @@ -209,7 +209,7 @@ def __init__( class DiskPool(TrackedResource): - """Response for Disk pool request. + """Request payload for Create or Update Disk Pool requests. Variables are only populated by the server, and will be ignored when sending a request. @@ -227,27 +227,22 @@ class DiskPool(TrackedResource): :type tags: dict[str, str] :param location: Required. The geo-location where the resource lives. :type location: str + :param sku: Sku description. + :type sku: ~storage_pool_management.models.Sku :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 - include: "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", - "Deleting". + :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: + "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :param availability_zones: Required. Logical zone for Disk pool resource; example: ["1"]. + :param availability_zones: Required. Logical zone for DiskPool resource. :type availability_zones: list[str] - :param status: Required. Operational status of the Disk pool. Possible values include: - "Invalid", "Unknown", "Healthy", "Unhealthy", "Updating", "Running", "Stopped", "Stopped - (deallocated)". - :type status: str or ~storage_pool_management.models.OperationalStatus - :param disks: List of Azure Managed Disks to attach to a Disk pool. Can attach 8 disks at most. + :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", + "Unknown", "Healthy", "Unhealthy". + :vartype status: str or ~storage_pool_management.models.OperationalStatus + :param disks: List of Azure managed disks to attach to a DiskPool. :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Required. Azure Resource ID of a Subnet for the Disk pool. + :param subnet_id: Azure resource id of the subnet for the DiskPool. :type subnet_id: str - :param additional_capabilities: List of additional capabilities for Disk pool. - :type additional_capabilities: list[str] - :param tier: Required. Determines the SKU of VM deployed for Disk pool. Possible values - include: "Basic", "Standard", "Premium". - :type tier: str or ~storage_pool_management.models.DiskPoolTier """ _validation = { @@ -256,11 +251,9 @@ class DiskPool(TrackedResource): 'type': {'readonly': True}, 'location': {'required': True}, 'system_data': {'readonly': True}, - 'provisioning_state': {'required': True, 'readonly': True}, + 'provisioning_state': {'readonly': True}, 'availability_zones': {'required': True}, - 'status': {'required': True}, - 'subnet_id': {'required': True}, - 'tier': {'required': True}, + 'status': {'readonly': True}, } _attribute_map = { @@ -269,14 +262,13 @@ class DiskPool(TrackedResource): 'type': {'key': 'type', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'location': {'key': 'location', 'type': 'str'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, 'status': {'key': 'properties.status', 'type': 'str'}, 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, - 'additional_capabilities': {'key': 'properties.additionalCapabilities', 'type': '[str]'}, - 'tier': {'key': 'properties.tier', 'type': 'str'}, } def __init__( @@ -284,103 +276,20 @@ def __init__( *, location: str, availability_zones: List[str], - status: Union[str, "OperationalStatus"], - subnet_id: str, - tier: Union[str, "DiskPoolTier"], tags: Optional[Dict[str, str]] = None, + sku: Optional["Sku"] = None, disks: Optional[List["Disk"]] = None, - additional_capabilities: Optional[List[str]] = None, + subnet_id: Optional[str] = None, **kwargs ): super(DiskPool, self).__init__(tags=tags, location=location, **kwargs) + self.sku = sku self.system_data = None self.provisioning_state = None self.availability_zones = availability_zones - self.status = status + self.status = None self.disks = disks self.subnet_id = subnet_id - self.additional_capabilities = additional_capabilities - self.tier = tier - - -class DiskPoolCreate(msrest.serialization.Model): - """Request payload for create or update Disk pool request. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - :param availability_zones: Required. 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. Can attach 8 disks at most. - :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Required. Azure Resource ID of a Subnet for the Disk pool. - :type subnet_id: str - :param additional_capabilities: List of additional capabilities for a Disk pool. - :type additional_capabilities: list[str] - :param tier: Required. Determines the SKU of VM deployed for Disk pool. Possible values - include: "Basic", "Standard", "Premium". - :type tier: str or ~storage_pool_management.models.DiskPoolTier - """ - - _validation = { - 'location': {'required': True}, - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'availability_zones': {'required': True}, - 'subnet_id': {'required': True}, - 'tier': {'required': True}, - } - - _attribute_map = { - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, - 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, - 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, - 'additional_capabilities': {'key': 'properties.additionalCapabilities', 'type': '[str]'}, - 'tier': {'key': 'properties.tier', 'type': 'str'}, - } - - def __init__( - self, - *, - location: str, - availability_zones: List[str], - subnet_id: str, - tier: Union[str, "DiskPoolTier"], - tags: Optional[Dict[str, str]] = None, - disks: Optional[List["Disk"]] = None, - additional_capabilities: Optional[List[str]] = None, - **kwargs - ): - super(DiskPoolCreate, self).__init__(**kwargs) - self.tags = tags - self.location = location - self.id = None - self.name = None - self.type = None - self.availability_zones = availability_zones - self.disks = disks - self.subnet_id = subnet_id - self.additional_capabilities = additional_capabilities - self.tier = tier class DiskPoolListResult(msrest.serialization.Model): @@ -390,7 +299,7 @@ class DiskPoolListResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param value: Required. An array of Disk pool objects. + :param value: Required. An array of Disk Pool objects. :type value: list[~storage_pool_management.models.DiskPool] :ivar next_link: URI to fetch the next section of the paginated response. :vartype next_link: str @@ -417,32 +326,6 @@ def __init__( self.next_link = None -class DiskPoolUpdate(msrest.serialization.Model): - """Request payload for Update Disk pool request. - - :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. Can attach 8 disks at most. - :type disks: list[~storage_pool_management.models.Disk] - """ - - _attribute_map = { - 'tags': {'key': 'tags', 'type': '{str}'}, - 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, - } - - def __init__( - self, - *, - tags: Optional[Dict[str, str]] = None, - disks: Optional[List["Disk"]] = None, - **kwargs - ): - super(DiskPoolUpdate, self).__init__(**kwargs) - self.tags = tags - self.disks = disks - - class Error(msrest.serialization.Model): """The resource management error response. @@ -540,13 +423,14 @@ def __init__( class IscsiLun(msrest.serialization.Model): - """LUN to expose the Azure Managed Disk. + """Lun to expose the ManagedDisk. All required parameters must be populated in order to send to Azure. - :param name: Required. User defined name for iSCSI LUN; example: "lun0". + :param name: Required. Lun name. :type name: str - :param managed_disk_azure_resource_id: Required. Azure Resource ID of the Managed Disk. + :param managed_disk_azure_resource_id: Required. Unique Azure resource id of the managed disk. + Required. :type managed_disk_azure_resource_id: str """ @@ -573,12 +457,10 @@ def __init__( class IscsiTarget(Resource): - """Response for iSCSI target requests. + """Payload for iSCSI Target Create or Update requests. Variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to Azure. - :ivar id: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str @@ -587,18 +469,16 @@ class IscsiTarget(Resource): :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. :vartype type: str - :ivar provisioning_state: Required. State of the operation on the resource. Possible values - include: "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", - "Deleting". + :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: + "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :param status: Required. Operational status of the iSCSI target. Possible values include: - "Invalid", "Unknown", "Healthy", "Unhealthy", "Updating", "Running", "Stopped", "Stopped - (deallocated)". - :type status: str or ~storage_pool_management.models.OperationalStatus - :param tpgs: Required. List of iSCSI target portal groups. Can have 1 portal group at most. + :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", + "Unknown", "Healthy", "Unhealthy". + :vartype status: str or ~storage_pool_management.models.OperationalStatus + :param tpgs: list of iSCSI target portal groups. :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] - :param target_iqn: Required. iSCSI target IQN (iSCSI Qualified Name); example: - "iqn.2005-03.org.iscsi:server". + :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: + iqn.2005-03.org.iscsi:server. :type target_iqn: str """ @@ -606,10 +486,8 @@ class IscsiTarget(Resource): 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'provisioning_state': {'required': True, 'readonly': True}, - 'status': {'required': True}, - 'tpgs': {'required': True}, - 'target_iqn': {'required': True}, + 'provisioning_state': {'readonly': True}, + 'status': {'readonly': True}, } _attribute_map = { @@ -625,63 +503,13 @@ class IscsiTarget(Resource): def __init__( self, *, - status: Union[str, "OperationalStatus"], - tpgs: List["TargetPortalGroup"], - target_iqn: str, + tpgs: Optional[List["TargetPortalGroup"]] = None, + target_iqn: Optional[str] = None, **kwargs ): super(IscsiTarget, self).__init__(**kwargs) self.provisioning_state = None - self.status = status - self.tpgs = tpgs - self.target_iqn = target_iqn - - -class IscsiTargetCreate(Resource): - """Payload for iSCSI target create or update requests. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or - Microsoft.Storage/storageAccounts. - :vartype type: str - :param tpgs: Required. List of iSCSI target portal groups. Can have 1 portal group at most. - :type tpgs: list[~storage_pool_management.models.TargetPortalGroupCreate] - :param target_iqn: iSCSI target IQN (iSCSI Qualified Name); example: - "iqn.2005-03.org.iscsi:server". - :type target_iqn: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'tpgs': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroupCreate]'}, - 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, - } - - def __init__( - self, - *, - tpgs: List["TargetPortalGroupCreate"], - target_iqn: Optional[str] = None, - **kwargs - ): - super(IscsiTargetCreate, self).__init__(**kwargs) + self.status = None self.tpgs = tpgs self.target_iqn = target_iqn @@ -693,7 +521,7 @@ class IscsiTargetList(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param value: Required. An array of iSCSI targets in a Disk pool. + :param value: Required. An array of iSCSI targets within a Disk Pool. :type value: list[~storage_pool_management.models.IscsiTarget] :ivar next_link: URI to fetch the next section of the paginated response. :vartype next_link: str @@ -720,33 +548,6 @@ def __init__( self.next_link = None -class IscsiTargetUpdate(msrest.serialization.Model): - """Payload for iSCSI target update request. - - All required parameters must be populated in order to send to Azure. - - :param tpgs: Required. List of iSCSI target portal groups. Can have 1 portal group at most. - :type tpgs: list[~storage_pool_management.models.TargetPortalGroupUpdate] - """ - - _validation = { - 'tpgs': {'required': True}, - } - - _attribute_map = { - 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroupUpdate]'}, - } - - def __init__( - self, - *, - tpgs: List["TargetPortalGroupUpdate"], - **kwargs - ): - super(IscsiTargetUpdate, self).__init__(**kwargs) - self.tpgs = tpgs - - class ProxyResource(Resource): """The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. @@ -781,6 +582,58 @@ def __init__( super(ProxyResource, self).__init__(**kwargs) +class Sku(msrest.serialization.Model): + """The resource model definition representing SKU. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code. + :type name: str + :param tier: This field is required to be implemented by the Resource Provider if the service + has more than one tier, but is not required on a PUT. Possible values include: "Free", "Basic", + "Standard", "Premium". + :type tier: str or ~storage_pool_management.models.SkuTier + :param size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :type size: str + :param family: If the service has different generations of hardware, for the same SKU, then + that can be captured here. + :type family: str + :param capacity: If the SKU supports scale out/in then the capacity integer should be included. + If scale out/in is not possible for the resource this may be omitted. + :type capacity: int + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'size': {'key': 'size', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + 'capacity': {'key': 'capacity', 'type': 'int'}, + } + + def __init__( + self, + *, + name: str, + tier: Optional[Union[str, "SkuTier"]] = None, + size: Optional[str] = None, + family: Optional[str] = None, + capacity: Optional[int] = None, + **kwargs + ): + super(Sku, self).__init__(**kwargs) + self.name = name + self.tier = tier + self.size = size + self.family = family + self.capacity = capacity + + class StoragePoolOperationDisplay(msrest.serialization.Model): """Metadata about an operation. @@ -960,31 +813,33 @@ def __init__( class TargetPortalGroup(msrest.serialization.Model): - """Response properties for iSCSI target portal group. + """iSCSI target portal group. + + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :param luns: Required. List of LUNs to be exposed through iSCSI target portal group. + :param luns: Required. Lun list to be exposed through the iSCSI target. Required. :type luns: list[~storage_pool_management.models.IscsiLun] - :param acls: Required. Access Control List (ACL) for an iSCSI target portal group. + :param acls: Required. Access Control List (ACL) for an iSCSI target lun. :type acls: list[~storage_pool_management.models.Acl] - :param attributes: Required. Attributes of an iSCSI target portal group. + :param attributes: Required. Attributes of an iSCSI target. :type attributes: ~storage_pool_management.models.Attributes - :param endpoints: Required. List of private IPv4 addresses to connect to the iSCSI target. - :type endpoints: list[str] - :param tag: Required. The tag associated with the iSCSI target portal group. - :type tag: int - :param port: Required. The port used by iSCSI target portal group. - :type port: int + :ivar endpoints: list of public ip addresses to connect to the iSCSI target. + :vartype endpoints: list[str] + :ivar tag: The tag associated with the iSCSI target portal group. + :vartype tag: int + :ivar port: The port at which the iSCSI target is available. + :vartype port: int """ _validation = { 'luns': {'required': True}, 'acls': {'required': True}, 'attributes': {'required': True}, - 'endpoints': {'required': True}, - 'tag': {'required': True}, - 'port': {'required': True}, + 'endpoints': {'readonly': True}, + 'tag': {'readonly': True}, + 'port': {'readonly': True}, } _attribute_map = { @@ -1002,80 +857,12 @@ def __init__( luns: List["IscsiLun"], acls: List["Acl"], attributes: "Attributes", - endpoints: List[str], - tag: int, - port: int, **kwargs ): super(TargetPortalGroup, self).__init__(**kwargs) self.luns = luns self.acls = acls self.attributes = attributes - self.endpoints = endpoints - self.tag = tag - self.port = port - - -class TargetPortalGroupCreate(msrest.serialization.Model): - """Target portal group properties for create or update iSCSI target request. - - All required parameters must be populated in order to send to Azure. - - :param luns: Required. List of LUNs to be exposed through the iSCSI target portal group. - :type luns: list[~storage_pool_management.models.IscsiLun] - :param acls: Required. Access Control List (ACL) for an iSCSI target portal group. - :type acls: list[~storage_pool_management.models.Acl] - :param attributes: Required. Attributes of an iSCSI target portal group. - :type attributes: ~storage_pool_management.models.Attributes - """ - - _validation = { - 'luns': {'required': True}, - 'acls': {'required': True}, - 'attributes': {'required': True}, - } - - _attribute_map = { - 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, - 'acls': {'key': 'acls', 'type': '[Acl]'}, - 'attributes': {'key': 'attributes', 'type': 'Attributes'}, - } - - def __init__( - self, - *, - luns: List["IscsiLun"], - acls: List["Acl"], - attributes: "Attributes", - **kwargs - ): - super(TargetPortalGroupCreate, self).__init__(**kwargs) - self.luns = luns - self.acls = acls - self.attributes = attributes - - -class TargetPortalGroupUpdate(msrest.serialization.Model): - """Target portal group properties for update iSCSI target request. - - :param luns: List of LUNs to be exposed through the iSCSI target portal group. - :type luns: list[~storage_pool_management.models.IscsiLun] - :param acls: Access Control List (ACL) for an iSCSI target portal group. - :type acls: list[~storage_pool_management.models.Acl] - """ - - _attribute_map = { - 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, - 'acls': {'key': 'acls', 'type': '[Acl]'}, - } - - def __init__( - self, - *, - luns: Optional[List["IscsiLun"]] = None, - acls: Optional[List["Acl"]] = None, - **kwargs - ): - super(TargetPortalGroupUpdate, self).__init__(**kwargs) - self.luns = luns - self.acls = acls + self.endpoints = None + self.tag = None + self.port = None 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 1611e61b6a8..deae4a6f128 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 @@ -26,29 +26,17 @@ def __getattr__(cls, name): raise AttributeError(name) -class DiskPoolTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """SKU of the VM host part of the Disk pool deployment - """ - - BASIC = "Basic" - STANDARD = "Standard" - PREMIUM = "Premium" - class OperationalStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Operational status of the resource. + """Operational status of the Disk pool """ INVALID = "Invalid" UNKNOWN = "Unknown" HEALTHY = "Healthy" UNHEALTHY = "Unhealthy" - UPDATING = "Updating" - RUNNING = "Running" - STOPPED = "Stopped" - STOPPED_DEALLOCATED__ = "Stopped (deallocated)" class ProvisioningStates(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Provisioning state of the iSCSI target. + """State of provisioning of the iSCSI target """ INVALID = "Invalid" @@ -59,3 +47,13 @@ class ProvisioningStates(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): CREATING = "Creating" UPDATING = "Updating" DELETING = "Deleting" + +class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """This field is required to be implemented by the Resource Provider if the service has more than + one tier, but is not required on a PUT. + """ + + FREE = "Free" + BASIC = "Basic" + STANDARD = "Standard" + PREMIUM = "Premium" 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 2b6ca3164d8..2e4c1229772 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 @@ -121,7 +121,7 @@ def list_by_resource_group( **kwargs # type: Any ): # type: (...) -> Iterable["models.DiskPoolListResult"] - """Gets a list of DiskPools in a resource group. + """Gets a list of DiskPools. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -191,7 +191,7 @@ def _create_or_update_initial( self, resource_group_name, # type: str disk_pool_name, # type: str - disk_pool_create_payload, # type: "models.DiskPoolCreate" + disk_pool_payload, # type: "models.DiskPool" **kwargs # type: Any ): # type: (...) -> "models.DiskPool" @@ -223,13 +223,13 @@ def _create_or_update_initial( header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_create_payload, 'DiskPoolCreate') + body_content = self._serialize.body(disk_pool_payload, 'DiskPool') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response - if response.status_code not in [200, 201]: + 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) @@ -237,7 +237,7 @@ def _create_or_update_initial( if response.status_code == 200: deserialized = self._deserialize('DiskPool', pipeline_response) - if response.status_code == 201: + if response.status_code == 202: deserialized = self._deserialize('DiskPool', pipeline_response) if cls: @@ -250,18 +250,18 @@ def begin_create_or_update( self, resource_group_name, # type: str disk_pool_name, # type: str - disk_pool_create_payload, # type: "models.DiskPoolCreate" + disk_pool_payload, # type: "models.DiskPool" **kwargs # type: Any ): # type: (...) -> LROPoller["models.DiskPool"] - """Create or Update Disk pool. + """Create a new Disk Pool. :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. + :param disk_pool_name: The name of the Disk Pool. :type disk_pool_name: str - :param disk_pool_create_payload: Request payload for Disk pool create operation. - :type disk_pool_create_payload: ~storage_pool_management.models.DiskPoolCreate + :param disk_pool_payload: Request payload for Disk Pool operations. + :type disk_pool_payload: ~storage_pool_management.models.DiskPool :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 @@ -283,7 +283,7 @@ def begin_create_or_update( raw_result = self._create_or_update_initial( resource_group_name=resource_group_name, disk_pool_name=disk_pool_name, - disk_pool_create_payload=disk_pool_create_payload, + disk_pool_payload=disk_pool_payload, cls=lambda x,y,z: x, **kwargs ) @@ -318,14 +318,27 @@ def get_long_running_output(pipeline_response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - def _update_initial( + def update( self, resource_group_name, # type: str disk_pool_name, # type: str - disk_pool_update_payload, # type: "models.DiskPoolUpdate" + disk_pool_payload, # type: "models.DiskPool" **kwargs # type: Any ): # type: (...) -> "models.DiskPool" + """Update a Storage Pool. + + :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 + :param disk_pool_payload: Request payload for Disk Pool operations. + :type disk_pool_payload: ~storage_pool_management.models.DiskPool + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DiskPool, or the result of cls(response) + :rtype: ~storage_pool_management.models.DiskPool + :raises: ~azure.core.exceptions.HttpResponseError + """ cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError @@ -336,7 +349,7 @@ def _update_initial( accept = "application/json" # Construct URL - url = self._update_initial.metadata['url'] # type: ignore + url = self.update.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]$'), @@ -354,100 +367,24 @@ def _update_initial( header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_update_payload, 'DiskPoolUpdate') + body_content = self._serialize.body(disk_pool_payload, 'DiskPool') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response - if response.status_code not in [200, 202]: + if response.status_code not in [200]: 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 response.status_code == 200: - deserialized = self._deserialize('DiskPool', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('DiskPool', pipeline_response) + deserialized = self._deserialize('DiskPool', pipeline_response) if cls: return cls(pipeline_response, deserialized, {}) return deserialized - _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - - def begin_update( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - disk_pool_update_payload, # type: "models.DiskPoolUpdate" - **kwargs # type: Any - ): - # type: (...) -> LROPoller["models.DiskPool"] - """Update a Disk pool. - - :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 - :param disk_pool_update_payload: Request payload for Disk pool update operation. - :type disk_pool_update_payload: ~storage_pool_management.models.DiskPoolUpdate - :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 DiskPool or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.DiskPool] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] - 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._update_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - disk_pool_update_payload=disk_pool_update_payload, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('DiskPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, 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_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore def _delete_initial( self, @@ -502,11 +439,11 @@ def begin_delete( **kwargs # type: Any ): # type: (...) -> LROPoller[None] - """Delete a Disk pool. + """Delete a Disk Pool. :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. + :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. @@ -567,11 +504,11 @@ def get( **kwargs # type: Any ): # type: (...) -> "models.DiskPool" - """Get a Disk pool. + """Get a Disk Pool. :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. + :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 :return: DiskPool, or the result of cls(response) 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 f3dc97321ab..c043566ef13 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 @@ -54,11 +54,11 @@ def list_by_disk_pool( **kwargs # type: Any ): # type: (...) -> Iterable["models.IscsiTargetList"] - """Get iSCSI Targets in a Disk pool. + """Get iSCSI Targets within a Disk Pool. :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. + :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 :return: An iterator like instance of either IscsiTargetList or the result of cls(response) @@ -128,7 +128,7 @@ def _create_or_update_initial( resource_group_name, # type: str disk_pool_name, # type: str iscsi_target_name, # type: str - iscsi_target_create_payload, # type: "models.IscsiTargetCreate" + iscsi_target_payload, # type: "models.IscsiTarget" **kwargs # type: Any ): # type: (...) -> "models.IscsiTarget" @@ -161,13 +161,13 @@ def _create_or_update_initial( header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(iscsi_target_create_payload, 'IscsiTargetCreate') + body_content = self._serialize.body(iscsi_target_payload, 'IscsiTarget') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response - if response.status_code not in [200, 201]: + 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) @@ -175,7 +175,7 @@ def _create_or_update_initial( if response.status_code == 200: deserialized = self._deserialize('IscsiTarget', pipeline_response) - if response.status_code == 201: + if response.status_code == 202: deserialized = self._deserialize('IscsiTarget', pipeline_response) if cls: @@ -189,7 +189,7 @@ def begin_create_or_update( resource_group_name, # type: str disk_pool_name, # type: str iscsi_target_name, # type: str - iscsi_target_create_payload, # type: "models.IscsiTargetCreate" + iscsi_target_payload, # type: "models.IscsiTarget" **kwargs # type: Any ): # type: (...) -> LROPoller["models.IscsiTarget"] @@ -197,12 +197,12 @@ def begin_create_or_update( :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. + :param disk_pool_name: The name of the Disk Pool. :type disk_pool_name: str :param iscsi_target_name: The name of the iSCSI target. :type iscsi_target_name: str - :param iscsi_target_create_payload: Request payload for iSCSI target create operation. - :type iscsi_target_create_payload: ~storage_pool_management.models.IscsiTargetCreate + :param iscsi_target_payload: Request payload for iSCSI target operations. + :type iscsi_target_payload: ~storage_pool_management.models.IscsiTarget :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 @@ -225,7 +225,7 @@ def begin_create_or_update( resource_group_name=resource_group_name, disk_pool_name=disk_pool_name, iscsi_target_name=iscsi_target_name, - iscsi_target_create_payload=iscsi_target_create_payload, + iscsi_target_payload=iscsi_target_payload, cls=lambda x,y,z: x, **kwargs ) @@ -261,144 +261,6 @@ def get_long_running_output(pipeline_response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - def _update_initial( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - iscsi_target_name, # type: str - iscsi_target_update_payload, # type: "models.IscsiTargetUpdate" - **kwargs # type: Any - ): - # type: (...) -> "models.IscsiTarget" - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(iscsi_target_update_payload, 'IscsiTargetUpdate') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - 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 response.status_code == 200: - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - - def begin_update( - self, - resource_group_name, # type: str - disk_pool_name, # type: str - iscsi_target_name, # type: str - iscsi_target_update_payload, # type: "models.IscsiTargetUpdate" - **kwargs # type: Any - ): - # type: (...) -> LROPoller["models.IscsiTarget"] - """Update an iSCSI target. - - :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 - :param iscsi_target_name: The name of the iSCSI target. - :type iscsi_target_name: str - :param iscsi_target_update_payload: Request payload for iSCSI target operations. - :type iscsi_target_update_payload: ~storage_pool_management.models.IscsiTargetUpdate - :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 IscsiTarget or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.IscsiTarget] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] - 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._update_initial( - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - iscsi_target_name=iscsi_target_name, - iscsi_target_update_payload=iscsi_target_update_payload, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('IscsiTarget', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), - 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, 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_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore - def _delete_initial( self, resource_group_name, # type: str @@ -455,11 +317,11 @@ def begin_delete( **kwargs # type: Any ): # type: (...) -> LROPoller[None] - """Delete an iSCSI target. + """Deletes an iSCSI Target. :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. + :param disk_pool_name: The name of the Disk Pool. :type disk_pool_name: str :param iscsi_target_name: The name of the iSCSI target. :type iscsi_target_name: str @@ -525,11 +387,11 @@ def get( **kwargs # type: Any ): # type: (...) -> "models.IscsiTarget" - """Get an iSCSI target. + """Gets an iSCSI Target. :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. + :param disk_pool_name: The name of the Disk Pool. :type disk_pool_name: str :param iscsi_target_name: The name of the iSCSI target. :type iscsi_target_name: str diff --git a/src/diskpool/gen.zip b/src/diskpool/gen.zip index 7f837cf62cf4331407fb30926e2047624e21598a..fd1d0383306c7016d21c8c711df3303be3863ac8 100644 GIT binary patch delta 545 zcmcZ-{>on>z?+$civa}o%7q7M9ZFMX5@29p64)rAz_K}qLe2ZNNP3$rXe?E`oDKl{-D!618XDb9uE)q2xd-J;gXnKui-oSg|t1;NGYbt0kUmeiFpc{!Op>+3L%s2 zH8h}J+X}Q=bMgVXMkW=N$&qT)H{X)?W`tUCmJ_6y# z@FAo(+iN5-@`e_qB$lKiyd^pLxaKovUals z71}ZmAa&0Bmn~)jN`Wv3ObM9Ysm8#Nn_7~nS5i?D;LXYg5@ZI#&p`SiP>z8C02Z8{ AY5)KL delta 772 zcmaFmeC%@wSGg*K`fVU(wwMa=vLCGnxI5T;&BfA_(bn<_0?#ViA>XYNyEr?dhGx;IM zaS~L|;NhLTfSGMFE4RjE7ak9&y{14rc_xG8E_3T(5l>?-El8OhC@VUdn@tRhJn!az zJc-PFppck8Yh|Ce1OtP&#O7Q9S0*->%;Ic?g30?OB`04Ns@q&6CB?)A^gYb)jWXtw z1r#|a$4kjh&KJ{}%qg}DNz3NPVz-$XLAv)&j+L&T>><5!@-9*T$rDt?CRZ!+PG*-C z<;e_o4)#C%s zT%h94$m^1tlL~YdQgGi@eZ~xok;%u@)WI=>NTZW~tA#3{Miv8u4mdHx2tJ|7g#vn$ Z=c)66%~-20&9qo+@+oyGw$oZ5H2?)K??V6p diff --git a/src/diskpool/report.md b/src/diskpool/report.md index db9be1ad803..2114fc50fb6 100644 --- a/src/diskpool/report.md +++ b/src/diskpool/report.md @@ -29,7 +29,7 @@ |[az disk-pool iscsi-target list](#IscsiTargetsListByDiskPool)|ListByDiskPool|[Parameters](#ParametersIscsiTargetsListByDiskPool)|[Example](#ExamplesIscsiTargetsListByDiskPool)| |[az disk-pool iscsi-target show](#IscsiTargetsGet)|Get|[Parameters](#ParametersIscsiTargetsGet)|[Example](#ExamplesIscsiTargetsGet)| |[az disk-pool iscsi-target create](#IscsiTargetsCreateOrUpdate#Create)|CreateOrUpdate#Create|[Parameters](#ParametersIscsiTargetsCreateOrUpdate#Create)|[Example](#ExamplesIscsiTargetsCreateOrUpdate#Create)| -|[az disk-pool iscsi-target update](#IscsiTargetsUpdate)|Update|[Parameters](#ParametersIscsiTargetsUpdate)|[Example](#ExamplesIscsiTargetsUpdate)| +|[az disk-pool iscsi-target update](#IscsiTargetsCreateOrUpdate#Update)|CreateOrUpdate#Update|[Parameters](#ParametersIscsiTargetsCreateOrUpdate#Update)|Not Found| |[az disk-pool iscsi-target delete](#IscsiTargetsDelete)|Delete|[Parameters](#ParametersIscsiTargetsDelete)|[Example](#ExamplesIscsiTargetsDelete)| @@ -66,48 +66,53 @@ az disk-pool show --name "myDiskPool" --resource-group "myResourceGroup" |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| +|**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| #### Command `az disk-pool create` ##### Example ``` -az disk-pool create --location "westus" --availability-zones "1" --disks "/subscriptions/11111111-1111-1111-1111-111111\ -111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0" --disks \ +az disk-pool create --name "myDiskPool" --location "westus" --availability-zones "1" --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" --tier "Basic" --tags key="value" --name "myDiskPool" \ ---resource-group "myResourceGroup" +m-name_DataDisk_0" --disks "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/provider\ +s/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resource\ +Groups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --sku name="Standard_ABC" \ +--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| -|**--location**|string|The geo-location where the resource lives.|location|location| -|**--availability-zones**|array|Logical zone for Disk pool resource; example: ["1"].|availability_zones|availabilityZones| -|**--subnet-id**|string|Azure Resource ID of a Subnet for the Disk pool.|subnet_id|subnetId| -|**--tier**|choice|Determines the SKU of VM deployed for Disk pool|tier|tier| +|**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| +|**--location**|string|The geo-location where the resource lives|location|location| +|**--availability-zones**|array|Logical zone for DiskPool resource.|availability_zones|availabilityZones| |**--tags**|dictionary|Resource tags.|tags|tags| -|**--disks**|array|List of Azure Managed Disks to attach to a Disk pool. Can attach 8 disks at most.|disks|disks| -|**--additional-capabilities**|array|List of additional capabilities for a Disk pool.|additional_capabilities|additionalCapabilities| +|**--sku**|object|Sku description.|sku|sku| +|**--disks**|array|List of Azure managed disks to attach to a DiskPool|disks|disks| +|**--subnet-id**|string|Azure resource id of the subnet for the DiskPool|subnet_id|subnetId| #### Command `az disk-pool update` ##### Example ``` -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" \ +az disk-pool update --name "myDiskPool" --location "westus" --availability-zones "1" --disks \ +"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/v\ +m-name_DataDisk_0" --disks "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/provider\ +s/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resource\ +Groups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --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| +|**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| +|**--location**|string|The geo-location where the resource lives|location|location| +|**--availability-zones**|array|Logical zone for DiskPool resource.|availability_zones|availabilityZones| |**--tags**|dictionary|Resource tags.|tags|tags| -|**--disks**|array|List of Azure Managed Disks to attach to a Disk pool. Can attach 8 disks at most.|disks|disks| +|**--sku**|object|Sku description.|sku|sku| +|**--disks**|array|List of Azure managed disks to attach to a DiskPool|disks|disks| +|**--subnet-id**|string|Azure resource id of the subnet for the DiskPool|subnet_id|subnetId| #### Command `az disk-pool delete` @@ -119,7 +124,7 @@ az disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" |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| +|**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| ### group `az disk-pool iscsi-target` #### Command `az disk-pool iscsi-target list` @@ -132,7 +137,7 @@ az disk-pool iscsi-target list --disk-pool-name "myDiskPool" --resource-group "m |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| +|**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| #### Command `az disk-pool iscsi-target show` @@ -144,46 +149,39 @@ az disk-pool iscsi-target show --disk-pool-name "myDiskPool" --name "myIscsiTarg |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| +|**--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| #### Command `az disk-pool iscsi-target create` ##### Example ``` -az disk-pool iscsi-target create --disk-pool-name "myDiskPool" --target-iqn "iqn.2005-03.org.iscsi:server1" --tpgs \ -"[{\\"acls\\":[{\\"credentials\\":{\\"password\\":\\"some_password\\",\\"username\\":\\"some_username\\"},\\"initiatorI\ -qn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}],\\"attributes\\":{\\"authentication\\":true,\\\ -"prodModeWriteProtect\\":false},\\"luns\\":[{\\"name\\":\\"lun0\\",\\"managedDiskAzureResourceId\\":\\"/subscriptions/1\ -1111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1\ -\\"}]}]" --name "myIscsiTarget" --resource-group "myResourceGroup" +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\\",\\"usernam\ +e\\":\\"some_username\\"},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}],\\"attr\ +ibutes\\":{\\"authentication\\":true,\\"prodModeWriteProtect\\":false},\\"luns\\":[{\\"name\\":\\"lun0\\",\\"managedDis\ +kAzureResourceId\\":\\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Mic\ +rosoft.Compute/disks/vm-name_DataDisk_1\\"}]}]" --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| +|**--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| -|**--tpgs**|array|List of iSCSI target portal groups. Can have 1 portal group at most.|tpgs|tpgs| -|**--target-iqn**|string|iSCSI target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".|target_iqn|targetIqn| +|**--tpgs**|array|list of iSCSI target portal groups|tpgs|tpgs| +|**--target-iqn**|string|iSCSI target iqn (iSCSI Qualified Name); example: iqn.2005-03.org.iscsi:server|target_iqn|targetIqn| -#### Command `az disk-pool iscsi-target update` +#### Command `az disk-pool iscsi-target update` -##### Example -``` -az disk-pool iscsi-target update --disk-pool-name "myDiskPool" --name "myIscsiTarget" --tpgs \ -"[{\\"acls\\":[{\\"credentials\\":{\\"password\\":\\"some_password\\",\\"username\\":\\"some_username\\"},\\"initiatorI\ -qn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}],\\"luns\\":[{\\"name\\":\\"lun0\\",\\"managedD\ -iskAzureResourceId\\":\\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/M\ -icrosoft.Compute/disks/vm-name_DataDisk_1\\"}]}]" --resource-group "myResourceGroup" -``` -##### Parameters +##### Parameters |Option|Type|Description|Path (SDK)|Swagger name| |------|----|-----------|----------|------------| |**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| -|**--disk-pool-name**|string|The name of the Disk pool.|disk_pool_name|diskPoolName| +|**--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| -|**--tpgs**|array|List of iSCSI target portal groups. Can have 1 portal group at most.|tpgs|tpgs| +|**--tpgs**|array|list of iSCSI target portal groups|tpgs|tpgs| +|**--target-iqn**|string|iSCSI target iqn (iSCSI Qualified Name); example: iqn.2005-03.org.iscsi:server|target_iqn|targetIqn| #### Command `az disk-pool iscsi-target delete` @@ -196,5 +194,5 @@ az disk-pool iscsi-target delete --disk-pool-name "myDiskPool" --name "myIscsiTa |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| +|**--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| diff --git a/src/diskpool/setup.py b/src/diskpool/setup.py index 8bfa1256ec9..a1aa6793c30 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.1' +VERSION = '0.2.1' try: from azext_diskpool.manual.version import VERSION except ImportError: From 58d1830a34ac182dc949923ccb2b2a0251074d37 Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Tue, 11 May 2021 11:30:03 +0800 Subject: [PATCH 15/30] generated with commit 3ae1665 --- src/diskpool/HISTORY.rst | 4 - .../generated/_client_factory.py | 4 + .../azext_diskpool/generated/_help.py | 194 +++-- .../azext_diskpool/generated/_params.py | 79 +- .../azext_diskpool/generated/action.py | 144 +++- .../azext_diskpool/generated/commands.py | 18 +- .../azext_diskpool/generated/custom.py | 114 ++- .../tests/latest/example_steps.py | 135 +++- .../tests/latest/test_diskpool_scenario.py | 82 +- .../storagepool/_configuration.py | 2 +- .../storagepool/_storage_pool_management.py | 5 + .../storagepool/aio/_configuration.py | 2 +- .../aio/_storage_pool_management.py | 5 + .../storagepool/aio/operations/__init__.py | 2 + .../operations/_disk_pool_zones_operations.py | 113 +++ .../aio/operations/_disk_pools_operations.py | 450 +++++++++-- .../operations/_iscsi_targets_operations.py | 188 ++++- .../storagepool/aio/operations/_operations.py | 2 +- .../storagepool/models/__init__.py | 44 +- .../storagepool/models/_models.py | 630 +++++++++++----- .../storagepool/models/_models_py3.py | 706 +++++++++++++----- .../models/_storage_pool_management_enums.py | 42 +- .../storagepool/operations/__init__.py | 2 + .../operations/_disk_pool_zones_operations.py | 118 +++ .../operations/_disk_pools_operations.py | 456 +++++++++-- .../operations/_iscsi_targets_operations.py | 190 ++++- .../storagepool/operations/_operations.py | 2 +- src/diskpool/gen.zip | Bin 10218 -> 12627 bytes src/diskpool/report.md | 134 +++- src/diskpool/setup.py | 2 +- 30 files changed, 3056 insertions(+), 813 deletions(-) create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pool_zones_operations.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pool_zones_operations.py diff --git a/src/diskpool/HISTORY.rst b/src/diskpool/HISTORY.rst index 78208dab623..1c139576ba0 100644 --- a/src/diskpool/HISTORY.rst +++ b/src/diskpool/HISTORY.rst @@ -3,10 +3,6 @@ Release History =============== -0.2.2 -++++++ -* Minor fix - 0.1.0 ++++++ * Initial release. diff --git a/src/diskpool/azext_diskpool/generated/_client_factory.py b/src/diskpool/azext_diskpool/generated/_client_factory.py index 16ba3e4f5bc..cd3bcf51fee 100644 --- a/src/diskpool/azext_diskpool/generated/_client_factory.py +++ b/src/diskpool/azext_diskpool/generated/_client_factory.py @@ -20,5 +20,9 @@ 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_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 19baf26bd35..d12bcc35f54 100644 --- a/src/diskpool/azext_diskpool/generated/_help.py +++ b/src/diskpool/azext_diskpool/generated/_help.py @@ -19,7 +19,7 @@ helps['disk-pool list'] = """ type: command - short-summary: "Gets a list of DiskPools. And Gets a list of Disk Pools in a subscription." + short-summary: "Gets a list of DiskPools in a resource group. And Gets a list of Disk Pools in a subscription." examples: - name: List Disk Pools text: |- @@ -31,96 +31,102 @@ helps['disk-pool show'] = """ type: command - short-summary: "Get a Disk Pool." + short-summary: "Get a Disk pool." examples: - - name: Get a diskPool + - name: Get Disk pool text: |- az disk-pool show --name "myDiskPool" --resource-group "myResourceGroup" """ helps['disk-pool create'] = """ type: command - short-summary: "Create a new Disk Pool." + short-summary: "Create Disk pool." parameters: - name: --sku - short-summary: "Sku description." + short-summary: "Determines the SKU of the Disk Pool" long-summary: | - Usage: --sku name=XX tier=XX size=XX family=XX capacity=XX - - name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code - tier: This field is required to be implemented by the Resource Provider if the service has more than one \ -tier, but is not required on a PUT. - size: The SKU size. When the name field is the combination of tier and some other value, this would be the \ -standalone code. - family: If the service has different generations of hardware, for the same SKU, then that can be captured \ -here. - capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in \ -is not possible for the resource this may be omitted. + 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 DiskPool" + short-summary: "List of Azure Managed Disks to attach to a Disk Pool." long-summary: | The order of this parameter is specific customized. Usage: --disks id-value - id: Required. Unique Azure resource id of the managed disk. Required. + id: Required. Unique Azure Resource ID of the Managed Disk. Multiple actions can be specified by using more than one --disks argument. examples: - - name: Create or Update a Disk Pool + - name: Create or Update Disk pool text: |- - az disk-pool create --name "myDiskPool" --location "westus" --availability-zones "1" --disks \ + az disk-pool create --location "westus" --availability-zones "1" --disks "/subscriptions/11111111-1111-1\ +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_0" --disks "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/provider\ -s/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resource\ -Groups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --sku name="Standard_ABC" \ ---tags key="value" --resource-group "myResourceGroup" +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" \ +--name "myDiskPool" --resource-group "myResourceGroup" """ helps['disk-pool update'] = """ type: command - short-summary: "Update a Storage Pool." + short-summary: "Update a Disk pool." parameters: - - name: --sku - short-summary: "Sku description." - long-summary: | - Usage: --sku name=XX tier=XX size=XX family=XX capacity=XX - - name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code - tier: This field is required to be implemented by the Resource Provider if the service has more than one \ -tier, but is not required on a PUT. - size: The SKU size. When the name field is the combination of tier and some other value, this would be the \ -standalone code. - family: If the service has different generations of hardware, for the same SKU, then that can be captured \ -here. - capacity: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in \ -is not possible for the resource this may be omitted. - name: --disks - short-summary: "List of Azure managed disks to attach to a DiskPool" + short-summary: "List of Azure Managed Disks to attach to a Disk Pool." long-summary: | The order of this parameter is specific customized. Usage: --disks id-value - id: Required. Unique Azure resource id of the managed disk. Required. + id: Required. Unique Azure Resource ID of the Managed Disk. Multiple actions can be specified by using more than one --disks argument. examples: - - name: Update Disk Pool + - name: Update Disk pool text: |- - az disk-pool update --name "myDiskPool" --location "westus" --availability-zones "1" --disks \ + 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_0" --disks "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/provider\ -s/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resource\ -Groups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --tags key="value" \ ---resource-group "myResourceGroup" +m-name_DataDisk_1" --tags key="value" --resource-group "myResourceGroup" """ helps['disk-pool delete'] = """ type: command - short-summary: "Delete a Disk Pool." + short-summary: "Delete a Disk pool." examples: - - name: Update Disk Pool + - name: Delete Disk pool text: |- az disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" """ +helps['disk-pool deallocate'] = """ + 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." + examples: + - name: Deallocate Disk Pool + text: |- + az disk-pool deallocate --name "myDiskPool" --resource-group "myResourceGroup" +""" + +helps['disk-pool list-outbound-network-dependency-endpoint'] = """ + type: command + short-summary: "Gets the network endpoints of all outbound dependencies of a Disk Pool." + examples: + - name: Get Disk Pool outbound network dependencies + text: |- + az disk-pool list-outbound-network-dependency-endpoint --name "SampleAse" --resource-group \ +"Sample-WestUSResourceGroup" +""" + +helps['disk-pool start'] = """ + type: command + short-summary: "The operation to start a Disk Pool." + examples: + - name: Start Disk Pool + text: |- + az disk-pool start --name "myDiskPool" --resource-group "myResourceGroup" +""" + helps['disk-pool wait'] = """ type: command short-summary: Place the CLI in a waiting state until a condition of the disk-pool is met. @@ -128,11 +134,28 @@ - name: Pause executing next line of CLI script until the disk-pool is successfully created. text: |- az disk-pool wait --name "myDiskPool" --resource-group "myResourceGroup" --created + - name: Pause executing next line of CLI script until the disk-pool is successfully updated. + text: |- + az disk-pool wait --name "myDiskPool" --resource-group "myResourceGroup" --updated - name: Pause executing next line of CLI script until the disk-pool is successfully deleted. text: |- az disk-pool wait --name "myDiskPool" --resource-group "myResourceGroup" --deleted """ +helps['disk-pool-zone'] = """ + type: group + short-summary: Manage disk pool zone with diskpool +""" + +helps['disk-pool-zone list'] = """ + type: command + short-summary: "Lists available Disk Pool Skus in an Azure location." + examples: + - name: List Disk Pool Skus + text: |- + az disk-pool-zone list --location "eastus" +""" + helps['disk-pool iscsi-target'] = """ type: group short-summary: Manage iscsi target with diskpool @@ -140,7 +163,7 @@ helps['disk-pool iscsi-target list'] = """ type: command - short-summary: "Get iSCSI Targets within a Disk Pool." + short-summary: "Get iSCSI Targets in a Disk pool." examples: - name: List Disk Pools by Resource Group text: |- @@ -149,9 +172,9 @@ helps['disk-pool iscsi-target show'] = """ type: command - short-summary: "Gets an iSCSI Target." + short-summary: "Get an iSCSI Target." examples: - - name: Get an iscsiTarget + - name: Get iSCSI Target text: |- az disk-pool iscsi-target show --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ "myResourceGroup" @@ -159,28 +182,73 @@ helps['disk-pool iscsi-target create'] = """ type: command - short-summary: "Create an iSCSI target." + short-summary: "Create an iSCSI Target." + parameters: + - name: --static-acls + short-summary: "Access Control List (ACL) for an iSCSI Target; defines LUN masking policy" + long-summary: | + Usage: --static-acls initiator-iqn=XX mapped-luns=XX + + initiator-iqn: Required. iSCSI initiator IQN (iSCSI Qualified Name); example: \ +"iqn.2005-03.org.iscsi:client". + mapped-luns: Required. List of LUN names mapped to the ACL. + + Multiple actions can be specified by using more than one --static-acls argument. + - name: --luns + short-summary: "List of LUNs to be exposed through iSCSI Target." + long-summary: | + Usage: --luns name=XX managed-disk-azure-resource-id=XX + + name: Required. User defined name for iSCSI LUN; example: "lun0" + managed-disk-azure-resource-id: Required. Azure Resource ID of the Managed Disk. + + Multiple actions can be specified by using more than one --luns argument. examples: - - name: Create or Update an iSCSI Target + - name: Create or Update iSCSI Target text: |- - 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\\",\\"usernam\ -e\\":\\"some_username\\"},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}],\\"attr\ -ibutes\\":{\\"authentication\\":true,\\"prodModeWriteProtect\\":false},\\"luns\\":[{\\"name\\":\\"lun0\\",\\"managedDis\ -kAzureResourceId\\":\\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Mic\ -rosoft.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/prov\ +iders/Microsoft.Compute/disks/vm-name_DataDisk_1" --target-iqn "iqn.2005-03.org.iscsi:server1" --name "myIscsiTarget" \ +--resource-group "myResourceGroup" """ helps['disk-pool iscsi-target update'] = """ type: command - short-summary: "Update an iSCSI target." + short-summary: "Update an iSCSI Target." + parameters: + - name: --static-acls + short-summary: "Access Control List (ACL) for an iSCSI Target; defines LUN masking policy" + long-summary: | + Usage: --static-acls initiator-iqn=XX mapped-luns=XX + + initiator-iqn: Required. iSCSI initiator IQN (iSCSI Qualified Name); example: \ +"iqn.2005-03.org.iscsi:client". + mapped-luns: Required. List of LUN names mapped to the ACL. + + Multiple actions can be specified by using more than one --static-acls argument. + - name: --luns + short-summary: "List of LUNs to be exposed through iSCSI Target." + long-summary: | + Usage: --luns name=XX managed-disk-azure-resource-id=XX + + name: Required. User defined name for iSCSI LUN; example: "lun0" + managed-disk-azure-resource-id: Required. Azure Resource ID of the Managed Disk. + + Multiple actions can be specified by using more than one --luns argument. + examples: + - name: Update iSCSI Target + text: |- + 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/myResour\ +ceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1" --static-acls initiator-iqn="iqn.2005-03.org.iscsi:client\ +" mapped-luns="lun0" --resource-group "myResourceGroup" """ helps['disk-pool iscsi-target delete'] = """ type: command - short-summary: "Deletes an iSCSI Target." + short-summary: "Delete an iSCSI Target." examples: - - name: Delete an iscsiTarget + - name: Delete iSCSI Target text: |- az disk-pool iscsi-target delete --disk-pool-name "myDiskPool" --name "myIscsiTarget" --resource-group \ "myResourceGroup" diff --git a/src/diskpool/azext_diskpool/generated/_params.py b/src/diskpool/azext_diskpool/generated/_params.py index 6d63c73e3c8..ca4660daffa 100644 --- a/src/diskpool/azext_diskpool/generated/_params.py +++ b/src/diskpool/azext_diskpool/generated/_params.py @@ -12,16 +12,19 @@ from azure.cli.core.commands.parameters import ( tags_type, + get_enum_type, resource_group_name_type, get_location_type ) -from azure.cli.core.commands.validators import ( - get_default_location_from_resource_group, - validate_file_or_dict -) +from azure.cli.core.commands.validators import get_default_location_from_resource_group from azext_diskpool.action import ( AddSku, - AddDisks + AddDiskPoolCreateDisks, + AddDiskPoolUpdateDisks, + AddDiskPoolIscsiTargetCreateStaticAcls, + AddDiskPoolIscsiTargetCreateLuns, + AddDiskPoolIscsiTargetUpdateStaticAcls, + AddDiskPoolIscsiTargetUpdateLuns ) @@ -39,36 +42,52 @@ 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.') + c.argument('sku', action=AddSku, nargs='+', help='Determines the SKU of the Disk Pool') 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('sku', action=AddSku, nargs='+', help='Sku description.') - c.argument('availability_zones', nargs='+', help='Logical zone for DiskPool resource.') - c.argument('disks', action=AddDisks, nargs='+', help='List of Azure managed disks to attach to a DiskPool') - c.argument('subnet_id', type=str, help='Azure resource id of the subnet for the DiskPool') + 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.') + c.argument('subnet_id', type=str, help='Azure Resource ID of a Subnet for the Disk Pool.') + c.argument('additional_capabilities', nargs='+', help='List of additional capabilities for a Disk Pool.') with self.argument_context('disk-pool update') 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') 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('sku', action=AddSku, nargs='+', help='Sku description.') - c.argument('availability_zones', nargs='+', help='Logical zone for DiskPool resource.') - c.argument('disks', action=AddDisks, nargs='+', help='List of Azure managed disks to attach to a DiskPool') - c.argument('subnet_id', type=str, help='Azure resource id of the subnet for the DiskPool') + c.argument('disks', action=AddDiskPoolUpdateDisks, nargs='+', help='List of Azure Managed Disks to attach to a ' + 'Disk Pool.') with self.argument_context('disk-pool delete') 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 deallocate') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' + 'the Disk Pool.', id_part='name') + + with self.argument_context('disk-pool list-outbound-network-dependency-endpoint') 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.') + + with self.argument_context('disk-pool start') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' + 'the Disk Pool.', id_part='name') + with self.argument_context('disk-pool wait') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' 'the Disk Pool.', id_part='name') + with self.argument_context('disk-pool-zone list') 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.') @@ -77,37 +96,39 @@ def load_arguments(self, _): c.argument('resource_group_name', resource_group_name_type) 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') + 'of the iSCSI Target.', id_part='child_name_1') with self.argument_context('disk-pool iscsi-target create') 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.') c.argument('iscsi_target_name', options_list=['--name', '-n', '--iscsi-target-name'], type=str, help='The name ' - 'of the iSCSI target.') - c.argument('tpgs', type=validate_file_or_dict, help='list of iSCSI target portal groups Expected value: ' - 'json-string/@json-file.') - c.argument('target_iqn', type=str, help='iSCSI target iqn (iSCSI Qualified Name); example: ' - 'iqn.2005-03.org.iscsi:server') + 'of the iSCSI Target.') + 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".') + c.argument('static_acls', action=AddDiskPoolIscsiTargetCreateStaticAcls, nargs='+', help='Access Control List ' + '(ACL) for an iSCSI Target; defines LUN masking policy') + c.argument('luns', action=AddDiskPoolIscsiTargetCreateLuns, nargs='+', help='List of LUNs to be exposed ' + 'through iSCSI Target.') with self.argument_context('disk-pool iscsi-target update') 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.', 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('tpgs', type=validate_file_or_dict, help='list of iSCSI target portal groups Expected value: ' - 'json-string/@json-file.') - c.argument('target_iqn', type=str, help='iSCSI target iqn (iSCSI Qualified Name); example: ' - 'iqn.2005-03.org.iscsi:server') - c.ignore('iscsi_target_payload') + 'of the iSCSI Target.', id_part='child_name_1') + 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 ' + 'through iSCSI Target.') with self.argument_context('disk-pool iscsi-target delete') 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.', 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') + 'of the iSCSI Target.', id_part='child_name_1') with self.argument_context('disk-pool iscsi-target wait') 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.', 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') + 'of the iSCSI Target.', id_part='child_name_1') diff --git a/src/diskpool/azext_diskpool/generated/action.py b/src/diskpool/azext_diskpool/generated/action.py index 31b7e7da4aa..ca10f350d98 100644 --- a/src/diskpool/azext_diskpool/generated/action.py +++ b/src/diskpool/azext_diskpool/generated/action.py @@ -35,23 +35,17 @@ def get_action(self, values, option_string): # pylint: disable=no-self-use d['name'] = v[0] elif kl == 'tier': d['tier'] = v[0] - elif kl == 'size': - d['size'] = v[0] - elif kl == 'family': - d['family'] = v[0] - elif kl == 'capacity': - d['capacity'] = v[0] else: - raise CLIError('Unsupported Key {} is provided for parameter sku. All possible keys are: name, tier, ' - 'size, family, capacity'.format(k)) + raise CLIError('Unsupported Key {} is provided for parameter sku. All possible keys are: name, tier'. + format(k)) return d -class AddDisks(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(AddDisks, 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: @@ -67,3 +61,133 @@ def get_action(self, values, option_string=None): return value_list except ValueError: raise CLIError('usage error: {} NAME METRIC OPERATION VALUE'.format(option_string)) + + +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(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 + } + ) + return value_list + except ValueError: + raise CLIError('usage error: {} NAME METRIC OPERATION VALUE'.format(option_string)) + + +class AddDiskPoolIscsiTargetCreateStaticAcls(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) + + def get_action(self, values, option_string): # pylint: disable=no-self-use + try: + properties = defaultdict(list) + for (k, v) in (x.split('=', 1) for x in values): + properties[k].append(v) + properties = dict(properties) + except ValueError: + raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) + d = {} + 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)) + return d + + +class AddDiskPoolIscsiTargetCreateLuns(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) + + def get_action(self, values, option_string): # pylint: disable=no-self-use + try: + properties = defaultdict(list) + for (k, v) in (x.split('=', 1) for x in values): + properties[k].append(v) + properties = dict(properties) + except ValueError: + raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) + d = {} + 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)) + return d + + +class AddDiskPoolIscsiTargetUpdateStaticAcls(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) + + def get_action(self, values, option_string): # pylint: disable=no-self-use + try: + properties = defaultdict(list) + for (k, v) in (x.split('=', 1) for x in values): + properties[k].append(v) + properties = dict(properties) + except ValueError: + raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) + d = {} + 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)) + return d + + +class AddDiskPoolIscsiTargetUpdateLuns(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) + + def get_action(self, values, option_string): # pylint: disable=no-self-use + try: + properties = defaultdict(list) + for (k, v) in (x.split('=', 1) for x in values): + properties[k].append(v) + properties = dict(properties) + except ValueError: + raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) + d = {} + 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)) + return d diff --git a/src/diskpool/azext_diskpool/generated/commands.py b/src/diskpool/azext_diskpool/generated/commands.py index 634b8f00bab..1ce0f199291 100644 --- a/src/diskpool/azext_diskpool/generated/commands.py +++ b/src/diskpool/azext_diskpool/generated/commands.py @@ -24,10 +24,22 @@ def load_command_table(self, _): 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') + 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('deallocate', 'disk_pool_deallocate', supports_no_wait=True) + g.custom_command('list-outbound-network-dependency-endpoint', 'disk_pool_list_outbound_network_dependency_endpo' + 'int') + g.custom_command('start', 'disk_pool_start', supports_no_wait=True) g.custom_wait_command('wait', 'disk_pool_show') + from azext_diskpool.generated._client_factory import cf_disk_pool_zone + diskpool_disk_pool_zone = CliCommandType( + operations_tmpl='azext_diskpool.vendored_sdks.storagepool.operations._disk_pool_zones_operations#DiskPoolZonesO' + 'perations.{}', + client_factory=cf_disk_pool_zone) + with self.command_group('disk-pool-zone', diskpool_disk_pool_zone, client_factory=cf_disk_pool_zone) as g: + g.custom_command('list', 'disk_pool_zone_list') + 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' @@ -37,9 +49,7 @@ def load_command_table(self, _): g.custom_command('list', 'disk_pool_iscsi_target_list') g.custom_show_command('show', 'disk_pool_iscsi_target_show') g.custom_command('create', 'disk_pool_iscsi_target_create', supports_no_wait=True) - g.generic_update_command('update', setter_arg_name='iscsi_target_payload', - setter_name='begin_create_or_update', - custom_func_name='disk_pool_iscsi_target_update', supports_no_wait=True) + g.custom_command('update', 'disk_pool_iscsi_target_update', supports_no_wait=True) g.custom_command('delete', 'disk_pool_iscsi_target_delete', supports_no_wait=True, confirmation=True) g.custom_wait_command('wait', 'disk_pool_iscsi_target_show') diff --git a/src/diskpool/azext_diskpool/generated/custom.py b/src/diskpool/azext_diskpool/generated/custom.py index 9ae5d7450a6..12385f46d02 100644 --- a/src/diskpool/azext_diskpool/generated/custom.py +++ b/src/diskpool/azext_diskpool/generated/custom.py @@ -8,7 +8,6 @@ # regenerated. # -------------------------------------------------------------------------- # pylint: disable=too-many-lines -# pylint: disable=unused-argument from azure.cli.core.util import sdk_no_wait @@ -30,46 +29,43 @@ def disk_pool_show(client, def disk_pool_create(client, resource_group_name, disk_pool_name, + sku, location, - availability_zones, + subnet_id, tags=None, - sku=None, + availability_zones=None, disks=None, - subnet_id=None, + additional_capabilities=None, no_wait=False): - disk_pool_payload = {} - disk_pool_payload['tags'] = tags - disk_pool_payload['location'] = location - disk_pool_payload['sku'] = sku - disk_pool_payload['availability_zones'] = availability_zones - disk_pool_payload['disks'] = disks - disk_pool_payload['subnet_id'] = subnet_id + disk_pool_create_payload = {} + disk_pool_create_payload['sku'] = sku + 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 + disk_pool_create_payload['subnet_id'] = subnet_id + 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, disk_pool_name=disk_pool_name, - disk_pool_payload=disk_pool_payload) + disk_pool_create_payload=disk_pool_create_payload) def disk_pool_update(client, resource_group_name, disk_pool_name, - location, - availability_zones, tags=None, - sku=None, disks=None, - subnet_id=None): - disk_pool_payload = {} - disk_pool_payload['tags'] = tags - disk_pool_payload['location'] = location - disk_pool_payload['sku'] = sku - disk_pool_payload['availability_zones'] = availability_zones - disk_pool_payload['disks'] = disks - disk_pool_payload['subnet_id'] = subnet_id - return client.update(resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name, - disk_pool_payload=disk_pool_payload) + no_wait=False): + disk_pool_update_payload = {} + disk_pool_update_payload['tags'] = tags + disk_pool_update_payload['disks'] = disks + return sdk_no_wait(no_wait, + client.begin_update, + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + disk_pool_update_payload=disk_pool_update_payload) def disk_pool_delete(client, @@ -82,6 +78,38 @@ def disk_pool_delete(client, disk_pool_name=disk_pool_name) +def disk_pool_deallocate(client, + resource_group_name, + disk_pool_name, + no_wait=False): + return sdk_no_wait(no_wait, + client.begin_deallocate, + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name) + + +def disk_pool_list_outbound_network_dependency_endpoint(client, + resource_group_name, + disk_pool_name): + return client.list_outbound_network_dependencies_endpoints(resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name) + + +def disk_pool_start(client, + resource_group_name, + disk_pool_name, + no_wait=False): + return sdk_no_wait(no_wait, + client.begin_start, + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name) + + +def disk_pool_zone_list(client, + location): + return client.list(location=location) + + def disk_pool_iscsi_target_list(client, resource_group_name, disk_pool_name): @@ -102,32 +130,40 @@ def disk_pool_iscsi_target_create(client, resource_group_name, disk_pool_name, iscsi_target_name, - tpgs=None, + acl_mode, target_iqn=None, + static_acls=None, + luns=None, no_wait=False): - iscsi_target_payload = {} - iscsi_target_payload['tpgs'] = tpgs - iscsi_target_payload['target_iqn'] = target_iqn + iscsi_target_create_payload = {} + 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 return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name=resource_group_name, disk_pool_name=disk_pool_name, iscsi_target_name=iscsi_target_name, - iscsi_target_payload=iscsi_target_payload) + iscsi_target_create_payload=iscsi_target_create_payload) -def disk_pool_iscsi_target_update(instance, +def disk_pool_iscsi_target_update(client, resource_group_name, disk_pool_name, iscsi_target_name, - tpgs=None, - target_iqn=None, + static_acls=None, + luns=None, no_wait=False): - if tpgs is not None: - instance.tpgs = tpgs - if target_iqn is not None: - instance.target_iqn = target_iqn - return instance + iscsi_target_update_payload = {} + iscsi_target_update_payload['static_acls'] = static_acls + iscsi_target_update_payload['luns'] = luns + return sdk_no_wait(no_wait, + client.begin_update, + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name, + iscsi_target_update_payload=iscsi_target_update_payload) def disk_pool_iscsi_target_delete(client, diff --git a/src/diskpool/azext_diskpool/tests/latest/example_steps.py b/src/diskpool/azext_diskpool/tests/latest/example_steps.py index 0ca181cd8a7..976c7bde10a 100644 --- a/src/diskpool/azext_diskpool/tests/latest/example_steps.py +++ b/src/diskpool/azext_diskpool/tests/latest/example_steps.py @@ -63,13 +63,12 @@ def step_show(test, rg, checks=None): checks=checks) -# EXAMPLE: /DiskPools/put/Create or Update a Disk Pool +# EXAMPLE: /DiskPools/put/Create or Update Disk pool @try_manual -def step_create(test, rg, checks=None): +def step_create(test, rg, rg_2, checks=None): if checks is None: checks = [] test.cmd('az disk-pool create ' - '--name "{myDiskPool}" ' '--location "westus" ' '--availability-zones "1" ' '--disks "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Compute/disks/vm-name_D' @@ -78,8 +77,9 @@ def step_create(test, rg, checks=None): 'ataDisk_1" ' '--subnet-id "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtualNetw' 'orks/{vn}/subnets/default" ' - '--sku name="Standard_ABC" ' + '--sku name="Basic_V0" tier="Basic" ' '--tags key="value" ' + '--name "{myDiskPool}" ' '--resource-group "{rg}"', checks=[]) test.cmd('az disk-pool wait --created ' @@ -88,9 +88,9 @@ def step_create(test, rg, checks=None): checks=checks) -# EXAMPLE: /DiskPools/get/Get a diskPool +# EXAMPLE: /DiskPools/get/Get Disk pool @try_manual -def step_show(test, rg, checks=None): +def step_show(test, rg, rg_2, checks=None): if checks is None: checks = [] test.cmd('az disk-pool show ' @@ -99,36 +99,34 @@ def step_show(test, rg, checks=None): checks=checks) -# EXAMPLE: /DiskPools/get/List Disk Pools +# EXAMPLE: /DiskPools/get/Get Disk Pool outbound network dependencies @try_manual -def step_list(test, rg, checks=None): +def step_list_outbound_network_dependency_endpoint(test, rg, rg_2, checks=None): if checks is None: checks = [] - test.cmd('az disk-pool list ' - '--resource-group "{rg}"', + test.cmd('az disk-pool list-outbound-network-dependency-endpoint ' + '--name "{myDiskPool2}" ' + '--resource-group "{rg_2}"', checks=checks) -# EXAMPLE: /DiskPools/get/List Disk Pools by subscription +# EXAMPLE: /DiskPools/get/List Disk Pools @try_manual -def step_list2(test, rg, checks=None): +def step_list(test, rg, rg_2, checks=None): if checks is None: checks = [] test.cmd('az disk-pool list ' - '-g ""', + '--resource-group "{rg}"', checks=checks) -# EXAMPLE: /DiskPools/patch/Update Disk Pool +# EXAMPLE: /DiskPools/get/List Disk Pools by subscription @try_manual -def step_update(test, rg, checks=None): +def step_list2(test, rg, rg_2, checks=None): if checks is None: checks = [] - test.cmd('az disk-pool update ' - '--name "{myDiskPool}" ' - '--disks "{myDisk}" ' - '--tags key="value" ' - '--resource-group "{rg}"', + test.cmd('az disk-pool list ' + '-g ""', checks=checks) @@ -186,20 +184,77 @@ def step_update(test, rg, checks=None): checks=checks) -# EXAMPLE: /IscsiTargets/put/Create or Update an iSCSI Target +# EXAMPLE: /DiskPools/patch/Update Disk pool @try_manual -def step_iscsi_target_create(test, rg, checks=None): +def step_update(test, rg, rg_2, 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" ' + '--tags key="value" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /DiskPools/post/Deallocate Disk Pool +@try_manual +def step_deallocate(test, rg, rg_2, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool deallocate ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /DiskPools/post/Start Disk Pool +@try_manual +def step_start(test, rg, rg_2, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool start ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /DiskPools/delete/Delete Disk pool +@try_manual +def step_delete(test, rg, rg_2, 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_list3(test, rg, rg_2, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool-zone list ' + '--location "eastus"', + checks=checks) + + +# EXAMPLE: /IscsiTargets/put/Create or Update iSCSI Target +@try_manual +def step_iscsi_target_create(test, rg, rg_2, checks=None): if checks is None: checks = [] test.cmd('az disk-pool iscsi-target create ' '--disk-pool-name "{myDiskPool}" ' - '--name "{myIscsiTarget}" ' + '--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" ' - '--tpgs "[{{\\"acls\\":[{{\\"credentials\\":{{\\"password\\":\\"some_pa$$word\\",\\"username\\":\\"some_us' - 'ername\\"}},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}}],\\"att' - 'ributes\\":{{\\"authentication\\":true,\\"prodModeWriteProtect\\":false}},\\"luns\\":[{{\\"name\\":\\"lun' - '0\\",\\"managedDiskAzureResourceId\\":\\"/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/M' - 'icrosoft.Compute/disks/vm-name_DataDisk_1\\"}}]}}]" ' + '--name "{myIscsiTarget}" ' '--resource-group "{rg}"', checks=[]) test.cmd('az disk-pool iscsi-target wait --created ' @@ -208,9 +263,9 @@ def step_iscsi_target_create(test, rg, checks=None): checks=checks) -# EXAMPLE: /IscsiTargets/get/Get an iscsiTarget +# EXAMPLE: /IscsiTargets/get/Get iSCSI Target @try_manual -def step_iscsi_target_show(test, rg, checks=None): +def step_iscsi_target_show(test, rg, rg_2, checks=None): if checks is None: checks = [] test.cmd('az disk-pool iscsi-target show ' @@ -222,7 +277,7 @@ def step_iscsi_target_show(test, rg, checks=None): # EXAMPLE: /IscsiTargets/get/List Disk Pools by Resource Group @try_manual -def step_iscsi_target_list(test, rg, checks=None): +def step_iscsi_target_list(test, rg, rg_2, checks=None): if checks is None: checks = [] test.cmd('az disk-pool iscsi-target list ' @@ -269,25 +324,29 @@ def step_delete(test, rg, checks=None): '--resource-group "{rg}"', checks=checks) -# EXAMPLE: /IscsiTargets/delete/Delete an iscsiTarget +# EXAMPLE: /IscsiTargets/patch/Update iSCSI Target @try_manual -def step_iscsi_target_delete(test, rg, checks=None): +def step_iscsi_target_update(test, rg, rg_2, checks=None): if checks is None: checks = [] - test.cmd('az disk-pool iscsi-target delete -y ' + 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: /DiskPools/delete/Update Disk Pool +# EXAMPLE: /IscsiTargets/delete/Delete iSCSI Target @try_manual -def step_delete(test, rg, checks=None): +def step_iscsi_target_delete(test, rg, rg_2, checks=None): if checks is None: checks = [] - test.cmd('az disk-pool delete -y ' - '--name "{myDiskPool}" ' + 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/test_diskpool_scenario.py b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py index 3cae95825b0..39652f476bd 100644 --- a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py +++ b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py @@ -14,14 +14,19 @@ from .preparers import VirtualNetworkPreparer from .example_steps import step_create, step_create_required from .example_steps import step_show +from .example_steps import step_list_outbound_network_dependency_endpoint from .example_steps import step_list from .example_steps import step_list2 from .example_steps import step_update +from .example_steps import step_deallocate +from .example_steps import step_start +from .example_steps import step_delete +from .example_steps import step_list3 from .example_steps import step_iscsi_target_create from .example_steps import step_iscsi_target_show from .example_steps import step_iscsi_target_list +from .example_steps import step_iscsi_target_update from .example_steps import step_iscsi_target_delete -from .example_steps import step_delete from .. import ( try_manual, raise_if, @@ -34,77 +39,67 @@ # Env setup_scenario @try_manual -def setup_scenario(test, rg): +def setup_scenario(test, rg, rg_2): pass # Env cleanup_scenario @try_manual -def cleanup_scenario(test, rg): +def cleanup_scenario(test, rg, rg_2): pass # Testcase: Scenario @try_manual -def call_scenario(test, rg): - setup_scenario(test, rg) - step_create_required(test, rg, checks=[ - test.check("availabilityZones[0]", "{zone}", case_sensitive=False), +def call_scenario(test, rg, rg_2): + setup_scenario(test, rg, rg_2) + step_create(test, rg, rg_2, checks=[ + test.check("availabilityZones[0]", "1", case_sensitive=False), test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" "lNetworks/{vn}/subnets/default", case_sensitive=False), test.check("name", "{myDiskPool}", case_sensitive=False), - test.check("disks", None) ]) - step_create(test, rg, checks=[ - test.check("availabilityZones[0]", "{zone}", case_sensitive=False), - test.check("name", "{myDiskPool}", case_sensitive=False), - test.check("disks[0].id", "{myDisk1}"), - test.check("disks[1].id", "{myDisk2}") + step_show(test, rg, rg_2, checks=[ + test.check("availabilityZones[0]", "1", case_sensitive=False), test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" "lNetworks/{vn}/subnets/default", case_sensitive=False), - ]) - step_show(test, rg, checks=[ - test.check("availabilityZones[0]", "{zone}", case_sensitive=False), test.check("name", "{myDiskPool}", case_sensitive=False), - test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" - "lNetworks/{vn}/subnets/default", case_sensitive=False), ]) - step_list(test, rg, checks=[ + step_list_outbound_network_dependency_endpoint(test, rg, rg_2, checks=[]) + step_list(test, rg, rg_2, checks=[ test.check('length(@)', 1), ]) - step_list2(test, rg, checks=[ + step_list2(test, rg, rg_2, checks=[ test.check('length(@)', 1), ]) - step_update(test, rg, checks=[ - test.check("availabilityZones[0]", "{zone}", case_sensitive=False), - test.check("name", "{myDiskPool}", case_sensitive=False), + step_update(test, rg, rg_2, checks=[ + test.check("availabilityZones[0]", "1", case_sensitive=False), test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" "lNetworks/{vn}/subnets/default", case_sensitive=False), - ]) - step_update(test, rg, checks=[ - test.check("availabilityZones[0]", "{zone}", case_sensitive=False), - test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" - "lNetworks/{vn}/subnets/default", case_sensitive=False), - test.check("tier", "Basic", case_sensitive=False), test.check("name", "{myDiskPool}", case_sensitive=False), - test.check("tags.key", "value"), - test.check("disks[0].id", "{myDisk}") ]) - test.kwargs['myDiskPool'] = test.create_random_name(prefix='newpool', length=10), - step_iscsi_target_create(test, rg, checks=[ - test.check("name", "{myIscsiTarget}", case_sensitive=False), + step_deallocate(test, rg, rg_2, checks=[]) + step_start(test, rg, rg_2, checks=[]) + step_delete(test, rg, rg_2, checks=[]) + step_list3(test, rg, rg_2, checks=[]) + step_iscsi_target_create(test, rg, rg_2, checks=[ + test.check("aclMode", "Dynamic", case_sensitive=False), test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), - ]) - step_iscsi_target_show(test, rg, checks=[ test.check("name", "{myIscsiTarget}", case_sensitive=False), + ]) + step_iscsi_target_show(test, rg, rg_2, checks=[ test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), + test.check("name", "{myIscsiTarget}", case_sensitive=False), ]) - step_iscsi_target_list(test, rg, checks=[ + step_iscsi_target_list(test, rg, rg_2, checks=[ test.check('length(@)', 1), ]) - step_iscsi_target_delete(test, rg, checks=[]) - step_delete(test, rg, checks=[]) - cleanup_scenario(test, rg) + step_iscsi_target_update(test, rg, rg_2, checks=[ + test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), + test.check("name", "{myIscsiTarget}", case_sensitive=False), + ]) + step_iscsi_target_delete(test, rg, rg_2, checks=[]) + cleanup_scenario(test, rg, rg_2) # Test class for Scenario @@ -122,12 +117,15 @@ def __init__(self, *args, **kwargs): 'zone': "3", 'myDiskPool': self.create_random_name(prefix='diskpool', length=10), 'myIscsiTarget': self.create_random_name(prefix='iscsi', length=10), + 'myDiskPool2': 'SampleAse', }) @ResourceGroupPreparer(name_prefix='clitestdiskpool_myResourceGroup'[:7], key='rg', parameter_name='rg') + @ResourceGroupPreparer(name_prefix='clitestdiskpool_Sample-WestUSResourceGroup'[:7], key='rg_2', + parameter_name='rg_2') @VirtualNetworkPreparer(name_prefix='clitestdiskpool_myvnet'[:7], key='vn', resource_group_key='rg') - def test_diskpool_Scenario(self, rg): - call_scenario(self, rg) + def test_diskpool_Scenario(self, rg, rg_2): + call_scenario(self, rg, rg_2) calc_coverage(__file__) raise_if() diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py index cb67cb735d4..24c1d0a6d8c 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py @@ -47,7 +47,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.api_version = "2020-03-15-preview" + self.api_version = "2021-04-01-preview" self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'storagepoolmanagement/{}'.format(VERSION)) self._configure(**kwargs) 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 2d9df4d0e0a..d59edd58b34 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 @@ -20,6 +20,7 @@ from ._configuration import StoragePoolManagementConfiguration from .operations import Operations from .operations import DiskPoolsOperations +from .operations import DiskPoolZonesOperations from .operations import IscsiTargetsOperations from . import models @@ -31,6 +32,8 @@ class StoragePoolManagement(object): :vartype operations: storage_pool_management.operations.Operations :ivar disk_pools: DiskPoolsOperations operations :vartype disk_pools: storage_pool_management.operations.DiskPoolsOperations + :ivar disk_pool_zones: DiskPoolZonesOperations operations + :vartype disk_pool_zones: storage_pool_management.operations.DiskPoolZonesOperations :ivar iscsi_targets: IscsiTargetsOperations operations :vartype iscsi_targets: storage_pool_management.operations.IscsiTargetsOperations :param credential: Credential needed for the client to connect to Azure. @@ -63,6 +66,8 @@ def __init__( self._client, self._config, self._serialize, self._deserialize) self.disk_pools = DiskPoolsOperations( self._client, self._config, self._serialize, self._deserialize) + self.disk_pool_zones = DiskPoolZonesOperations( + 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/_configuration.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py index 1aa64ffe5b1..9ee88b6831b 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py @@ -44,7 +44,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.api_version = "2020-03-15-preview" + self.api_version = "2021-04-01-preview" self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'storagepoolmanagement/{}'.format(VERSION)) self._configure(**kwargs) 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 ec95131fa9f..e4888cf676b 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 @@ -18,6 +18,7 @@ from ._configuration import StoragePoolManagementConfiguration from .operations import Operations from .operations import DiskPoolsOperations +from .operations import DiskPoolZonesOperations from .operations import IscsiTargetsOperations from .. import models @@ -29,6 +30,8 @@ class StoragePoolManagement(object): :vartype operations: storage_pool_management.aio.operations.Operations :ivar disk_pools: DiskPoolsOperations operations :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 iscsi_targets: IscsiTargetsOperations operations :vartype iscsi_targets: storage_pool_management.aio.operations.IscsiTargetsOperations :param credential: Credential needed for the client to connect to Azure. @@ -60,6 +63,8 @@ def __init__( self._client, self._config, self._serialize, self._deserialize) self.disk_pools = DiskPoolsOperations( self._client, self._config, self._serialize, self._deserialize) + self.disk_pool_zones = DiskPoolZonesOperations( + 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 076a93504e6..1620075f15e 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 @@ -8,10 +8,12 @@ from ._operations import Operations from ._disk_pools_operations import DiskPoolsOperations +from ._disk_pool_zones_operations import DiskPoolZonesOperations from ._iscsi_targets_operations import IscsiTargetsOperations __all__ = [ 'Operations', 'DiskPoolsOperations', + 'DiskPoolZonesOperations', '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 new file mode 100644 index 00000000000..971aede2b68 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pool_zones_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 DiskPoolZonesOperations: + """DiskPoolZonesOperations 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.DiskPoolZoneListResult"]: + """Lists available Disk Pool 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 DiskPoolZoneListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.DiskPoolZoneListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolZoneListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-04-01-preview" + 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('DiskPoolZoneListResult', 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}/diskPoolZones'} # type: ignore 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 cc0a1230259..31704317e0b 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 = "2020-03-15-preview" + api_version = "2021-04-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -115,7 +115,7 @@ def list_by_resource_group( resource_group_name: str, **kwargs ) -> AsyncIterable["models.DiskPoolListResult"]: - """Gets a list of DiskPools. + """Gets a list of DiskPools in a resource group. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -129,7 +129,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" + api_version = "2021-04-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -185,7 +185,7 @@ async def _create_or_update_initial( self, resource_group_name: str, disk_pool_name: str, - disk_pool_payload: "models.DiskPool", + disk_pool_create_payload: "models.DiskPoolCreate", **kwargs ) -> "models.DiskPool": cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] @@ -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 = "2020-03-15-preview" + api_version = "2021-04-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -202,7 +202,7 @@ async def _create_or_update_initial( 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -216,13 +216,13 @@ async def _create_or_update_initial( header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_payload, 'DiskPool') + body_content = self._serialize.body(disk_pool_create_payload, 'DiskPoolCreate') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response - if response.status_code not in [200, 202]: + if response.status_code not in [200, 201]: 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) @@ -230,7 +230,7 @@ async def _create_or_update_initial( if response.status_code == 200: deserialized = self._deserialize('DiskPool', pipeline_response) - if response.status_code == 202: + if response.status_code == 201: deserialized = self._deserialize('DiskPool', pipeline_response) if cls: @@ -243,17 +243,17 @@ async def begin_create_or_update( self, resource_group_name: str, disk_pool_name: str, - disk_pool_payload: "models.DiskPool", + disk_pool_create_payload: "models.DiskPoolCreate", **kwargs ) -> AsyncLROPoller["models.DiskPool"]: - """Create a new Disk Pool. + """Create or Update Disk pool. :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 - :param disk_pool_payload: Request payload for Disk Pool operations. - :type disk_pool_payload: ~storage_pool_management.models.DiskPool + :param disk_pool_create_payload: Request payload for Disk Pool create operation. + :type disk_pool_create_payload: ~storage_pool_management.models.DiskPoolCreate :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 @@ -275,7 +275,7 @@ async def begin_create_or_update( raw_result = await self._create_or_update_initial( resource_group_name=resource_group_name, disk_pool_name=disk_pool_name, - disk_pool_payload=disk_pool_payload, + disk_pool_create_payload=disk_pool_create_payload, cls=lambda x,y,z: x, **kwargs ) @@ -293,10 +293,10 @@ def get_long_running_output(pipeline_response): 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), } - if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + 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: @@ -310,41 +310,28 @@ def get_long_running_output(pipeline_response): return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - async def update( + async def _update_initial( self, resource_group_name: str, disk_pool_name: str, - disk_pool_payload: "models.DiskPool", + disk_pool_update_payload: "models.DiskPoolUpdate", **kwargs - ) -> "models.DiskPool": - """Update a Storage Pool. - - :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 - :param disk_pool_payload: Request payload for Disk Pool operations. - :type disk_pool_payload: ~storage_pool_management.models.DiskPool - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DiskPool, or the result of cls(response) - :rtype: ~storage_pool_management.models.DiskPool - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + ) -> Optional["models.DiskPool"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.DiskPool"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" + api_version = "2021-04-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" # Construct URL - url = self.update.metadata['url'] # type: ignore + url = self._update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -358,24 +345,97 @@ async def update( header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_payload, 'DiskPool') + body_content = self._serialize.body(disk_pool_update_payload, 'DiskPoolUpdate') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response - if response.status_code not in [200]: + 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) - deserialized = self._deserialize('DiskPool', pipeline_response) + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('DiskPool', pipeline_response) if cls: return cls(pipeline_response, deserialized, {}) return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + async def begin_update( + self, + resource_group_name: str, + disk_pool_name: str, + disk_pool_update_payload: "models.DiskPoolUpdate", + **kwargs + ) -> AsyncLROPoller["models.DiskPool"]: + """Update a Disk pool. + + :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 + :param disk_pool_update_payload: Request payload for Disk Pool update operation. + :type disk_pool_update_payload: ~storage_pool_management.models.DiskPoolUpdate + :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 DiskPool or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.DiskPool] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + 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._update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + disk_pool_update_payload=disk_pool_update_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore async def _delete_initial( self, @@ -388,7 +448,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" + api_version = "2021-04-01-preview" accept = "application/json" # Construct URL @@ -396,7 +456,7 @@ async def _delete_initial( 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -428,7 +488,7 @@ async def begin_delete( disk_pool_name: str, **kwargs ) -> AsyncLROPoller[None]: - """Delete a Disk Pool. + """Delete a Disk pool. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -469,10 +529,10 @@ def get_long_running_output(pipeline_response): 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), } - if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + 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: @@ -492,7 +552,7 @@ async def get( disk_pool_name: str, **kwargs ) -> "models.DiskPool": - """Get a Disk Pool. + """Get a Disk pool. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -508,7 +568,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" + api_version = "2021-04-01-preview" accept = "application/json" # Construct URL @@ -516,7 +576,7 @@ async def get( 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -544,3 +604,297 @@ async def get( return deserialized get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def list_outbound_network_dependencies_endpoints( + self, + resource_group_name: str, + disk_pool_name: str, + **kwargs + ) -> AsyncIterable["models.OutboundEnvironmentEndpointList"]: + """Gets the network endpoints of all outbound dependencies of a Disk Pool. + + :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 + :return: An iterator like instance of either OutboundEnvironmentEndpointList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.OutboundEnvironmentEndpointList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.OutboundEnvironmentEndpointList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-04-01-preview" + 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_outbound_network_dependencies_endpoints.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') + + 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('OutboundEnvironmentEndpointList', 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_outbound_network_dependencies_endpoints.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints'} # type: ignore + + async def _start_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-04-01-preview" + accept = "application/json" + + # Construct URL + url = self._start_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, {}) + + _start_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start'} # type: ignore + + async def begin_start( + self, + resource_group_name: str, + disk_pool_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """The operation to start a Disk Pool. + + :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._start_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_start.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start'} # type: ignore + + async def _deallocate_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-04-01-preview" + accept = "application/json" + + # Construct URL + url = self._deallocate_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, {}) + + _deallocate_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate'} # type: ignore + + async def begin_deallocate( + self, + resource_group_name: str, + disk_pool_name: str, + **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. + + :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._deallocate_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_deallocate.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate'} # 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 b136ab3a5e9..13d1e5d351d 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 @@ -49,7 +49,7 @@ def list_by_disk_pool( disk_pool_name: str, **kwargs ) -> AsyncIterable["models.IscsiTargetList"]: - """Get iSCSI Targets within a Disk Pool. + """Get iSCSI Targets in a Disk pool. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -65,7 +65,7 @@ def list_by_disk_pool( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" + api_version = "2021-04-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -79,7 +79,7 @@ def prepare_request(next_link=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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters @@ -123,7 +123,7 @@ async def _create_or_update_initial( resource_group_name: str, disk_pool_name: str, iscsi_target_name: str, - iscsi_target_payload: "models.IscsiTarget", + iscsi_target_create_payload: "models.IscsiTargetCreate", **kwargs ) -> "models.IscsiTarget": cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] @@ -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 = "2020-03-15-preview" + api_version = "2021-04-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -140,7 +140,7 @@ async def _create_or_update_initial( 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -155,13 +155,13 @@ async def _create_or_update_initial( header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(iscsi_target_payload, 'IscsiTarget') + body_content = self._serialize.body(iscsi_target_create_payload, 'IscsiTargetCreate') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response - if response.status_code not in [200, 202]: + if response.status_code not in [200, 201]: 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) @@ -169,7 +169,7 @@ async def _create_or_update_initial( if response.status_code == 200: deserialized = self._deserialize('IscsiTarget', pipeline_response) - if response.status_code == 202: + if response.status_code == 201: deserialized = self._deserialize('IscsiTarget', pipeline_response) if cls: @@ -183,19 +183,19 @@ async def begin_create_or_update( resource_group_name: str, disk_pool_name: str, iscsi_target_name: str, - iscsi_target_payload: "models.IscsiTarget", + iscsi_target_create_payload: "models.IscsiTargetCreate", **kwargs ) -> AsyncLROPoller["models.IscsiTarget"]: - """Create or Update an iSCSI target. + """Create or Update an iSCSI Target. :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 - :param iscsi_target_name: The name of the iSCSI target. + :param iscsi_target_name: The name of the iSCSI Target. :type iscsi_target_name: str - :param iscsi_target_payload: Request payload for iSCSI target operations. - :type iscsi_target_payload: ~storage_pool_management.models.IscsiTarget + :param iscsi_target_create_payload: Request payload for iSCSI Target create operation. + :type iscsi_target_create_payload: ~storage_pool_management.models.IscsiTargetCreate :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 @@ -218,7 +218,7 @@ async def begin_create_or_update( resource_group_name=resource_group_name, disk_pool_name=disk_pool_name, iscsi_target_name=iscsi_target_name, - iscsi_target_payload=iscsi_target_payload, + iscsi_target_create_payload=iscsi_target_create_payload, cls=lambda x,y,z: x, **kwargs ) @@ -236,11 +236,11 @@ def get_long_running_output(pipeline_response): 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), } - if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + 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: @@ -254,6 +254,140 @@ def get_long_running_output(pipeline_response): return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + async def _update_initial( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + iscsi_target_update_payload: "models.IscsiTargetUpdate", + **kwargs + ) -> Optional["models.IscsiTarget"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.IscsiTarget"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-04-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_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'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(iscsi_target_update_payload, 'IscsiTargetUpdate') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + 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) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + async def begin_update( + self, + resource_group_name: str, + disk_pool_name: str, + iscsi_target_name: str, + iscsi_target_update_payload: "models.IscsiTargetUpdate", + **kwargs + ) -> AsyncLROPoller["models.IscsiTarget"]: + """Update an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI Target. + :type iscsi_target_name: str + :param iscsi_target_update_payload: Request payload for iSCSI Target update operation. + :type iscsi_target_update_payload: ~storage_pool_management.models.IscsiTargetUpdate + :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 IscsiTarget or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~storage_pool_management.models.IscsiTarget] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + 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._update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name, + iscsi_target_update_payload=iscsi_target_update_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + async def _delete_initial( self, resource_group_name: str, @@ -266,7 +400,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" + api_version = "2021-04-01-preview" accept = "application/json" # Construct URL @@ -274,7 +408,7 @@ async def _delete_initial( 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -308,13 +442,13 @@ async def begin_delete( iscsi_target_name: str, **kwargs ) -> AsyncLROPoller[None]: - """Deletes an iSCSI Target. + """Delete an iSCSI Target. :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 - :param iscsi_target_name: The name of the iSCSI target. + :param iscsi_target_name: The name of the iSCSI Target. :type iscsi_target_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. @@ -352,11 +486,11 @@ def get_long_running_output(pipeline_response): 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), } - if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + 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: @@ -377,13 +511,13 @@ async def get( iscsi_target_name: str, **kwargs ) -> "models.IscsiTarget": - """Gets an iSCSI Target. + """Get an iSCSI Target. :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 - :param iscsi_target_name: The name of the iSCSI target. + :param iscsi_target_name: The name of the iSCSI Target. :type iscsi_target_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: IscsiTarget, or the result of cls(response) @@ -395,7 +529,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" + api_version = "2021-04-01-preview" accept = "application/json" # Construct URL @@ -403,7 +537,7 @@ async def get( 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) 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 0b14b016f3e..bf3351fb5c4 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 = "2020-03-15-preview" + api_version = "2021-04-01-preview" accept = "application/json" def prepare_request(next_link=None): 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 d4ec87c63c8..93abf141c3e 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/__init__.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/__init__.py @@ -8,16 +8,25 @@ try: from ._models_py3 import Acl - from ._models_py3 import Attributes from ._models_py3 import Disk from ._models_py3 import DiskPool + from ._models_py3 import DiskPoolCreate from ._models_py3 import DiskPoolListResult + from ._models_py3 import DiskPoolUpdate + from ._models_py3 import DiskPoolZoneInfo + from ._models_py3 import DiskPoolZoneListResult + from ._models_py3 import EndpointDependency + from ._models_py3 import EndpointDetail from ._models_py3 import Error from ._models_py3 import ErrorAdditionalInfo from ._models_py3 import ErrorResponse from ._models_py3 import IscsiLun from ._models_py3 import IscsiTarget + from ._models_py3 import IscsiTargetCreate from ._models_py3 import IscsiTargetList + from ._models_py3 import IscsiTargetUpdate + from ._models_py3 import OutboundEnvironmentEndpoint + from ._models_py3 import OutboundEnvironmentEndpointList from ._models_py3 import ProxyResource from ._models_py3 import Resource from ._models_py3 import Sku @@ -25,20 +34,28 @@ from ._models_py3 import StoragePoolOperationListResult from ._models_py3 import StoragePoolRpOperation from ._models_py3 import SystemMetadata - from ._models_py3 import TargetPortalGroup from ._models_py3 import TrackedResource except (SyntaxError, ImportError): from ._models import Acl # type: ignore - from ._models import Attributes # type: ignore from ._models import Disk # type: ignore from ._models import DiskPool # type: ignore + from ._models import DiskPoolCreate # type: ignore from ._models import DiskPoolListResult # type: ignore + from ._models import DiskPoolUpdate # type: ignore + from ._models import DiskPoolZoneInfo # type: ignore + from ._models import DiskPoolZoneListResult # type: ignore + from ._models import EndpointDependency # type: ignore + from ._models import EndpointDetail # type: ignore from ._models import Error # type: ignore from ._models import ErrorAdditionalInfo # type: ignore from ._models import ErrorResponse # type: ignore from ._models import IscsiLun # type: ignore from ._models import IscsiTarget # type: ignore + from ._models import IscsiTargetCreate # type: ignore from ._models import IscsiTargetList # type: ignore + from ._models import IscsiTargetUpdate # type: ignore + from ._models import OutboundEnvironmentEndpoint # type: ignore + from ._models import OutboundEnvironmentEndpointList # type: ignore from ._models import ProxyResource # type: ignore from ._models import Resource # type: ignore from ._models import Sku # type: ignore @@ -46,27 +63,37 @@ from ._models import StoragePoolOperationListResult # type: ignore from ._models import StoragePoolRpOperation # type: ignore from ._models import SystemMetadata # type: ignore - from ._models import TargetPortalGroup # type: ignore from ._models import TrackedResource # type: ignore from ._storage_pool_management_enums import ( + CreatedByType, + DiskPoolTier, + IscsiTargetAclMode, OperationalStatus, ProvisioningStates, - SkuTier, ) __all__ = [ 'Acl', - 'Attributes', 'Disk', 'DiskPool', + 'DiskPoolCreate', 'DiskPoolListResult', + 'DiskPoolUpdate', + 'DiskPoolZoneInfo', + 'DiskPoolZoneListResult', + 'EndpointDependency', + 'EndpointDetail', 'Error', 'ErrorAdditionalInfo', 'ErrorResponse', 'IscsiLun', 'IscsiTarget', + 'IscsiTargetCreate', 'IscsiTargetList', + 'IscsiTargetUpdate', + 'OutboundEnvironmentEndpoint', + 'OutboundEnvironmentEndpointList', 'ProxyResource', 'Resource', 'Sku', @@ -74,9 +101,10 @@ 'StoragePoolOperationListResult', 'StoragePoolRpOperation', 'SystemMetadata', - 'TargetPortalGroup', 'TrackedResource', + 'CreatedByType', + 'DiskPoolTier', + 'IscsiTargetAclMode', 'OperationalStatus', 'ProvisioningStates', - 'SkuTier', ] 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 4c897efb916..85a85678a8b 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py @@ -11,35 +11,25 @@ class Acl(msrest.serialization.Model): - """Access Control List (ACL) for an iSCSI target lun. + """Access Control List (ACL) for an iSCSI Target; defines LUN masking policy. All required parameters must be populated in order to send to Azure. - :param initiator_iqn: Required. iSCSI initiator iqn (iSCSI Qualified Name); example: - iqn.2005-03.org.iscsi:client. + :param initiator_iqn: Required. iSCSI initiator IQN (iSCSI Qualified Name); example: + "iqn.2005-03.org.iscsi:client". :type initiator_iqn: str - :param mapped_luns: Required. Array of lun names mapped to the ACL. + :param mapped_luns: Required. List of LUN names mapped to the ACL. :type mapped_luns: list[str] - :param username: Username for Challenge Handshake Authentication Protocol (CHAP) - authentication. - :type username: str - :param password: Password for Challenge Handshake Authentication Protocol (CHAP) - authentication. - :type password: str """ _validation = { 'initiator_iqn': {'required': True}, 'mapped_luns': {'required': True}, - 'username': {'max_length': 128, 'min_length': 7}, - 'password': {'max_length': 512, 'min_length': 12}, } _attribute_map = { 'initiator_iqn': {'key': 'initiatorIqn', 'type': 'str'}, 'mapped_luns': {'key': 'mappedLuns', 'type': '[str]'}, - 'username': {'key': 'credentials.username', 'type': 'str'}, - 'password': {'key': 'credentials.password', 'type': 'str'}, } def __init__( @@ -49,47 +39,14 @@ def __init__( super(Acl, self).__init__(**kwargs) self.initiator_iqn = kwargs['initiator_iqn'] self.mapped_luns = kwargs['mapped_luns'] - self.username = kwargs.get('username', None) - self.password = kwargs.get('password', None) - - -class Attributes(msrest.serialization.Model): - """Attributes of an iSCSI target. - - All required parameters must be populated in order to send to Azure. - - :param authentication: Required. Indicates whether or not authentication is enabled on the ACL. - :type authentication: bool - :param prod_mode_write_protect: Required. Indicates whether or not write protect is enabled on - the luns. - :type prod_mode_write_protect: bool - """ - - _validation = { - 'authentication': {'required': True}, - 'prod_mode_write_protect': {'required': True}, - } - - _attribute_map = { - 'authentication': {'key': 'authentication', 'type': 'bool'}, - 'prod_mode_write_protect': {'key': 'prodModeWriteProtect', 'type': 'bool'}, - } - - def __init__( - self, - **kwargs - ): - super(Attributes, self).__init__(**kwargs) - self.authentication = kwargs['authentication'] - self.prod_mode_write_protect = kwargs['prod_mode_write_protect'] class Disk(msrest.serialization.Model): - """Managed disk to attach to the DiskPool. Required. + """Azure Managed Disk to attach to the Disk Pool. All required parameters must be populated in order to send to Azure. - :param id: Required. Unique Azure resource id of the managed disk. Required. + :param id: Required. Unique Azure Resource ID of the Managed Disk. :type id: str """ @@ -192,7 +149,7 @@ def __init__( class DiskPool(TrackedResource): - """Request payload for Create or Update Disk Pool requests. + """Response for Disk Pool request. Variables are only populated by the server, and will be ignored when sending a request. @@ -210,22 +167,28 @@ class DiskPool(TrackedResource): :type tags: dict[str, str] :param location: Required. The geo-location where the resource lives. :type location: str - :param sku: Sku description. - :type sku: ~storage_pool_management.models.Sku :ivar system_data: Resource metadata required by ARM RPC. :vartype system_data: ~storage_pool_management.models.SystemMetadata - :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: - "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". + :ivar provisioning_state: Required. State of the operation on the resource. Possible values + include: "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", + "Deleting". :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :param availability_zones: Required. Logical zone for DiskPool resource. + :param availability_zones: Required. Logical zone for Disk Pool resource; example: ["1"]. :type availability_zones: list[str] - :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", - "Unknown", "Healthy", "Unhealthy". - :vartype status: str or ~storage_pool_management.models.OperationalStatus - :param disks: List of Azure managed disks to attach to a DiskPool. + :param status: Required. Operational status of the Disk Pool. Possible values include: + "Invalid", "Unknown", "Healthy", "Unhealthy", "Updating", "Running", "Stopped", "Stopped + (deallocated)". + :type status: str or ~storage_pool_management.models.OperationalStatus + :param disks: List of Azure Managed Disks to attach to a Disk Pool. :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Azure resource id of the subnet for the DiskPool. + :param subnet_id: Required. Azure Resource ID of a Subnet for the Disk Pool. :type subnet_id: str + :param additional_capabilities: List of additional capabilities for Disk Pool. + :type additional_capabilities: list[str] + :param name_sku_name: Sku name. + :type name_sku_name: str + :param tier: Sku tier. + :type tier: str """ _validation = { @@ -234,9 +197,10 @@ class DiskPool(TrackedResource): 'type': {'readonly': True}, 'location': {'required': True}, 'system_data': {'readonly': True}, - 'provisioning_state': {'readonly': True}, + 'provisioning_state': {'required': True, 'readonly': True}, 'availability_zones': {'required': True}, - 'status': {'readonly': True}, + 'status': {'required': True}, + 'subnet_id': {'required': True}, } _attribute_map = { @@ -245,13 +209,15 @@ class DiskPool(TrackedResource): 'type': {'key': 'type', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'location': {'key': 'location', 'type': 'str'}, - 'sku': {'key': 'sku', 'type': 'Sku'}, 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, 'status': {'key': 'properties.status', 'type': 'str'}, 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, + 'additional_capabilities': {'key': 'properties.additionalCapabilities', 'type': '[str]'}, + 'name_sku_name': {'key': 'sku.name', 'type': 'str'}, + 'tier': {'key': 'sku.tier', 'type': 'str'}, } def __init__( @@ -259,13 +225,85 @@ def __init__( **kwargs ): super(DiskPool, self).__init__(**kwargs) - self.sku = kwargs.get('sku', None) self.system_data = None self.provisioning_state = None self.availability_zones = kwargs['availability_zones'] - self.status = None + self.status = kwargs['status'] self.disks = kwargs.get('disks', None) - self.subnet_id = kwargs.get('subnet_id', None) + self.subnet_id = kwargs['subnet_id'] + self.additional_capabilities = kwargs.get('additional_capabilities', None) + self.name_sku_name = kwargs.get('name_sku_name', None) + self.tier = kwargs.get('tier', None) + + +class DiskPoolCreate(msrest.serialization.Model): + """Request payload for create or update Disk Pool request. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param sku: Required. 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 location: Required. The geo-location where the resource lives. + :type location: str + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: 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. + :type disks: list[~storage_pool_management.models.Disk] + :param subnet_id: Required. Azure Resource ID of a Subnet for the Disk Pool. + :type subnet_id: str + :param additional_capabilities: List of additional capabilities for a Disk Pool. + :type additional_capabilities: list[str] + """ + + _validation = { + 'sku': {'required': True}, + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'subnet_id': {'required': True}, + } + + _attribute_map = { + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, + 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, + 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, + 'additional_capabilities': {'key': 'properties.additionalCapabilities', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(DiskPoolCreate, self).__init__(**kwargs) + self.sku = kwargs['sku'] + self.tags = kwargs.get('tags', None) + self.location = kwargs['location'] + self.id = None + self.name = None + self.type = None + self.availability_zones = kwargs.get('availability_zones', None) + self.disks = kwargs.get('disks', None) + self.subnet_id = kwargs['subnet_id'] + self.additional_capabilities = kwargs.get('additional_capabilities', None) class DiskPoolListResult(msrest.serialization.Model): @@ -275,7 +313,7 @@ class DiskPoolListResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param value: Required. An array of Disk Pool objects. + :param value: Required. An array of Disk pool objects. :type value: list[~storage_pool_management.models.DiskPool] :ivar next_link: URI to fetch the next section of the paginated response. :vartype next_link: str @@ -300,6 +338,135 @@ def __init__( self.next_link = None +class DiskPoolUpdate(msrest.serialization.Model): + """Request payload for Update Disk Pool request. + + :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. + :type disks: list[~storage_pool_management.models.Disk] + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, + } + + def __init__( + self, + **kwargs + ): + super(DiskPoolUpdate, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) + self.disks = kwargs.get('disks', None) + + +class DiskPoolZoneInfo(msrest.serialization.Model): + """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 + """ + + _attribute_map = { + 'availability_zones': {'key': 'availabilityZones', 'type': '[str]'}, + 'additional_capabilities': {'key': 'additionalCapabilities', 'type': '[str]'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, + } + + def __init__( + self, + **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) + + +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 + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DiskPoolZoneInfo]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DiskPoolZoneListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class EndpointDependency(msrest.serialization.Model): + """A domain name that a service is reached at, including details of the current connection status. + + :param domain_name: The domain name of the dependency. + :type domain_name: str + :param endpoint_details: The IP Addresses and Ports used when connecting to DomainName. + :type endpoint_details: list[~storage_pool_management.models.EndpointDetail] + """ + + _attribute_map = { + 'domain_name': {'key': 'domainName', 'type': 'str'}, + 'endpoint_details': {'key': 'endpointDetails', 'type': '[EndpointDetail]'}, + } + + def __init__( + self, + **kwargs + ): + super(EndpointDependency, self).__init__(**kwargs) + self.domain_name = kwargs.get('domain_name', None) + self.endpoint_details = kwargs.get('endpoint_details', None) + + +class EndpointDetail(msrest.serialization.Model): + """Current TCP connectivity information from the App Service Environment to a single endpoint. + + :param ip_address: An IP Address that Domain Name currently resolves to. + :type ip_address: str + :param port: The port an endpoint is connected to. + :type port: int + :param latency: The time in milliseconds it takes for a TCP connection to be created from the + App Service Environment to this IpAddress at this Port. + :type latency: float + :param is_accessible: Whether it is possible to create a TCP connection from the App Service + Environment to this IpAddress at this Port. + :type is_accessible: bool + """ + + _attribute_map = { + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + 'latency': {'key': 'latency', 'type': 'float'}, + 'is_accessible': {'key': 'isAccessible', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(EndpointDetail, self).__init__(**kwargs) + self.ip_address = kwargs.get('ip_address', None) + self.port = kwargs.get('port', None) + self.latency = kwargs.get('latency', None) + self.is_accessible = kwargs.get('is_accessible', None) + + class Error(msrest.serialization.Model): """The resource management error response. @@ -395,14 +562,13 @@ def __init__( class IscsiLun(msrest.serialization.Model): - """Lun to expose the ManagedDisk. + """LUN to expose the Azure Managed Disk. All required parameters must be populated in order to send to Azure. - :param name: Required. Lun name. + :param name: Required. User defined name for iSCSI LUN; example: "lun0". :type name: str - :param managed_disk_azure_resource_id: Required. Unique Azure resource id of the managed disk. - Required. + :param managed_disk_azure_resource_id: Required. Azure Resource ID of the Managed Disk. :type managed_disk_azure_resource_id: str """ @@ -426,10 +592,12 @@ def __init__( class IscsiTarget(Resource): - """Payload for iSCSI Target Create or Update requests. + """Response for iSCSI Target requests. Variables are only populated by the server, and will be ignored when sending a request. + All required parameters must be populated in order to send to Azure. + :ivar id: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str @@ -438,35 +606,56 @@ class IscsiTarget(Resource): :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. :vartype type: str - :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: - "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". - :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", - "Unknown", "Healthy", "Unhealthy". - :vartype status: str or ~storage_pool_management.models.OperationalStatus - :param tpgs: list of iSCSI target portal groups. - :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] - :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: - iqn.2005-03.org.iscsi:server. + :ivar system_data: Resource metadata required by ARM RPC. + :vartype system_data: ~storage_pool_management.models.SystemMetadata + :param acl_mode: Required. Mode for Target connectivity. Possible values include: "Dynamic", + "Static". + :type acl_mode: str or ~storage_pool_management.models.IscsiTargetAclMode + :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. + :type luns: list[~storage_pool_management.models.IscsiLun] + :param target_iqn: Required. iSCSI Target IQN (iSCSI Qualified Name); example: + "iqn.2005-03.org.iscsi:server". :type target_iqn: str + :ivar provisioning_state: Required. State of the operation on the resource. Possible values + include: "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", + "Deleting". + :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates + :param status: Required. Operational status of the iSCSI Target. Possible values include: + "Invalid", "Unknown", "Healthy", "Unhealthy", "Updating", "Running", "Stopped", "Stopped + (deallocated)". + :type status: str or ~storage_pool_management.models.OperationalStatus + :param endpoints: List of private IPv4 addresses to connect to the iSCSI Target. + :type endpoints: list[str] + :param port: The port used by iSCSI Target portal group. + :type port: int """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - 'status': {'readonly': True}, + 'system_data': {'readonly': True}, + 'acl_mode': {'required': True}, + 'target_iqn': {'required': True}, + 'provisioning_state': {'required': True, 'readonly': True}, + 'status': {'required': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, + 'acl_mode': {'key': 'properties.aclMode', 'type': 'str'}, + 'static_acls': {'key': 'properties.staticAcls', 'type': '[Acl]'}, + 'luns': {'key': 'properties.luns', 'type': '[IscsiLun]'}, + 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'status': {'key': 'properties.status', 'type': 'str'}, - 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroup]'}, - 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, + 'endpoints': {'key': 'properties.endpoints', 'type': '[str]'}, + 'port': {'key': 'properties.port', 'type': 'int'}, } def __init__( @@ -474,10 +663,70 @@ def __init__( **kwargs ): super(IscsiTarget, self).__init__(**kwargs) + self.system_data = None + self.acl_mode = kwargs['acl_mode'] + self.static_acls = kwargs.get('static_acls', None) + self.luns = kwargs.get('luns', None) + self.target_iqn = kwargs['target_iqn'] self.provisioning_state = None - self.status = None - self.tpgs = kwargs.get('tpgs', None) + self.status = kwargs['status'] + self.endpoints = kwargs.get('endpoints', None) + self.port = kwargs.get('port', None) + + +class IscsiTargetCreate(Resource): + """Payload for iSCSI Target create or update requests. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param acl_mode: Required. Mode for Target connectivity. Possible values include: "Dynamic", + "Static". + :type acl_mode: str or ~storage_pool_management.models.IscsiTargetAclMode + :param target_iqn: iSCSI Target IQN (iSCSI Qualified Name); example: + "iqn.2005-03.org.iscsi:server". + :type target_iqn: 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. + :type luns: list[~storage_pool_management.models.IscsiLun] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'acl_mode': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'acl_mode': {'key': 'properties.aclMode', 'type': 'str'}, + 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, + 'static_acls': {'key': 'properties.staticAcls', 'type': '[Acl]'}, + 'luns': {'key': 'properties.luns', 'type': '[IscsiLun]'}, + } + + def __init__( + self, + **kwargs + ): + super(IscsiTargetCreate, self).__init__(**kwargs) + self.acl_mode = kwargs['acl_mode'] self.target_iqn = kwargs.get('target_iqn', None) + self.static_acls = kwargs.get('static_acls', None) + self.luns = kwargs.get('luns', None) class IscsiTargetList(msrest.serialization.Model): @@ -487,7 +736,7 @@ class IscsiTargetList(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param value: Required. An array of iSCSI targets within a Disk Pool. + :param value: Required. An array of iSCSI Targets in a Disk Pool. :type value: list[~storage_pool_management.models.IscsiTarget] :ivar next_link: URI to fetch the next section of the paginated response. :vartype next_link: str @@ -512,6 +761,104 @@ def __init__( self.next_link = None +class IscsiTargetUpdate(Resource): + """Payload for iSCSI Target update requests. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: 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. + :type luns: list[~storage_pool_management.models.IscsiLun] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'static_acls': {'key': 'properties.staticAcls', 'type': '[Acl]'}, + 'luns': {'key': 'properties.luns', 'type': '[IscsiLun]'}, + } + + def __init__( + self, + **kwargs + ): + super(IscsiTargetUpdate, self).__init__(**kwargs) + self.static_acls = kwargs.get('static_acls', None) + self.luns = kwargs.get('luns', None) + + +class OutboundEnvironmentEndpoint(msrest.serialization.Model): + """Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + + :param category: The type of service accessed by the App Service Environment, e.g., Azure + Storage, Azure SQL Database, and Azure Active Directory. + :type category: str + :param endpoints: The endpoints that the App Service Environment reaches the service at. + :type endpoints: list[~storage_pool_management.models.EndpointDependency] + """ + + _attribute_map = { + 'category': {'key': 'category', 'type': 'str'}, + 'endpoints': {'key': 'endpoints', 'type': '[EndpointDependency]'}, + } + + def __init__( + self, + **kwargs + ): + super(OutboundEnvironmentEndpoint, self).__init__(**kwargs) + self.category = kwargs.get('category', None) + self.endpoints = kwargs.get('endpoints', None) + + +class OutboundEnvironmentEndpointList(msrest.serialization.Model): + """Collection of Outbound Environment Endpoints. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. Collection of resources. + :type value: list[~storage_pool_management.models.OutboundEnvironmentEndpoint] + :ivar next_link: Link to next page of resources. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[OutboundEnvironmentEndpoint]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OutboundEnvironmentEndpointList, self).__init__(**kwargs) + self.value = kwargs['value'] + self.next_link = None + + class ProxyResource(Resource): """The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. @@ -547,25 +894,14 @@ def __init__( class Sku(msrest.serialization.Model): - """The resource model definition representing SKU. + """Sku for ARM resource. All required parameters must be populated in order to send to Azure. - :param name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code. + :param name: Required. Sku name. :type name: str - :param tier: This field is required to be implemented by the Resource Provider if the service - has more than one tier, but is not required on a PUT. Possible values include: "Free", "Basic", - "Standard", "Premium". - :type tier: str or ~storage_pool_management.models.SkuTier - :param size: The SKU size. When the name field is the combination of tier and some other value, - this would be the standalone code. - :type size: str - :param family: If the service has different generations of hardware, for the same SKU, then - that can be captured here. - :type family: str - :param capacity: If the SKU supports scale out/in then the capacity integer should be included. - If scale out/in is not possible for the resource this may be omitted. - :type capacity: int + :param tier: Sku tier. + :type tier: str """ _validation = { @@ -575,9 +911,6 @@ class Sku(msrest.serialization.Model): _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'tier': {'key': 'tier', 'type': 'str'}, - 'size': {'key': 'size', 'type': 'str'}, - 'family': {'key': 'family', 'type': 'str'}, - 'capacity': {'key': 'capacity', 'type': 'int'}, } def __init__( @@ -587,9 +920,6 @@ def __init__( super(Sku, self).__init__(**kwargs) self.name = kwargs['name'] self.tier = kwargs.get('tier', None) - self.size = kwargs.get('size', None) - self.family = kwargs.get('family', None) - self.capacity = kwargs.get('capacity', None) class StoragePoolOperationDisplay(msrest.serialization.Model): @@ -709,31 +1039,31 @@ def __init__( class SystemMetadata(msrest.serialization.Model): - """Resource metadata required by ARM RPC. + """Metadata pertaining to creation and last modification of the resource. - :param created_by: A string identifier for the identity that created the resource. + :param created_by: The identity that created the resource. :type created_by: str - :param created_by_type: The type of identity that created the resource: user, application, - managedIdentity. - :type created_by_type: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~storage_pool_management.models.CreatedByType :param created_at: The timestamp of resource creation (UTC). - :type created_at: str - :param last_modified_by: A string identifier for the identity that last modified the resource. + :type created_at: ~datetime.datetime + :param last_modified_by: The identity that last modified the resource. :type last_modified_by: str - :param last_modified_by_type: The type of identity that last modified the resource: user, - application, managedIdentity. - :type last_modified_by_type: str - :param last_modified_at: The timestamp of resource last modification (UTC). - :type last_modified_at: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or ~storage_pool_management.models.CreatedByType + :param last_modified_at: The type of identity that last modified the resource. + :type last_modified_at: ~datetime.datetime """ _attribute_map = { 'created_by': {'key': 'createdBy', 'type': 'str'}, 'created_by_type': {'key': 'createdByType', 'type': 'str'}, - 'created_at': {'key': 'createdAt', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, - 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, } def __init__( @@ -747,55 +1077,3 @@ def __init__( self.last_modified_by = kwargs.get('last_modified_by', None) self.last_modified_by_type = kwargs.get('last_modified_by_type', None) self.last_modified_at = kwargs.get('last_modified_at', None) - - -class TargetPortalGroup(msrest.serialization.Model): - """iSCSI target portal group. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param luns: Required. Lun list to be exposed through the iSCSI target. Required. - :type luns: list[~storage_pool_management.models.IscsiLun] - :param acls: Required. Access Control List (ACL) for an iSCSI target lun. - :type acls: list[~storage_pool_management.models.Acl] - :param attributes: Required. Attributes of an iSCSI target. - :type attributes: ~storage_pool_management.models.Attributes - :ivar endpoints: list of public ip addresses to connect to the iSCSI target. - :vartype endpoints: list[str] - :ivar tag: The tag associated with the iSCSI target portal group. - :vartype tag: int - :ivar port: The port at which the iSCSI target is available. - :vartype port: int - """ - - _validation = { - 'luns': {'required': True}, - 'acls': {'required': True}, - 'attributes': {'required': True}, - 'endpoints': {'readonly': True}, - 'tag': {'readonly': True}, - 'port': {'readonly': True}, - } - - _attribute_map = { - 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, - 'acls': {'key': 'acls', 'type': '[Acl]'}, - 'attributes': {'key': 'attributes', 'type': 'Attributes'}, - 'endpoints': {'key': 'endpoints', 'type': '[str]'}, - 'tag': {'key': 'tag', 'type': 'int'}, - 'port': {'key': 'port', 'type': 'int'}, - } - - def __init__( - self, - **kwargs - ): - super(TargetPortalGroup, self).__init__(**kwargs) - self.luns = kwargs['luns'] - self.acls = kwargs['acls'] - self.attributes = kwargs['attributes'] - self.endpoints = None - self.tag = None - self.port = None 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 b875445df59..31dd2d7795e 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 @@ -6,6 +6,7 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +import datetime from typing import Dict, List, Optional, Union from azure.core.exceptions import HttpResponseError @@ -15,35 +16,25 @@ class Acl(msrest.serialization.Model): - """Access Control List (ACL) for an iSCSI target lun. + """Access Control List (ACL) for an iSCSI Target; defines LUN masking policy. All required parameters must be populated in order to send to Azure. - :param initiator_iqn: Required. iSCSI initiator iqn (iSCSI Qualified Name); example: - iqn.2005-03.org.iscsi:client. + :param initiator_iqn: Required. iSCSI initiator IQN (iSCSI Qualified Name); example: + "iqn.2005-03.org.iscsi:client". :type initiator_iqn: str - :param mapped_luns: Required. Array of lun names mapped to the ACL. + :param mapped_luns: Required. List of LUN names mapped to the ACL. :type mapped_luns: list[str] - :param username: Username for Challenge Handshake Authentication Protocol (CHAP) - authentication. - :type username: str - :param password: Password for Challenge Handshake Authentication Protocol (CHAP) - authentication. - :type password: str """ _validation = { 'initiator_iqn': {'required': True}, 'mapped_luns': {'required': True}, - 'username': {'max_length': 128, 'min_length': 7}, - 'password': {'max_length': 512, 'min_length': 12}, } _attribute_map = { 'initiator_iqn': {'key': 'initiatorIqn', 'type': 'str'}, 'mapped_luns': {'key': 'mappedLuns', 'type': '[str]'}, - 'username': {'key': 'credentials.username', 'type': 'str'}, - 'password': {'key': 'credentials.password', 'type': 'str'}, } def __init__( @@ -51,57 +42,19 @@ def __init__( *, initiator_iqn: str, mapped_luns: List[str], - username: Optional[str] = None, - password: Optional[str] = None, **kwargs ): super(Acl, self).__init__(**kwargs) self.initiator_iqn = initiator_iqn self.mapped_luns = mapped_luns - self.username = username - self.password = password - - -class Attributes(msrest.serialization.Model): - """Attributes of an iSCSI target. - - All required parameters must be populated in order to send to Azure. - - :param authentication: Required. Indicates whether or not authentication is enabled on the ACL. - :type authentication: bool - :param prod_mode_write_protect: Required. Indicates whether or not write protect is enabled on - the luns. - :type prod_mode_write_protect: bool - """ - - _validation = { - 'authentication': {'required': True}, - 'prod_mode_write_protect': {'required': True}, - } - - _attribute_map = { - 'authentication': {'key': 'authentication', 'type': 'bool'}, - 'prod_mode_write_protect': {'key': 'prodModeWriteProtect', 'type': 'bool'}, - } - - def __init__( - self, - *, - authentication: bool, - prod_mode_write_protect: bool, - **kwargs - ): - super(Attributes, self).__init__(**kwargs) - self.authentication = authentication - self.prod_mode_write_protect = prod_mode_write_protect class Disk(msrest.serialization.Model): - """Managed disk to attach to the DiskPool. Required. + """Azure Managed Disk to attach to the Disk Pool. All required parameters must be populated in order to send to Azure. - :param id: Required. Unique Azure resource id of the managed disk. Required. + :param id: Required. Unique Azure Resource ID of the Managed Disk. :type id: str """ @@ -209,7 +162,7 @@ def __init__( class DiskPool(TrackedResource): - """Request payload for Create or Update Disk Pool requests. + """Response for Disk Pool request. Variables are only populated by the server, and will be ignored when sending a request. @@ -227,22 +180,28 @@ class DiskPool(TrackedResource): :type tags: dict[str, str] :param location: Required. The geo-location where the resource lives. :type location: str - :param sku: Sku description. - :type sku: ~storage_pool_management.models.Sku :ivar system_data: Resource metadata required by ARM RPC. :vartype system_data: ~storage_pool_management.models.SystemMetadata - :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: - "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". + :ivar provisioning_state: Required. State of the operation on the resource. Possible values + include: "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", + "Deleting". :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :param availability_zones: Required. Logical zone for DiskPool resource. + :param availability_zones: Required. Logical zone for Disk Pool resource; example: ["1"]. :type availability_zones: list[str] - :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", - "Unknown", "Healthy", "Unhealthy". - :vartype status: str or ~storage_pool_management.models.OperationalStatus - :param disks: List of Azure managed disks to attach to a DiskPool. + :param status: Required. Operational status of the Disk Pool. Possible values include: + "Invalid", "Unknown", "Healthy", "Unhealthy", "Updating", "Running", "Stopped", "Stopped + (deallocated)". + :type status: str or ~storage_pool_management.models.OperationalStatus + :param disks: List of Azure Managed Disks to attach to a Disk Pool. :type disks: list[~storage_pool_management.models.Disk] - :param subnet_id: Azure resource id of the subnet for the DiskPool. + :param subnet_id: Required. Azure Resource ID of a Subnet for the Disk Pool. :type subnet_id: str + :param additional_capabilities: List of additional capabilities for Disk Pool. + :type additional_capabilities: list[str] + :param name_sku_name: Sku name. + :type name_sku_name: str + :param tier: Sku tier. + :type tier: str """ _validation = { @@ -251,9 +210,10 @@ class DiskPool(TrackedResource): 'type': {'readonly': True}, 'location': {'required': True}, 'system_data': {'readonly': True}, - 'provisioning_state': {'readonly': True}, + 'provisioning_state': {'required': True, 'readonly': True}, 'availability_zones': {'required': True}, - 'status': {'readonly': True}, + 'status': {'required': True}, + 'subnet_id': {'required': True}, } _attribute_map = { @@ -262,13 +222,15 @@ class DiskPool(TrackedResource): 'type': {'key': 'type', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'location': {'key': 'location', 'type': 'str'}, - 'sku': {'key': 'sku', 'type': 'Sku'}, 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, 'status': {'key': 'properties.status', 'type': 'str'}, 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, + 'additional_capabilities': {'key': 'properties.additionalCapabilities', 'type': '[str]'}, + 'name_sku_name': {'key': 'sku.name', 'type': 'str'}, + 'tier': {'key': 'sku.tier', 'type': 'str'}, } def __init__( @@ -276,20 +238,103 @@ def __init__( *, location: str, availability_zones: List[str], + status: Union[str, "OperationalStatus"], + subnet_id: str, tags: Optional[Dict[str, str]] = None, - sku: Optional["Sku"] = None, disks: Optional[List["Disk"]] = None, - subnet_id: Optional[str] = None, + additional_capabilities: Optional[List[str]] = None, + name_sku_name: Optional[str] = None, + tier: Optional[str] = None, **kwargs ): super(DiskPool, self).__init__(tags=tags, location=location, **kwargs) - self.sku = sku self.system_data = None self.provisioning_state = None self.availability_zones = availability_zones - self.status = None + self.status = status self.disks = disks self.subnet_id = subnet_id + self.additional_capabilities = additional_capabilities + self.name_sku_name = name_sku_name + self.tier = tier + + +class DiskPoolCreate(msrest.serialization.Model): + """Request payload for create or update Disk Pool request. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param sku: Required. 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 location: Required. The geo-location where the resource lives. + :type location: str + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: 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. + :type disks: list[~storage_pool_management.models.Disk] + :param subnet_id: Required. Azure Resource ID of a Subnet for the Disk Pool. + :type subnet_id: str + :param additional_capabilities: List of additional capabilities for a Disk Pool. + :type additional_capabilities: list[str] + """ + + _validation = { + 'sku': {'required': True}, + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'subnet_id': {'required': True}, + } + + _attribute_map = { + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, + 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, + 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, + 'additional_capabilities': {'key': 'properties.additionalCapabilities', 'type': '[str]'}, + } + + def __init__( + self, + *, + sku: "Sku", + location: str, + subnet_id: str, + tags: Optional[Dict[str, str]] = None, + availability_zones: Optional[List[str]] = None, + disks: Optional[List["Disk"]] = None, + additional_capabilities: Optional[List[str]] = None, + **kwargs + ): + super(DiskPoolCreate, self).__init__(**kwargs) + self.sku = sku + self.tags = tags + self.location = location + self.id = None + self.name = None + self.type = None + self.availability_zones = availability_zones + self.disks = disks + self.subnet_id = subnet_id + self.additional_capabilities = additional_capabilities class DiskPoolListResult(msrest.serialization.Model): @@ -299,7 +344,7 @@ class DiskPoolListResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param value: Required. An array of Disk Pool objects. + :param value: Required. An array of Disk pool objects. :type value: list[~storage_pool_management.models.DiskPool] :ivar next_link: URI to fetch the next section of the paginated response. :vartype next_link: str @@ -326,6 +371,153 @@ def __init__( self.next_link = None +class DiskPoolUpdate(msrest.serialization.Model): + """Request payload for Update Disk Pool request. + + :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. + :type disks: list[~storage_pool_management.models.Disk] + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, + } + + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + disks: Optional[List["Disk"]] = None, + **kwargs + ): + super(DiskPoolUpdate, self).__init__(**kwargs) + self.tags = tags + self.disks = disks + + +class DiskPoolZoneInfo(msrest.serialization.Model): + """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 + """ + + _attribute_map = { + 'availability_zones': {'key': 'availabilityZones', 'type': '[str]'}, + 'additional_capabilities': {'key': 'additionalCapabilities', 'type': '[str]'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, + } + + 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 + + +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 + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DiskPoolZoneInfo]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + 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 + + +class EndpointDependency(msrest.serialization.Model): + """A domain name that a service is reached at, including details of the current connection status. + + :param domain_name: The domain name of the dependency. + :type domain_name: str + :param endpoint_details: The IP Addresses and Ports used when connecting to DomainName. + :type endpoint_details: list[~storage_pool_management.models.EndpointDetail] + """ + + _attribute_map = { + 'domain_name': {'key': 'domainName', 'type': 'str'}, + 'endpoint_details': {'key': 'endpointDetails', 'type': '[EndpointDetail]'}, + } + + def __init__( + self, + *, + domain_name: Optional[str] = None, + endpoint_details: Optional[List["EndpointDetail"]] = None, + **kwargs + ): + super(EndpointDependency, self).__init__(**kwargs) + self.domain_name = domain_name + self.endpoint_details = endpoint_details + + +class EndpointDetail(msrest.serialization.Model): + """Current TCP connectivity information from the App Service Environment to a single endpoint. + + :param ip_address: An IP Address that Domain Name currently resolves to. + :type ip_address: str + :param port: The port an endpoint is connected to. + :type port: int + :param latency: The time in milliseconds it takes for a TCP connection to be created from the + App Service Environment to this IpAddress at this Port. + :type latency: float + :param is_accessible: Whether it is possible to create a TCP connection from the App Service + Environment to this IpAddress at this Port. + :type is_accessible: bool + """ + + _attribute_map = { + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + 'latency': {'key': 'latency', 'type': 'float'}, + 'is_accessible': {'key': 'isAccessible', 'type': 'bool'}, + } + + def __init__( + self, + *, + ip_address: Optional[str] = None, + port: Optional[int] = None, + latency: Optional[float] = None, + is_accessible: Optional[bool] = None, + **kwargs + ): + super(EndpointDetail, self).__init__(**kwargs) + self.ip_address = ip_address + self.port = port + self.latency = latency + self.is_accessible = is_accessible + + class Error(msrest.serialization.Model): """The resource management error response. @@ -423,14 +615,13 @@ def __init__( class IscsiLun(msrest.serialization.Model): - """Lun to expose the ManagedDisk. + """LUN to expose the Azure Managed Disk. All required parameters must be populated in order to send to Azure. - :param name: Required. Lun name. + :param name: Required. User defined name for iSCSI LUN; example: "lun0". :type name: str - :param managed_disk_azure_resource_id: Required. Unique Azure resource id of the managed disk. - Required. + :param managed_disk_azure_resource_id: Required. Azure Resource ID of the Managed Disk. :type managed_disk_azure_resource_id: str """ @@ -457,10 +648,12 @@ def __init__( class IscsiTarget(Resource): - """Payload for iSCSI Target Create or Update requests. + """Response for iSCSI Target requests. Variables are only populated by the server, and will be ignored when sending a request. + All required parameters must be populated in order to send to Azure. + :ivar id: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str @@ -469,49 +662,140 @@ class IscsiTarget(Resource): :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. :vartype type: str - :ivar provisioning_state: State of provisioning of the iSCSI target. Possible values include: - "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting". - :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates - :ivar status: Operational status of the Disk pool. Possible values include: "Invalid", - "Unknown", "Healthy", "Unhealthy". - :vartype status: str or ~storage_pool_management.models.OperationalStatus - :param tpgs: list of iSCSI target portal groups. - :type tpgs: list[~storage_pool_management.models.TargetPortalGroup] - :param target_iqn: iSCSI target iqn (iSCSI Qualified Name); example: - iqn.2005-03.org.iscsi:server. + :ivar system_data: Resource metadata required by ARM RPC. + :vartype system_data: ~storage_pool_management.models.SystemMetadata + :param acl_mode: Required. Mode for Target connectivity. Possible values include: "Dynamic", + "Static". + :type acl_mode: str or ~storage_pool_management.models.IscsiTargetAclMode + :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. + :type luns: list[~storage_pool_management.models.IscsiLun] + :param target_iqn: Required. iSCSI Target IQN (iSCSI Qualified Name); example: + "iqn.2005-03.org.iscsi:server". :type target_iqn: str + :ivar provisioning_state: Required. State of the operation on the resource. Possible values + include: "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", + "Deleting". + :vartype provisioning_state: str or ~storage_pool_management.models.ProvisioningStates + :param status: Required. Operational status of the iSCSI Target. Possible values include: + "Invalid", "Unknown", "Healthy", "Unhealthy", "Updating", "Running", "Stopped", "Stopped + (deallocated)". + :type status: str or ~storage_pool_management.models.OperationalStatus + :param endpoints: List of private IPv4 addresses to connect to the iSCSI Target. + :type endpoints: list[str] + :param port: The port used by iSCSI Target portal group. + :type port: int """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - 'status': {'readonly': True}, + 'system_data': {'readonly': True}, + 'acl_mode': {'required': True}, + 'target_iqn': {'required': True}, + 'provisioning_state': {'required': True, 'readonly': True}, + 'status': {'required': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, + 'acl_mode': {'key': 'properties.aclMode', 'type': 'str'}, + 'static_acls': {'key': 'properties.staticAcls', 'type': '[Acl]'}, + 'luns': {'key': 'properties.luns', 'type': '[IscsiLun]'}, + 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'status': {'key': 'properties.status', 'type': 'str'}, - 'tpgs': {'key': 'properties.tpgs', 'type': '[TargetPortalGroup]'}, - 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, + 'endpoints': {'key': 'properties.endpoints', 'type': '[str]'}, + 'port': {'key': 'properties.port', 'type': 'int'}, } def __init__( self, *, - tpgs: Optional[List["TargetPortalGroup"]] = None, - target_iqn: Optional[str] = None, + acl_mode: Union[str, "IscsiTargetAclMode"], + target_iqn: str, + status: Union[str, "OperationalStatus"], + static_acls: Optional[List["Acl"]] = None, + luns: Optional[List["IscsiLun"]] = None, + endpoints: Optional[List[str]] = None, + port: Optional[int] = None, **kwargs ): super(IscsiTarget, self).__init__(**kwargs) + self.system_data = None + self.acl_mode = acl_mode + self.static_acls = static_acls + self.luns = luns + self.target_iqn = target_iqn self.provisioning_state = None - self.status = None - self.tpgs = tpgs + self.status = status + self.endpoints = endpoints + self.port = port + + +class IscsiTargetCreate(Resource): + """Payload for iSCSI Target create or update requests. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param acl_mode: Required. Mode for Target connectivity. Possible values include: "Dynamic", + "Static". + :type acl_mode: str or ~storage_pool_management.models.IscsiTargetAclMode + :param target_iqn: iSCSI Target IQN (iSCSI Qualified Name); example: + "iqn.2005-03.org.iscsi:server". + :type target_iqn: 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. + :type luns: list[~storage_pool_management.models.IscsiLun] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'acl_mode': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'acl_mode': {'key': 'properties.aclMode', 'type': 'str'}, + 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, + 'static_acls': {'key': 'properties.staticAcls', 'type': '[Acl]'}, + 'luns': {'key': 'properties.luns', 'type': '[IscsiLun]'}, + } + + def __init__( + self, + *, + acl_mode: Union[str, "IscsiTargetAclMode"], + target_iqn: Optional[str] = None, + static_acls: Optional[List["Acl"]] = None, + luns: Optional[List["IscsiLun"]] = None, + **kwargs + ): + super(IscsiTargetCreate, self).__init__(**kwargs) + self.acl_mode = acl_mode self.target_iqn = target_iqn + self.static_acls = static_acls + self.luns = luns class IscsiTargetList(msrest.serialization.Model): @@ -521,7 +805,7 @@ class IscsiTargetList(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param value: Required. An array of iSCSI targets within a Disk Pool. + :param value: Required. An array of iSCSI Targets in a Disk Pool. :type value: list[~storage_pool_management.models.IscsiTarget] :ivar next_link: URI to fetch the next section of the paginated response. :vartype next_link: str @@ -548,6 +832,112 @@ def __init__( self.next_link = None +class IscsiTargetUpdate(Resource): + """Payload for iSCSI Target update requests. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: 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. + :type luns: list[~storage_pool_management.models.IscsiLun] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'static_acls': {'key': 'properties.staticAcls', 'type': '[Acl]'}, + 'luns': {'key': 'properties.luns', 'type': '[IscsiLun]'}, + } + + def __init__( + self, + *, + static_acls: Optional[List["Acl"]] = None, + luns: Optional[List["IscsiLun"]] = None, + **kwargs + ): + super(IscsiTargetUpdate, self).__init__(**kwargs) + self.static_acls = static_acls + self.luns = luns + + +class OutboundEnvironmentEndpoint(msrest.serialization.Model): + """Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + + :param category: The type of service accessed by the App Service Environment, e.g., Azure + Storage, Azure SQL Database, and Azure Active Directory. + :type category: str + :param endpoints: The endpoints that the App Service Environment reaches the service at. + :type endpoints: list[~storage_pool_management.models.EndpointDependency] + """ + + _attribute_map = { + 'category': {'key': 'category', 'type': 'str'}, + 'endpoints': {'key': 'endpoints', 'type': '[EndpointDependency]'}, + } + + def __init__( + self, + *, + category: Optional[str] = None, + endpoints: Optional[List["EndpointDependency"]] = None, + **kwargs + ): + super(OutboundEnvironmentEndpoint, self).__init__(**kwargs) + self.category = category + self.endpoints = endpoints + + +class OutboundEnvironmentEndpointList(msrest.serialization.Model): + """Collection of Outbound Environment Endpoints. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. Collection of resources. + :type value: list[~storage_pool_management.models.OutboundEnvironmentEndpoint] + :ivar next_link: Link to next page of resources. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[OutboundEnvironmentEndpoint]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: List["OutboundEnvironmentEndpoint"], + **kwargs + ): + super(OutboundEnvironmentEndpointList, self).__init__(**kwargs) + self.value = value + self.next_link = None + + class ProxyResource(Resource): """The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. @@ -583,25 +973,14 @@ def __init__( class Sku(msrest.serialization.Model): - """The resource model definition representing SKU. + """Sku for ARM resource. All required parameters must be populated in order to send to Azure. - :param name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code. + :param name: Required. Sku name. :type name: str - :param tier: This field is required to be implemented by the Resource Provider if the service - has more than one tier, but is not required on a PUT. Possible values include: "Free", "Basic", - "Standard", "Premium". - :type tier: str or ~storage_pool_management.models.SkuTier - :param size: The SKU size. When the name field is the combination of tier and some other value, - this would be the standalone code. - :type size: str - :param family: If the service has different generations of hardware, for the same SKU, then - that can be captured here. - :type family: str - :param capacity: If the SKU supports scale out/in then the capacity integer should be included. - If scale out/in is not possible for the resource this may be omitted. - :type capacity: int + :param tier: Sku tier. + :type tier: str """ _validation = { @@ -611,27 +990,18 @@ class Sku(msrest.serialization.Model): _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'tier': {'key': 'tier', 'type': 'str'}, - 'size': {'key': 'size', 'type': 'str'}, - 'family': {'key': 'family', 'type': 'str'}, - 'capacity': {'key': 'capacity', 'type': 'int'}, } def __init__( self, *, name: str, - tier: Optional[Union[str, "SkuTier"]] = None, - size: Optional[str] = None, - family: Optional[str] = None, - capacity: Optional[int] = None, + tier: Optional[str] = None, **kwargs ): super(Sku, self).__init__(**kwargs) self.name = name self.tier = tier - self.size = size - self.family = family - self.capacity = capacity class StoragePoolOperationDisplay(msrest.serialization.Model): @@ -765,42 +1135,42 @@ def __init__( class SystemMetadata(msrest.serialization.Model): - """Resource metadata required by ARM RPC. + """Metadata pertaining to creation and last modification of the resource. - :param created_by: A string identifier for the identity that created the resource. + :param created_by: The identity that created the resource. :type created_by: str - :param created_by_type: The type of identity that created the resource: user, application, - managedIdentity. - :type created_by_type: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~storage_pool_management.models.CreatedByType :param created_at: The timestamp of resource creation (UTC). - :type created_at: str - :param last_modified_by: A string identifier for the identity that last modified the resource. + :type created_at: ~datetime.datetime + :param last_modified_by: The identity that last modified the resource. :type last_modified_by: str - :param last_modified_by_type: The type of identity that last modified the resource: user, - application, managedIdentity. - :type last_modified_by_type: str - :param last_modified_at: The timestamp of resource last modification (UTC). - :type last_modified_at: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or ~storage_pool_management.models.CreatedByType + :param last_modified_at: The type of identity that last modified the resource. + :type last_modified_at: ~datetime.datetime """ _attribute_map = { 'created_by': {'key': 'createdBy', 'type': 'str'}, 'created_by_type': {'key': 'createdByType', 'type': 'str'}, - 'created_at': {'key': 'createdAt', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, - 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, } def __init__( self, *, created_by: Optional[str] = None, - created_by_type: Optional[str] = None, - created_at: Optional[str] = None, + created_by_type: Optional[Union[str, "CreatedByType"]] = None, + created_at: Optional[datetime.datetime] = None, last_modified_by: Optional[str] = None, - last_modified_by_type: Optional[str] = None, - last_modified_at: Optional[str] = None, + last_modified_by_type: Optional[Union[str, "CreatedByType"]] = None, + last_modified_at: Optional[datetime.datetime] = None, **kwargs ): super(SystemMetadata, self).__init__(**kwargs) @@ -810,59 +1180,3 @@ def __init__( self.last_modified_by = last_modified_by self.last_modified_by_type = last_modified_by_type self.last_modified_at = last_modified_at - - -class TargetPortalGroup(msrest.serialization.Model): - """iSCSI target portal group. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param luns: Required. Lun list to be exposed through the iSCSI target. Required. - :type luns: list[~storage_pool_management.models.IscsiLun] - :param acls: Required. Access Control List (ACL) for an iSCSI target lun. - :type acls: list[~storage_pool_management.models.Acl] - :param attributes: Required. Attributes of an iSCSI target. - :type attributes: ~storage_pool_management.models.Attributes - :ivar endpoints: list of public ip addresses to connect to the iSCSI target. - :vartype endpoints: list[str] - :ivar tag: The tag associated with the iSCSI target portal group. - :vartype tag: int - :ivar port: The port at which the iSCSI target is available. - :vartype port: int - """ - - _validation = { - 'luns': {'required': True}, - 'acls': {'required': True}, - 'attributes': {'required': True}, - 'endpoints': {'readonly': True}, - 'tag': {'readonly': True}, - 'port': {'readonly': True}, - } - - _attribute_map = { - 'luns': {'key': 'luns', 'type': '[IscsiLun]'}, - 'acls': {'key': 'acls', 'type': '[Acl]'}, - 'attributes': {'key': 'attributes', 'type': 'Attributes'}, - 'endpoints': {'key': 'endpoints', 'type': '[str]'}, - 'tag': {'key': 'tag', 'type': 'int'}, - 'port': {'key': 'port', 'type': 'int'}, - } - - def __init__( - self, - *, - luns: List["IscsiLun"], - acls: List["Acl"], - attributes: "Attributes", - **kwargs - ): - super(TargetPortalGroup, self).__init__(**kwargs) - self.luns = luns - self.acls = acls - self.attributes = attributes - self.endpoints = None - self.tag = None - self.port = None 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 deae4a6f128..061cbd1e41d 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 @@ -26,17 +26,45 @@ def __getattr__(cls, name): raise AttributeError(name) +class CreatedByType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of identity that created the resource. + """ + + USER = "User" + APPLICATION = "Application" + MANAGED_IDENTITY = "ManagedIdentity" + KEY = "Key" + +class DiskPoolTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """SKU of the VM host part of the Disk Pool deployment + """ + + BASIC = "Basic" + STANDARD = "Standard" + PREMIUM = "Premium" + +class IscsiTargetAclMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """ACL mode for iSCSI Target. + """ + + DYNAMIC = "Dynamic" + STATIC = "Static" + class OperationalStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Operational status of the Disk pool + """Operational status of the resource. """ INVALID = "Invalid" UNKNOWN = "Unknown" HEALTHY = "Healthy" UNHEALTHY = "Unhealthy" + UPDATING = "Updating" + RUNNING = "Running" + STOPPED = "Stopped" + STOPPED_DEALLOCATED__ = "Stopped (deallocated)" class ProvisioningStates(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """State of provisioning of the iSCSI target + """Provisioning state of the iSCSI Target. """ INVALID = "Invalid" @@ -47,13 +75,3 @@ class ProvisioningStates(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): CREATING = "Creating" UPDATING = "Updating" DELETING = "Deleting" - -class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """This field is required to be implemented by the Resource Provider if the service has more than - one tier, but is not required on a PUT. - """ - - FREE = "Free" - BASIC = "Basic" - STANDARD = "Standard" - PREMIUM = "Premium" 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 076a93504e6..1620075f15e 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py @@ -8,10 +8,12 @@ from ._operations import Operations from ._disk_pools_operations import DiskPoolsOperations +from ._disk_pool_zones_operations import DiskPoolZonesOperations from ._iscsi_targets_operations import IscsiTargetsOperations __all__ = [ 'Operations', 'DiskPoolsOperations', + 'DiskPoolZonesOperations', '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 new file mode 100644 index 00000000000..f3ca01df3c1 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pool_zones_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 DiskPoolZonesOperations(object): + """DiskPoolZonesOperations 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.DiskPoolZoneListResult"] + """Lists available Disk Pool 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 DiskPoolZoneListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.DiskPoolZoneListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPoolZoneListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-04-01-preview" + 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('DiskPoolZoneListResult', 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}/diskPoolZones'} # type: ignore 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 2e4c1229772..04bc8ff1a46 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 = "2020-03-15-preview" + api_version = "2021-04-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -121,7 +121,7 @@ def list_by_resource_group( **kwargs # type: Any ): # type: (...) -> Iterable["models.DiskPoolListResult"] - """Gets a list of DiskPools. + """Gets a list of DiskPools in a resource group. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -135,7 +135,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" + api_version = "2021-04-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -191,7 +191,7 @@ def _create_or_update_initial( self, resource_group_name, # type: str disk_pool_name, # type: str - disk_pool_payload, # type: "models.DiskPool" + disk_pool_create_payload, # type: "models.DiskPoolCreate" **kwargs # type: Any ): # type: (...) -> "models.DiskPool" @@ -200,7 +200,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" + api_version = "2021-04-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -209,7 +209,7 @@ def _create_or_update_initial( 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -223,13 +223,13 @@ def _create_or_update_initial( header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_payload, 'DiskPool') + body_content = self._serialize.body(disk_pool_create_payload, 'DiskPoolCreate') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response - if response.status_code not in [200, 202]: + if response.status_code not in [200, 201]: 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) @@ -237,7 +237,7 @@ def _create_or_update_initial( if response.status_code == 200: deserialized = self._deserialize('DiskPool', pipeline_response) - if response.status_code == 202: + if response.status_code == 201: deserialized = self._deserialize('DiskPool', pipeline_response) if cls: @@ -250,18 +250,18 @@ def begin_create_or_update( self, resource_group_name, # type: str disk_pool_name, # type: str - disk_pool_payload, # type: "models.DiskPool" + disk_pool_create_payload, # type: "models.DiskPoolCreate" **kwargs # type: Any ): # type: (...) -> LROPoller["models.DiskPool"] - """Create a new Disk Pool. + """Create or Update Disk pool. :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 - :param disk_pool_payload: Request payload for Disk Pool operations. - :type disk_pool_payload: ~storage_pool_management.models.DiskPool + :param disk_pool_create_payload: Request payload for Disk Pool create operation. + :type disk_pool_create_payload: ~storage_pool_management.models.DiskPoolCreate :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 @@ -283,7 +283,7 @@ def begin_create_or_update( raw_result = self._create_or_update_initial( resource_group_name=resource_group_name, disk_pool_name=disk_pool_name, - disk_pool_payload=disk_pool_payload, + disk_pool_create_payload=disk_pool_create_payload, cls=lambda x,y,z: x, **kwargs ) @@ -301,10 +301,10 @@ def get_long_running_output(pipeline_response): 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), } - if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + 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: @@ -318,42 +318,29 @@ def get_long_running_output(pipeline_response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore - def update( + def _update_initial( self, resource_group_name, # type: str disk_pool_name, # type: str - disk_pool_payload, # type: "models.DiskPool" + disk_pool_update_payload, # type: "models.DiskPoolUpdate" **kwargs # type: Any ): - # type: (...) -> "models.DiskPool" - """Update a Storage Pool. - - :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 - :param disk_pool_payload: Request payload for Disk Pool operations. - :type disk_pool_payload: ~storage_pool_management.models.DiskPool - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DiskPool, or the result of cls(response) - :rtype: ~storage_pool_management.models.DiskPool - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + # type: (...) -> Optional["models.DiskPool"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.DiskPool"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" + api_version = "2021-04-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" # Construct URL - url = self.update.metadata['url'] # type: ignore + url = self._update_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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -367,24 +354,98 @@ def update( header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(disk_pool_payload, 'DiskPool') + body_content = self._serialize.body(disk_pool_update_payload, 'DiskPoolUpdate') body_content_kwargs['content'] = body_content request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response - if response.status_code not in [200]: + 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) - deserialized = self._deserialize('DiskPool', pipeline_response) + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('DiskPool', pipeline_response) if cls: return cls(pipeline_response, deserialized, {}) return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def begin_update( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + disk_pool_update_payload, # type: "models.DiskPoolUpdate" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["models.DiskPool"] + """Update a Disk pool. + + :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 + :param disk_pool_update_payload: Request payload for Disk Pool update operation. + :type disk_pool_update_payload: ~storage_pool_management.models.DiskPoolUpdate + :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 DiskPool or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.DiskPool] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.DiskPool"] + 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._update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + disk_pool_update_payload=disk_pool_update_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DiskPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore def _delete_initial( self, @@ -398,7 +459,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" + api_version = "2021-04-01-preview" accept = "application/json" # Construct URL @@ -406,7 +467,7 @@ def _delete_initial( 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -439,7 +500,7 @@ def begin_delete( **kwargs # type: Any ): # type: (...) -> LROPoller[None] - """Delete a Disk Pool. + """Delete a Disk pool. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -480,10 +541,10 @@ def get_long_running_output(pipeline_response): 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), } - if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + 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: @@ -504,7 +565,7 @@ def get( **kwargs # type: Any ): # type: (...) -> "models.DiskPool" - """Get a Disk Pool. + """Get a Disk pool. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -520,7 +581,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" + api_version = "2021-04-01-preview" accept = "application/json" # Construct URL @@ -528,7 +589,7 @@ def get( 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -556,3 +617,302 @@ def get( return deserialized get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}'} # type: ignore + + def list_outbound_network_dependencies_endpoints( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.OutboundEnvironmentEndpointList"] + """Gets the network endpoints of all outbound dependencies of a Disk Pool. + + :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 + :return: An iterator like instance of either OutboundEnvironmentEndpointList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.OutboundEnvironmentEndpointList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.OutboundEnvironmentEndpointList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-04-01-preview" + 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_outbound_network_dependencies_endpoints.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') + + 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('OutboundEnvironmentEndpointList', 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_outbound_network_dependencies_endpoints.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints'} # type: ignore + + def _start_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-04-01-preview" + accept = "application/json" + + # Construct URL + url = self._start_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, {}) + + _start_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start'} # type: ignore + + def begin_start( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """The operation to start a Disk Pool. + + :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._start_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_start.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start'} # type: ignore + + def _deallocate_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-04-01-preview" + accept = "application/json" + + # Construct URL + url = self._deallocate_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, {}) + + _deallocate_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate'} # type: ignore + + def begin_deallocate( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + **kwargs # type: Any + ): + # 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. + + :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._deallocate_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_deallocate.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate'} # 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 c043566ef13..82cd68141b2 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 @@ -54,7 +54,7 @@ def list_by_disk_pool( **kwargs # type: Any ): # type: (...) -> Iterable["models.IscsiTargetList"] - """Get iSCSI Targets within a Disk Pool. + """Get iSCSI Targets in a Disk pool. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -70,7 +70,7 @@ def list_by_disk_pool( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" + api_version = "2021-04-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -84,7 +84,7 @@ def prepare_request(next_link=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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters @@ -128,7 +128,7 @@ def _create_or_update_initial( resource_group_name, # type: str disk_pool_name, # type: str iscsi_target_name, # type: str - iscsi_target_payload, # type: "models.IscsiTarget" + iscsi_target_create_payload, # type: "models.IscsiTargetCreate" **kwargs # type: Any ): # type: (...) -> "models.IscsiTarget" @@ -137,7 +137,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" + api_version = "2021-04-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -146,7 +146,7 @@ def _create_or_update_initial( 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -161,13 +161,13 @@ def _create_or_update_initial( header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(iscsi_target_payload, 'IscsiTarget') + body_content = self._serialize.body(iscsi_target_create_payload, 'IscsiTargetCreate') body_content_kwargs['content'] = body_content request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response - if response.status_code not in [200, 202]: + if response.status_code not in [200, 201]: 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) @@ -175,7 +175,7 @@ def _create_or_update_initial( if response.status_code == 200: deserialized = self._deserialize('IscsiTarget', pipeline_response) - if response.status_code == 202: + if response.status_code == 201: deserialized = self._deserialize('IscsiTarget', pipeline_response) if cls: @@ -189,20 +189,20 @@ def begin_create_or_update( resource_group_name, # type: str disk_pool_name, # type: str iscsi_target_name, # type: str - iscsi_target_payload, # type: "models.IscsiTarget" + iscsi_target_create_payload, # type: "models.IscsiTargetCreate" **kwargs # type: Any ): # type: (...) -> LROPoller["models.IscsiTarget"] - """Create or Update an iSCSI target. + """Create or Update an iSCSI Target. :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 - :param iscsi_target_name: The name of the iSCSI target. + :param iscsi_target_name: The name of the iSCSI Target. :type iscsi_target_name: str - :param iscsi_target_payload: Request payload for iSCSI target operations. - :type iscsi_target_payload: ~storage_pool_management.models.IscsiTarget + :param iscsi_target_create_payload: Request payload for iSCSI Target create operation. + :type iscsi_target_create_payload: ~storage_pool_management.models.IscsiTargetCreate :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 @@ -225,7 +225,7 @@ def begin_create_or_update( resource_group_name=resource_group_name, disk_pool_name=disk_pool_name, iscsi_target_name=iscsi_target_name, - iscsi_target_payload=iscsi_target_payload, + iscsi_target_create_payload=iscsi_target_create_payload, cls=lambda x,y,z: x, **kwargs ) @@ -243,11 +243,11 @@ def get_long_running_output(pipeline_response): 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), } - if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + 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: @@ -261,6 +261,142 @@ def get_long_running_output(pipeline_response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + def _update_initial( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + iscsi_target_update_payload, # type: "models.IscsiTargetUpdate" + **kwargs # type: Any + ): + # type: (...) -> Optional["models.IscsiTarget"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.IscsiTarget"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-04-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_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'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(iscsi_target_update_payload, 'IscsiTargetUpdate') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + 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) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + + def begin_update( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + iscsi_target_name, # type: str + iscsi_target_update_payload, # type: "models.IscsiTargetUpdate" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["models.IscsiTarget"] + """Update an iSCSI Target. + + :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 + :param iscsi_target_name: The name of the iSCSI Target. + :type iscsi_target_name: str + :param iscsi_target_update_payload: Request payload for iSCSI Target update operation. + :type iscsi_target_update_payload: ~storage_pool_management.models.IscsiTargetUpdate + :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 IscsiTarget or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~storage_pool_management.models.IscsiTarget] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.IscsiTarget"] + 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._update_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + iscsi_target_name=iscsi_target_name, + iscsi_target_update_payload=iscsi_target_update_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('IscsiTarget', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + 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'), + 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_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_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}'} # type: ignore + def _delete_initial( self, resource_group_name, # type: str @@ -274,7 +410,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" + api_version = "2021-04-01-preview" accept = "application/json" # Construct URL @@ -282,7 +418,7 @@ def _delete_initial( 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -317,13 +453,13 @@ def begin_delete( **kwargs # type: Any ): # type: (...) -> LROPoller[None] - """Deletes an iSCSI Target. + """Delete an iSCSI Target. :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 - :param iscsi_target_name: The name of the iSCSI target. + :param iscsi_target_name: The name of the iSCSI Target. :type iscsi_target_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. @@ -361,11 +497,11 @@ def get_long_running_output(pipeline_response): 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), } - if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + 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: @@ -387,13 +523,13 @@ def get( **kwargs # type: Any ): # type: (...) -> "models.IscsiTarget" - """Gets an iSCSI Target. + """Get an iSCSI Target. :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 - :param iscsi_target_name: The name of the iSCSI target. + :param iscsi_target_name: The name of the iSCSI Target. :type iscsi_target_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: IscsiTarget, or the result of cls(response) @@ -405,7 +541,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-03-15-preview" + api_version = "2021-04-01-preview" accept = "application/json" # Construct URL @@ -413,7 +549,7 @@ def get( 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', max_length=90, min_length=1, pattern=r'^[-\w\._]+$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), 'iscsiTargetName': self._serialize.url("iscsi_target_name", iscsi_target_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) 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 bf704ee6432..71f13daded2 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 = "2020-03-15-preview" + api_version = "2021-04-01-preview" accept = "application/json" def prepare_request(next_link=None): diff --git a/src/diskpool/gen.zip b/src/diskpool/gen.zip index fd1d0383306c7016d21c8c711df3303be3863ac8..f5cf7667a9a02ecc2bd4eb0eec077133226190b8 100644 GIT binary patch delta 2022 zcmb_dO>7%g5O(|{X(NxijkS~UU;X>rvS0*$boN-fc9yM9VmUhi(b zYlVbTR1W3Bq3T>JA)!{B_^H$?w@9c+NFeo61ZSioE~u9TaXx&tI`G-@f|i)ptE1n~i*qfEGx>K{k4~@}oV=t1aV# z+EQw~f{azQS?6m=LrM)P;u?>CHC0lK>kjbLkRZ#d2&!Ykr5i#M8`Ho$X;^c_T(YDa zGsJKZ8*Vyofb2L7k1032;`D&*{N9~on#+6I9vvPnvM(}hMQCU;I;JD|cJvOo z{WEmi!kxwZRx9w5KYo}mvN@AfLhOJ?6PiK;8K}wQ!cmDeGUwO)58*i zU&b&7mdCTYyq{5A!4%OHXKm&>;kljgYn(MA;BGM3DP-7Qd>_{p!u160xaqgUQMi_6 z;KA5zyF~~z=l6fr^AZ(@2z=9BQz`Z;EX6;7Q}NGXGkk^wpfpuC^5xDP+RSFh%!xEW zQ22nIc{LY%87DIDGdEYr;DWESOlV+#ZAZ>JO^S3G1yU;+jZTTTKyhQmu5IIT~Phw+stIp=o#!NLT&kcp(!R>P_}DN)rrmC0{ki0VETJr%VQ-6mm!@7KMA`1$^+-|5;5kY6ylTau_z9 zkrc_01Ve3d(nX~N3)C1SQ|=%^OVcn|1jUjGpegRH@g-7scSu>eZcTha@49{AyGhm@ v8{JzN{+_HdyC;dwmNTzw>+4(yE(Q+4r!3{bj&Pfe+cO2Y&&J%Z7l_Zl`o5fw delta 1150 zcmZuxO-vI(6kZC{QfOHOTgqRzu#{4&q7>~E(B zCjDhuela-tplSbU>3LwXs558(pe*p$esQT|FSB7FLBMY$yp!G=$O&#p4)5idi`?SVDXpT6pD zu#{XPNRf~x4ad%Pz?N76E1m|}@q9gk1WDGf_kvgSIP`IKGC;6SS_Ewjy2UFnRDBPW z+BVbPZtb%ybwQ=K8$S7}VAh-Qwe3Ai{dg><+4*1(ob(^FAO$u<5wkWdp84Yr*zw09 ze4-hu17~JQYD^dEuT4)64%VZ@gic9&W|z>ggcTyA4AVrUkgiXvn#53a>S_`Xr;sRS zc`cM@=vY%w67Pi=dJ{YRf1@df@zl@EFfCb;sVAap@f%7;6C$D7S-ND>Bub^Qbiq(E z;Ze?np+qPdnwc4507S?^51Kq;&?-`4dnP%9jI(qSh{&qxgJ=e3$|+5ix>X4eXfnaQ zno4kjFtt%MG@;{6eAM5b((K8P3J!W^fn}mr&={6F>B+`!85-`xx@u?%9M6^yVwExe zpfaRrll*EbDxyYca`dGaB?`|2A8bewWIdtFaHsjSc?alOroBN|UUswWlJEp3INWIx zVGq8U-Rs=(PlcbrMz!0XMfay9SobwTyI4vg?;ZPk9m0_&=l-4tDbg<-Y60`-ko)xW w3pI7LBWj`y*Ri&;Y@s4HZ8?ZZU;8;Oi3tjkDbm|jXl2ZN`h2JK3zc!)AJ&Xy3jhEB diff --git a/src/diskpool/report.md b/src/diskpool/report.md index 2114fc50fb6..f70b85f78ff 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-zone|DiskPoolZones|[commands](#CommandsInDiskPoolZones)| |az disk-pool iscsi-target|IscsiTargets|[commands](#CommandsInIscsiTargets)| ## COMMANDS @@ -22,6 +23,9 @@ |[az disk-pool create](#DiskPoolsCreateOrUpdate#Create)|CreateOrUpdate#Create|[Parameters](#ParametersDiskPoolsCreateOrUpdate#Create)|[Example](#ExamplesDiskPoolsCreateOrUpdate#Create)| |[az disk-pool update](#DiskPoolsUpdate)|Update|[Parameters](#ParametersDiskPoolsUpdate)|[Example](#ExamplesDiskPoolsUpdate)| |[az disk-pool delete](#DiskPoolsDelete)|Delete|[Parameters](#ParametersDiskPoolsDelete)|[Example](#ExamplesDiskPoolsDelete)| +|[az disk-pool deallocate](#DiskPoolsDeallocate)|Deallocate|[Parameters](#ParametersDiskPoolsDeallocate)|[Example](#ExamplesDiskPoolsDeallocate)| +|[az disk-pool list-outbound-network-dependency-endpoint](#DiskPoolsListOutboundNetworkDependenciesEndpoints)|ListOutboundNetworkDependenciesEndpoints|[Parameters](#ParametersDiskPoolsListOutboundNetworkDependenciesEndpoints)|[Example](#ExamplesDiskPoolsListOutboundNetworkDependenciesEndpoints)| +|[az disk-pool start](#DiskPoolsStart)|Start|[Parameters](#ParametersDiskPoolsStart)|[Example](#ExamplesDiskPoolsStart)| ### Commands in `az disk-pool iscsi-target` group |CLI Command|Operation Swagger name|Parameters|Examples| @@ -29,9 +33,14 @@ |[az disk-pool iscsi-target list](#IscsiTargetsListByDiskPool)|ListByDiskPool|[Parameters](#ParametersIscsiTargetsListByDiskPool)|[Example](#ExamplesIscsiTargetsListByDiskPool)| |[az disk-pool iscsi-target show](#IscsiTargetsGet)|Get|[Parameters](#ParametersIscsiTargetsGet)|[Example](#ExamplesIscsiTargetsGet)| |[az disk-pool iscsi-target create](#IscsiTargetsCreateOrUpdate#Create)|CreateOrUpdate#Create|[Parameters](#ParametersIscsiTargetsCreateOrUpdate#Create)|[Example](#ExamplesIscsiTargetsCreateOrUpdate#Create)| -|[az disk-pool iscsi-target update](#IscsiTargetsCreateOrUpdate#Update)|CreateOrUpdate#Update|[Parameters](#ParametersIscsiTargetsCreateOrUpdate#Update)|Not Found| +|[az disk-pool iscsi-target update](#IscsiTargetsUpdate)|Update|[Parameters](#ParametersIscsiTargetsUpdate)|[Example](#ExamplesIscsiTargetsUpdate)| |[az disk-pool iscsi-target delete](#IscsiTargetsDelete)|Delete|[Parameters](#ParametersIscsiTargetsDelete)|[Example](#ExamplesIscsiTargetsDelete)| +### Commands in `az disk-pool-zone` group +|CLI Command|Operation Swagger name|Parameters|Examples| +|---------|------------|--------|-----------| +|[az disk-pool-zone list](#DiskPoolZonesList)|List|[Parameters](#ParametersDiskPoolZonesList)|[Example](#ExamplesDiskPoolZonesList)| + ## COMMAND DETAILS @@ -72,34 +81,33 @@ az disk-pool show --name "myDiskPool" --resource-group "myResourceGroup" ##### Example ``` -az disk-pool create --name "myDiskPool" --location "westus" --availability-zones "1" --disks \ +az disk-pool create --location "westus" --availability-zones "1" --disks "/subscriptions/11111111-1111-1111-1111-111111\ +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_0" --disks "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/provider\ -s/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resource\ -Groups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --sku name="Standard_ABC" \ ---tags key="value" --resource-group "myResourceGroup" +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" \ +--name "myDiskPool" --resource-group "myResourceGroup" ``` ##### Parameters |Option|Type|Description|Path (SDK)|Swagger name| |------|----|-----------|----------|------------| |**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| |**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| -|**--location**|string|The geo-location where the resource lives|location|location| -|**--availability-zones**|array|Logical zone for DiskPool resource.|availability_zones|availabilityZones| +|**--sku**|object|Determines the SKU of the Disk Pool|sku|sku| +|**--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| -|**--sku**|object|Sku description.|sku|sku| -|**--disks**|array|List of Azure managed disks to attach to a DiskPool|disks|disks| -|**--subnet-id**|string|Azure resource id of the subnet for the DiskPool|subnet_id|subnetId| +|**--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| #### Command `az disk-pool update` ##### Example ``` -az disk-pool update --name "myDiskPool" --location "westus" --availability-zones "1" --disks \ -"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/v\ -m-name_DataDisk_0" --disks "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/provider\ -s/Microsoft.Compute/disks/vm-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resource\ -Groups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --tags key="value" \ +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" ``` ##### Parameters @@ -107,12 +115,8 @@ Groups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnet |------|----|-----------|----------|------------| |**--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| -|**--location**|string|The geo-location where the resource lives|location|location| -|**--availability-zones**|array|Logical zone for DiskPool resource.|availability_zones|availabilityZones| |**--tags**|dictionary|Resource tags.|tags|tags| -|**--sku**|object|Sku description.|sku|sku| -|**--disks**|array|List of Azure managed disks to attach to a DiskPool|disks|disks| -|**--subnet-id**|string|Azure resource id of the subnet for the DiskPool|subnet_id|subnetId| +|**--disks**|array|List of Azure Managed Disks to attach to a Disk Pool.|disks|disks| #### Command `az disk-pool delete` @@ -126,6 +130,43 @@ az disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" |**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| |**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| +#### Command `az disk-pool deallocate` + +##### Example +``` +az disk-pool deallocate --name "myDiskPool" --resource-group "myResourceGroup" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| +|**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| + +#### Command `az disk-pool list-outbound-network-dependency-endpoint` + +##### Example +``` +az disk-pool list-outbound-network-dependency-endpoint --name "SampleAse" --resource-group \ +"Sample-WestUSResourceGroup" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| +|**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| + +#### Command `az disk-pool start` + +##### Example +``` +az disk-pool start --name "myDiskPool" --resource-group "myResourceGroup" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| +|**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| + ### group `az disk-pool iscsi-target` #### Command `az disk-pool iscsi-target list` @@ -150,38 +191,45 @@ az disk-pool iscsi-target show --disk-pool-name "myDiskPool" --name "myIscsiTarg |------|----|-----------|----------|------------| |**--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| +|**--iscsi-target-name**|string|The name of the iSCSI Target.|iscsi_target_name|iscsiTargetName| #### Command `az disk-pool iscsi-target create` ##### Example ``` -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\\",\\"usernam\ -e\\":\\"some_username\\"},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}],\\"attr\ -ibutes\\":{\\"authentication\\":true,\\"prodModeWriteProtect\\":false},\\"luns\\":[{\\"name\\":\\"lun0\\",\\"managedDis\ -kAzureResourceId\\":\\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Mic\ -rosoft.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/prov\ +iders/Microsoft.Compute/disks/vm-name_DataDisk_1" --target-iqn "iqn.2005-03.org.iscsi:server1" --name "myIscsiTarget" \ +--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| -|**--iscsi-target-name**|string|The name of the iSCSI target.|iscsi_target_name|iscsiTargetName| -|**--tpgs**|array|list of iSCSI target portal groups|tpgs|tpgs| -|**--target-iqn**|string|iSCSI target iqn (iSCSI Qualified Name); example: iqn.2005-03.org.iscsi:server|target_iqn|targetIqn| +|**--iscsi-target-name**|string|The name of the iSCSI Target.|iscsi_target_name|iscsiTargetName| +|**--acl-mode**|choice|Mode for Target connectivity.|acl_mode|aclMode| +|**--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| -#### Command `az disk-pool iscsi-target update` +#### Command `az disk-pool iscsi-target update` -##### Parameters +##### Example +``` +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/prov\ +iders/Microsoft.Compute/disks/vm-name_DataDisk_1" --static-acls initiator-iqn="iqn.2005-03.org.iscsi:client" \ +mapped-luns="lun0" --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| -|**--iscsi-target-name**|string|The name of the iSCSI target.|iscsi_target_name|iscsiTargetName| -|**--tpgs**|array|list of iSCSI target portal groups|tpgs|tpgs| -|**--target-iqn**|string|iSCSI target iqn (iSCSI Qualified Name); example: iqn.2005-03.org.iscsi:server|target_iqn|targetIqn| +|**--iscsi-target-name**|string|The name of the iSCSI Target.|iscsi_target_name|iscsiTargetName| +|**--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| #### Command `az disk-pool iscsi-target delete` @@ -195,4 +243,16 @@ az disk-pool iscsi-target delete --disk-pool-name "myDiskPool" --name "myIscsiTa |------|----|-----------|----------|------------| |**--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| +|**--iscsi-target-name**|string|The name of the iSCSI Target.|iscsi_target_name|iscsiTargetName| + +### group `az disk-pool-zone` +#### Command `az disk-pool-zone list` + +##### Example +``` +az disk-pool-zone list --location "eastus" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--location**|string|The location of the resource.|location|location| diff --git a/src/diskpool/setup.py b/src/diskpool/setup.py index a1aa6793c30..d63937f7c2e 100644 --- a/src/diskpool/setup.py +++ b/src/diskpool/setup.py @@ -10,7 +10,7 @@ from setuptools import setup, find_packages # HISTORY.rst entry. -VERSION = '0.2.1' +VERSION = '0.1.0' try: from azext_diskpool.manual.version import VERSION except ImportError: From bb5cf952ed5932d685c1b5e979a945574105104f Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Fri, 21 May 2021 17:31:28 +0800 Subject: [PATCH 16/30] change deallocate to stop --- .../azext_diskpool/generated/_help.py | 20 ++++---- .../azext_diskpool/generated/_params.py | 10 ++-- .../azext_diskpool/generated/commands.py | 2 +- .../azext_diskpool/generated/custom.py | 20 ++++---- .../tests/latest/example_steps.py | 48 ++++++++---------- .../tests/latest/test_diskpool_scenario.py | 4 +- src/diskpool/gen.zip | Bin 12627 -> 12603 bytes src/diskpool/report.md | 26 +++++----- 8 files changed, 63 insertions(+), 67 deletions(-) diff --git a/src/diskpool/azext_diskpool/generated/_help.py b/src/diskpool/azext_diskpool/generated/_help.py index d12bcc35f54..9dc04752c29 100644 --- a/src/diskpool/azext_diskpool/generated/_help.py +++ b/src/diskpool/azext_diskpool/generated/_help.py @@ -98,16 +98,6 @@ az disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" """ -helps['disk-pool deallocate'] = """ - 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." - examples: - - name: Deallocate Disk Pool - text: |- - az disk-pool deallocate --name "myDiskPool" --resource-group "myResourceGroup" -""" - helps['disk-pool list-outbound-network-dependency-endpoint'] = """ type: command short-summary: "Gets the network endpoints of all outbound dependencies of a Disk Pool." @@ -127,6 +117,16 @@ az disk-pool start --name "myDiskPool" --resource-group "myResourceGroup" """ +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." + examples: + - name: Deallocate Disk Pool + text: |- + az disk-pool stop --name "myDiskPool" --resource-group "myResourceGroup" +""" + helps['disk-pool wait'] = """ type: command short-summary: Place the CLI in a waiting state until a condition of the disk-pool is met. diff --git a/src/diskpool/azext_diskpool/generated/_params.py b/src/diskpool/azext_diskpool/generated/_params.py index ca4660daffa..972a112faf3 100644 --- a/src/diskpool/azext_diskpool/generated/_params.py +++ b/src/diskpool/azext_diskpool/generated/_params.py @@ -65,11 +65,6 @@ def load_arguments(self, _): c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' 'the Disk Pool.', id_part='name') - with self.argument_context('disk-pool deallocate') as c: - c.argument('resource_group_name', resource_group_name_type) - c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' - 'the Disk Pool.', id_part='name') - with self.argument_context('disk-pool list-outbound-network-dependency-endpoint') 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 ' @@ -80,6 +75,11 @@ 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 stop') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' + 'the Disk Pool.', id_part='name') + with self.argument_context('disk-pool wait') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' diff --git a/src/diskpool/azext_diskpool/generated/commands.py b/src/diskpool/azext_diskpool/generated/commands.py index 1ce0f199291..d58a4a696c3 100644 --- a/src/diskpool/azext_diskpool/generated/commands.py +++ b/src/diskpool/azext_diskpool/generated/commands.py @@ -26,10 +26,10 @@ def load_command_table(self, _): 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('deallocate', 'disk_pool_deallocate', supports_no_wait=True) g.custom_command('list-outbound-network-dependency-endpoint', 'disk_pool_list_outbound_network_dependency_endpo' 'int') 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_disk_pool_zone diff --git a/src/diskpool/azext_diskpool/generated/custom.py b/src/diskpool/azext_diskpool/generated/custom.py index 12385f46d02..ce53027b6a8 100644 --- a/src/diskpool/azext_diskpool/generated/custom.py +++ b/src/diskpool/azext_diskpool/generated/custom.py @@ -78,16 +78,6 @@ def disk_pool_delete(client, disk_pool_name=disk_pool_name) -def disk_pool_deallocate(client, - resource_group_name, - disk_pool_name, - no_wait=False): - return sdk_no_wait(no_wait, - client.begin_deallocate, - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name) - - def disk_pool_list_outbound_network_dependency_endpoint(client, resource_group_name, disk_pool_name): @@ -105,6 +95,16 @@ def disk_pool_start(client, disk_pool_name=disk_pool_name) +def disk_pool_stop(client, + resource_group_name, + disk_pool_name, + no_wait=False): + return sdk_no_wait(no_wait, + client.begin_deallocate, + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name) + + def disk_pool_zone_list(client, location): return client.list(location=location) diff --git a/src/diskpool/azext_diskpool/tests/latest/example_steps.py b/src/diskpool/azext_diskpool/tests/latest/example_steps.py index 976c7bde10a..aea88d26eb8 100644 --- a/src/diskpool/azext_diskpool/tests/latest/example_steps.py +++ b/src/diskpool/azext_diskpool/tests/latest/example_steps.py @@ -132,17 +132,15 @@ def step_list2(test, rg, rg_2, checks=None): # EXAMPLE: /IscsiTargets/put/Create or Update iSCSI Target @try_manual -def step_iscsi_target_create(test, rg, checks=None): +def step_iscsi_target_create(test, rg, rg_2, 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" ' - '--tpgs "[{{\\"acls\\":[{{\\"credentials\\":{{\\"password\\":\\"some_password\\",\\"username\\":\\"some_us' - 'ername\\"}},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}}],\\"att' - 'ributes\\":{{\\"authentication\\":true,\\"prodModeWriteProtect\\":false}},\\"luns\\":[{{\\"name\\":\\"lun' - '0\\",\\"managedDiskAzureResourceId\\":\\"/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/M' - 'icrosoft.Compute/disks/vm-name_DataDisk_1\\"}}]}}]" ' '--name "{myIscsiTarget}" ' '--resource-group "{rg}"', checks=[]) @@ -154,7 +152,7 @@ def step_iscsi_target_create(test, rg, checks=None): # EXAMPLE: /IscsiTargets/get/Get iSCSI Target @try_manual -def step_iscsi_target_show(test, rg, checks=None): +def step_iscsi_target_show(test, rg, rg_2, checks=None): if checks is None: checks = [] test.cmd('az disk-pool iscsi-target show ' @@ -202,10 +200,10 @@ def step_update(test, rg, rg_2, checks=None): # EXAMPLE: /DiskPools/post/Deallocate Disk Pool @try_manual -def step_deallocate(test, rg, rg_2, checks=None): +def step_stop(test, rg, rg_2, checks=None): if checks is None: checks = [] - test.cmd('az disk-pool deallocate ' + test.cmd('az disk-pool stop ' '--name "{myDiskPool}" ' '--resource-group "{rg}"', checks=checks) @@ -286,41 +284,39 @@ def step_iscsi_target_list(test, rg, rg_2, checks=None): checks=checks) -# EXAMPLE: /IscsiTargets/patch/Update iSCSI Target +# EXAMPLE: /DiskPools/delete/Delete Disk Pool @try_manual -def step_iscsi_target_update(test, rg, checks=None): +def step_delete(test, rg, checks=None): if checks is None: checks = [] - test.cmd('az disk-pool iscsi-target update ' - '--disk-pool-name "{myDiskPool}" ' - '--name "{myIscsiTarget}" ' - '--tpgs "[{{\\"acls\\":[{{\\"credentials\\":{{\\"password\\":\\"some_password\\",\\"username\\":\\"some_us' - 'ername\\"}},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}}],\\"lun' - 's\\":[{{\\"name\\":\\"lun0\\",\\"managedDiskAzureResourceId\\":\\"/subscriptions/{subscription_id}/resour' - 'ceGroups/{rg}/providers/Microsoft.Compute/disks/vm-name_DataDisk_1\\"}}]}}]" ' + test.cmd('az disk-pool delete -y ' + '--name "{myDiskPool}" ' '--resource-group "{rg}"', checks=checks) - -# EXAMPLE: /IscsiTargets/delete/Delete iSCSI Target +# EXAMPLE: /IscsiTargets/patch/Update iSCSI Target @try_manual -def step_iscsi_target_delete(test, rg, checks=None): +def step_iscsi_target_update(test, rg, rg_2, checks=None): if checks is None: checks = [] - test.cmd('az disk-pool iscsi-target delete -y ' + 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: /DiskPools/delete/Delete Disk Pool +# EXAMPLE: /IscsiTargets/delete/Delete iSCSI Target @try_manual -def step_delete(test, rg, checks=None): +def step_iscsi_target_delete(test, rg, rg_2, checks=None): if checks is None: checks = [] - test.cmd('az disk-pool delete -y ' - '--name "{myDiskPool}" ' + 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/test_diskpool_scenario.py b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py index 39652f476bd..efb0a707e32 100644 --- a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py +++ b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py @@ -18,7 +18,7 @@ from .example_steps import step_list from .example_steps import step_list2 from .example_steps import step_update -from .example_steps import step_deallocate +from .example_steps import step_stop from .example_steps import step_start from .example_steps import step_delete from .example_steps import step_list3 @@ -78,7 +78,7 @@ def call_scenario(test, rg, rg_2): "lNetworks/{vn}/subnets/default", case_sensitive=False), test.check("name", "{myDiskPool}", case_sensitive=False), ]) - step_deallocate(test, rg, rg_2, checks=[]) + step_stop(test, rg, rg_2, checks=[]) step_start(test, rg, rg_2, checks=[]) step_delete(test, rg, rg_2, checks=[]) step_list3(test, rg, rg_2, checks=[]) diff --git a/src/diskpool/gen.zip b/src/diskpool/gen.zip index f5cf7667a9a02ecc2bd4eb0eec077133226190b8..c1da3e0cd9ccd3739ab96b5827638ff2e0c7ee41 100644 GIT binary patch delta 241 zcmcbdv^z;6z?+$civa|#d2bEczcKsuZ(#<8-@+Rujxw_pm*f{rVpiPD!II1Y=1iW? zqq=z(&nb3ZkZR3m?Wc>R85oK-7mC#JLKSdHOcs##V+QJ+oG9Ho`G6wp=1)piyv#ri zll2YM`B1HyoMI5FfMOQVJRPumV1%E@L>als-wk9OKC(XbB!a5)`^fu2B@#aM`VDdz{ zRJi_!@-~wNWQ8X`P%+)?8ED32aRYTeRQF8wF$k5%G#>17C=oUJfPpnw`#%F| PMy1J8hSF?a1|UfQNFqsR diff --git a/src/diskpool/report.md b/src/diskpool/report.md index f70b85f78ff..f4bdfb3d2cc 100644 --- a/src/diskpool/report.md +++ b/src/diskpool/report.md @@ -23,9 +23,9 @@ |[az disk-pool create](#DiskPoolsCreateOrUpdate#Create)|CreateOrUpdate#Create|[Parameters](#ParametersDiskPoolsCreateOrUpdate#Create)|[Example](#ExamplesDiskPoolsCreateOrUpdate#Create)| |[az disk-pool update](#DiskPoolsUpdate)|Update|[Parameters](#ParametersDiskPoolsUpdate)|[Example](#ExamplesDiskPoolsUpdate)| |[az disk-pool delete](#DiskPoolsDelete)|Delete|[Parameters](#ParametersDiskPoolsDelete)|[Example](#ExamplesDiskPoolsDelete)| -|[az disk-pool deallocate](#DiskPoolsDeallocate)|Deallocate|[Parameters](#ParametersDiskPoolsDeallocate)|[Example](#ExamplesDiskPoolsDeallocate)| |[az disk-pool list-outbound-network-dependency-endpoint](#DiskPoolsListOutboundNetworkDependenciesEndpoints)|ListOutboundNetworkDependenciesEndpoints|[Parameters](#ParametersDiskPoolsListOutboundNetworkDependenciesEndpoints)|[Example](#ExamplesDiskPoolsListOutboundNetworkDependenciesEndpoints)| |[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 iscsi-target` group |CLI Command|Operation Swagger name|Parameters|Examples| @@ -130,18 +130,6 @@ az disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" |**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| |**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| -#### Command `az disk-pool deallocate` - -##### Example -``` -az disk-pool deallocate --name "myDiskPool" --resource-group "myResourceGroup" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| -|**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| - #### Command `az disk-pool list-outbound-network-dependency-endpoint` ##### Example @@ -167,6 +155,18 @@ az disk-pool start --name "myDiskPool" --resource-group "myResourceGroup" |**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| |**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| +#### Command `az disk-pool stop` + +##### Example +``` +az disk-pool stop --name "myDiskPool" --resource-group "myResourceGroup" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| +|**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| + ### group `az disk-pool iscsi-target` #### Command `az disk-pool iscsi-target list` From fd931bde4e4348e3fad9c2147f6899219e638d89 Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Tue, 25 May 2021 11:10:57 +0800 Subject: [PATCH 17/30] add manual test --- .../azext_diskpool/generated/_help.py | 58 ++++++---- .../azext_diskpool/generated/_params.py | 70 +++++++----- .../tests/latest/test_disk_scenario_manual.py | 108 ++++++++++++++++++ .../tests/latest/test_diskpool_scenario.py | 63 +--------- src/diskpool/gen.zip | Bin 12603 -> 9556 bytes 5 files changed, 183 insertions(+), 116 deletions(-) create mode 100644 src/diskpool/azext_diskpool/tests/latest/test_disk_scenario_manual.py diff --git a/src/diskpool/azext_diskpool/generated/_help.py b/src/diskpool/azext_diskpool/generated/_help.py index 9dc04752c29..63d82021443 100644 --- a/src/diskpool/azext_diskpool/generated/_help.py +++ b/src/diskpool/azext_diskpool/generated/_help.py @@ -14,12 +14,14 @@ helps['disk-pool'] = """ type: group - short-summary: Manage disk pool with diskpool + short-summary: Manage disk pool with diskpool. Command group swagger name=DiskPools """ helps['disk-pool list'] = """ type: command - short-summary: "Gets a list of DiskPools in a resource group. And Gets a list of Disk Pools in a subscription." + short-summary: "Gets a list of DiskPools in a resource group. Command group swagger name=DiskPools, Command \ +swagger name=ListByResourceGroup And Gets a list of Disk Pools in a subscription Command group swagger name=DiskPools, \ +Command swagger name=ListBySubscription." examples: - name: List Disk Pools text: |- @@ -31,7 +33,7 @@ helps['disk-pool show'] = """ type: command - short-summary: "Get a Disk pool." + short-summary: "Get a Disk pool. Command group swagger name=DiskPools, Command swagger name=Get." examples: - name: Get Disk pool text: |- @@ -40,17 +42,18 @@ helps['disk-pool create'] = """ type: command - short-summary: "Create Disk pool." + short-summary: "Create Disk pool. Command group swagger name=DiskPools, Command swagger \ +name=CreateOrUpdate#Create." parameters: - name: --sku - short-summary: "Determines the SKU of the Disk Pool" + short-summary: "Determines the SKU of the Disk Pool. Swagger name=sku" 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." + short-summary: "List of Azure Managed Disks to attach to a Disk Pool. Swagger name=disks" long-summary: | The order of this parameter is specific customized. Usage: --disks id-value @@ -70,10 +73,10 @@ helps['disk-pool update'] = """ type: command - short-summary: "Update a Disk pool." + short-summary: "Update a Disk pool. Command group swagger name=DiskPools, Command swagger name=Update." parameters: - name: --disks - short-summary: "List of Azure Managed Disks to attach to a Disk Pool." + short-summary: "List of Azure Managed Disks to attach to a Disk Pool. Swagger name=disks" long-summary: | The order of this parameter is specific customized. Usage: --disks id-value @@ -91,7 +94,7 @@ helps['disk-pool delete'] = """ type: command - short-summary: "Delete a Disk pool." + short-summary: "Delete a Disk pool. Command group swagger name=DiskPools, Command swagger name=Delete." examples: - name: Delete Disk pool text: |- @@ -100,7 +103,8 @@ helps['disk-pool list-outbound-network-dependency-endpoint'] = """ type: command - short-summary: "Gets the network endpoints of all outbound dependencies of a Disk Pool." + short-summary: "Gets the network endpoints of all outbound dependencies of a Disk Pool Command group swagger \ +name=DiskPools, Command swagger name=ListOutboundNetworkDependenciesEndpoints." examples: - name: Get Disk Pool outbound network dependencies text: |- @@ -110,7 +114,8 @@ helps['disk-pool start'] = """ type: command - short-summary: "The operation to start a Disk Pool." + short-summary: "The operation to start a Disk Pool. Command group swagger name=DiskPools, Command swagger \ +name=Start." examples: - name: Start Disk Pool text: |- @@ -120,7 +125,7 @@ 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. Command group swagger name=DiskPools, Command swagger name=Deallocate." examples: - name: Deallocate Disk Pool text: |- @@ -144,12 +149,13 @@ helps['disk-pool-zone'] = """ type: group - short-summary: Manage disk pool zone with diskpool + short-summary: Manage disk pool zone with diskpool. Command group swagger name=DiskPoolZones """ helps['disk-pool-zone list'] = """ type: command - short-summary: "Lists available Disk Pool Skus in an Azure location." + short-summary: "Lists available Disk Pool Skus in an Azure location. Command group swagger name=DiskPoolZones, \ +Command swagger name=List." examples: - name: List Disk Pool Skus text: |- @@ -158,12 +164,13 @@ helps['disk-pool iscsi-target'] = """ type: group - short-summary: Manage iscsi target with diskpool + short-summary: Manage iscsi target with diskpool. Command group swagger name=IscsiTargets """ helps['disk-pool iscsi-target list'] = """ type: command - short-summary: "Get iSCSI Targets in a Disk pool." + short-summary: "Get iSCSI Targets in a Disk pool. Command group swagger name=IscsiTargets, Command swagger \ +name=ListByDiskPool." examples: - name: List Disk Pools by Resource Group text: |- @@ -172,7 +179,7 @@ helps['disk-pool iscsi-target show'] = """ type: command - short-summary: "Get an iSCSI Target." + short-summary: "Get an iSCSI Target. Command group swagger name=IscsiTargets, Command swagger name=Get." examples: - name: Get iSCSI Target text: |- @@ -182,10 +189,12 @@ helps['disk-pool iscsi-target create'] = """ type: command - short-summary: "Create an iSCSI Target." + short-summary: "Create an iSCSI Target. Command group swagger name=IscsiTargets, Command swagger \ +name=CreateOrUpdate#Create." parameters: - name: --static-acls - short-summary: "Access Control List (ACL) for an iSCSI Target; defines LUN masking policy" + short-summary: "Access Control List (ACL) for an iSCSI Target; defines LUN masking policy. Swagger \ +name=staticAcls" long-summary: | Usage: --static-acls initiator-iqn=XX mapped-luns=XX @@ -195,7 +204,7 @@ Multiple actions can be specified by using more than one --static-acls argument. - name: --luns - short-summary: "List of LUNs to be exposed through iSCSI Target." + short-summary: "List of LUNs to be exposed through iSCSI Target. Swagger name=luns" long-summary: | Usage: --luns name=XX managed-disk-azure-resource-id=XX @@ -214,10 +223,11 @@ helps['disk-pool iscsi-target update'] = """ type: command - short-summary: "Update an iSCSI Target." + short-summary: "Update an iSCSI Target. Command group swagger name=IscsiTargets, Command swagger name=Update." parameters: - name: --static-acls - short-summary: "Access Control List (ACL) for an iSCSI Target; defines LUN masking policy" + short-summary: "Access Control List (ACL) for an iSCSI Target; defines LUN masking policy. Swagger \ +name=staticAcls" long-summary: | Usage: --static-acls initiator-iqn=XX mapped-luns=XX @@ -227,7 +237,7 @@ Multiple actions can be specified by using more than one --static-acls argument. - name: --luns - short-summary: "List of LUNs to be exposed through iSCSI Target." + short-summary: "List of LUNs to be exposed through iSCSI Target. Swagger name=luns" long-summary: | Usage: --luns name=XX managed-disk-azure-resource-id=XX @@ -246,7 +256,7 @@ helps['disk-pool iscsi-target delete'] = """ type: command - short-summary: "Delete an iSCSI Target." + short-summary: "Delete an iSCSI Target. Command group swagger name=IscsiTargets, Command swagger name=Delete." examples: - name: Delete iSCSI Target text: |- diff --git a/src/diskpool/azext_diskpool/generated/_params.py b/src/diskpool/azext_diskpool/generated/_params.py index 972a112faf3..50e92fde77a 100644 --- a/src/diskpool/azext_diskpool/generated/_params.py +++ b/src/diskpool/azext_diskpool/generated/_params.py @@ -36,99 +36,107 @@ def load_arguments(self, _): with self.argument_context('disk-pool show') 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') + 'the Disk Pool. Swagger name=diskPoolName', id_part='name') with self.argument_context('disk-pool create') 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.') - c.argument('sku', action=AddSku, nargs='+', help='Determines the SKU of the Disk Pool') + 'the Disk Pool. Swagger name=diskPoolName') + c.argument('sku', action=AddSku, nargs='+', help='Determines the SKU of the Disk Pool. Swagger name=sku') 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('availability_zones', nargs='+', help='Logical zone for Disk Pool resource; example: ["1"].') + c.argument('availability_zones', nargs='+', help='Logical zone for Disk Pool resource; example: ["1"]. Swagger ' + 'name=availabilityZones') c.argument('disks', action=AddDiskPoolCreateDisks, nargs='+', help='List of Azure Managed Disks to attach to a ' - 'Disk Pool.') - c.argument('subnet_id', type=str, help='Azure Resource ID of a Subnet for the Disk Pool.') - c.argument('additional_capabilities', nargs='+', help='List of additional capabilities for a Disk Pool.') + 'Disk Pool. Swagger name=disks') + c.argument('subnet_id', type=str, + help='Azure Resource ID of a Subnet for the Disk Pool. Swagger name=subnetId') + c.argument('additional_capabilities', nargs='+', help='List of additional capabilities for a Disk Pool. ' + 'Swagger name=additionalCapabilities') with self.argument_context('disk-pool update') 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') + 'the Disk Pool. Swagger name=diskPoolName', id_part='name') c.argument('tags', tags_type) c.argument('disks', action=AddDiskPoolUpdateDisks, nargs='+', help='List of Azure Managed Disks to attach to a ' - 'Disk Pool.') + 'Disk Pool. Swagger name=disks') with self.argument_context('disk-pool delete') 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') + 'the Disk Pool. Swagger name=diskPoolName', id_part='name') with self.argument_context('disk-pool list-outbound-network-dependency-endpoint') 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.') + 'the Disk Pool. Swagger name=diskPoolName') with self.argument_context('disk-pool start') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' - 'the Disk Pool.', id_part='name') + 'the Disk Pool. Swagger name=diskPoolName', id_part='name') with self.argument_context('disk-pool stop') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' - 'the Disk Pool.', id_part='name') + 'the Disk Pool. Swagger name=diskPoolName', id_part='name') with self.argument_context('disk-pool wait') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' - 'the Disk Pool.', id_part='name') + 'the Disk Pool. Swagger name=diskPoolName', id_part='name') with self.argument_context('disk-pool-zone list') 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.') + c.argument('disk_pool_name', type=str, help='The name of the Disk Pool. Swagger name=diskPoolName') with self.argument_context('disk-pool iscsi-target show') 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.', id_part='name') + c.argument('disk_pool_name', type=str, help='The name of the Disk Pool. Swagger name=diskPoolName', + 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') + 'of the iSCSI Target. Swagger name=iscsiTargetName', id_part='child_name_1') with self.argument_context('disk-pool iscsi-target create') 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.') + c.argument('disk_pool_name', type=str, help='The name of the Disk Pool. Swagger name=diskPoolName') c.argument('iscsi_target_name', options_list=['--name', '-n', '--iscsi-target-name'], type=str, help='The name ' - 'of the iSCSI Target.') - c.argument('acl_mode', arg_type=get_enum_type(['Dynamic', 'Static']), help='Mode for Target connectivity.') + 'of the iSCSI Target. Swagger name=iscsiTargetName') + c.argument('acl_mode', arg_type=get_enum_type(['Dynamic', 'Static']), help='Mode for Target connectivity. ' + 'Swagger name=aclMode') c.argument('target_iqn', type=str, help='iSCSI Target IQN (iSCSI Qualified Name); example: ' - '"iqn.2005-03.org.iscsi:server".') + '"iqn.2005-03.org.iscsi:server". Swagger name=targetIqn') c.argument('static_acls', action=AddDiskPoolIscsiTargetCreateStaticAcls, nargs='+', help='Access Control List ' - '(ACL) for an iSCSI Target; defines LUN masking policy') + '(ACL) for an iSCSI Target; defines LUN masking policy. Swagger name=staticAcls') c.argument('luns', action=AddDiskPoolIscsiTargetCreateLuns, nargs='+', help='List of LUNs to be exposed ' - 'through iSCSI Target.') + 'through iSCSI Target. Swagger name=luns') with self.argument_context('disk-pool iscsi-target update') 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.', id_part='name') + c.argument('disk_pool_name', type=str, help='The name of the Disk Pool. Swagger name=diskPoolName', + 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') + 'of the iSCSI Target. Swagger name=iscsiTargetName', id_part='child_name_1') c.argument('static_acls', action=AddDiskPoolIscsiTargetUpdateStaticAcls, nargs='+', help='Access Control List ' - '(ACL) for an iSCSI Target; defines LUN masking policy') + '(ACL) for an iSCSI Target; defines LUN masking policy. Swagger name=staticAcls') c.argument('luns', action=AddDiskPoolIscsiTargetUpdateLuns, nargs='+', help='List of LUNs to be exposed ' - 'through iSCSI Target.') + 'through iSCSI Target. Swagger name=luns') with self.argument_context('disk-pool iscsi-target delete') 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.', id_part='name') + c.argument('disk_pool_name', type=str, help='The name of the Disk Pool. Swagger name=diskPoolName', + 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') + 'of the iSCSI Target. Swagger name=iscsiTargetName', id_part='child_name_1') with self.argument_context('disk-pool iscsi-target wait') 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.', id_part='name') + c.argument('disk_pool_name', type=str, help='The name of the Disk Pool. Swagger name=diskPoolName', + 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') + 'of the iSCSI Target. Swagger name=iscsiTargetName', id_part='child_name_1') diff --git a/src/diskpool/azext_diskpool/tests/latest/test_disk_scenario_manual.py b/src/diskpool/azext_diskpool/tests/latest/test_disk_scenario_manual.py new file mode 100644 index 00000000000..710887454da --- /dev/null +++ b/src/diskpool/azext_diskpool/tests/latest/test_disk_scenario_manual.py @@ -0,0 +1,108 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from azure.cli.testsdk import ScenarioTest +from azure.cli.testsdk import ResourceGroupPreparer + + +class DiskpoolScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='clitest', location='eastus', random_name_length=16) + def test_diskpool_scenario_manual(self, resource_group): + self.kwargs.update({ + 'rg': resource_group, + 'diskName': self.create_random_name(prefix='disk', length=10), + 'diskName2': self.create_random_name(prefix='disk', length=10), + '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", + 'diskPoolName': self.create_random_name(prefix='diskpool', length=16), + 'location': 'eastus', + 'targetName': self.create_random_name(prefix='iscsi', length=10), + 'storagePoolObjectId': '09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad' + }) + result = self.cmd('disk create --name {diskName} --resource-group {rg} --zone {zone} --location {location} ' + '--sku Premium_LRS --max-shares 2 --size-gb 256').get_output_in_json() + self.kwargs['diskId'] = result['id'] + result = self.cmd('disk create --name {diskName2} --resource-group {rg} --zone {zone} --location {location} ' + '--sku Premium_LRS --max-shares 2 --size-gb 256').get_output_in_json() + self.kwargs['diskId2'] = result['id'] + + self.cmd('role assignment create --assignee-object-id {storagePoolObjectId} --role "Virtual Machine Contributor" --scope {diskId}') + self.cmd('role assignment create --assignee-object-id {storagePoolObjectId} --role "Virtual Machine Contributor" --scope {diskId2}') + + self.cmd('network vnet create --name {vnet} --resource-group {rg} --location {location}') + result = self.cmd('network vnet subnet create --name {subnet} --vnet-name {vnet} --resource-group {rg} ' + '--address-prefixes {subnetPrefix} --delegations Microsoft.StoragePool/diskPools').get_output_in_json() + self.kwargs['subnetId'] = result['id'] + + # Create a Disk Pool + self.cmd('disk-pool create --name {diskPoolName} --resource-group {rg} --location {location} ' + '--availability-zones {zone} --subnet-id {subnetId} --sku name="Standard" tier="Standard" ' + '--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')]) + 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 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(@)', 1)]) + + # Create an ISCSI target + self.cmd('disk-pool iscsi-target create --name {targetName} --disk-pool-name {diskPoolName} ' + '--resource-group {rg} --acl-mode Dynamic --luns name="lun0" managed-disk-azure-resource-id={diskId}', + checks=[self.check('aclMode', 'Dynamic'), + self.check('luns[0].managedDiskAzureResourceId', '{diskId}'), + self.check('luns[0].name', 'lun0')]) + self.cmd('disk-pool iscsi-target show --name {targetName} --disk-pool-name {diskPoolName} --resource-group {rg}', + checks=[self.check('aclMode', 'Dynamic'), + self.check('luns[0].managedDiskAzureResourceId', '{diskId}'), + self.check('luns[0].name', 'lun0')]) + self.cmd('disk-pool iscsi-target list --disk-pool-name {diskPoolName} --resource-group {rg}', + checks=[self.check('length(@)', 1)]) + + # Update Disk Pool + self.cmd('disk-pool update --name {diskPoolName} --resource-group {rg} --disks {diskId} {diskId2}', + checks=[self.check('name', '{diskPoolName}'), + self.check('disks[0].id', '{diskId}'), + self.check('disks[1].id', '{diskId2}')]) + + # Update iSCSI target -- add a LUN + self.cmd('disk-pool iscsi-target update --name {targetName} --disk-pool-name {diskPoolName} ' + '--resource-group {rg} --luns name="lun0" managed-disk-azure-resource-id={diskId} ' + '--luns name="lun1" managed-disk-azure-resource-id={diskId2}', + checks=[self.check('aclMode', 'Dynamic'), + self.check('luns[0].managedDiskAzureResourceId', '{diskId}'), + self.check('luns[0].name', 'lun0'), + self.check('luns[1].managedDiskAzureResourceId', '{diskId2}'), + self.check('luns[1].name', 'lun1')]) + + self.cmd('disk-pool stop --name {diskPoolName} --resource-group {rg}', + checks=[self.check('status', 'Stopped')]) + self.cmd('disk-pool start --name {diskPoolName} --resource-group {rg}', + checks=[self.check('name', '{diskPoolName}'), + self.check('status', 'Running')]) + + self.cmd('disk-pool iscsi-target delete --name {targetName} --disk-pool-name {diskPoolName} ' + '--resource-group {rg} -y') + self.cmd('disk-pool iscsi-target list --disk-pool-name {diskPoolName} --resource-group {rg}', + checks=[self.check('length(@)', 0)]) + + self.cmd('disk-pool delete --name {diskPoolName} --resource-group {rg} -y') + self.cmd('disk-pool list --resource-group {rg}', + checks=[self.check('length(@)', 0)]) diff --git a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py index efb0a707e32..96f5bebce9c 100644 --- a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py +++ b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py @@ -13,20 +13,6 @@ from azure.cli.testsdk import ResourceGroupPreparer from .preparers import VirtualNetworkPreparer from .example_steps import step_create, step_create_required -from .example_steps import step_show -from .example_steps import step_list_outbound_network_dependency_endpoint -from .example_steps import step_list -from .example_steps import step_list2 -from .example_steps import step_update -from .example_steps import step_stop -from .example_steps import step_start -from .example_steps import step_delete -from .example_steps import step_list3 -from .example_steps import step_iscsi_target_create -from .example_steps import step_iscsi_target_show -from .example_steps import step_iscsi_target_list -from .example_steps import step_iscsi_target_update -from .example_steps import step_iscsi_target_delete from .. import ( try_manual, raise_if, @@ -53,52 +39,7 @@ def cleanup_scenario(test, rg, rg_2): @try_manual def call_scenario(test, rg, rg_2): setup_scenario(test, rg, rg_2) - step_create(test, rg, rg_2, checks=[ - test.check("availabilityZones[0]", "1", case_sensitive=False), - test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" - "lNetworks/{vn}/subnets/default", case_sensitive=False), - test.check("name", "{myDiskPool}", case_sensitive=False), - ]) - step_show(test, rg, rg_2, checks=[ - test.check("availabilityZones[0]", "1", case_sensitive=False), - test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" - "lNetworks/{vn}/subnets/default", case_sensitive=False), - test.check("name", "{myDiskPool}", case_sensitive=False), - ]) - step_list_outbound_network_dependency_endpoint(test, rg, rg_2, checks=[]) - step_list(test, rg, rg_2, checks=[ - test.check('length(@)', 1), - ]) - step_list2(test, rg, rg_2, checks=[ - test.check('length(@)', 1), - ]) - step_update(test, rg, rg_2, checks=[ - test.check("availabilityZones[0]", "1", case_sensitive=False), - test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" - "lNetworks/{vn}/subnets/default", case_sensitive=False), - test.check("name", "{myDiskPool}", case_sensitive=False), - ]) - step_stop(test, rg, rg_2, checks=[]) - step_start(test, rg, rg_2, checks=[]) - step_delete(test, rg, rg_2, checks=[]) - step_list3(test, rg, rg_2, checks=[]) - step_iscsi_target_create(test, rg, rg_2, checks=[ - test.check("aclMode", "Dynamic", case_sensitive=False), - test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), - test.check("name", "{myIscsiTarget}", case_sensitive=False), - ]) - step_iscsi_target_show(test, rg, rg_2, checks=[ - test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), - test.check("name", "{myIscsiTarget}", case_sensitive=False), - ]) - step_iscsi_target_list(test, rg, rg_2, checks=[ - test.check('length(@)', 1), - ]) - step_iscsi_target_update(test, rg, rg_2, checks=[ - test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), - test.check("name", "{myIscsiTarget}", case_sensitive=False), - ]) - step_iscsi_target_delete(test, rg, rg_2, checks=[]) + # STEP NOT FOUND: /DiskPools/put/Createxxx cleanup_scenario(test, rg, rg_2) @@ -115,7 +56,7 @@ def __init__(self, *args, **kwargs): self.kwargs.update({ 'myDisk': self.create_random_name(prefix='disk', length=10), 'zone': "3", - 'myDiskPool': self.create_random_name(prefix='diskpool', length=10), + 'myDiskPool': self.create_random_name(prefix='diskpool', length=16), 'myIscsiTarget': self.create_random_name(prefix='iscsi', length=10), 'myDiskPool2': 'SampleAse', }) diff --git a/src/diskpool/gen.zip b/src/diskpool/gen.zip index c1da3e0cd9ccd3739ab96b5827638ff2e0c7ee41..e11233f3153dcc5c2e7fe703f4c1906dbae93e17 100644 GIT binary patch delta 201 zcmdm;bj3?1z?+$civa}sjCTZWT5)Qj2nPcL2%9oYK4>5}xyC?pV{iu3=4jSgjC#rn z!6B{z3V!|}3U2OK57n~CJ_ex*AR*0X?Wc>R85lrV2ka^skg7I)lJ%>&^5XBGSD6*1tR5m5fm^WU^n)5VeAJC%Snqm3t~);X)kMyJm{{&i;$ zpMO33$Jq~mpa1lqPxkik^98)4Z`f<)cwEk-F!aAsOe*<}Pw`tfvMxuuETDpicC>mx ztk#~+19B8bE5T=1iuBz9dBI%~%5bXSy@*0V6%PZOJobH}fg}-3GO=Wy4P&2kU`sNO z#DT{IQCEz-I5|&W+hoF6)=;k%;em#UMEEUp6%k>m$TSpy$v2n)0@@2hwevu;=P@#4 z0RvWm(B&$}V*hMF9>*#?19<_z0Ql4Zh61@ex}w31NwT0T;?h_$!0v`ZAn8kXMVCAj zga#hD<}kfWM*I-)@Tum}MRZ&O8o@I1h_yA@Tb&MHfQS_dWoIhF1)*>Iu$IUf(bLmj*_NK@qW#PimCsSsq0Y8OVI2!T|_=} zq+(Gv0vnDi7%WDDv>r@eh1Xkwd@hv}#_BQz9dZK0iQ}<|fl3AL%7O1F1O6~yN8B9CbW4 zEp_*Ciw}vI;m0``9BQT`DrJVx^%=}(1I9AI7My53Tq@ZiN$trk9zjfgHiK$(#aWhN z^el2lqSQYm?iF+Aa(tly^|}F9wtn01(k10Sz2rVutG|Q+lNbB1x&lcTr!ro+9P5%{yU!2|#?yBUFlT5|Ac za+LW)J28@@rM8*fjDIAaJl)ii0-9xTgQS5EIfB)vv9ETUL_ik|C-8Q$I)(t@6as{s z%@|${*3!ov{6Y5r8`(E@X|)TKUrEGP3z%skT9afK^?Vl0z=}N@^oHc~WQ&wB9<+bMePK;rrkW@6%99SE9k3_7qXk;aNR zvY&52$f`Ff#-UgFV|X!q=+cj zbAW&ool`%Stal48XE_YY{EIa-vZ?ueRGI4c(H1$7=}-CVaSv(_Yi5Y|oP%VJriU|kN=$A%7cOhoxYW)cq_-e9&u5(Zl1`00s+-3?!By3ez zFt!O{31NAD?#lq?o+bj$3`-|YDilKql^i9xuE?cZAyN5KB8Ti3lPR+^GO$e53Ylp? z%PzD2G>-*M?VJ{>iGv^i`cLuuy*>O4w^S1gWs?s@#Q&!vVp0yu$|1S3gRV^c`SFX> z=T8pFC`}{fD2mnSNEh)4IDxNpwToakL5qK@D$pRGe+k)oV&K^O$Il)%}u6?mAzCbQNb}Y}!?#R&*w{=j$%1AG0bD#8@i8RM1ZS zhNb-mz(WP8TlQ#a*(=G$Y83yPas>wrM*qDETJ3XW7)y$n6{Z4WrqNTTwpoWwIZLay z0SUc(g2Cz>Nl!5dL>G9TLb6i~&SbSw{n@3WR%MIaSm`XRWENI7iq-r+i?BjE71M5W(s(SIPi*Ryt+wuW4^o(s?p+re zj%D1dQL{j0a~+`7c^Xm`>)p&we~3VIUdc%?}T(rwGI>rPxQCNO`A)5t*Vb9 zMXc33ASHdcJHptq=)TEh9&d2r5AQ>jbkYbHk|3-o=Op^UB`ITD!b<6tWn%?x>OX z7{?Yga#K+Iiz(%uEJ5+??&yc_|Mn4_+2QAR@PR{DYQq)zw>PKHe)Z9(d-cB=0N~tn zr(Y11Nt6!~*Z5z4y7@;6iWBB)P_&$KXy}kbeJu^>} From b7d38236455e1694898140ad99ce3621f1e99a8f Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Tue, 25 May 2021 14:07:51 +0800 Subject: [PATCH 18/30] add list-skus --- .../generated/_client_factory.py | 4 - .../azext_diskpool/generated/_help.py | 75 +- .../azext_diskpool/generated/_params.py | 77 +- .../azext_diskpool/generated/commands.py | 10 - .../azext_diskpool/generated/custom.py | 13 +- .../azext_diskpool/manual/_client_factory.py | 15 + .../azext_diskpool/manual/commands.py | 8 + .../tests/latest/example_steps.py | 49 +- ...est_diskpool_list_sku_scenario_manual.yaml | 48 + .../test_diskpool_scenario_manual.yaml | 5965 +++++++++++++++++ .../tests/latest/test_disk_scenario_manual.py | 28 +- .../tests/latest/test_diskpool_scenario.py | 17 +- src/diskpool/gen.zip | Bin 9556 -> 8851 bytes src/diskpool/report.md | 32 +- 14 files changed, 6146 insertions(+), 195 deletions(-) create mode 100644 src/diskpool/azext_diskpool/manual/_client_factory.py create mode 100644 src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_list_sku_scenario_manual.yaml create mode 100644 src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_scenario_manual.yaml diff --git a/src/diskpool/azext_diskpool/generated/_client_factory.py b/src/diskpool/azext_diskpool/generated/_client_factory.py index cd3bcf51fee..16ba3e4f5bc 100644 --- a/src/diskpool/azext_diskpool/generated/_client_factory.py +++ b/src/diskpool/azext_diskpool/generated/_client_factory.py @@ -20,9 +20,5 @@ 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_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 63d82021443..0c0f40fb142 100644 --- a/src/diskpool/azext_diskpool/generated/_help.py +++ b/src/diskpool/azext_diskpool/generated/_help.py @@ -14,14 +14,12 @@ helps['disk-pool'] = """ type: group - short-summary: Manage disk pool with diskpool. Command group swagger name=DiskPools + short-summary: Manage disk pool with diskpool """ helps['disk-pool list'] = """ type: command - short-summary: "Gets a list of DiskPools in a resource group. Command group swagger name=DiskPools, Command \ -swagger name=ListByResourceGroup And Gets a list of Disk Pools in a subscription Command group swagger name=DiskPools, \ -Command swagger name=ListBySubscription." + short-summary: "Gets a list of DiskPools in a resource group. And Gets a list of Disk Pools in a subscription." examples: - name: List Disk Pools text: |- @@ -33,7 +31,7 @@ helps['disk-pool show'] = """ type: command - short-summary: "Get a Disk pool. Command group swagger name=DiskPools, Command swagger name=Get." + short-summary: "Get a Disk pool." examples: - name: Get Disk pool text: |- @@ -42,18 +40,17 @@ helps['disk-pool create'] = """ type: command - short-summary: "Create Disk pool. Command group swagger name=DiskPools, Command swagger \ -name=CreateOrUpdate#Create." + short-summary: "Create Disk pool." parameters: - name: --sku - short-summary: "Determines the SKU of the Disk Pool. Swagger 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. Swagger name=disks" + short-summary: "List of Azure Managed Disks to attach to a Disk Pool." long-summary: | The order of this parameter is specific customized. Usage: --disks id-value @@ -73,10 +70,10 @@ helps['disk-pool update'] = """ type: command - short-summary: "Update a Disk pool. Command group swagger name=DiskPools, Command swagger name=Update." + short-summary: "Update a Disk pool." parameters: - name: --disks - short-summary: "List of Azure Managed Disks to attach to a Disk Pool. Swagger name=disks" + short-summary: "List of Azure Managed Disks to attach to a Disk Pool." long-summary: | The order of this parameter is specific customized. Usage: --disks id-value @@ -94,28 +91,25 @@ helps['disk-pool delete'] = """ type: command - short-summary: "Delete a Disk pool. Command group swagger name=DiskPools, Command swagger name=Delete." + short-summary: "Delete a Disk pool." examples: - name: Delete Disk pool text: |- az disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" """ -helps['disk-pool list-outbound-network-dependency-endpoint'] = """ +helps['disk-pool list-skus'] = """ type: command - short-summary: "Gets the network endpoints of all outbound dependencies of a Disk Pool Command group swagger \ -name=DiskPools, Command swagger name=ListOutboundNetworkDependenciesEndpoints." + short-summary: "Lists available Disk Pool Skus in an Azure location." examples: - - name: Get Disk Pool outbound network dependencies + - name: List Disk Pool Skus text: |- - az disk-pool list-outbound-network-dependency-endpoint --name "SampleAse" --resource-group \ -"Sample-WestUSResourceGroup" + az disk-pool list-skus --location "eastus" """ helps['disk-pool start'] = """ type: command - short-summary: "The operation to start a Disk Pool. Command group swagger name=DiskPools, Command swagger \ -name=Start." + short-summary: "The operation to start a Disk Pool." examples: - name: Start Disk Pool text: |- @@ -125,7 +119,7 @@ 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. Command group swagger name=DiskPools, Command swagger name=Deallocate." +resources that this Disk Pool uses." examples: - name: Deallocate Disk Pool text: |- @@ -147,30 +141,14 @@ az disk-pool wait --name "myDiskPool" --resource-group "myResourceGroup" --deleted """ -helps['disk-pool-zone'] = """ - type: group - short-summary: Manage disk pool zone with diskpool. Command group swagger name=DiskPoolZones -""" - -helps['disk-pool-zone list'] = """ - type: command - short-summary: "Lists available Disk Pool Skus in an Azure location. Command group swagger name=DiskPoolZones, \ -Command swagger name=List." - examples: - - name: List Disk Pool Skus - text: |- - az disk-pool-zone list --location "eastus" -""" - helps['disk-pool iscsi-target'] = """ type: group - short-summary: Manage iscsi target with diskpool. Command group swagger name=IscsiTargets + short-summary: Manage iscsi target with diskpool """ helps['disk-pool iscsi-target list'] = """ type: command - short-summary: "Get iSCSI Targets in a Disk pool. Command group swagger name=IscsiTargets, Command swagger \ -name=ListByDiskPool." + short-summary: "Get iSCSI Targets in a Disk pool." examples: - name: List Disk Pools by Resource Group text: |- @@ -179,7 +157,7 @@ helps['disk-pool iscsi-target show'] = """ type: command - short-summary: "Get an iSCSI Target. Command group swagger name=IscsiTargets, Command swagger name=Get." + short-summary: "Get an iSCSI Target." examples: - name: Get iSCSI Target text: |- @@ -189,12 +167,10 @@ helps['disk-pool iscsi-target create'] = """ type: command - short-summary: "Create an iSCSI Target. Command group swagger name=IscsiTargets, Command swagger \ -name=CreateOrUpdate#Create." + short-summary: "Create an iSCSI Target." parameters: - name: --static-acls - short-summary: "Access Control List (ACL) for an iSCSI Target; defines LUN masking policy. Swagger \ -name=staticAcls" + short-summary: "Access Control List (ACL) for an iSCSI Target; defines LUN masking policy" long-summary: | Usage: --static-acls initiator-iqn=XX mapped-luns=XX @@ -204,7 +180,7 @@ Multiple actions can be specified by using more than one --static-acls argument. - name: --luns - short-summary: "List of LUNs to be exposed through iSCSI Target. Swagger name=luns" + short-summary: "List of LUNs to be exposed through iSCSI Target." long-summary: | Usage: --luns name=XX managed-disk-azure-resource-id=XX @@ -223,11 +199,10 @@ helps['disk-pool iscsi-target update'] = """ type: command - short-summary: "Update an iSCSI Target. Command group swagger name=IscsiTargets, Command swagger name=Update." + short-summary: "Update an iSCSI Target." parameters: - name: --static-acls - short-summary: "Access Control List (ACL) for an iSCSI Target; defines LUN masking policy. Swagger \ -name=staticAcls" + short-summary: "Access Control List (ACL) for an iSCSI Target; defines LUN masking policy" long-summary: | Usage: --static-acls initiator-iqn=XX mapped-luns=XX @@ -237,7 +212,7 @@ Multiple actions can be specified by using more than one --static-acls argument. - name: --luns - short-summary: "List of LUNs to be exposed through iSCSI Target. Swagger name=luns" + short-summary: "List of LUNs to be exposed through iSCSI Target." long-summary: | Usage: --luns name=XX managed-disk-azure-resource-id=XX @@ -256,7 +231,7 @@ helps['disk-pool iscsi-target delete'] = """ type: command - short-summary: "Delete an iSCSI Target. Command group swagger name=IscsiTargets, Command swagger name=Delete." + short-summary: "Delete an iSCSI Target." examples: - name: Delete iSCSI Target text: |- diff --git a/src/diskpool/azext_diskpool/generated/_params.py b/src/diskpool/azext_diskpool/generated/_params.py index 50e92fde77a..282c6a81caa 100644 --- a/src/diskpool/azext_diskpool/generated/_params.py +++ b/src/diskpool/azext_diskpool/generated/_params.py @@ -36,107 +36,94 @@ def load_arguments(self, _): with self.argument_context('disk-pool show') 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. Swagger name=diskPoolName', id_part='name') + 'the Disk Pool.', id_part='name') with self.argument_context('disk-pool create') 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. Swagger name=diskPoolName') - c.argument('sku', action=AddSku, nargs='+', help='Determines the SKU of the Disk Pool. Swagger name=sku') + 'the Disk Pool.') + c.argument('sku', action=AddSku, nargs='+', help='Determines the SKU of the Disk Pool') 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('availability_zones', nargs='+', help='Logical zone for Disk Pool resource; example: ["1"]. Swagger ' - 'name=availabilityZones') + 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. Swagger name=disks') - c.argument('subnet_id', type=str, - help='Azure Resource ID of a Subnet for the Disk Pool. Swagger name=subnetId') - c.argument('additional_capabilities', nargs='+', help='List of additional capabilities for a Disk Pool. ' - 'Swagger name=additionalCapabilities') + 'Disk Pool.') + c.argument('subnet_id', type=str, help='Azure Resource ID of a Subnet for the Disk Pool.') + c.argument('additional_capabilities', nargs='+', help='List of additional capabilities for a Disk Pool.') with self.argument_context('disk-pool update') 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. Swagger name=diskPoolName', id_part='name') + 'the Disk Pool.', id_part='name') c.argument('tags', tags_type) c.argument('disks', action=AddDiskPoolUpdateDisks, nargs='+', help='List of Azure Managed Disks to attach to a ' - 'Disk Pool. Swagger name=disks') + 'Disk Pool.') with self.argument_context('disk-pool delete') 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. Swagger name=diskPoolName', id_part='name') + 'the Disk Pool.', id_part='name') - with self.argument_context('disk-pool list-outbound-network-dependency-endpoint') 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. Swagger name=diskPoolName') + with self.argument_context('disk-pool list-skus') as c: + c.argument('location', arg_type=get_location_type(self.cli_ctx)) with self.argument_context('disk-pool start') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' - 'the Disk Pool. Swagger name=diskPoolName', id_part='name') + 'the Disk Pool.', id_part='name') with self.argument_context('disk-pool stop') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' - 'the Disk Pool. Swagger name=diskPoolName', id_part='name') + 'the Disk Pool.', id_part='name') with self.argument_context('disk-pool wait') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' - 'the Disk Pool. Swagger name=diskPoolName', id_part='name') - - with self.argument_context('disk-pool-zone list') as c: - c.argument('location', arg_type=get_location_type(self.cli_ctx)) + 'the Disk Pool.', id_part='name') 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. Swagger name=diskPoolName') + c.argument('disk_pool_name', type=str, help='The name of the Disk Pool.') with self.argument_context('disk-pool iscsi-target show') 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. Swagger name=diskPoolName', - id_part='name') + 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. Swagger name=iscsiTargetName', id_part='child_name_1') + 'of the iSCSI Target.', id_part='child_name_1') with self.argument_context('disk-pool iscsi-target create') 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. Swagger name=diskPoolName') + 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. Swagger name=iscsiTargetName') - c.argument('acl_mode', arg_type=get_enum_type(['Dynamic', 'Static']), help='Mode for Target connectivity. ' - 'Swagger name=aclMode') + 'of the iSCSI Target.') + 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". Swagger name=targetIqn') + '"iqn.2005-03.org.iscsi:server".') c.argument('static_acls', action=AddDiskPoolIscsiTargetCreateStaticAcls, nargs='+', help='Access Control List ' - '(ACL) for an iSCSI Target; defines LUN masking policy. Swagger name=staticAcls') + '(ACL) for an iSCSI Target; defines LUN masking policy') c.argument('luns', action=AddDiskPoolIscsiTargetCreateLuns, nargs='+', help='List of LUNs to be exposed ' - 'through iSCSI Target. Swagger name=luns') + 'through iSCSI Target.') with self.argument_context('disk-pool iscsi-target update') 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. Swagger name=diskPoolName', - id_part='name') + 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. Swagger name=iscsiTargetName', id_part='child_name_1') + 'of the iSCSI Target.', id_part='child_name_1') c.argument('static_acls', action=AddDiskPoolIscsiTargetUpdateStaticAcls, nargs='+', help='Access Control List ' - '(ACL) for an iSCSI Target; defines LUN masking policy. Swagger name=staticAcls') + '(ACL) for an iSCSI Target; defines LUN masking policy') c.argument('luns', action=AddDiskPoolIscsiTargetUpdateLuns, nargs='+', help='List of LUNs to be exposed ' - 'through iSCSI Target. Swagger name=luns') + 'through iSCSI Target.') with self.argument_context('disk-pool iscsi-target delete') 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. Swagger name=diskPoolName', - id_part='name') + 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. Swagger name=iscsiTargetName', id_part='child_name_1') + 'of the iSCSI Target.', id_part='child_name_1') with self.argument_context('disk-pool iscsi-target wait') 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. Swagger name=diskPoolName', - id_part='name') + 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. Swagger name=iscsiTargetName', id_part='child_name_1') + 'of the iSCSI Target.', id_part='child_name_1') diff --git a/src/diskpool/azext_diskpool/generated/commands.py b/src/diskpool/azext_diskpool/generated/commands.py index d58a4a696c3..fc30b7ef54e 100644 --- a/src/diskpool/azext_diskpool/generated/commands.py +++ b/src/diskpool/azext_diskpool/generated/commands.py @@ -26,20 +26,10 @@ def load_command_table(self, _): 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('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_disk_pool_zone - diskpool_disk_pool_zone = CliCommandType( - operations_tmpl='azext_diskpool.vendored_sdks.storagepool.operations._disk_pool_zones_operations#DiskPoolZonesO' - 'perations.{}', - client_factory=cf_disk_pool_zone) - with self.command_group('disk-pool-zone', diskpool_disk_pool_zone, client_factory=cf_disk_pool_zone) as g: - g.custom_command('list', 'disk_pool_zone_list') - 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' diff --git a/src/diskpool/azext_diskpool/generated/custom.py b/src/diskpool/azext_diskpool/generated/custom.py index ce53027b6a8..811c1c55e08 100644 --- a/src/diskpool/azext_diskpool/generated/custom.py +++ b/src/diskpool/azext_diskpool/generated/custom.py @@ -78,11 +78,9 @@ def disk_pool_delete(client, disk_pool_name=disk_pool_name) -def disk_pool_list_outbound_network_dependency_endpoint(client, - resource_group_name, - disk_pool_name): - return client.list_outbound_network_dependencies_endpoints(resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name) +def disk_pool_list_skus(client, + location): + return client.list(location=location) def disk_pool_start(client, @@ -105,11 +103,6 @@ def disk_pool_stop(client, disk_pool_name=disk_pool_name) -def disk_pool_zone_list(client, - location): - return client.list(location=location) - - def disk_pool_iscsi_target_list(client, resource_group_name, disk_pool_name): diff --git a/src/diskpool/azext_diskpool/manual/_client_factory.py b/src/diskpool/azext_diskpool/manual/_client_factory.py new file mode 100644 index 00000000000..242ff3ac222 --- /dev/null +++ b/src/diskpool/azext_diskpool/manual/_client_factory.py @@ -0,0 +1,15 @@ +# -------------------------------------------------------------------------- +# 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 ..generated._client_factory import cf_diskpool_cl + + +def cf_disk_pool_zones(cli_ctx, *_): + return cf_diskpool_cl(cli_ctx).disk_pool_zones diff --git a/src/diskpool/azext_diskpool/manual/commands.py b/src/diskpool/azext_diskpool/manual/commands.py index 9aa58a6a7b3..62756724882 100644 --- a/src/diskpool/azext_diskpool/manual/commands.py +++ b/src/diskpool/azext_diskpool/manual/commands.py @@ -15,6 +15,7 @@ def load_command_table(self, _): from azext_diskpool.generated._client_factory import cf_disk_pool + from azext_diskpool.manual._client_factory import cf_disk_pool_zones diskpool_disk_pool = CliCommandType( operations_tmpl='azext_diskpool.vendored_sdks.storagepool.operations._disk_pools_operations#DiskPoolsOperations' '.{}', @@ -22,3 +23,10 @@ def load_command_table(self, _): with self.command_group('disk-pool', diskpool_disk_pool, client_factory=cf_disk_pool, is_preview=True) as g: from ._transformers import transform_disk_pool_list_output g.custom_command('list', 'disk_pool_list', table_transformer=transform_disk_pool_list_output) + + diskpool_disk_pool_zones = CliCommandType( + operations_tmpl='azext_diskpool.vendored_sdks.storagepool.operations._disk_pool_zones_operations#DiskPoolZonesOperations' + '.{}', + client_factory=cf_disk_pool_zones) + with self.command_group('disk-pool', diskpool_disk_pool_zones, client_factory=cf_disk_pool_zones, is_preview=True) as g: + g.custom_command('list-skus', 'disk_pool_list_skus') diff --git a/src/diskpool/azext_diskpool/tests/latest/example_steps.py b/src/diskpool/azext_diskpool/tests/latest/example_steps.py index aea88d26eb8..59bf237c4b0 100644 --- a/src/diskpool/azext_diskpool/tests/latest/example_steps.py +++ b/src/diskpool/azext_diskpool/tests/latest/example_steps.py @@ -65,7 +65,7 @@ def step_show(test, rg, checks=None): # EXAMPLE: /DiskPools/put/Create or Update Disk pool @try_manual -def step_create(test, rg, rg_2, checks=None): +def step_create(test, rg, checks=None): if checks is None: checks = [] test.cmd('az disk-pool create ' @@ -90,7 +90,7 @@ def step_create(test, rg, rg_2, checks=None): # EXAMPLE: /DiskPools/get/Get Disk pool @try_manual -def step_show(test, rg, rg_2, checks=None): +def step_show(test, rg, checks=None): if checks is None: checks = [] test.cmd('az disk-pool show ' @@ -99,20 +99,19 @@ def step_show(test, rg, rg_2, checks=None): checks=checks) -# EXAMPLE: /DiskPools/get/Get Disk Pool outbound network dependencies +# EXAMPLE: /DiskPools/get/List Disk Pool Skus @try_manual -def step_list_outbound_network_dependency_endpoint(test, rg, rg_2, checks=None): +def step_list_skus(test, rg, checks=None): if checks is None: checks = [] - test.cmd('az disk-pool list-outbound-network-dependency-endpoint ' - '--name "{myDiskPool2}" ' - '--resource-group "{rg_2}"', + test.cmd('az disk-pool list-skus ' + '--location "eastus"', checks=checks) # EXAMPLE: /DiskPools/get/List Disk Pools @try_manual -def step_list(test, rg, rg_2, checks=None): +def step_list(test, rg, checks=None): if checks is None: checks = [] test.cmd('az disk-pool list ' @@ -122,7 +121,7 @@ def step_list(test, rg, rg_2, checks=None): # EXAMPLE: /DiskPools/get/List Disk Pools by subscription @try_manual -def step_list2(test, rg, rg_2, checks=None): +def step_list2(test, rg, checks=None): if checks is None: checks = [] test.cmd('az disk-pool list ' @@ -132,7 +131,7 @@ def step_list2(test, rg, rg_2, checks=None): # EXAMPLE: /IscsiTargets/put/Create or Update iSCSI Target @try_manual -def step_iscsi_target_create(test, rg, rg_2, checks=None): +def step_iscsi_target_create(test, rg, checks=None): if checks is None: checks = [] test.cmd('az disk-pool iscsi-target create ' @@ -152,7 +151,7 @@ def step_iscsi_target_create(test, rg, rg_2, checks=None): # EXAMPLE: /IscsiTargets/get/Get iSCSI Target @try_manual -def step_iscsi_target_show(test, rg, rg_2, checks=None): +def step_iscsi_target_show(test, rg, checks=None): if checks is None: checks = [] test.cmd('az disk-pool iscsi-target show ' @@ -184,7 +183,7 @@ def step_update(test, rg, checks=None): # EXAMPLE: /DiskPools/patch/Update Disk pool @try_manual -def step_update(test, rg, rg_2, checks=None): +def step_update(test, rg, checks=None): if checks is None: checks = [] test.cmd('az disk-pool update ' @@ -200,7 +199,7 @@ def step_update(test, rg, rg_2, checks=None): # EXAMPLE: /DiskPools/post/Deallocate Disk Pool @try_manual -def step_stop(test, rg, rg_2, checks=None): +def step_stop(test, rg, checks=None): if checks is None: checks = [] test.cmd('az disk-pool stop ' @@ -211,7 +210,7 @@ def step_stop(test, rg, rg_2, checks=None): # EXAMPLE: /DiskPools/post/Start Disk Pool @try_manual -def step_start(test, rg, rg_2, checks=None): +def step_start(test, rg, checks=None): if checks is None: checks = [] test.cmd('az disk-pool start ' @@ -222,7 +221,7 @@ def step_start(test, rg, rg_2, checks=None): # EXAMPLE: /DiskPools/delete/Delete Disk pool @try_manual -def step_delete(test, rg, rg_2, checks=None): +def step_delete(test, rg, checks=None): if checks is None: checks = [] test.cmd('az disk-pool delete -y ' @@ -230,17 +229,6 @@ def step_delete(test, rg, rg_2, checks=None): '--resource-group "{rg}"', checks=checks) - -# EXAMPLE: /DiskPoolZones/get/List Disk Pool Skus -@try_manual -def step_list3(test, rg, rg_2, checks=None): - if checks is None: - checks = [] - test.cmd('az disk-pool-zone list ' - '--location "eastus"', - checks=checks) - - # EXAMPLE: /IscsiTargets/put/Create or Update iSCSI Target @try_manual def step_iscsi_target_create(test, rg, rg_2, checks=None): @@ -275,7 +263,7 @@ def step_iscsi_target_show(test, rg, rg_2, checks=None): # EXAMPLE: /IscsiTargets/get/List Disk Pools by Resource Group @try_manual -def step_iscsi_target_list(test, rg, rg_2, checks=None): +def step_iscsi_target_list(test, rg, checks=None): if checks is None: checks = [] test.cmd('az disk-pool iscsi-target list ' @@ -294,9 +282,10 @@ def step_delete(test, rg, checks=None): '--resource-group "{rg}"', checks=checks) + # EXAMPLE: /IscsiTargets/patch/Update iSCSI Target @try_manual -def step_iscsi_target_update(test, rg, rg_2, checks=None): +def step_iscsi_target_update(test, rg, checks=None): if checks is None: checks = [] test.cmd('az disk-pool iscsi-target update ' @@ -311,7 +300,7 @@ def step_iscsi_target_update(test, rg, rg_2, checks=None): # EXAMPLE: /IscsiTargets/delete/Delete iSCSI Target @try_manual -def step_iscsi_target_delete(test, rg, rg_2, checks=None): +def step_iscsi_target_delete(test, rg, checks=None): if checks is None: checks = [] test.cmd('az disk-pool iscsi-target delete -y ' @@ -320,6 +309,7 @@ def step_iscsi_target_delete(test, rg, rg_2, checks=None): '--resource-group "{rg}"', checks=checks) + # EXAMPLE: /IscsiTargets/patch/Update iSCSI Target @try_manual def step_iscsi_target_update(test, rg, rg_2, checks=None): @@ -345,4 +335,3 @@ def step_iscsi_target_delete(test, rg, rg_2, checks=None): '--name "{myIscsiTarget}" ' '--resource-group "{rg}"', checks=checks) - 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 new file mode 100644 index 00000000000..9056cadb6b2 --- /dev/null +++ b/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_list_sku_scenario_manual.yaml @@ -0,0 +1,48 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool list-skus + Connection: + - keep-alive + ParameterSetName: + - -l + User-Agent: + - AZURECLI/2.24.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/diskPoolZones?api-version=2021-04-01-preview + 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"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 06:06: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 +version: 1 diff --git a/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_scenario_manual.yaml b/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_scenario_manual.yaml new file mode 100644 index 00000000000..5a43b14f206 --- /dev/null +++ b/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_scenario_manual.yaml @@ -0,0 +1,5965 @@ +interactions: +- request: + body: '{"location": "eastus", "tags": {}, "sku": {"name": "Premium_LRS"}, "zones": + ["3"], "properties": {"hyperVGeneration": "V1", "creationData": {"createOption": + "Empty"}, "diskSizeGB": 256, "maxShares": 2}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - disk create + Connection: + - keep-alive + Content-Length: + - '202' + Content-Type: + - application/json + ParameterSetName: + - --name --resource-group --zone --location --sku --max-shares --size-gb + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 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.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 + \ \"name\": \"Premium_LRS\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": + \"V1\",\r\n \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n + \ },\r\n \"diskSizeGB\": 256,\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/6d968c3b-7910-4cd2-b61a-ea855109b261?api-version=2020-12-01 + cache-control: + - no-cache + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 25 May 2021 05:10:56 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/DiskOperations/6d968c3b-7910-4cd2-b61a-ea855109b261?monitor=true&api-version=2020-12-01 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/CreateUpdateDisks3Min;999,Microsoft.Compute/CreateUpdateDisks30Min;7997 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --zone --location --sku --max-shares --size-gb + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 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.Compute/locations/eastus/DiskOperations/6d968c3b-7910-4cd2-b61a-ea855109b261?api-version=2020-12-01 + response: + body: + string: "{\r\n \"startTime\": \"2021-05-25T05:10:57.602101+00:00\",\r\n \"endTime\": + \"2021-05-25T05:10:57.6958345+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 + \ \"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\": 256,\r\n \"diskIOPSReadWrite\": + 1100,\r\n \"diskMBpsReadWrite\": 125,\r\n \"encryption\": {\r\n \"type\": + \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n + \ \"timeCreated\": \"2021-05-25T05:10:57.6177136+00:00\",\r\n \"provisioningState\": + \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": + 274877906944,\r\n \"uniqueId\": \"6a20b052-9004-4676-a717-533fb20e2c75\",\r\n + \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"tier\": \"P15\"\r\n }\r\n}\r\n + \ },\r\n \"name\": \"6d968c3b-7910-4cd2-b61a-ea855109b261\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1153' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 25 May 2021 05:11:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;49999,Microsoft.Compute/GetOperation30Min;399997 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --zone --location --sku --max-shares --size-gb + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 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.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 + \ \"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\": 256,\r\n \"diskIOPSReadWrite\": + 1100,\r\n \"diskMBpsReadWrite\": 125,\r\n \"encryption\": {\r\n \"type\": + \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n + \ \"timeCreated\": \"2021-05-25T05:10:57.6177136+00:00\",\r\n \"provisioningState\": + \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": + 274877906944,\r\n \"uniqueId\": \"6a20b052-9004-4676-a717-533fb20e2c75\",\r\n + \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"tier\": \"P15\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '929' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 25 May 2021 05:11:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/LowCostGet3Min;14993,Microsoft.Compute/LowCostGet30Min;119954 + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "tags": {}, "sku": {"name": "Premium_LRS"}, "zones": + ["3"], "properties": {"hyperVGeneration": "V1", "creationData": {"createOption": + "Empty"}, "diskSizeGB": 256, "maxShares": 2}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - disk create + Connection: + - keep-alive + Content-Length: + - '202' + Content-Type: + - application/json + ParameterSetName: + - --name --resource-group --zone --location --sku --max-shares --size-gb + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 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.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 + \ \"name\": \"Premium_LRS\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": + \"V1\",\r\n \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n + \ },\r\n \"diskSizeGB\": 256,\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/a97680a4-51e5-4236-8f8d-505c8e0baa08?api-version=2020-12-01 + cache-control: + - no-cache + content-length: + - '370' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 25 May 2021 05:11:05 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/DiskOperations/a97680a4-51e5-4236-8f8d-505c8e0baa08?monitor=true&api-version=2020-12-01 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/CreateUpdateDisks3Min;998,Microsoft.Compute/CreateUpdateDisks30Min;7996 + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --zone --location --sku --max-shares --size-gb + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 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.Compute/locations/eastus/DiskOperations/a97680a4-51e5-4236-8f8d-505c8e0baa08?api-version=2020-12-01 + response: + body: + string: "{\r\n \"startTime\": \"2021-05-25T05:11:06.0240442+00:00\",\r\n \"endTime\": + \"2021-05-25T05:11:06.1177953+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 + \ \"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\": 256,\r\n \"diskIOPSReadWrite\": + 1100,\r\n \"diskMBpsReadWrite\": 125,\r\n \"encryption\": {\r\n \"type\": + \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n + \ \"timeCreated\": \"2021-05-25T05:11:06.0240442+00:00\",\r\n \"provisioningState\": + \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": + 274877906944,\r\n \"uniqueId\": \"ad6cb820-a64d-42f9-b523-def178573509\",\r\n + \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"tier\": \"P15\"\r\n }\r\n}\r\n + \ },\r\n \"name\": \"a97680a4-51e5-4236-8f8d-505c8e0baa08\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1154' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 25 May 2021 05:11:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;49997,Microsoft.Compute/GetOperation30Min;399995 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --zone --location --sku --max-shares --size-gb + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 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.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 + \ \"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\": 256,\r\n \"diskIOPSReadWrite\": + 1100,\r\n \"diskMBpsReadWrite\": 125,\r\n \"encryption\": {\r\n \"type\": + \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n + \ \"timeCreated\": \"2021-05-25T05:11:06.0240442+00:00\",\r\n \"provisioningState\": + \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": + 274877906944,\r\n \"uniqueId\": \"ad6cb820-a64d-42f9-b523-def178573509\",\r\n + \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"tier\": \"P15\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '929' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 25 May 2021 05:11:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/LowCostGet3Min;14991,Microsoft.Compute/LowCostGet30Min;119952 + status: + code: 200 + message: OK +- request: + body: '{"objectIds": ["09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad"], "includeDirectoryObjectReferences": + true}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '97' + Content-Type: + - application/json; charset=utf-8 + 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.24.0 + accept-language: + - en-US + method: POST + uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/getObjectsByObjectIds?api-version=1.6 + response: + body: + string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects","value":[{"odata.type":"Microsoft.DirectoryServices.ServicePrincipal","objectType":"ServicePrincipal","objectId":"09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad","deletionTimestamp":null,"accountEnabled":true,"addIns":[],"alternativeNames":[],"appDisplayName":"StoragePool + Resource Provider","appId":"5741a1ff-751d-4ad7-bcd1-dfe3c998fd11","applicationTemplateId":null,"appOwnerTenantId":"f8cdef31-a31e-4b4a-93e4-5f571e91255a","appRoleAssignmentRequired":false,"appRoles":[],"displayName":"StoragePool + Resource Provider","errorUrl":null,"homepage":null,"informationalUrls":{"termsOfService":null,"support":null,"privacy":null,"marketing":null},"keyCredentials":[],"logoutUrl":null,"notificationEmailAddresses":[],"oauth2Permissions":[],"passwordCredentials":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyEndDateTime":null,"preferredTokenSigningKeyThumbprint":null,"publisherName":"Microsoft + Services","replyUrls":[],"samlMetadataUrl":null,"samlSingleSignOnSettings":null,"servicePrincipalNames":["5741a1ff-751d-4ad7-bcd1-dfe3c998fd11"],"servicePrincipalType":"Application","signInAudience":"AzureADMultipleOrgs","tags":[],"tokenEncryptionKeyId":null}]}' + headers: + access-control-allow-origin: + - '*' + cache-control: + - no-cache + content-length: + - '1266' + content-type: + - application/json; odata=minimalmetadata; streaming=true; charset=utf-8 + dataserviceversion: + - 3.0; + date: + - Tue, 25 May 2021 05:11:09 GMT + duration: + - '2598313' + expires: + - '-1' + ocp-aad-diagnostics-server-name: + - dq66cFOsELoUc9rEybaRzTsU7PYlz9WkHnTdfkUzTbA= + ocp-aad-session-key: + - Lg87kWrENjpqE-Qkn8NayvZZWCsmUcnwW8hNpG_YGyHkIqyuzOgxAJQ1NCqhbWasGoo4vb5tG_RNB_OuOtH5H7xpAi7X8N0iSVhyEvHL9XS8BZsWlsjvcd6AifL2Da_o._51QGIw8PkKCoqXniNzzEPff5KIx9q3DTY01MsdWgRY + pragma: + - no-cache + request-id: + - bcef9603-36ff-4416-b4a8-606497455191 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-aspnet-version: + - 4.0.30319 + x-ms-dirapi-data-contract-version: + - '1.6' + x-ms-resource-unit: + - '3' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + 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.24.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002/providers/Microsoft.Authorization/roleDefinitions?$filter=roleName%20eq%20%27Virtual%20Machine%20Contributor%27&api-version=2018-01-01-preview + response: + 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"}]}' + headers: + cache-control: + - no-cache + content-length: + - '2704' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 25 May 2021 05:11:10 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"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"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json; charset=utf-8 + Cookie: + - x-ms-gateway-slice=Production + 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.24.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002/providers/Microsoft.Authorization/roleAssignments/8a512c11-525a-4589-9332-2a30c5ad43d5?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-05-25T05:11:11.0655144Z","updatedOn":"2021-05-25T05:11:12.5905127Z","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/8a512c11-525a-4589-9332-2a30c5ad43d5","type":"Microsoft.Authorization/roleAssignments","name":"8a512c11-525a-4589-9332-2a30c5ad43d5"}' + headers: + cache-control: + - no-cache + content-length: + - '977' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 25 May 2021 05:11:16 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: '{"objectIds": ["09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad"], "includeDirectoryObjectReferences": + true}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '97' + Content-Type: + - application/json; charset=utf-8 + 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.24.0 + accept-language: + - en-US + method: POST + uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/getObjectsByObjectIds?api-version=1.6 + response: + body: + string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects","value":[{"odata.type":"Microsoft.DirectoryServices.ServicePrincipal","objectType":"ServicePrincipal","objectId":"09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad","deletionTimestamp":null,"accountEnabled":true,"addIns":[],"alternativeNames":[],"appDisplayName":"StoragePool + Resource Provider","appId":"5741a1ff-751d-4ad7-bcd1-dfe3c998fd11","applicationTemplateId":null,"appOwnerTenantId":"f8cdef31-a31e-4b4a-93e4-5f571e91255a","appRoleAssignmentRequired":false,"appRoles":[],"displayName":"StoragePool + Resource Provider","errorUrl":null,"homepage":null,"informationalUrls":{"termsOfService":null,"support":null,"privacy":null,"marketing":null},"keyCredentials":[],"logoutUrl":null,"notificationEmailAddresses":[],"oauth2Permissions":[],"passwordCredentials":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyEndDateTime":null,"preferredTokenSigningKeyThumbprint":null,"publisherName":"Microsoft + Services","replyUrls":[],"samlMetadataUrl":null,"samlSingleSignOnSettings":null,"servicePrincipalNames":["5741a1ff-751d-4ad7-bcd1-dfe3c998fd11"],"servicePrincipalType":"Application","signInAudience":"AzureADMultipleOrgs","tags":[],"tokenEncryptionKeyId":null}]}' + headers: + access-control-allow-origin: + - '*' + cache-control: + - no-cache + content-length: + - '1266' + content-type: + - application/json; odata=minimalmetadata; streaming=true; charset=utf-8 + dataserviceversion: + - 3.0; + date: + - Tue, 25 May 2021 05:11:17 GMT + duration: + - '2631596' + expires: + - '-1' + ocp-aad-diagnostics-server-name: + - +BPQkQ5xHyR3v7wnQNIBPXw9O9o854WxfyFNnq/O87s= + ocp-aad-session-key: + - B8JDhLcWTMfxbe_r-AZtv8UufZFv7_OH8CUblBTsoO8USBsX3q-4F9j-5JRVKqQAnpu3b09_NokAenWB0-fVLK_WHnMBHMGNKsdh1DGo2rFR3K0P9AjCEmt3Ms9tEIEt.u-WBefYyoHVOj5IhscehC0ngTJBDMr470Scv8-KwCCU + pragma: + - no-cache + request-id: + - 386e71db-d6a6-41ce-9180-f2ef9b1b0b30 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-aspnet-version: + - 4.0.30319 + x-ms-dirapi-data-contract-version: + - '1.6' + x-ms-resource-unit: + - '3' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + 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.24.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003/providers/Microsoft.Authorization/roleDefinitions?$filter=roleName%20eq%20%27Virtual%20Machine%20Contributor%27&api-version=2018-01-01-preview + response: + 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"}]}' + headers: + cache-control: + - no-cache + content-length: + - '2704' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 25 May 2021 05:11:17 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"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"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json; charset=utf-8 + Cookie: + - x-ms-gateway-slice=Production + 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.24.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003/providers/Microsoft.Authorization/roleAssignments/165c7626-4c31-4993-a1db-6d866350011f?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-05-25T05:11:18.3618246Z","updatedOn":"2021-05-25T05:11:19.1954599Z","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/165c7626-4c31-4993-a1db-6d866350011f","type":"Microsoft.Authorization/roleAssignments","name":"165c7626-4c31-4993-a1db-6d866350011f"}' + headers: + cache-control: + - no-cache + content-length: + - '977' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 25 May 2021 05:11:21 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1196' + status: + code: 201 + message: Created +- request: + body: '{"location": "eastus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": + ["10.0.0.0/16"]}, "dhcpOptions": {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + Content-Length: + - '123' + Content-Type: + - application/json + ParameterSetName: + - --name --resource-group --location + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 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.Network/virtualNetworks/vnet000004?api-version=2021-02-01 + response: + body: + string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n + \ \"etag\": \"W/\\\"728aa55d-e420-40fe-9128-ecb3aec39623\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"022bc61c-e5a6-4a34-8c74-764093225c0d\",\r\n \"addressSpace\": + {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n + \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n + \ \"subnets\": [],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": + false\r\n }\r\n}" + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/0a9361dd-5cd2-4500-83ea-321424dc08a0?api-version=2021-02-01 + cache-control: + - no-cache + content-length: + - '683' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 25 May 2021 05:11:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 92e3a9f9-fb34-47fb-b651-3c609cfb33a0 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --location + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 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.Network/locations/eastus/operations/0a9361dd-5cd2-4500-83ea-321424dc08a0?api-version=2021-02-01 + response: + body: + string: "{\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '29' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 25 May 2021 05:11:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 5183686b-c4e2-41cd-9e3f-f86ac77c5973 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --location + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 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.Network/virtualNetworks/vnet000004?api-version=2021-02-01 + response: + body: + string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n + \ \"etag\": \"W/\\\"71e2aaf3-563c-47ac-ac86-c3dd1f103173\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"022bc61c-e5a6-4a34-8c74-764093225c0d\",\r\n \"addressSpace\": + {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n + \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n + \ \"subnets\": [],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": + false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '684' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 25 May 2021 05:11:35 GMT + etag: + - W/"71e2aaf3-563c-47ac-ac86-c3dd1f103173" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 5318703b-5c42-447e-9ab5-23e5fb6a2174 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + ParameterSetName: + - --name --vnet-name --resource-group --address-prefixes --delegations + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 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.Network/virtualNetworks/vnet000004?api-version=2021-02-01 + response: + body: + string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n + \ \"etag\": \"W/\\\"71e2aaf3-563c-47ac-ac86-c3dd1f103173\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"022bc61c-e5a6-4a34-8c74-764093225c0d\",\r\n \"addressSpace\": + {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n + \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n + \ \"subnets\": [],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": + false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '684' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 25 May 2021 05:11:36 GMT + etag: + - W/"71e2aaf3-563c-47ac-ac86-c3dd1f103173" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 52c685a8-afd8-4e79-84be-cba9a581794f + 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": + ["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": + "Enabled", "privateLinkServiceNetworkPolicies": "Enabled"}}], "virtualNetworkPeerings": + [], "enableDdosProtection": false}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + Content-Length: + - '624' + Content-Type: + - application/json + ParameterSetName: + - --name --vnet-name --resource-group --address-prefixes --delegations + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 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.Network/virtualNetworks/vnet000004?api-version=2021-02-01 + response: + body: + string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n + \ \"etag\": \"W/\\\"0c02c5d7-aeed-4415-922e-02d47e4b0932\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"022bc61c-e5a6-4a34-8c74-764093225c0d\",\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/\\\"0c02c5d7-aeed-4415-922e-02d47e4b0932\\\"\",\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/\\\"0c02c5d7-aeed-4415-922e-02d47e4b0932\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"serviceName\": \"Microsoft.StoragePool/diskPools\",\r\n + \ \"actions\": [\r\n \"Microsoft.Network/virtualNetworks/read\"\r\n + \ ]\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets/delegations\"\r\n + \ }\r\n ],\r\n \"privateEndpointNetworkPolicies\": + \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n + \ },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n + \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": + false\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/eb080972-af58-49bd-ad22-5c7c2fa97ce5?api-version=2021-02-01 + cache-control: + - no-cache + content-length: + - '1996' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 25 May 2021 05:11:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 50f21b60-a71f-4147-902d-c9c5c9e0e7ac + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + ParameterSetName: + - --name --vnet-name --resource-group --address-prefixes --delegations + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 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.Network/locations/eastus/operations/eb080972-af58-49bd-ad22-5c7c2fa97ce5?api-version=2021-02-01 + response: + body: + string: "{\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '29' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 25 May 2021 05:11:41 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - e57176b3-a2cd-42be-a0ff-80f9e862928e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + ParameterSetName: + - --name --vnet-name --resource-group --address-prefixes --delegations + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 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.Network/virtualNetworks/vnet000004?api-version=2021-02-01 + response: + body: + string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n + \ \"etag\": \"W/\\\"b6629e16-e6da-4527-bf17-95a3a4402b8a\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"022bc61c-e5a6-4a34-8c74-764093225c0d\",\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/\\\"b6629e16-e6da-4527-bf17-95a3a4402b8a\\\"\",\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/\\\"b6629e16-e6da-4527-bf17-95a3a4402b8a\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"serviceName\": \"Microsoft.StoragePool/diskPools\",\r\n + \ \"actions\": [\r\n \"Microsoft.Network/virtualNetworks/read\"\r\n + \ ]\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets/delegations\"\r\n + \ }\r\n ],\r\n \"privateEndpointNetworkPolicies\": + \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n + \ },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n + \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": + false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1998' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 25 May 2021 05:11:41 GMT + etag: + - W/"b6629e16-e6da-4527-bf17-95a3a4402b8a" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 581ee5da-c2be-4da1-8f85-73407be22a2a + 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"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool create + Connection: + - keep-alive + Content-Length: + - '439' + Content-Type: + - application/json + ParameterSetName: + - --name --resource-group --location --availability-zones --subnet-id --sku + --disks + User-Agent: + - AZURECLI/2.24.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?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-05-25T05:11:48.2388358Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:11:48.2388358Z"},"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"}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + cache-control: + - no-cache + content-length: + - '927' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:11:52 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 create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --location --availability-zones --subnet-id --sku + --disks + User-Agent: + - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:12: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.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:12: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 create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --location --availability-zones --subnet-id --sku + --disks + User-Agent: + - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:13: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 create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --location --availability-zones --subnet-id --sku + --disks + User-Agent: + - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:13: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.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:14: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 create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --location --availability-zones --subnet-id --sku + --disks + User-Agent: + - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:14: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.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:15: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.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:15: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.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:16:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --location --availability-zones --subnet-id --sku + --disks + User-Agent: + - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:16: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.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:17: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 create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --location --availability-zones --subnet-id --sku + --disks + User-Agent: + - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:17: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.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:18: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 create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --location --availability-zones --subnet-id --sku + --disks + User-Agent: + - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:18: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.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:19: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 create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --location --availability-zones --subnet-id --sku + --disks + User-Agent: + - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:19: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.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:20: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 create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --location --availability-zones --subnet-id --sku + --disks + User-Agent: + - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:20: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 create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --location --availability-zones --subnet-id --sku + --disks + User-Agent: + - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Succeeded","startTime":"2021-05-25T05:11:50Z","endTime":"2021-05-25T05:20:46Z","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-05-25T05:11:48.2388358Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:11:48.2388358Z"},"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: + - Tue, 25 May 2021 05:21:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --location --availability-zones --subnet-id --sku + --disks + User-Agent: + - AZURECLI/2.24.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-05-25T05:11:48.2388358Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:11:48.2388358Z"},"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: + - Tue, 25 May 2021 05:21:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool show + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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-05-25T05:11:48.2388358Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:11:48.2388358Z"},"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: + - Tue, 25 May 2021 05:21:15 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.24.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-05-25T05:11:48.2388358Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:11:48.2388358Z"},"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: + - Tue, 25 May 2021 05:21: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: '{"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.24.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-05-25T05:21:18.204644Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:21:18.204644Z"},"properties":{"targetIqn":"iqn.2021-05.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Pending","status":"Unknown"}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/36d503d7-444f-4d62-9205-5852f79bad00?api-version=2021-04-01-preview + cache-control: + - no-cache + content-length: + - '847' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:21:18 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.24.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/36d503d7-444f-4d62-9205-5852f79bad00?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/36d503d7-444f-4d62-9205-5852f79bad00","name":"36d503d7-444f-4d62-9205-5852f79bad00","status":"Running","startTime":"2021-05-25T05:21:19Z"}' + headers: + cache-control: + - no-cache + content-length: + - '230' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:21: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 iscsi-target create + Connection: + - keep-alive + ParameterSetName: + - --name --disk-pool-name --resource-group --acl-mode --luns + User-Agent: + - AZURECLI/2.24.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/36d503d7-444f-4d62-9205-5852f79bad00?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/36d503d7-444f-4d62-9205-5852f79bad00","name":"36d503d7-444f-4d62-9205-5852f79bad00","status":"Running","startTime":"2021-05-25T05:21:19Z"}' + headers: + cache-control: + - no-cache + content-length: + - '230' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:22: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 iscsi-target create + Connection: + - keep-alive + ParameterSetName: + - --name --disk-pool-name --resource-group --acl-mode --luns + User-Agent: + - AZURECLI/2.24.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/36d503d7-444f-4d62-9205-5852f79bad00?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/36d503d7-444f-4d62-9205-5852f79bad00","name":"36d503d7-444f-4d62-9205-5852f79bad00","status":"Running","startTime":"2021-05-25T05:21:19Z"}' + headers: + cache-control: + - no-cache + content-length: + - '230' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:22:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool iscsi-target create + Connection: + - keep-alive + ParameterSetName: + - --name --disk-pool-name --resource-group --acl-mode --luns + User-Agent: + - AZURECLI/2.24.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/36d503d7-444f-4d62-9205-5852f79bad00?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/36d503d7-444f-4d62-9205-5852f79bad00","name":"36d503d7-444f-4d62-9205-5852f79bad00","status":"Succeeded","startTime":"2021-05-25T05:21:19Z","endTime":"2021-05-25T05:22:57Z","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-05-25T05:21:18.204644Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:21:18.204644Z"},"properties":{"targetIqn":"iqn.2021-05.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}}' + headers: + cache-control: + - no-cache + content-length: + - '1128' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:23: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 iscsi-target create + Connection: + - keep-alive + ParameterSetName: + - --name --disk-pool-name --resource-group --acl-mode --luns + User-Agent: + - AZURECLI/2.24.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-05-25T05:21:18.204644Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:21:18.204644Z"},"properties":{"targetIqn":"iqn.2021-05.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}' + headers: + cache-control: + - no-cache + content-length: + - '849' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:23:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool iscsi-target show + Connection: + - keep-alive + ParameterSetName: + - --name --disk-pool-name --resource-group + User-Agent: + - AZURECLI/2.24.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-05-25T05:21:18.204644Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:21:18.204644Z"},"properties":{"targetIqn":"iqn.2021-05.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}' + headers: + cache-control: + - no-cache + content-length: + - '849' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:23: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: + - 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.24.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-05-25T05:21:18.204644Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:21:18.204644Z"},"properties":{"targetIqn":"iqn.2021-05.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '877' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:23: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": {"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.24.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/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?api-version=2021-04-01-preview + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 25 May 2021 05:23:06 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?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.24.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/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","name":"a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","status":"Running","startTime":"2021-05-25T05:23:07Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:23: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 update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --disks + User-Agent: + - AZURECLI/2.24.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/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","name":"a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","status":"Running","startTime":"2021-05-25T05:23:07Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:23: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 update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --disks + User-Agent: + - AZURECLI/2.24.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/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","name":"a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","status":"Running","startTime":"2021-05-25T05:23:07Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:24:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --disks + User-Agent: + - AZURECLI/2.24.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/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","name":"a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","status":"Running","startTime":"2021-05-25T05:23:07Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:24: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 update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --disks + User-Agent: + - AZURECLI/2.24.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/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","name":"a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","status":"Running","startTime":"2021-05-25T05:23:07Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:25: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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --disks + User-Agent: + - AZURECLI/2.24.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/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","name":"a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","status":"Running","startTime":"2021-05-25T05:23:07Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:25: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 update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --disks + User-Agent: + - AZURECLI/2.24.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/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","name":"a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","status":"Running","startTime":"2021-05-25T05:23:07Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:26: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 update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --disks + User-Agent: + - AZURECLI/2.24.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/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","name":"a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","status":"Running","startTime":"2021-05-25T05:23:07Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:26:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --disks + User-Agent: + - AZURECLI/2.24.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/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","name":"a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","status":"Running","startTime":"2021-05-25T05:23:07Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:27:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool update + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --disks + User-Agent: + - AZURECLI/2.24.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/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","name":"a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","status":"Succeeded","startTime":"2021-05-25T05:23:07Z","endTime":"2021-05-25T05:27:28Z","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-05-25T05:11:48.2388358Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:23:05.7226943Z"},"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: + - Tue, 25 May 2021 05:27:52 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.24.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-05-25T05:11:48.2388358Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:23:05.7226943Z"},"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: + - Tue, 25 May 2021 05:27:52 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.24.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/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b?api-version=2021-04-01-preview + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 25 May 2021 05:27:54 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b?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: + - '1197' + 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.24.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/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b","name":"f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b","status":"Running","startTime":"2021-05-25T05:27:55Z"}' + headers: + cache-control: + - no-cache + content-length: + - '230' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:28: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 iscsi-target update + Connection: + - keep-alive + ParameterSetName: + - --name --disk-pool-name --resource-group --luns --luns + User-Agent: + - AZURECLI/2.24.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/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b","name":"f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b","status":"Running","startTime":"2021-05-25T05:27:55Z"}' + headers: + cache-control: + - no-cache + content-length: + - '230' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:28: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 iscsi-target update + Connection: + - keep-alive + ParameterSetName: + - --name --disk-pool-name --resource-group --luns --luns + User-Agent: + - AZURECLI/2.24.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/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b","name":"f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b","status":"Running","startTime":"2021-05-25T05:27:55Z"}' + headers: + cache-control: + - no-cache + content-length: + - '230' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:29:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool iscsi-target update + Connection: + - keep-alive + ParameterSetName: + - --name --disk-pool-name --resource-group --luns --luns + User-Agent: + - AZURECLI/2.24.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/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b","name":"f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b","status":"Running","startTime":"2021-05-25T05:27:55Z"}' + headers: + cache-control: + - no-cache + content-length: + - '230' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:29: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 iscsi-target update + Connection: + - keep-alive + ParameterSetName: + - --name --disk-pool-name --resource-group --luns --luns + User-Agent: + - AZURECLI/2.24.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/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b","name":"f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b","status":"Succeeded","startTime":"2021-05-25T05:27:55Z","endTime":"2021-05-25T05:29:53Z","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-05-25T05:21:18.204644Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:27:54.0533526Z"},"properties":{"targetIqn":"iqn.2021-05.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0},{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","name":"lun1","lun":1}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}}' + headers: + cache-control: + - no-cache + content-length: + - '1313' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:30: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 iscsi-target update + Connection: + - keep-alive + ParameterSetName: + - --name --disk-pool-name --resource-group --luns --luns + User-Agent: + - AZURECLI/2.24.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-05-25T05:21:18.204644Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:27:54.0533526Z"},"properties":{"targetIqn":"iqn.2021-05.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0},{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","name":"lun1","lun":1}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}' + headers: + cache-control: + - no-cache + content-length: + - '1034' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:30: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool stop + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 25 May 2021 05:30:09 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-ms-return-client-request-id: + - 'true' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool stop + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:30: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 stop + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:30:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool stop + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:31:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool stop + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:31:52 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.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:32:22 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.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:32:52 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.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:33:22 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.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:33:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool stop + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:34:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool stop + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:34:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool stop + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:35:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool stop + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:35:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool stop + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:36:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool stop + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:36:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool stop + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:37:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool stop + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Succeeded","startTime":"2021-05-25T05:30:10Z","endTime":"2021-05-25T05:37:39Z","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-05-25T05:11:48.2388358Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:23:05.7226943Z"},"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: + - Tue, 25 May 2021 05:37: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 show + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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-05-25T05:11:48.2388358Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:23:05.7226943Z"},"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: + - Tue, 25 May 2021 05:38:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool start + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?api-version=2021-04-01-preview + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 25 May 2021 05:38:01 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?api-version=2021-04-01-preview + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + 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.24.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/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","name":"7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","status":"Running","startTime":"2021-05-25T05:38:02Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05: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 start + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","name":"7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","status":"Running","startTime":"2021-05-25T05:38:02Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:38: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 start + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","name":"7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","status":"Running","startTime":"2021-05-25T05:38:02Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:39:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool start + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","name":"7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","status":"Running","startTime":"2021-05-25T05:38:02Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05: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 start + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","name":"7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","status":"Running","startTime":"2021-05-25T05:38:02Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:40:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool start + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","name":"7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","status":"Running","startTime":"2021-05-25T05:38:02Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:40:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool start + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","name":"7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","status":"Running","startTime":"2021-05-25T05:38:02Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:41:15 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.24.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/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","name":"7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","status":"Running","startTime":"2021-05-25T05:38:02Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05: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 start + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","name":"7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","status":"Running","startTime":"2021-05-25T05:38:02Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:42:15 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.24.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/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","name":"7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","status":"Succeeded","startTime":"2021-05-25T05:38:02Z","endTime":"2021-05-25T05:42:22Z","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-05-25T05:11:48.2388358Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:23:05.7226943Z"},"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: + - Tue, 25 May 2021 05:42:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool show + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.24.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-05-25T05:11:48.2388358Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:23:05.7226943Z"},"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: + - Tue, 25 May 2021 05:42: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 iscsi-target delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --name --disk-pool-name --resource-group -y + User-Agent: + - AZURECLI/2.24.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/1db2452f-bf92-4004-93dd-936b1f8969bc?api-version=2021-04-01-preview + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 25 May 2021 05:42:50 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/1db2452f-bf92-4004-93dd-936b1f8969bc?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.24.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/1db2452f-bf92-4004-93dd-936b1f8969bc?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/1db2452f-bf92-4004-93dd-936b1f8969bc","name":"1db2452f-bf92-4004-93dd-936b1f8969bc","status":"Running","startTime":"2021-05-25T05:42:50Z"}' + headers: + cache-control: + - no-cache + content-length: + - '224' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:43: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 iscsi-target delete + Connection: + - keep-alive + ParameterSetName: + - --name --disk-pool-name --resource-group -y + User-Agent: + - AZURECLI/2.24.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/1db2452f-bf92-4004-93dd-936b1f8969bc?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/1db2452f-bf92-4004-93dd-936b1f8969bc","name":"1db2452f-bf92-4004-93dd-936b1f8969bc","status":"Running","startTime":"2021-05-25T05:42:50Z"}' + headers: + cache-control: + - no-cache + content-length: + - '224' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:43: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 iscsi-target delete + Connection: + - keep-alive + ParameterSetName: + - --name --disk-pool-name --resource-group -y + User-Agent: + - AZURECLI/2.24.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/1db2452f-bf92-4004-93dd-936b1f8969bc?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/1db2452f-bf92-4004-93dd-936b1f8969bc","name":"1db2452f-bf92-4004-93dd-936b1f8969bc","status":"Running","startTime":"2021-05-25T05:42:50Z"}' + headers: + cache-control: + - no-cache + content-length: + - '224' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:44: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 iscsi-target delete + Connection: + - keep-alive + ParameterSetName: + - --name --disk-pool-name --resource-group -y + User-Agent: + - AZURECLI/2.24.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/1db2452f-bf92-4004-93dd-936b1f8969bc?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/1db2452f-bf92-4004-93dd-936b1f8969bc","name":"1db2452f-bf92-4004-93dd-936b1f8969bc","status":"Succeeded","startTime":"2021-05-25T05:42:50Z"}' + headers: + cache-control: + - no-cache + content-length: + - '232' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:44: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: + - 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.24.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":[],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '28' + content-type: + - application/json + date: + - Tue, 25 May 2021 05: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 delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --name --resource-group -y + User-Agent: + - AZURECLI/2.24.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 + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 25 May 2021 05:44:35 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/47318825-ac6a-4116-b3af-186dc629be10?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 delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group -y + User-Agent: + - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '237' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:44: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 delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group -y + User-Agent: + - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '237' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:45: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 delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group -y + User-Agent: + - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '237' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:45:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group -y + User-Agent: + - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '237' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:46: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 delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group -y + User-Agent: + - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '237' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:46: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 delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group -y + User-Agent: + - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '237' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:47:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group -y + User-Agent: + - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '237' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:47: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 delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group -y + User-Agent: + - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '237' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:48: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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group -y + User-Agent: + - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '237' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:48:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group -y + User-Agent: + - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '237' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:49: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 delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group -y + User-Agent: + - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '237' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:49: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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group -y + User-Agent: + - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '237' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:50:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group -y + User-Agent: + - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '237' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:50:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group -y + User-Agent: + - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '237' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:51:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group -y + User-Agent: + - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Succeeded","startTime":"2021-05-25T05:44:36Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '245' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:51:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool list + Connection: + - keep-alive + ParameterSetName: + - --resource-group + User-Agent: + - AZURECLI/2.24.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":[],"nextLink":null}' + headers: + cache-control: + - no-cache + content-length: + - '28' + content-type: + - application/json + date: + - Tue, 25 May 2021 05:51:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/src/diskpool/azext_diskpool/tests/latest/test_disk_scenario_manual.py b/src/diskpool/azext_diskpool/tests/latest/test_disk_scenario_manual.py index 710887454da..8fb778a7df3 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 @@ -7,7 +7,7 @@ # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- - +import mock from azure.cli.testsdk import ScenarioTest from azure.cli.testsdk import ResourceGroupPreparer @@ -34,9 +34,10 @@ def test_diskpool_scenario_manual(self, resource_group): result = self.cmd('disk create --name {diskName2} --resource-group {rg} --zone {zone} --location {location} ' '--sku Premium_LRS --max-shares 2 --size-gb 256').get_output_in_json() self.kwargs['diskId2'] = result['id'] - - self.cmd('role assignment create --assignee-object-id {storagePoolObjectId} --role "Virtual Machine Contributor" --scope {diskId}') - self.cmd('role assignment create --assignee-object-id {storagePoolObjectId} --role "Virtual Machine Contributor" --scope {diskId2}') + with mock.patch('azure.cli.command_modules.role.custom._gen_guid', side_effect=self.create_guid): + self.cmd('role assignment create --assignee-object-id {storagePoolObjectId} --role "Virtual Machine Contributor" --scope {diskId}') + with mock.patch('azure.cli.command_modules.role.custom._gen_guid', side_effect=self.create_guid): + self.cmd('role assignment create --assignee-object-id {storagePoolObjectId} --role "Virtual Machine Contributor" --scope {diskId2}') self.cmd('network vnet create --name {vnet} --resource-group {rg} --location {location}') result = self.cmd('network vnet subnet create --name {subnet} --vnet-name {vnet} --resource-group {rg} ' @@ -59,7 +60,8 @@ def test_diskpool_scenario_manual(self, resource_group): self.check('tier', 'Standard')]) self.cmd('disk-pool list --resource-group {rg}', checks=[self.check('length(@)', 1)]) - # + + # TODO: Add back when fixed in server # self.cmd('disk-pool list-outbound-network-dependency-endpoint --name {diskPoolName} --resource-group {rg}', # checks=[self.check('length(@)', 1)]) @@ -92,11 +94,13 @@ def test_diskpool_scenario_manual(self, resource_group): self.check('luns[1].managedDiskAzureResourceId', '{diskId2}'), self.check('luns[1].name', 'lun1')]) - self.cmd('disk-pool stop --name {diskPoolName} --resource-group {rg}', - checks=[self.check('status', 'Stopped')]) - self.cmd('disk-pool start --name {diskPoolName} --resource-group {rg}', - checks=[self.check('name', '{diskPoolName}'), - self.check('status', 'Running')]) + self.cmd('disk-pool stop --name {diskPoolName} --resource-group {rg}') + self.cmd('disk-pool show --name {diskPoolName} --resource-group {rg}', + checks=[self.check('status', 'Stopped (deallocated)')]) + + self.cmd('disk-pool start --name {diskPoolName} --resource-group {rg}') + self.cmd('disk-pool show --name {diskPoolName} --resource-group {rg}', + checks=[self.check('status', 'Running')]) self.cmd('disk-pool iscsi-target delete --name {targetName} --disk-pool-name {diskPoolName} ' '--resource-group {rg} -y') @@ -106,3 +110,7 @@ def test_diskpool_scenario_manual(self, resource_group): self.cmd('disk-pool delete --name {diskPoolName} --resource-group {rg} -y') self.cmd('disk-pool list --resource-group {rg}', 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() + self.assertIsNotNone(result) diff --git a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py index 96f5bebce9c..a76995e9c63 100644 --- a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py +++ b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py @@ -25,22 +25,22 @@ # Env setup_scenario @try_manual -def setup_scenario(test, rg, rg_2): +def setup_scenario(test, rg): pass # Env cleanup_scenario @try_manual -def cleanup_scenario(test, rg, rg_2): +def cleanup_scenario(test, rg): pass # Testcase: Scenario @try_manual -def call_scenario(test, rg, rg_2): - setup_scenario(test, rg, rg_2) +def call_scenario(test, rg): + setup_scenario(test, rg) # STEP NOT FOUND: /DiskPools/put/Createxxx - cleanup_scenario(test, rg, rg_2) + cleanup_scenario(test, rg) # Test class for Scenario @@ -58,15 +58,12 @@ def __init__(self, *args, **kwargs): 'zone': "3", 'myDiskPool': self.create_random_name(prefix='diskpool', length=16), 'myIscsiTarget': self.create_random_name(prefix='iscsi', length=10), - 'myDiskPool2': 'SampleAse', }) @ResourceGroupPreparer(name_prefix='clitestdiskpool_myResourceGroup'[:7], key='rg', parameter_name='rg') - @ResourceGroupPreparer(name_prefix='clitestdiskpool_Sample-WestUSResourceGroup'[:7], key='rg_2', - parameter_name='rg_2') @VirtualNetworkPreparer(name_prefix='clitestdiskpool_myvnet'[:7], key='vn', resource_group_key='rg') - def test_diskpool_Scenario(self, rg, rg_2): - call_scenario(self, rg, rg_2) + def test_diskpool_Scenario(self, rg): + call_scenario(self, rg) calc_coverage(__file__) raise_if() diff --git a/src/diskpool/gen.zip b/src/diskpool/gen.zip index e11233f3153dcc5c2e7fe703f4c1906dbae93e17..ec5bb879f2c4a992c7a4800efb78fe8ed32c8ca7 100644 GIT binary patch delta 430 zcmccOHQ7}nz?+$civa|b^mhjRzFgC-&CbA}&Aw40i+OSfv)|-9%$}3AS>z`Bv-oXZ z%u>lX*@bQ1_(1wN&BaA#Nis0ZlH6R+QOY!Vv2e&{Kkh@!Ajae@ z{@%$2LVS}wB<19(kCwz4&%(pEH2Rn2~S?gEj;<9q}}8Te0)F+ z{FA!`Rlx@E3yV!|5cQp$BjgF?_ibJ*oB_6Ga;n&2uwavT!(?@-Brtn|Jn!ZYQYRq_ zKpX`*F-EA&2e^vo3fgcLlPi^1O->LLpUfj+2Uf5|qMR2cY$hA1sDu5A2&2iVDxnIf z-e+LY0S6|GsAHcfBRBbnii`tDo%8->i O%s}`VNOu9{7#IM0@Oym# delta 848 zcmbR2dc{j3z?+$civa}sjCTZWT5)Qj2nPd$2**Z=EM_(xg`)I$qsdLoelX?*W=|MX zl0^>2G-rV+*xbre$tdQMS)3h^pPyr-Zl$0eoS0jXlj>NUI{6LjhRKCYqLW?Nd{u_u{sLbsg<_sAnVn2xD;@L$&GBnTtGFNU^Nbt z=P`)^jaQg_i7gc7ICXYK7}JB@K@j9k&1dbWi=-JCKv-v@wEX5B?7>VdV86=qg>8=K zI>Zd)J)ZoYms1Jk8HN1PlBE37ycC7J)ROZ2qHKkf)PmH!l+?WB%+%t^1qx!56$DsJ z;$h0-p~~Xn$|~c5$_w%{^GY;Ifc^%BE;NLJwrb{N7MJM4H0we&>moGk!Zc65D5An- zR6BVim&oM#yuwVt7*bHMocxbZXfmgO8qDEglbZ$BAaMlyz?{weLRoOHhEF~xatNj- zeDYJ#`pNzZ9x#Eh$*&d4CqLj9Wr@nqOP&0O&se}1)8V09x>Z1F1(5S6Z{!i4yq@1~ z@?1&Y$%SH}2$TNH@NQNYKMA)vY%)kBP)dvuMa|?B(vRT+oBzvLplX;rLw*%6N{XGF zuc*$4nsO&EQ4CeUh-GjRhY{%<6J_Kk?_d}33GilQ5@A4O0O$S77Bc~rfiN&1AOU3+ e28P_!l0?0dijn|tRyL3nGZ20T(%wKh1_l5$P5ZL| diff --git a/src/diskpool/report.md b/src/diskpool/report.md index f4bdfb3d2cc..c06b564075e 100644 --- a/src/diskpool/report.md +++ b/src/diskpool/report.md @@ -10,7 +10,6 @@ |CLI Command Group|Group Swagger name|Commands| |---------|------------|--------| |az disk-pool|DiskPools|[commands](#CommandsInDiskPools)| -|az disk-pool-zone|DiskPoolZones|[commands](#CommandsInDiskPoolZones)| |az disk-pool iscsi-target|IscsiTargets|[commands](#CommandsInIscsiTargets)| ## COMMANDS @@ -23,7 +22,7 @@ |[az disk-pool create](#DiskPoolsCreateOrUpdate#Create)|CreateOrUpdate#Create|[Parameters](#ParametersDiskPoolsCreateOrUpdate#Create)|[Example](#ExamplesDiskPoolsCreateOrUpdate#Create)| |[az disk-pool update](#DiskPoolsUpdate)|Update|[Parameters](#ParametersDiskPoolsUpdate)|[Example](#ExamplesDiskPoolsUpdate)| |[az disk-pool delete](#DiskPoolsDelete)|Delete|[Parameters](#ParametersDiskPoolsDelete)|[Example](#ExamplesDiskPoolsDelete)| -|[az disk-pool list-outbound-network-dependency-endpoint](#DiskPoolsListOutboundNetworkDependenciesEndpoints)|ListOutboundNetworkDependenciesEndpoints|[Parameters](#ParametersDiskPoolsListOutboundNetworkDependenciesEndpoints)|[Example](#ExamplesDiskPoolsListOutboundNetworkDependenciesEndpoints)| +|[az disk-pool list-skus](#DiskPoolsList)|List|[Parameters](#ParametersDiskPoolsList)|[Example](#ExamplesDiskPoolsList)| |[az disk-pool start](#DiskPoolsStart)|Start|[Parameters](#ParametersDiskPoolsStart)|[Example](#ExamplesDiskPoolsStart)| |[az disk-pool stop](#DiskPoolsDeallocate)|Deallocate|[Parameters](#ParametersDiskPoolsDeallocate)|[Example](#ExamplesDiskPoolsDeallocate)| @@ -36,11 +35,6 @@ |[az disk-pool iscsi-target update](#IscsiTargetsUpdate)|Update|[Parameters](#ParametersIscsiTargetsUpdate)|[Example](#ExamplesIscsiTargetsUpdate)| |[az disk-pool iscsi-target delete](#IscsiTargetsDelete)|Delete|[Parameters](#ParametersIscsiTargetsDelete)|[Example](#ExamplesIscsiTargetsDelete)| -### Commands in `az disk-pool-zone` group -|CLI Command|Operation Swagger name|Parameters|Examples| -|---------|------------|--------|-----------| -|[az disk-pool-zone list](#DiskPoolZonesList)|List|[Parameters](#ParametersDiskPoolZonesList)|[Example](#ExamplesDiskPoolZonesList)| - ## COMMAND DETAILS @@ -130,18 +124,16 @@ az disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" |**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| |**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| -#### Command `az disk-pool list-outbound-network-dependency-endpoint` +#### Command `az disk-pool list-skus` -##### Example +##### Example ``` -az disk-pool list-outbound-network-dependency-endpoint --name "SampleAse" --resource-group \ -"Sample-WestUSResourceGroup" +az disk-pool list-skus --location "eastus" ``` -##### Parameters +##### Parameters |Option|Type|Description|Path (SDK)|Swagger name| |------|----|-----------|----------|------------| -|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| -|**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| +|**--location**|string|The location of the resource.|location|location| #### Command `az disk-pool start` @@ -244,15 +236,3 @@ az disk-pool iscsi-target delete --disk-pool-name "myDiskPool" --name "myIscsiTa |**--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| - -### group `az disk-pool-zone` -#### Command `az disk-pool-zone list` - -##### Example -``` -az disk-pool-zone list --location "eastus" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--location**|string|The location of the resource.|location|location| From 6d27c786dceee3733b4200615f3bce0b350198b6 Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Tue, 25 May 2021 14:50:01 +0800 Subject: [PATCH 19/30] test pass --- .../test_diskpool_scenario_manual.yaml | 1870 +++++------------ .../tests/latest/test_diskpool_scenario.py | 1 - 2 files changed, 545 insertions(+), 1326 deletions(-) diff --git a/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_scenario_manual.yaml b/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_scenario_manual.yaml index 5a43b14f206..41c85df0a3c 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 @@ -32,7 +32,7 @@ interactions: \"Updating\",\r\n \"isArmResource\": true\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/DiskOperations/6d968c3b-7910-4cd2-b61a-ea855109b261?api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/DiskOperations/30a753f9-6e55-45b0-8857-263c811f29e2?api-version=2020-12-01 cache-control: - no-cache content-length: @@ -40,11 +40,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 May 2021 05:10:56 GMT + - Tue, 25 May 2021 06:08:26 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/DiskOperations/6d968c3b-7910-4cd2-b61a-ea855109b261?monitor=true&api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/DiskOperations/30a753f9-6e55-45b0-8857-263c811f29e2?monitor=true&api-version=2020-12-01 pragma: - no-cache server: @@ -57,7 +57,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateDisks3Min;999,Microsoft.Compute/CreateUpdateDisks30Min;7997 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 202 message: Accepted @@ -77,11 +77,11 @@ interactions: User-Agent: - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 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.Compute/locations/eastus/DiskOperations/6d968c3b-7910-4cd2-b61a-ea855109b261?api-version=2020-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/DiskOperations/30a753f9-6e55-45b0-8857-263c811f29e2?api-version=2020-12-01 response: body: - string: "{\r\n \"startTime\": \"2021-05-25T05:10:57.602101+00:00\",\r\n \"endTime\": - \"2021-05-25T05:10:57.6958345+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2021-05-25T06:08:26.9006099+00:00\",\r\n \"endTime\": + \"2021-05-25T06:08:26.9943243+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 @@ -91,20 +91,20 @@ interactions: \"Empty\"\r\n },\r\n \"diskSizeGB\": 256,\r\n \"diskIOPSReadWrite\": 1100,\r\n \"diskMBpsReadWrite\": 125,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n - \ \"timeCreated\": \"2021-05-25T05:10:57.6177136+00:00\",\r\n \"provisioningState\": + \ \"timeCreated\": \"2021-05-25T06:08:26.9006099+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": - 274877906944,\r\n \"uniqueId\": \"6a20b052-9004-4676-a717-533fb20e2c75\",\r\n + 274877906944,\r\n \"uniqueId\": \"ccfda08f-fe5c-469f-9cad-17bdeb35c041\",\r\n \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"tier\": \"P15\"\r\n }\r\n}\r\n - \ },\r\n \"name\": \"6d968c3b-7910-4cd2-b61a-ea855109b261\"\r\n}" + \ },\r\n \"name\": \"30a753f9-6e55-45b0-8857-263c811f29e2\"\r\n}" headers: cache-control: - no-cache content-length: - - '1153' + - '1154' content-type: - application/json; charset=utf-8 date: - - Tue, 25 May 2021 05:11:00 GMT + - Tue, 25 May 2021 06:08:28 GMT expires: - '-1' pragma: @@ -121,7 +121,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49999,Microsoft.Compute/GetOperation30Min;399997 + - Microsoft.Compute/GetOperation3Min;49999,Microsoft.Compute/GetOperation30Min;399980 status: code: 200 message: OK @@ -152,9 +152,9 @@ interactions: \"Empty\"\r\n },\r\n \"diskSizeGB\": 256,\r\n \"diskIOPSReadWrite\": 1100,\r\n \"diskMBpsReadWrite\": 125,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n - \ \"timeCreated\": \"2021-05-25T05:10:57.6177136+00:00\",\r\n \"provisioningState\": + \ \"timeCreated\": \"2021-05-25T06:08:26.9006099+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": - 274877906944,\r\n \"uniqueId\": \"6a20b052-9004-4676-a717-533fb20e2c75\",\r\n + 274877906944,\r\n \"uniqueId\": \"ccfda08f-fe5c-469f-9cad-17bdeb35c041\",\r\n \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"tier\": \"P15\"\r\n }\r\n}" headers: cache-control: @@ -164,7 +164,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 May 2021 05:11:00 GMT + - Tue, 25 May 2021 06:08:28 GMT expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14993,Microsoft.Compute/LowCostGet30Min;119954 + - Microsoft.Compute/LowCostGet3Min;14995,Microsoft.Compute/LowCostGet30Min;119940 status: code: 200 message: OK @@ -218,7 +218,7 @@ interactions: \"Updating\",\r\n \"isArmResource\": true\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/DiskOperations/a97680a4-51e5-4236-8f8d-505c8e0baa08?api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/DiskOperations/2047f61a-e555-4201-9378-13109d688d4f?api-version=2020-12-01 cache-control: - no-cache content-length: @@ -226,11 +226,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 May 2021 05:11:05 GMT + - Tue, 25 May 2021 06:08:35 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/DiskOperations/a97680a4-51e5-4236-8f8d-505c8e0baa08?monitor=true&api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/DiskOperations/2047f61a-e555-4201-9378-13109d688d4f?monitor=true&api-version=2020-12-01 pragma: - no-cache server: @@ -243,7 +243,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateDisks3Min;998,Microsoft.Compute/CreateUpdateDisks30Min;7996 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 202 message: Accepted @@ -263,11 +263,11 @@ interactions: User-Agent: - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 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.Compute/locations/eastus/DiskOperations/a97680a4-51e5-4236-8f8d-505c8e0baa08?api-version=2020-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/DiskOperations/2047f61a-e555-4201-9378-13109d688d4f?api-version=2020-12-01 response: body: - string: "{\r\n \"startTime\": \"2021-05-25T05:11:06.0240442+00:00\",\r\n \"endTime\": - \"2021-05-25T05:11:06.1177953+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2021-05-25T06:08:35.1823818+00:00\",\r\n \"endTime\": + \"2021-05-25T06:08:35.3073615+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 @@ -277,11 +277,11 @@ interactions: \"Empty\"\r\n },\r\n \"diskSizeGB\": 256,\r\n \"diskIOPSReadWrite\": 1100,\r\n \"diskMBpsReadWrite\": 125,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n - \ \"timeCreated\": \"2021-05-25T05:11:06.0240442+00:00\",\r\n \"provisioningState\": + \ \"timeCreated\": \"2021-05-25T06:08:35.1979594+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": - 274877906944,\r\n \"uniqueId\": \"ad6cb820-a64d-42f9-b523-def178573509\",\r\n + 274877906944,\r\n \"uniqueId\": \"3a5b9e9f-b195-47ab-84b7-8e9028266a51\",\r\n \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"tier\": \"P15\"\r\n }\r\n}\r\n - \ },\r\n \"name\": \"a97680a4-51e5-4236-8f8d-505c8e0baa08\"\r\n}" + \ },\r\n \"name\": \"2047f61a-e555-4201-9378-13109d688d4f\"\r\n}" headers: cache-control: - no-cache @@ -290,7 +290,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 May 2021 05:11:07 GMT + - Tue, 25 May 2021 06:08:37 GMT expires: - '-1' pragma: @@ -307,7 +307,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49997,Microsoft.Compute/GetOperation30Min;399995 + - Microsoft.Compute/GetOperation3Min;49997,Microsoft.Compute/GetOperation30Min;399978 status: code: 200 message: OK @@ -338,9 +338,9 @@ interactions: \"Empty\"\r\n },\r\n \"diskSizeGB\": 256,\r\n \"diskIOPSReadWrite\": 1100,\r\n \"diskMBpsReadWrite\": 125,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n - \ \"timeCreated\": \"2021-05-25T05:11:06.0240442+00:00\",\r\n \"provisioningState\": + \ \"timeCreated\": \"2021-05-25T06:08:35.1979594+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": - 274877906944,\r\n \"uniqueId\": \"ad6cb820-a64d-42f9-b523-def178573509\",\r\n + 274877906944,\r\n \"uniqueId\": \"3a5b9e9f-b195-47ab-84b7-8e9028266a51\",\r\n \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"tier\": \"P15\"\r\n }\r\n}" headers: cache-control: @@ -350,7 +350,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 May 2021 05:11:08 GMT + - Tue, 25 May 2021 06:08:38 GMT expires: - '-1' pragma: @@ -367,7 +367,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14991,Microsoft.Compute/LowCostGet30Min;119952 + - Microsoft.Compute/LowCostGet3Min;14992,Microsoft.Compute/LowCostGet30Min;119936 status: code: 200 message: OK @@ -414,19 +414,19 @@ interactions: dataserviceversion: - 3.0; date: - - Tue, 25 May 2021 05:11:09 GMT + - Tue, 25 May 2021 06:08:40 GMT duration: - - '2598313' + - '2547997' expires: - '-1' ocp-aad-diagnostics-server-name: - - dq66cFOsELoUc9rEybaRzTsU7PYlz9WkHnTdfkUzTbA= + - vNweFmWUlAwBFr6kToXWyL5o1sOXckBy0R+YSfFsYjM= ocp-aad-session-key: - - Lg87kWrENjpqE-Qkn8NayvZZWCsmUcnwW8hNpG_YGyHkIqyuzOgxAJQ1NCqhbWasGoo4vb5tG_RNB_OuOtH5H7xpAi7X8N0iSVhyEvHL9XS8BZsWlsjvcd6AifL2Da_o._51QGIw8PkKCoqXniNzzEPff5KIx9q3DTY01MsdWgRY + - 8NhgzgemA_IMuCD7wzZgVKv683JsHJwCY9D4voYsVQkeOcKla8Ks5TGtURkJGtxtZAWN3trc4Qwjar7MICXXwm00FVc7yk6VEXNLG5jLQsAYqr-pa49PTCUSMTJBevcr.OS9O7c7wp5XVIrkZEjRIN_EFCfsZ89-TTXliolK-gA0 pragma: - no-cache request-id: - - bcef9603-36ff-4416-b4a8-606497455191 + - cae29a19-db19-463b-94bb-1131767d9332 strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -473,7 +473,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 May 2021 05:11:10 GMT + - Tue, 25 May 2021 06:08:40 GMT expires: - '-1' pragma: @@ -517,10 +517,10 @@ interactions: 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/8a512c11-525a-4589-9332-2a30c5ad43d5?api-version=2020-04-01-preview + 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-05-25T05:11:11.0655144Z","updatedOn":"2021-05-25T05:11:12.5905127Z","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/8a512c11-525a-4589-9332-2a30c5ad43d5","type":"Microsoft.Authorization/roleAssignments","name":"8a512c11-525a-4589-9332-2a30c5ad43d5"}' + 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-05-25T06:08:41.2822213Z","updatedOn":"2021-05-25T06:08:42.1594784Z","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"}' headers: cache-control: - no-cache @@ -529,7 +529,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 May 2021 05:11:16 GMT + - Tue, 25 May 2021 06:08:45 GMT expires: - '-1' pragma: @@ -541,7 +541,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -588,19 +588,19 @@ interactions: dataserviceversion: - 3.0; date: - - Tue, 25 May 2021 05:11:17 GMT + - Tue, 25 May 2021 06:08:46 GMT duration: - - '2631596' + - '2654950' expires: - '-1' ocp-aad-diagnostics-server-name: - - +BPQkQ5xHyR3v7wnQNIBPXw9O9o854WxfyFNnq/O87s= + - TaL7kANKRnvvbZiSrMqFBAv0pfZbW/BsTOL2yLvuCnU= ocp-aad-session-key: - - B8JDhLcWTMfxbe_r-AZtv8UufZFv7_OH8CUblBTsoO8USBsX3q-4F9j-5JRVKqQAnpu3b09_NokAenWB0-fVLK_WHnMBHMGNKsdh1DGo2rFR3K0P9AjCEmt3Ms9tEIEt.u-WBefYyoHVOj5IhscehC0ngTJBDMr470Scv8-KwCCU + - e4rbJc3FnVOoGCnSXOHcobE5ON5bYy3L44qR1uoXle_oH0P38ErF99fcfDGxx_uWv_6mEuBtUR61JzdOb7DixEgszJB-n2hEB4p4_yhV21iawx9ceXlj-MKNhPkDCd_G.eQt8s697mgfofdBQRg2MA91tgnmHELD67qvs57BBQO4 pragma: - no-cache request-id: - - 386e71db-d6a6-41ce-9180-f2ef9b1b0b30 + - 35361e6b-00ae-4922-9eb7-b446407c45d4 strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -647,7 +647,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 May 2021 05:11:17 GMT + - Tue, 25 May 2021 06:08:47 GMT expires: - '-1' pragma: @@ -691,10 +691,10 @@ interactions: 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/165c7626-4c31-4993-a1db-6d866350011f?api-version=2020-04-01-preview + 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-05-25T05:11:18.3618246Z","updatedOn":"2021-05-25T05:11:19.1954599Z","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/165c7626-4c31-4993-a1db-6d866350011f","type":"Microsoft.Authorization/roleAssignments","name":"165c7626-4c31-4993-a1db-6d866350011f"}' + 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-05-25T06:08:47.8367921Z","updatedOn":"2021-05-25T06:08:48.5818008Z","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"}' headers: cache-control: - no-cache @@ -703,7 +703,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 May 2021 05:11:21 GMT + - Tue, 25 May 2021 06:08:52 GMT expires: - '-1' pragma: @@ -715,7 +715,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1198' status: code: 201 message: Created @@ -744,10 +744,10 @@ interactions: response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"728aa55d-e420-40fe-9128-ecb3aec39623\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"4c5a22c4-7752-4c34-bc14-89603e70f26c\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"022bc61c-e5a6-4a34-8c74-764093225c0d\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"3a8c3d9e-e518-4882-9967-726fcbade9b8\",\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,7 +756,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/0a9361dd-5cd2-4500-83ea-321424dc08a0?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/615b1d69-b473-4c65-8452-0d39b66ca10d?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -764,7 +764,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 May 2021 05:11:32 GMT + - Tue, 25 May 2021 06:09:01 GMT expires: - '-1' pragma: @@ -777,9 +777,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 92e3a9f9-fb34-47fb-b651-3c609cfb33a0 + - 37fdcff9-616d-4a65-b43f-3349e904e0ef x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -799,7 +799,7 @@ interactions: User-Agent: - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 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.Network/locations/eastus/operations/0a9361dd-5cd2-4500-83ea-321424dc08a0?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/615b1d69-b473-4c65-8452-0d39b66ca10d?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -811,7 +811,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 May 2021 05:11:35 GMT + - Tue, 25 May 2021 06:09:04 GMT expires: - '-1' pragma: @@ -828,7 +828,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5183686b-c4e2-41cd-9e3f-f86ac77c5973 + - 323412a6-573a-4468-a0ed-8630d5168af0 status: code: 200 message: OK @@ -852,10 +852,10 @@ interactions: response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"71e2aaf3-563c-47ac-ac86-c3dd1f103173\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"6e90abc6-5ad9-438c-abbc-c5a029a28898\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"022bc61c-e5a6-4a34-8c74-764093225c0d\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"3a8c3d9e-e518-4882-9967-726fcbade9b8\",\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\": @@ -868,9 +868,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 May 2021 05:11:35 GMT + - Tue, 25 May 2021 06:09:06 GMT etag: - - W/"71e2aaf3-563c-47ac-ac86-c3dd1f103173" + - W/"6e90abc6-5ad9-438c-abbc-c5a029a28898" expires: - '-1' pragma: @@ -887,7 +887,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5318703b-5c42-447e-9ab5-23e5fb6a2174 + - 92a40150-7377-4767-a24a-d3ba1909e98f status: code: 200 message: OK @@ -911,10 +911,10 @@ interactions: response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"71e2aaf3-563c-47ac-ac86-c3dd1f103173\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"6e90abc6-5ad9-438c-abbc-c5a029a28898\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"022bc61c-e5a6-4a34-8c74-764093225c0d\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"3a8c3d9e-e518-4882-9967-726fcbade9b8\",\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\": @@ -927,9 +927,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 May 2021 05:11:36 GMT + - Tue, 25 May 2021 06:09:06 GMT etag: - - W/"71e2aaf3-563c-47ac-ac86-c3dd1f103173" + - W/"6e90abc6-5ad9-438c-abbc-c5a029a28898" expires: - '-1' pragma: @@ -946,7 +946,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 52c685a8-afd8-4e79-84be-cba9a581794f + - 7b1c142a-0175-4741-9f24-7c91eb2533a3 status: code: 200 message: OK @@ -980,20 +980,20 @@ interactions: response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"0c02c5d7-aeed-4415-922e-02d47e4b0932\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"8d5ab029-0f8d-460a-bb22-4a2df40d7bdf\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"022bc61c-e5a6-4a34-8c74-764093225c0d\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"3a8c3d9e-e518-4882-9967-726fcbade9b8\",\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/\\\"0c02c5d7-aeed-4415-922e-02d47e4b0932\\\"\",\r\n + \ \"etag\": \"W/\\\"8d5ab029-0f8d-460a-bb22-4a2df40d7bdf\\\"\",\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/\\\"0c02c5d7-aeed-4415-922e-02d47e4b0932\\\"\",\r\n + \ \"etag\": \"W/\\\"8d5ab029-0f8d-460a-bb22-4a2df40d7bdf\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"serviceName\": \"Microsoft.StoragePool/diskPools\",\r\n \ \"actions\": [\r\n \"Microsoft.Network/virtualNetworks/read\"\r\n @@ -1005,7 +1005,7 @@ interactions: false\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/eb080972-af58-49bd-ad22-5c7c2fa97ce5?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e80d1fe9-5422-4182-bbc4-f5a9674851a9?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -1013,7 +1013,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 May 2021 05:11:38 GMT + - Tue, 25 May 2021 06:09:08 GMT expires: - '-1' pragma: @@ -1030,9 +1030,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 50f21b60-a71f-4147-902d-c9c5c9e0e7ac + - 39229ab7-9220-439f-8e3b-2c9bd64b8824 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -1052,7 +1052,7 @@ interactions: User-Agent: - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 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.Network/locations/eastus/operations/eb080972-af58-49bd-ad22-5c7c2fa97ce5?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e80d1fe9-5422-4182-bbc4-f5a9674851a9?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1064,7 +1064,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 May 2021 05:11:41 GMT + - Tue, 25 May 2021 06:09:11 GMT expires: - '-1' pragma: @@ -1081,7 +1081,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e57176b3-a2cd-42be-a0ff-80f9e862928e + - 66b56d13-bd1f-41fb-992b-75f46cc49aef status: code: 200 message: OK @@ -1105,20 +1105,20 @@ interactions: response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"b6629e16-e6da-4527-bf17-95a3a4402b8a\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"2d3f7bbf-826b-4c0e-8d7c-60b7c29d8bf2\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"022bc61c-e5a6-4a34-8c74-764093225c0d\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"3a8c3d9e-e518-4882-9967-726fcbade9b8\",\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/\\\"b6629e16-e6da-4527-bf17-95a3a4402b8a\\\"\",\r\n + \ \"etag\": \"W/\\\"2d3f7bbf-826b-4c0e-8d7c-60b7c29d8bf2\\\"\",\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/\\\"b6629e16-e6da-4527-bf17-95a3a4402b8a\\\"\",\r\n + \ \"etag\": \"W/\\\"2d3f7bbf-826b-4c0e-8d7c-60b7c29d8bf2\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"serviceName\": \"Microsoft.StoragePool/diskPools\",\r\n \ \"actions\": [\r\n \"Microsoft.Network/virtualNetworks/read\"\r\n @@ -1136,9 +1136,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 May 2021 05:11:41 GMT + - Tue, 25 May 2021 06:09:12 GMT etag: - - W/"b6629e16-e6da-4527-bf17-95a3a4402b8a" + - W/"2d3f7bbf-826b-4c0e-8d7c-60b7c29d8bf2" expires: - '-1' pragma: @@ -1155,7 +1155,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 581ee5da-c2be-4da1-8f85-73407be22a2a + - d32ece12-fab3-432f-8aeb-ac3214b19be8 status: code: 200 message: OK @@ -1185,10 +1185,10 @@ interactions: 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-05-25T05:11:48.2388358Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:11:48.2388358Z"},"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":"eastus","tags":{},"systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"2021-05-25T06:09:17.0897576Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T06:09:17.0897576Z"},"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"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a?api-version=2021-04-01-preview cache-control: - no-cache content-length: @@ -1196,7 +1196,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:11:52 GMT + - Tue, 25 May 2021 06:09:20 GMT expires: - '-1' pragma: @@ -1208,7 +1208,7 @@ interactions: x-ms-async-operation-timeout: - PT1H x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-ms-return-client-request-id: - 'true' status: @@ -1231,10 +1231,104 @@ interactions: User-Agent: - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a","name":"87fb07a8-9e0f-4663-8120-21635d5fdc5a","status":"Running","startTime":"2021-05-25T06:09:19Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 06:09: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.24.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/87fb07a8-9e0f-4663-8120-21635d5fdc5a?api-version=2021-04-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a","name":"87fb07a8-9e0f-4663-8120-21635d5fdc5a","status":"Running","startTime":"2021-05-25T06:09:19Z","endTime":""}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json + date: + - Tue, 25 May 2021 06:10: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 create + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group --location --availability-zones --subnet-id --sku + --disks + User-Agent: + - AZURECLI/2.24.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/87fb07a8-9e0f-4663-8120-21635d5fdc5a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a","name":"87fb07a8-9e0f-4663-8120-21635d5fdc5a","status":"Running","startTime":"2021-05-25T06:09:19Z","endTime":""}' headers: cache-control: - no-cache @@ -1243,7 +1337,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:12:02 GMT + - Tue, 25 May 2021 06:10:31 GMT expires: - '-1' pragma: @@ -1278,10 +1372,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a","name":"87fb07a8-9e0f-4663-8120-21635d5fdc5a","status":"Running","startTime":"2021-05-25T06:09:19Z","endTime":""}' headers: cache-control: - no-cache @@ -1290,7 +1384,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:12:32 GMT + - Tue, 25 May 2021 06:11:02 GMT expires: - '-1' pragma: @@ -1325,10 +1419,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a","name":"87fb07a8-9e0f-4663-8120-21635d5fdc5a","status":"Running","startTime":"2021-05-25T06:09:19Z","endTime":""}' headers: cache-control: - no-cache @@ -1337,7 +1431,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:13:04 GMT + - Tue, 25 May 2021 06:11:32 GMT expires: - '-1' pragma: @@ -1372,10 +1466,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a","name":"87fb07a8-9e0f-4663-8120-21635d5fdc5a","status":"Running","startTime":"2021-05-25T06:09:19Z","endTime":""}' headers: cache-control: - no-cache @@ -1384,7 +1478,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:13:34 GMT + - Tue, 25 May 2021 06:12:02 GMT expires: - '-1' pragma: @@ -1419,10 +1513,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a","name":"87fb07a8-9e0f-4663-8120-21635d5fdc5a","status":"Running","startTime":"2021-05-25T06:09:19Z","endTime":""}' headers: cache-control: - no-cache @@ -1431,7 +1525,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:14:04 GMT + - Tue, 25 May 2021 06:12:33 GMT expires: - '-1' pragma: @@ -1466,10 +1560,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a","name":"87fb07a8-9e0f-4663-8120-21635d5fdc5a","status":"Running","startTime":"2021-05-25T06:09:19Z","endTime":""}' headers: cache-control: - no-cache @@ -1478,7 +1572,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:14:35 GMT + - Tue, 25 May 2021 06:13:04 GMT expires: - '-1' pragma: @@ -1513,10 +1607,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a","name":"87fb07a8-9e0f-4663-8120-21635d5fdc5a","status":"Running","startTime":"2021-05-25T06:09:19Z","endTime":""}' headers: cache-control: - no-cache @@ -1525,7 +1619,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:15:05 GMT + - Tue, 25 May 2021 06:13:34 GMT expires: - '-1' pragma: @@ -1560,10 +1654,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a","name":"87fb07a8-9e0f-4663-8120-21635d5fdc5a","status":"Running","startTime":"2021-05-25T06:09:19Z","endTime":""}' headers: cache-control: - no-cache @@ -1572,7 +1666,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:15:35 GMT + - Tue, 25 May 2021 06:14:05 GMT expires: - '-1' pragma: @@ -1607,10 +1701,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a","name":"87fb07a8-9e0f-4663-8120-21635d5fdc5a","status":"Running","startTime":"2021-05-25T06:09:19Z","endTime":""}' headers: cache-control: - no-cache @@ -1619,7 +1713,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:16:06 GMT + - Tue, 25 May 2021 06:14:38 GMT expires: - '-1' pragma: @@ -1654,10 +1748,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a","name":"87fb07a8-9e0f-4663-8120-21635d5fdc5a","status":"Running","startTime":"2021-05-25T06:09:19Z","endTime":""}' headers: cache-control: - no-cache @@ -1666,7 +1760,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:16:37 GMT + - Tue, 25 May 2021 06:15:08 GMT expires: - '-1' pragma: @@ -1701,10 +1795,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a","name":"87fb07a8-9e0f-4663-8120-21635d5fdc5a","status":"Running","startTime":"2021-05-25T06:09:19Z","endTime":""}' headers: cache-control: - no-cache @@ -1713,7 +1807,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:17:08 GMT + - Tue, 25 May 2021 06:15:38 GMT expires: - '-1' pragma: @@ -1748,10 +1842,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a","name":"87fb07a8-9e0f-4663-8120-21635d5fdc5a","status":"Running","startTime":"2021-05-25T06:09:19Z","endTime":""}' headers: cache-control: - no-cache @@ -1760,7 +1854,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:17:38 GMT + - Tue, 25 May 2021 06:16:09 GMT expires: - '-1' pragma: @@ -1795,10 +1889,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a","name":"87fb07a8-9e0f-4663-8120-21635d5fdc5a","status":"Running","startTime":"2021-05-25T06:09:19Z","endTime":""}' headers: cache-control: - no-cache @@ -1807,7 +1901,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:18:08 GMT + - Tue, 25 May 2021 06:16:39 GMT expires: - '-1' pragma: @@ -1842,10 +1936,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a","name":"87fb07a8-9e0f-4663-8120-21635d5fdc5a","status":"Running","startTime":"2021-05-25T06:09:19Z","endTime":""}' headers: cache-control: - no-cache @@ -1854,7 +1948,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:18:39 GMT + - Tue, 25 May 2021 06:17:10 GMT expires: - '-1' pragma: @@ -1889,10 +1983,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a","name":"87fb07a8-9e0f-4663-8120-21635d5fdc5a","status":"Running","startTime":"2021-05-25T06:09:19Z","endTime":""}' headers: cache-control: - no-cache @@ -1901,7 +1995,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:19:11 GMT + - Tue, 25 May 2021 06:17:41 GMT expires: - '-1' pragma: @@ -1936,10 +2030,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a","name":"87fb07a8-9e0f-4663-8120-21635d5fdc5a","status":"Running","startTime":"2021-05-25T06:09:19Z","endTime":""}' headers: cache-control: - no-cache @@ -1948,7 +2042,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:19:41 GMT + - Tue, 25 May 2021 06:18:11 GMT expires: - '-1' pragma: @@ -1983,10 +2077,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a","name":"87fb07a8-9e0f-4663-8120-21635d5fdc5a","status":"Running","startTime":"2021-05-25T06:09:19Z","endTime":""}' headers: cache-control: - no-cache @@ -1995,7 +2089,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:20:11 GMT + - Tue, 25 May 2021 06:18:41 GMT expires: - '-1' pragma: @@ -2030,10 +2124,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Running","startTime":"2021-05-25T05:11:50Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a","name":"87fb07a8-9e0f-4663-8120-21635d5fdc5a","status":"Running","startTime":"2021-05-25T06:09:19Z","endTime":""}' headers: cache-control: - no-cache @@ -2042,7 +2136,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:20:43 GMT + - Tue, 25 May 2021 06:19:11 GMT expires: - '-1' pragma: @@ -2077,10 +2171,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/96507cfe-5e8b-4355-b525-27f868f7c489?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/96507cfe-5e8b-4355-b525-27f868f7c489","name":"96507cfe-5e8b-4355-b525-27f868f7c489","status":"Succeeded","startTime":"2021-05-25T05:11:50Z","endTime":"2021-05-25T05:20:46Z","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-05-25T05:11:48.2388358Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:11:48.2388358Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard","tier":"Standard"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/87fb07a8-9e0f-4663-8120-21635d5fdc5a","name":"87fb07a8-9e0f-4663-8120-21635d5fdc5a","status":"Succeeded","startTime":"2021-05-25T06:09:19Z","endTime":"2021-05-25T06:19:34Z","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-05-25T06:09:17.0897576Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T06:09:17.0897576Z"},"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 @@ -2089,7 +2183,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:21:13 GMT + - Tue, 25 May 2021 06:19:43 GMT expires: - '-1' pragma: @@ -2127,7 +2221,7 @@ interactions: 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-05-25T05:11:48.2388358Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:11:48.2388358Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard","tier":"Standard"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/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-05-25T06:09:17.0897576Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T06:09:17.0897576Z"},"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 @@ -2136,7 +2230,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:21:13 GMT + - Tue, 25 May 2021 06:19:44 GMT expires: - '-1' pragma: @@ -2173,7 +2267,7 @@ interactions: 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-05-25T05:11:48.2388358Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:11:48.2388358Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard","tier":"Standard"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/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-05-25T06:09:17.0897576Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T06:09:17.0897576Z"},"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 @@ -2182,7 +2276,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:21:15 GMT + - Tue, 25 May 2021 06:19:45 GMT expires: - '-1' pragma: @@ -2219,7 +2313,7 @@ interactions: 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-05-25T05:11:48.2388358Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:11:48.2388358Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard","tier":"Standard"}}],"nextLink":null}' + string: '{"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-05-25T06:09:17.0897576Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T06:09:17.0897576Z"},"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 @@ -2228,7 +2322,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:21:17 GMT + - Tue, 25 May 2021 06:19:46 GMT expires: - '-1' pragma: @@ -2270,18 +2364,18 @@ interactions: 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-05-25T05:21:18.204644Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:21:18.204644Z"},"properties":{"targetIqn":"iqn.2021-05.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Pending","status":"Unknown"}}' + 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-05-25T06:19:48.0331286Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T06:19:48.0331286Z"},"properties":{"targetIqn":"iqn.2021-05.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Pending","status":"Unknown"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/36d503d7-444f-4d62-9205-5852f79bad00?api-version=2021-04-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/37ec0a36-4121-4691-9344-1420673ea6be?api-version=2021-04-01-preview cache-control: - no-cache content-length: - - '847' + - '849' content-type: - application/json date: - - Tue, 25 May 2021 05:21:18 GMT + - Tue, 25 May 2021 06:19:48 GMT expires: - '-1' pragma: @@ -2315,10 +2409,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/36d503d7-444f-4d62-9205-5852f79bad00?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/37ec0a36-4121-4691-9344-1420673ea6be?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/36d503d7-444f-4d62-9205-5852f79bad00","name":"36d503d7-444f-4d62-9205-5852f79bad00","status":"Running","startTime":"2021-05-25T05:21:19Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/37ec0a36-4121-4691-9344-1420673ea6be","name":"37ec0a36-4121-4691-9344-1420673ea6be","status":"Running","startTime":"2021-05-25T06:19:49Z"}' headers: cache-control: - no-cache @@ -2327,7 +2421,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:21:29 GMT + - Tue, 25 May 2021 06:19:59 GMT expires: - '-1' pragma: @@ -2361,10 +2455,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/36d503d7-444f-4d62-9205-5852f79bad00?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/37ec0a36-4121-4691-9344-1420673ea6be?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/36d503d7-444f-4d62-9205-5852f79bad00","name":"36d503d7-444f-4d62-9205-5852f79bad00","status":"Running","startTime":"2021-05-25T05:21:19Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/37ec0a36-4121-4691-9344-1420673ea6be","name":"37ec0a36-4121-4691-9344-1420673ea6be","status":"Running","startTime":"2021-05-25T06:19:49Z"}' headers: cache-control: - no-cache @@ -2373,7 +2467,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:22:00 GMT + - Tue, 25 May 2021 06:20:29 GMT expires: - '-1' pragma: @@ -2407,10 +2501,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/36d503d7-444f-4d62-9205-5852f79bad00?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/37ec0a36-4121-4691-9344-1420673ea6be?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/36d503d7-444f-4d62-9205-5852f79bad00","name":"36d503d7-444f-4d62-9205-5852f79bad00","status":"Running","startTime":"2021-05-25T05:21:19Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/37ec0a36-4121-4691-9344-1420673ea6be","name":"37ec0a36-4121-4691-9344-1420673ea6be","status":"Running","startTime":"2021-05-25T06:19:49Z"}' headers: cache-control: - no-cache @@ -2419,7 +2513,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:22:30 GMT + - Tue, 25 May 2021 06:21:00 GMT expires: - '-1' pragma: @@ -2453,19 +2547,19 @@ interactions: User-Agent: - AZURECLI/2.24.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/36d503d7-444f-4d62-9205-5852f79bad00?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/37ec0a36-4121-4691-9344-1420673ea6be?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/36d503d7-444f-4d62-9205-5852f79bad00","name":"36d503d7-444f-4d62-9205-5852f79bad00","status":"Succeeded","startTime":"2021-05-25T05:21:19Z","endTime":"2021-05-25T05:22:57Z","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-05-25T05:21:18.204644Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:21:18.204644Z"},"properties":{"targetIqn":"iqn.2021-05.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/37ec0a36-4121-4691-9344-1420673ea6be","name":"37ec0a36-4121-4691-9344-1420673ea6be","status":"Succeeded","startTime":"2021-05-25T06:19:49Z","endTime":"2021-05-25T06:21:03Z","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-05-25T06:19:48.0331286Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T06:19:48.0331286Z"},"properties":{"targetIqn":"iqn.2021-05.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}}' headers: cache-control: - no-cache content-length: - - '1128' + - '1130' content-type: - application/json date: - - Tue, 25 May 2021 05:23:00 GMT + - Tue, 25 May 2021 06:21:31 GMT expires: - '-1' pragma: @@ -2502,16 +2596,16 @@ interactions: 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-05-25T05:21:18.204644Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:21:18.204644Z"},"properties":{"targetIqn":"iqn.2021-05.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/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-05-25T06:19:48.0331286Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T06:19:48.0331286Z"},"properties":{"targetIqn":"iqn.2021-05.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}' headers: cache-control: - no-cache content-length: - - '849' + - '851' content-type: - application/json date: - - Tue, 25 May 2021 05:23:01 GMT + - Tue, 25 May 2021 06:21:31 GMT expires: - '-1' pragma: @@ -2548,16 +2642,16 @@ interactions: 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-05-25T05:21:18.204644Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:21:18.204644Z"},"properties":{"targetIqn":"iqn.2021-05.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/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-05-25T06:19:48.0331286Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T06:19:48.0331286Z"},"properties":{"targetIqn":"iqn.2021-05.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}' headers: cache-control: - no-cache content-length: - - '849' + - '851' content-type: - application/json date: - - Tue, 25 May 2021 05:23:03 GMT + - Tue, 25 May 2021 06:21:32 GMT expires: - '-1' pragma: @@ -2594,16 +2688,16 @@ interactions: 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-05-25T05:21:18.204644Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:21:18.204644Z"},"properties":{"targetIqn":"iqn.2021-05.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}],"nextLink":null}' + string: '{"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-05-25T06:19:48.0331286Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T06:19:48.0331286Z"},"properties":{"targetIqn":"iqn.2021-05.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}],"nextLink":null}' headers: cache-control: - no-cache content-length: - - '877' + - '879' content-type: - application/json date: - - Tue, 25 May 2021 05:23:05 GMT + - Tue, 25 May 2021 06:21:34 GMT expires: - '-1' pragma: @@ -2648,17 +2742,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?api-version=2021-04-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/5aeb37cc-a246-4503-a7dd-7a78433196c6?api-version=2021-04-01-preview cache-control: - no-cache content-length: - '0' date: - - Tue, 25 May 2021 05:23:06 GMT + - Tue, 25 May 2021 06:21:37 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?api-version=2021-04-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/5aeb37cc-a246-4503-a7dd-7a78433196c6?api-version=2021-04-01-preview pragma: - no-cache strict-transport-security: @@ -2668,7 +2762,7 @@ interactions: x-ms-async-operation-timeout: - PT1H x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' x-ms-return-client-request-id: - 'true' status: @@ -2690,10 +2784,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/5aeb37cc-a246-4503-a7dd-7a78433196c6?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","name":"a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","status":"Running","startTime":"2021-05-25T05:23:07Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/5aeb37cc-a246-4503-a7dd-7a78433196c6","name":"5aeb37cc-a246-4503-a7dd-7a78433196c6","status":"Running","startTime":"2021-05-25T06:21:37Z","endTime":""}' headers: cache-control: - no-cache @@ -2702,7 +2796,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:23:16 GMT + - Tue, 25 May 2021 06:21:47 GMT expires: - '-1' pragma: @@ -2736,10 +2830,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/5aeb37cc-a246-4503-a7dd-7a78433196c6?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","name":"a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","status":"Running","startTime":"2021-05-25T05:23:07Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/5aeb37cc-a246-4503-a7dd-7a78433196c6","name":"5aeb37cc-a246-4503-a7dd-7a78433196c6","status":"Running","startTime":"2021-05-25T06:21:37Z","endTime":""}' headers: cache-control: - no-cache @@ -2748,7 +2842,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:23:48 GMT + - Tue, 25 May 2021 06:22:17 GMT expires: - '-1' pragma: @@ -2782,10 +2876,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/5aeb37cc-a246-4503-a7dd-7a78433196c6?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","name":"a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","status":"Running","startTime":"2021-05-25T05:23:07Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/5aeb37cc-a246-4503-a7dd-7a78433196c6","name":"5aeb37cc-a246-4503-a7dd-7a78433196c6","status":"Running","startTime":"2021-05-25T06:21:37Z","endTime":""}' headers: cache-control: - no-cache @@ -2794,7 +2888,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:24:18 GMT + - Tue, 25 May 2021 06:22:47 GMT expires: - '-1' pragma: @@ -2828,10 +2922,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/5aeb37cc-a246-4503-a7dd-7a78433196c6?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","name":"a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","status":"Running","startTime":"2021-05-25T05:23:07Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/5aeb37cc-a246-4503-a7dd-7a78433196c6","name":"5aeb37cc-a246-4503-a7dd-7a78433196c6","status":"Running","startTime":"2021-05-25T06:21:37Z","endTime":""}' headers: cache-control: - no-cache @@ -2840,7 +2934,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:24:48 GMT + - Tue, 25 May 2021 06:23:19 GMT expires: - '-1' pragma: @@ -2874,10 +2968,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/5aeb37cc-a246-4503-a7dd-7a78433196c6?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","name":"a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","status":"Running","startTime":"2021-05-25T05:23:07Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/5aeb37cc-a246-4503-a7dd-7a78433196c6","name":"5aeb37cc-a246-4503-a7dd-7a78433196c6","status":"Running","startTime":"2021-05-25T06:21:37Z","endTime":""}' headers: cache-control: - no-cache @@ -2886,7 +2980,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:25:19 GMT + - Tue, 25 May 2021 06:23:49 GMT expires: - '-1' pragma: @@ -2920,19 +3014,19 @@ interactions: User-Agent: - AZURECLI/2.24.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/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/5aeb37cc-a246-4503-a7dd-7a78433196c6?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","name":"a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","status":"Running","startTime":"2021-05-25T05:23:07Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/5aeb37cc-a246-4503-a7dd-7a78433196c6","name":"5aeb37cc-a246-4503-a7dd-7a78433196c6","status":"Succeeded","startTime":"2021-05-25T06:21:37Z","endTime":"2021-05-25T06:23:57Z","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-05-25T06:09:17.0897576Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T06:21:35.5269744Z"},"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: - - '243' + - '1346' content-type: - application/json date: - - Tue, 25 May 2021 05:25:49 GMT + - Tue, 25 May 2021 06:24:19 GMT expires: - '-1' pragma: @@ -2966,19 +3060,19 @@ interactions: User-Agent: - AZURECLI/2.24.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/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?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-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","name":"a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","status":"Running","startTime":"2021-05-25T05:23:07Z","endTime":""}' + 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-05-25T06:09:17.0897576Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T06:21:35.5269744Z"},"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: - - '243' + - '1067' content-type: - application/json date: - - Tue, 25 May 2021 05:26:20 GMT + - Tue, 25 May 2021 06:24:19 GMT expires: - '-1' pragma: @@ -2997,51 +3091,59 @@ 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 update + - disk-pool iscsi-target update Connection: - keep-alive + Content-Length: + - '386' + Content-Type: + - application/json ParameterSetName: - - --name --resource-group --disks + - --name --disk-pool-name --resource-group --luns --luns User-Agent: - AZURECLI/2.24.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/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?api-version=2021-04-01-preview + 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: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","name":"a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","status":"Running","startTime":"2021-05-25T05:23:07Z","endTime":""}' + string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/f1c94a62-69eb-4515-870d-fbcefcf5e7ff?api-version=2021-04-01-preview cache-control: - no-cache content-length: - - '243' - content-type: - - application/json + - '0' date: - - Tue, 25 May 2021 05:26:50 GMT + - Tue, 25 May 2021 06:24:22 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/f1c94a62-69eb-4515-870d-fbcefcf5e7ff?api-version=2021-04-01-preview pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-async-operation-timeout: + - PT1H + x-ms-ratelimit-remaining-subscription-writes: + - '1198' x-ms-return-client-request-id: - 'true' status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -3050,27 +3152,27 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool update + - disk-pool iscsi-target update Connection: - keep-alive ParameterSetName: - - --name --resource-group --disks + - --name --disk-pool-name --resource-group --luns --luns User-Agent: - AZURECLI/2.24.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/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/f1c94a62-69eb-4515-870d-fbcefcf5e7ff?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","name":"a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","status":"Running","startTime":"2021-05-25T05:23:07Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/f1c94a62-69eb-4515-870d-fbcefcf5e7ff","name":"f1c94a62-69eb-4515-870d-fbcefcf5e7ff","status":"Running","startTime":"2021-05-25T06:24:22Z"}' headers: cache-control: - no-cache content-length: - - '243' + - '230' content-type: - application/json date: - - Tue, 25 May 2021 05:27:21 GMT + - Tue, 25 May 2021 06:24:32 GMT expires: - '-1' pragma: @@ -3096,27 +3198,27 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool update + - disk-pool iscsi-target update Connection: - keep-alive ParameterSetName: - - --name --resource-group --disks + - --name --disk-pool-name --resource-group --luns --luns User-Agent: - AZURECLI/2.24.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/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/f1c94a62-69eb-4515-870d-fbcefcf5e7ff?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","name":"a4e992e4-388d-4dec-a1a0-3f6b1a5c6924","status":"Succeeded","startTime":"2021-05-25T05:23:07Z","endTime":"2021-05-25T05:27:28Z","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-05-25T05:11:48.2388358Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:23:05.7226943Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard","tier":"Standard"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/f1c94a62-69eb-4515-870d-fbcefcf5e7ff","name":"f1c94a62-69eb-4515-870d-fbcefcf5e7ff","status":"Running","startTime":"2021-05-25T06:24:22Z"}' headers: cache-control: - no-cache content-length: - - '1346' + - '230' content-type: - application/json date: - - Tue, 25 May 2021 05:27:52 GMT + - Tue, 25 May 2021 06:25:03 GMT expires: - '-1' pragma: @@ -3142,27 +3244,27 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool update + - disk-pool iscsi-target update Connection: - keep-alive ParameterSetName: - - --name --resource-group --disks + - --name --disk-pool-name --resource-group --luns --luns User-Agent: - AZURECLI/2.24.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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/f1c94a62-69eb-4515-870d-fbcefcf5e7ff?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-05-25T05:11:48.2388358Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:23:05.7226943Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard","tier":"Standard"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/f1c94a62-69eb-4515-870d-fbcefcf5e7ff","name":"f1c94a62-69eb-4515-870d-fbcefcf5e7ff","status":"Running","startTime":"2021-05-25T06:24:22Z"}' headers: cache-control: - no-cache content-length: - - '1067' + - '230' content-type: - application/json date: - - Tue, 25 May 2021 05:27:52 GMT + - Tue, 25 May 2021 06:25:33 GMT expires: - '-1' pragma: @@ -3181,59 +3283,51 @@ interactions: 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"}]}}' + body: null 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.24.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 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/f1c94a62-69eb-4515-870d-fbcefcf5e7ff?api-version=2021-04-01-preview response: body: - string: '' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/f1c94a62-69eb-4515-870d-fbcefcf5e7ff","name":"f1c94a62-69eb-4515-870d-fbcefcf5e7ff","status":"Succeeded","startTime":"2021-05-25T06:24:22Z","endTime":"2021-05-25T06:25:59Z","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-05-25T06:19:48.0331286Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T06:24:21.2019994Z"},"properties":{"targetIqn":"iqn.2021-05.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0},{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","name":"lun1","lun":1}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b?api-version=2021-04-01-preview cache-control: - no-cache content-length: - - '0' + - '1314' + content-type: + - application/json date: - - Tue, 25 May 2021 05:27:54 GMT + - Tue, 25 May 2021 06:26:04 GMT expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b?api-version=2021-04-01-preview pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-async-operation-timeout: - - PT1H - x-ms-ratelimit-remaining-subscription-writes: - - '1197' x-ms-return-client-request-id: - 'true' status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -3250,19 +3344,19 @@ interactions: User-Agent: - AZURECLI/2.24.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/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b?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-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b","name":"f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b","status":"Running","startTime":"2021-05-25T05:27:55Z"}' + 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-05-25T06:19:48.0331286Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T06:24:21.2019994Z"},"properties":{"targetIqn":"iqn.2021-05.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0},{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","name":"lun1","lun":1}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}' headers: cache-control: - no-cache content-length: - - '230' + - '1035' content-type: - application/json date: - - Tue, 25 May 2021 05:28:05 GMT + - Tue, 25 May 2021 06:26:04 GMT expires: - '-1' pragma: @@ -3284,48 +3378,50 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target update + - disk-pool stop Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - - --name --disk-pool-name --resource-group --luns --luns + - --name --resource-group User-Agent: - AZURECLI/2.24.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/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b?api-version=2021-04-01-preview + 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: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b","name":"f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b","status":"Running","startTime":"2021-05-25T05:27:55Z"}' + string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/ba31ec2f-7235-4783-82d7-c3940bccaa3a?api-version=2021-04-01-preview cache-control: - no-cache content-length: - - '230' - content-type: - - application/json + - '0' date: - - Tue, 25 May 2021 05:28:35 GMT + - Tue, 25 May 2021 06:26:06 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/ba31ec2f-7235-4783-82d7-c3940bccaa3a?api-version=2021-04-01-preview pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-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: @@ -3334,27 +3430,27 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target update + - disk-pool stop Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group --luns --luns + - --name --resource-group User-Agent: - AZURECLI/2.24.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/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/ba31ec2f-7235-4783-82d7-c3940bccaa3a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b","name":"f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b","status":"Running","startTime":"2021-05-25T05:27:55Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/ba31ec2f-7235-4783-82d7-c3940bccaa3a","name":"ba31ec2f-7235-4783-82d7-c3940bccaa3a","status":"Running","startTime":"2021-05-25T06:26:06Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '230' + - '243' content-type: - application/json date: - - Tue, 25 May 2021 05:29:06 GMT + - Tue, 25 May 2021 06:26:17 GMT expires: - '-1' pragma: @@ -3380,27 +3476,27 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target update + - disk-pool stop Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group --luns --luns + - --name --resource-group User-Agent: - AZURECLI/2.24.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/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/ba31ec2f-7235-4783-82d7-c3940bccaa3a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b","name":"f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b","status":"Running","startTime":"2021-05-25T05:27:55Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/ba31ec2f-7235-4783-82d7-c3940bccaa3a","name":"ba31ec2f-7235-4783-82d7-c3940bccaa3a","status":"Running","startTime":"2021-05-25T06:26:06Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '230' + - '243' content-type: - application/json date: - - Tue, 25 May 2021 05:29:36 GMT + - Tue, 25 May 2021 06:26:47 GMT expires: - '-1' pragma: @@ -3426,27 +3522,27 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target update + - disk-pool stop Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group --luns --luns + - --name --resource-group User-Agent: - AZURECLI/2.24.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/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/ba31ec2f-7235-4783-82d7-c3940bccaa3a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b","name":"f18f6f2e-266f-4a5e-98fa-ded3d5c60f0b","status":"Succeeded","startTime":"2021-05-25T05:27:55Z","endTime":"2021-05-25T05:29:53Z","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-05-25T05:21:18.204644Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:27:54.0533526Z"},"properties":{"targetIqn":"iqn.2021-05.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0},{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","name":"lun1","lun":1}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/ba31ec2f-7235-4783-82d7-c3940bccaa3a","name":"ba31ec2f-7235-4783-82d7-c3940bccaa3a","status":"Running","startTime":"2021-05-25T06:26:06Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '1313' + - '243' content-type: - application/json date: - - Tue, 25 May 2021 05:30:07 GMT + - Tue, 25 May 2021 06:27:17 GMT expires: - '-1' pragma: @@ -3472,27 +3568,27 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target update + - disk-pool stop Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group --luns --luns + - --name --resource-group User-Agent: - AZURECLI/2.24.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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/ba31ec2f-7235-4783-82d7-c3940bccaa3a?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-05-25T05:21:18.204644Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:27:54.0533526Z"},"properties":{"targetIqn":"iqn.2021-05.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0},{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","name":"lun1","lun":1}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/ba31ec2f-7235-4783-82d7-c3940bccaa3a","name":"ba31ec2f-7235-4783-82d7-c3940bccaa3a","status":"Running","startTime":"2021-05-25T06:26:06Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '1034' + - '243' content-type: - application/json date: - - Tue, 25 May 2021 05:30:07 GMT + - Tue, 25 May 2021 06:27:47 GMT expires: - '-1' pragma: @@ -3514,699 +3610,7 @@ interactions: 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.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview - cache-control: - - no-cache - content-length: - - '0' - date: - - Tue, 25 May 2021 05:30:09 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - x-ms-return-client-request-id: - - 'true' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool stop - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Tue, 25 May 2021 05:30: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 stop - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Tue, 25 May 2021 05:30:50 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool stop - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Tue, 25 May 2021 05:31:21 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool stop - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Tue, 25 May 2021 05:31:52 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.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Tue, 25 May 2021 05:32:22 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.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Tue, 25 May 2021 05:32:52 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.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Tue, 25 May 2021 05:33:22 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.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Tue, 25 May 2021 05:33:54 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool stop - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Tue, 25 May 2021 05:34:24 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool stop - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Tue, 25 May 2021 05:34:54 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool stop - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Tue, 25 May 2021 05:35:24 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool stop - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Tue, 25 May 2021 05:35:56 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool stop - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Tue, 25 May 2021 05:36:27 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool stop - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Tue, 25 May 2021 05:36: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: @@ -4218,10 +3622,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/ba31ec2f-7235-4783-82d7-c3940bccaa3a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Running","startTime":"2021-05-25T05:30:10Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/ba31ec2f-7235-4783-82d7-c3940bccaa3a","name":"ba31ec2f-7235-4783-82d7-c3940bccaa3a","status":"Running","startTime":"2021-05-25T06:26:06Z","endTime":""}' headers: cache-control: - no-cache @@ -4230,7 +3634,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:37:27 GMT + - Tue, 25 May 2021 06:28:18 GMT expires: - '-1' pragma: @@ -4264,20 +3668,19 @@ interactions: User-Agent: - AZURECLI/2.24.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/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/ba31ec2f-7235-4783-82d7-c3940bccaa3a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","name":"0820d7fb-75d0-4ecd-8ab3-a62fe9a70fbc","status":"Succeeded","startTime":"2021-05-25T05:30:10Z","endTime":"2021-05-25T05:37:39Z","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-05-25T05:11:48.2388358Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:23:05.7226943Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Stopped - (deallocated)"},"sku":{"name":"Standard","tier":"Standard"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/ba31ec2f-7235-4783-82d7-c3940bccaa3a","name":"ba31ec2f-7235-4783-82d7-c3940bccaa3a","status":"Running","startTime":"2021-05-25T06:26:06Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '1360' + - '243' content-type: - application/json date: - - Tue, 25 May 2021 05:37:57 GMT + - Tue, 25 May 2021 06:28:48 GMT expires: - '-1' pragma: @@ -4299,11 +3702,11 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - disk-pool show + - disk-pool stop Connection: - keep-alive ParameterSetName: @@ -4311,20 +3714,19 @@ interactions: User-Agent: - AZURECLI/2.24.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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/ba31ec2f-7235-4783-82d7-c3940bccaa3a?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-05-25T05:11:48.2388358Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:23:05.7226943Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Stopped - (deallocated)"},"sku":{"name":"Standard","tier":"Standard"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/ba31ec2f-7235-4783-82d7-c3940bccaa3a","name":"ba31ec2f-7235-4783-82d7-c3940bccaa3a","status":"Running","startTime":"2021-05-25T06:26:06Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '1081' + - '243' content-type: - application/json date: - - Tue, 25 May 2021 05:38:00 GMT + - Tue, 25 May 2021 06:29:20 GMT expires: - '-1' pragma: @@ -4346,50 +3748,48 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - disk-pool start + - disk-pool stop Connection: - keep-alive - Content-Length: - - '0' ParameterSetName: - --name --resource-group User-Agent: - AZURECLI/2.24.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 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/ba31ec2f-7235-4783-82d7-c3940bccaa3a?api-version=2021-04-01-preview response: body: - string: '' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/ba31ec2f-7235-4783-82d7-c3940bccaa3a","name":"ba31ec2f-7235-4783-82d7-c3940bccaa3a","status":"Running","startTime":"2021-05-25T06:26:06Z","endTime":""}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?api-version=2021-04-01-preview cache-control: - no-cache content-length: - - '0' + - '243' + content-type: + - application/json date: - - Tue, 25 May 2021 05:38:01 GMT + - Tue, 25 May 2021 06:29:50 GMT expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?api-version=2021-04-01-preview pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' x-ms-return-client-request-id: - 'true' status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -4398,7 +3798,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool start + - disk-pool stop Connection: - keep-alive ParameterSetName: @@ -4406,10 +3806,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/ba31ec2f-7235-4783-82d7-c3940bccaa3a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","name":"7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","status":"Running","startTime":"2021-05-25T05:38:02Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/ba31ec2f-7235-4783-82d7-c3940bccaa3a","name":"ba31ec2f-7235-4783-82d7-c3940bccaa3a","status":"Running","startTime":"2021-05-25T06:26:06Z","endTime":""}' headers: cache-control: - no-cache @@ -4418,7 +3818,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:38:11 GMT + - Tue, 25 May 2021 06:30:20 GMT expires: - '-1' pragma: @@ -4444,7 +3844,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool start + - disk-pool stop Connection: - keep-alive ParameterSetName: @@ -4452,10 +3852,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/ba31ec2f-7235-4783-82d7-c3940bccaa3a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","name":"7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","status":"Running","startTime":"2021-05-25T05:38:02Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/ba31ec2f-7235-4783-82d7-c3940bccaa3a","name":"ba31ec2f-7235-4783-82d7-c3940bccaa3a","status":"Running","startTime":"2021-05-25T06:26:06Z","endTime":""}' headers: cache-control: - no-cache @@ -4464,7 +3864,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:38:43 GMT + - Tue, 25 May 2021 06:30:50 GMT expires: - '-1' pragma: @@ -4490,7 +3890,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool start + - disk-pool stop Connection: - keep-alive ParameterSetName: @@ -4498,19 +3898,20 @@ interactions: User-Agent: - AZURECLI/2.24.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/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/ba31ec2f-7235-4783-82d7-c3940bccaa3a?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","name":"7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","status":"Running","startTime":"2021-05-25T05:38:02Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/ba31ec2f-7235-4783-82d7-c3940bccaa3a","name":"ba31ec2f-7235-4783-82d7-c3940bccaa3a","status":"Succeeded","startTime":"2021-05-25T06:26:06Z","endTime":"2021-05-25T06:31:14Z","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-05-25T06:09:17.0897576Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T06:21:35.5269744Z"},"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: - - '243' + - '1360' content-type: - application/json date: - - Tue, 25 May 2021 05:39:13 GMT + - Tue, 25 May 2021 06:31:21 GMT expires: - '-1' pragma: @@ -4532,11 +3933,11 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool start + - disk-pool show Connection: - keep-alive ParameterSetName: @@ -4544,19 +3945,20 @@ interactions: User-Agent: - AZURECLI/2.24.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/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?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-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","name":"7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","status":"Running","startTime":"2021-05-25T05:38:02Z","endTime":""}' + 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-05-25T06:09:17.0897576Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T06:21:35.5269744Z"},"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: - - '243' + - '1081' content-type: - application/json date: - - Tue, 25 May 2021 05:39:43 GMT + - Tue, 25 May 2021 06:31:24 GMT expires: - '-1' pragma: @@ -4578,48 +3980,50 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - disk-pool start Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - --name --resource-group User-Agent: - AZURECLI/2.24.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/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?api-version=2021-04-01-preview + 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: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","name":"7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","status":"Running","startTime":"2021-05-25T05:38:02Z","endTime":""}' + string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/e208c283-fc07-4a03-a362-d4a05995fbdc?api-version=2021-04-01-preview cache-control: - no-cache content-length: - - '243' - content-type: - - application/json + - '0' date: - - Tue, 25 May 2021 05:40:13 GMT + - Tue, 25 May 2021 06:31:25 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/e208c283-fc07-4a03-a362-d4a05995fbdc?api-version=2021-04-01-preview pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-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: @@ -4636,10 +4040,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/e208c283-fc07-4a03-a362-d4a05995fbdc?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","name":"7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","status":"Running","startTime":"2021-05-25T05:38:02Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/e208c283-fc07-4a03-a362-d4a05995fbdc","name":"e208c283-fc07-4a03-a362-d4a05995fbdc","status":"Running","startTime":"2021-05-25T06:31:25Z","endTime":""}' headers: cache-control: - no-cache @@ -4648,7 +4052,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:40:45 GMT + - Tue, 25 May 2021 06:31:36 GMT expires: - '-1' pragma: @@ -4682,10 +4086,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/e208c283-fc07-4a03-a362-d4a05995fbdc?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","name":"7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","status":"Running","startTime":"2021-05-25T05:38:02Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/e208c283-fc07-4a03-a362-d4a05995fbdc","name":"e208c283-fc07-4a03-a362-d4a05995fbdc","status":"Running","startTime":"2021-05-25T06:31:25Z","endTime":""}' headers: cache-control: - no-cache @@ -4694,7 +4098,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:41:15 GMT + - Tue, 25 May 2021 06:32:06 GMT expires: - '-1' pragma: @@ -4728,10 +4132,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/e208c283-fc07-4a03-a362-d4a05995fbdc?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","name":"7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","status":"Running","startTime":"2021-05-25T05:38:02Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/e208c283-fc07-4a03-a362-d4a05995fbdc","name":"e208c283-fc07-4a03-a362-d4a05995fbdc","status":"Running","startTime":"2021-05-25T06:31:25Z","endTime":""}' headers: cache-control: - no-cache @@ -4740,7 +4144,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:41:45 GMT + - Tue, 25 May 2021 06:32:37 GMT expires: - '-1' pragma: @@ -4774,10 +4178,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/e208c283-fc07-4a03-a362-d4a05995fbdc?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","name":"7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","status":"Running","startTime":"2021-05-25T05:38:02Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/e208c283-fc07-4a03-a362-d4a05995fbdc","name":"e208c283-fc07-4a03-a362-d4a05995fbdc","status":"Running","startTime":"2021-05-25T06:31:25Z","endTime":""}' headers: cache-control: - no-cache @@ -4786,7 +4190,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:42:15 GMT + - Tue, 25 May 2021 06:33:07 GMT expires: - '-1' pragma: @@ -4820,10 +4224,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/e208c283-fc07-4a03-a362-d4a05995fbdc?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","name":"7397c0ac-2d56-4c6e-b3d4-8f654bd4ee31","status":"Succeeded","startTime":"2021-05-25T05:38:02Z","endTime":"2021-05-25T05:42:22Z","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-05-25T05:11:48.2388358Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:23:05.7226943Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard","tier":"Standard"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/e208c283-fc07-4a03-a362-d4a05995fbdc","name":"e208c283-fc07-4a03-a362-d4a05995fbdc","status":"Succeeded","startTime":"2021-05-25T06:31:25Z","endTime":"2021-05-25T06:33:24Z","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-05-25T06:09:17.0897576Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T06:21:35.5269744Z"},"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 @@ -4832,7 +4236,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:42:47 GMT + - Tue, 25 May 2021 06:33:38 GMT expires: - '-1' pragma: @@ -4869,7 +4273,7 @@ interactions: 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-05-25T05:11:48.2388358Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T05:23:05.7226943Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard","tier":"Standard"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus","tags":{},"systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"2021-05-25T06:09:17.0897576Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-05-25T06:21:35.5269744Z"},"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 @@ -4878,7 +4282,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:42:49 GMT + - Tue, 25 May 2021 06:33:40 GMT expires: - '-1' pragma: @@ -4920,17 +4324,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/1db2452f-bf92-4004-93dd-936b1f8969bc?api-version=2021-04-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/d98fd278-4392-4e5d-93ce-9fbaa67cead1?api-version=2021-04-01-preview cache-control: - no-cache content-length: - '0' date: - - Tue, 25 May 2021 05:42:50 GMT + - Tue, 25 May 2021 06:33:42 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/1db2452f-bf92-4004-93dd-936b1f8969bc?api-version=2021-04-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/d98fd278-4392-4e5d-93ce-9fbaa67cead1?api-version=2021-04-01-preview pragma: - no-cache strict-transport-security: @@ -4940,7 +4344,7 @@ interactions: x-ms-async-operation-timeout: - PT1H x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14993' x-ms-return-client-request-id: - 'true' status: @@ -4962,102 +4366,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/1db2452f-bf92-4004-93dd-936b1f8969bc?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/1db2452f-bf92-4004-93dd-936b1f8969bc","name":"1db2452f-bf92-4004-93dd-936b1f8969bc","status":"Running","startTime":"2021-05-25T05:42:50Z"}' - headers: - cache-control: - - no-cache - content-length: - - '224' - content-type: - - application/json - date: - - Tue, 25 May 2021 05:43: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 iscsi-target delete - Connection: - - keep-alive - ParameterSetName: - - --name --disk-pool-name --resource-group -y - User-Agent: - - AZURECLI/2.24.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/1db2452f-bf92-4004-93dd-936b1f8969bc?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/1db2452f-bf92-4004-93dd-936b1f8969bc","name":"1db2452f-bf92-4004-93dd-936b1f8969bc","status":"Running","startTime":"2021-05-25T05:42:50Z"}' - headers: - cache-control: - - no-cache - content-length: - - '224' - content-type: - - application/json - date: - - Tue, 25 May 2021 05:43: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 iscsi-target delete - Connection: - - keep-alive - ParameterSetName: - - --name --disk-pool-name --resource-group -y - User-Agent: - - AZURECLI/2.24.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/1db2452f-bf92-4004-93dd-936b1f8969bc?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/d98fd278-4392-4e5d-93ce-9fbaa67cead1?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/1db2452f-bf92-4004-93dd-936b1f8969bc","name":"1db2452f-bf92-4004-93dd-936b1f8969bc","status":"Running","startTime":"2021-05-25T05:42:50Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/d98fd278-4392-4e5d-93ce-9fbaa67cead1","name":"d98fd278-4392-4e5d-93ce-9fbaa67cead1","status":"Running","startTime":"2021-05-25T06:33:42Z"}' headers: cache-control: - no-cache @@ -5066,7 +4378,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:44:01 GMT + - Tue, 25 May 2021 06:33:52 GMT expires: - '-1' pragma: @@ -5100,10 +4412,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/1db2452f-bf92-4004-93dd-936b1f8969bc?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/d98fd278-4392-4e5d-93ce-9fbaa67cead1?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/1db2452f-bf92-4004-93dd-936b1f8969bc","name":"1db2452f-bf92-4004-93dd-936b1f8969bc","status":"Succeeded","startTime":"2021-05-25T05:42:50Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/d98fd278-4392-4e5d-93ce-9fbaa67cead1","name":"d98fd278-4392-4e5d-93ce-9fbaa67cead1","status":"Succeeded","startTime":"2021-05-25T06:33:42Z"}' headers: cache-control: - no-cache @@ -5112,7 +4424,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:44:32 GMT + - Tue, 25 May 2021 06:34:22 GMT expires: - '-1' pragma: @@ -5158,7 +4470,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:44:34 GMT + - Tue, 25 May 2021 06:34:24 GMT expires: - '-1' pragma: @@ -5200,17 +4512,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3604f57a-e231-4563-81e7-c318a2e14878?api-version=2021-04-01-preview cache-control: - no-cache content-length: - '0' date: - - Tue, 25 May 2021 05:44:35 GMT + - Tue, 25 May 2021 06:34:27 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/3604f57a-e231-4563-81e7-c318a2e14878?api-version=2021-04-01-preview pragma: - no-cache strict-transport-security: @@ -5242,102 +4554,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '237' - content-type: - - application/json - date: - - Tue, 25 May 2021 05:44: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 delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '237' - content-type: - - application/json - date: - - Tue, 25 May 2021 05:45: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 delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3604f57a-e231-4563-81e7-c318a2e14878?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/3604f57a-e231-4563-81e7-c318a2e14878","name":"3604f57a-e231-4563-81e7-c318a2e14878","status":"Running","startTime":"2021-05-25T06:34:27Z","endTime":""}' headers: cache-control: - no-cache @@ -5346,7 +4566,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:45:47 GMT + - Tue, 25 May 2021 06:34:37 GMT expires: - '-1' pragma: @@ -5380,10 +4600,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3604f57a-e231-4563-81e7-c318a2e14878?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/3604f57a-e231-4563-81e7-c318a2e14878","name":"3604f57a-e231-4563-81e7-c318a2e14878","status":"Running","startTime":"2021-05-25T06:34:27Z","endTime":""}' headers: cache-control: - no-cache @@ -5392,7 +4612,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:46:17 GMT + - Tue, 25 May 2021 06:35:07 GMT expires: - '-1' pragma: @@ -5426,10 +4646,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3604f57a-e231-4563-81e7-c318a2e14878?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/3604f57a-e231-4563-81e7-c318a2e14878","name":"3604f57a-e231-4563-81e7-c318a2e14878","status":"Running","startTime":"2021-05-25T06:34:27Z","endTime":""}' headers: cache-control: - no-cache @@ -5438,7 +4658,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:46:48 GMT + - Tue, 25 May 2021 06:35:38 GMT expires: - '-1' pragma: @@ -5472,10 +4692,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3604f57a-e231-4563-81e7-c318a2e14878?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/3604f57a-e231-4563-81e7-c318a2e14878","name":"3604f57a-e231-4563-81e7-c318a2e14878","status":"Running","startTime":"2021-05-25T06:34:27Z","endTime":""}' headers: cache-control: - no-cache @@ -5484,7 +4704,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:47:18 GMT + - Tue, 25 May 2021 06:36:09 GMT expires: - '-1' pragma: @@ -5518,10 +4738,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3604f57a-e231-4563-81e7-c318a2e14878?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/3604f57a-e231-4563-81e7-c318a2e14878","name":"3604f57a-e231-4563-81e7-c318a2e14878","status":"Running","startTime":"2021-05-25T06:34:27Z","endTime":""}' headers: cache-control: - no-cache @@ -5530,7 +4750,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:47:48 GMT + - Tue, 25 May 2021 06:36:39 GMT expires: - '-1' pragma: @@ -5564,10 +4784,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3604f57a-e231-4563-81e7-c318a2e14878?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/3604f57a-e231-4563-81e7-c318a2e14878","name":"3604f57a-e231-4563-81e7-c318a2e14878","status":"Running","startTime":"2021-05-25T06:34:27Z","endTime":""}' headers: cache-control: - no-cache @@ -5576,7 +4796,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:48:19 GMT + - Tue, 25 May 2021 06:37:09 GMT expires: - '-1' pragma: @@ -5610,10 +4830,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3604f57a-e231-4563-81e7-c318a2e14878?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/3604f57a-e231-4563-81e7-c318a2e14878","name":"3604f57a-e231-4563-81e7-c318a2e14878","status":"Running","startTime":"2021-05-25T06:34:27Z","endTime":""}' headers: cache-control: - no-cache @@ -5622,7 +4842,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:48:50 GMT + - Tue, 25 May 2021 06:37:40 GMT expires: - '-1' pragma: @@ -5656,10 +4876,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3604f57a-e231-4563-81e7-c318a2e14878?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/3604f57a-e231-4563-81e7-c318a2e14878","name":"3604f57a-e231-4563-81e7-c318a2e14878","status":"Running","startTime":"2021-05-25T06:34:27Z","endTime":""}' headers: cache-control: - no-cache @@ -5668,7 +4888,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:49:20 GMT + - Tue, 25 May 2021 06:38:10 GMT expires: - '-1' pragma: @@ -5702,10 +4922,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3604f57a-e231-4563-81e7-c318a2e14878?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/3604f57a-e231-4563-81e7-c318a2e14878","name":"3604f57a-e231-4563-81e7-c318a2e14878","status":"Running","startTime":"2021-05-25T06:34:27Z","endTime":""}' headers: cache-control: - no-cache @@ -5714,7 +4934,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:49:51 GMT + - Tue, 25 May 2021 06:38:40 GMT expires: - '-1' pragma: @@ -5748,10 +4968,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3604f57a-e231-4563-81e7-c318a2e14878?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/3604f57a-e231-4563-81e7-c318a2e14878","name":"3604f57a-e231-4563-81e7-c318a2e14878","status":"Running","startTime":"2021-05-25T06:34:27Z","endTime":""}' headers: cache-control: - no-cache @@ -5760,7 +4980,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:50:22 GMT + - Tue, 25 May 2021 06:39:11 GMT expires: - '-1' pragma: @@ -5794,10 +5014,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3604f57a-e231-4563-81e7-c318a2e14878?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/3604f57a-e231-4563-81e7-c318a2e14878","name":"3604f57a-e231-4563-81e7-c318a2e14878","status":"Running","startTime":"2021-05-25T06:34:27Z","endTime":""}' headers: cache-control: - no-cache @@ -5806,7 +5026,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:50:52 GMT + - Tue, 25 May 2021 06:39:43 GMT expires: - '-1' pragma: @@ -5840,10 +5060,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3604f57a-e231-4563-81e7-c318a2e14878?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Running","startTime":"2021-05-25T05:44:36Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations//operationStatus/3604f57a-e231-4563-81e7-c318a2e14878","name":"3604f57a-e231-4563-81e7-c318a2e14878","status":"Running","startTime":"2021-05-25T06:34:27Z","endTime":""}' headers: cache-control: - no-cache @@ -5852,7 +5072,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:51:22 GMT + - Tue, 25 May 2021 06:40:13 GMT expires: - '-1' pragma: @@ -5886,10 +5106,10 @@ interactions: User-Agent: - AZURECLI/2.24.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/47318825-ac6a-4116-b3af-186dc629be10?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3604f57a-e231-4563-81e7-c318a2e14878?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/47318825-ac6a-4116-b3af-186dc629be10","name":"47318825-ac6a-4116-b3af-186dc629be10","status":"Succeeded","startTime":"2021-05-25T05:44:36Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/3604f57a-e231-4563-81e7-c318a2e14878","name":"3604f57a-e231-4563-81e7-c318a2e14878","status":"Succeeded","startTime":"2021-05-25T06:34:27Z","endTime":""}' headers: cache-control: - no-cache @@ -5898,7 +5118,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:51:53 GMT + - Tue, 25 May 2021 06:40:43 GMT expires: - '-1' pragma: @@ -5944,7 +5164,7 @@ interactions: content-type: - application/json date: - - Tue, 25 May 2021 05:51:55 GMT + - Tue, 25 May 2021 06:40:45 GMT expires: - '-1' pragma: diff --git a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py index a76995e9c63..23e76474f61 100644 --- a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py +++ b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py @@ -66,4 +66,3 @@ def test_diskpool_Scenario(self, rg): call_scenario(self, rg) calc_coverage(__file__) raise_if() - From e7b56853fa6ed716ce59fbfc313e841e154d3207 Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Tue, 25 May 2021 14:56:33 +0800 Subject: [PATCH 20/30] regenerate --- .../azext_diskpool/generated/commands.py | 1 + src/diskpool/gen.zip | Bin 8851 -> 8851 bytes 2 files changed, 1 insertion(+) diff --git a/src/diskpool/azext_diskpool/generated/commands.py b/src/diskpool/azext_diskpool/generated/commands.py index fc30b7ef54e..8e50bd24d4d 100644 --- a/src/diskpool/azext_diskpool/generated/commands.py +++ b/src/diskpool/azext_diskpool/generated/commands.py @@ -26,6 +26,7 @@ def load_command_table(self, _): 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-skus', 'disk_pool_list_skus') 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') diff --git a/src/diskpool/gen.zip b/src/diskpool/gen.zip index ec5bb879f2c4a992c7a4800efb78fe8ed32c8ca7..505c9f2541b553e62119db5f314d8dbc65aeb7a8 100644 GIT binary patch delta 57 zcmbR2I@y&cz?+$civa{qnQi2$VP`sJwz-S_ktC3woTsP(qGl*2f~en$5g;m5$qoSA CEfP2Y delta 57 zcmbR2I@y&cz?+$civa|b^f&U Date: Tue, 25 May 2021 15:32:49 +0800 Subject: [PATCH 21/30] fix style --- src/diskpool/azext_diskpool/__init__.py | 21 +- src/diskpool/azext_diskpool/action.py | 7 +- src/diskpool/azext_diskpool/custom.py | 7 +- .../generated/_client_factory.py | 4 + .../azext_diskpool/generated/_help.py | 28 +- .../azext_diskpool/generated/_params.py | 6 +- .../azext_diskpool/generated/action.py | 131 ++++--- .../azext_diskpool/generated/commands.py | 39 +- .../azext_diskpool/generated/custom.py | 10 +- src/diskpool/azext_diskpool/manual/_params.py | 9 +- .../azext_diskpool/manual/commands.py | 6 +- .../tests/latest/example_steps.py | 337 ------------------ .../azext_diskpool/tests/latest/preparers.py | 100 +++--- .../tests/latest/test_diskpool_scenario.py | 1 - src/diskpool/gen.zip | Bin 8851 -> 12287 bytes src/diskpool/report.md | 32 +- 16 files changed, 240 insertions(+), 498 deletions(-) delete mode 100644 src/diskpool/azext_diskpool/tests/latest/example_steps.py diff --git a/src/diskpool/azext_diskpool/__init__.py b/src/diskpool/azext_diskpool/__init__.py index cbe2830075c..2b5cb0acbde 100644 --- a/src/diskpool/azext_diskpool/__init__.py +++ b/src/diskpool/azext_diskpool/__init__.py @@ -7,13 +7,10 @@ # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- +# pylint: disable=unused-import +import azext_diskpool._help from azure.cli.core import AzCommandsLoader -from azext_diskpool.generated._help import helps # pylint: disable=unused-import -try: - from azext_diskpool.manual._help import helps # pylint: disable=reimported -except ImportError: - pass class StoragePoolManagementCommandsLoader(AzCommandsLoader): @@ -33,8 +30,11 @@ def load_command_table(self, args): try: from azext_diskpool.manual.commands import load_command_table as load_command_table_manual load_command_table_manual(self, args) - except ImportError: - pass + except ImportError as e: + if e.name.endswith('manual.commands'): + pass + else: + raise e return self.command_table def load_arguments(self, command): @@ -43,8 +43,11 @@ def load_arguments(self, command): try: from azext_diskpool.manual._params import load_arguments as load_arguments_manual load_arguments_manual(self, command) - except ImportError: - pass + except ImportError as e: + if e.name.endswith('manual._params'): + pass + else: + raise e COMMAND_LOADER_CLS = StoragePoolManagementCommandsLoader diff --git a/src/diskpool/azext_diskpool/action.py b/src/diskpool/azext_diskpool/action.py index d95d53bf711..9b3d0a8a78c 100644 --- a/src/diskpool/azext_diskpool/action.py +++ b/src/diskpool/azext_diskpool/action.py @@ -13,5 +13,8 @@ from .generated.action import * # noqa: F403 try: from .manual.action import * # noqa: F403 -except ImportError: - pass +except ImportError as e: + if e.name.endswith('manual.action'): + pass + else: + raise e diff --git a/src/diskpool/azext_diskpool/custom.py b/src/diskpool/azext_diskpool/custom.py index dbe9d5f9742..885447229d6 100644 --- a/src/diskpool/azext_diskpool/custom.py +++ b/src/diskpool/azext_diskpool/custom.py @@ -13,5 +13,8 @@ from .generated.custom import * # noqa: F403 try: from .manual.custom import * # noqa: F403 -except ImportError: - pass +except ImportError as e: + if e.name.endswith('manual.custom'): + pass + else: + raise e diff --git a/src/diskpool/azext_diskpool/generated/_client_factory.py b/src/diskpool/azext_diskpool/generated/_client_factory.py index 16ba3e4f5bc..cd3bcf51fee 100644 --- a/src/diskpool/azext_diskpool/generated/_client_factory.py +++ b/src/diskpool/azext_diskpool/generated/_client_factory.py @@ -20,5 +20,9 @@ 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_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 0c0f40fb142..895341acadc 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['diskpool'] = ''' + type: group + short-summary: Manage Storage Pool Management +''' + helps['disk-pool'] = """ type: group short-summary: Manage disk pool with diskpool @@ -98,15 +103,6 @@ az disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" """ -helps['disk-pool list-skus'] = """ - type: command - short-summary: "Lists available Disk Pool Skus in an Azure location." - examples: - - name: List Disk Pool Skus - text: |- - az disk-pool list-skus --location "eastus" -""" - helps['disk-pool start'] = """ type: command short-summary: "The operation to start a Disk Pool." @@ -141,6 +137,20 @@ az disk-pool wait --name "myDiskPool" --resource-group "myResourceGroup" --deleted """ +helps['diskpool disk-pool-zone'] = """ + type: group + short-summary: Manage disk pool zone with diskpool +""" + +helps['diskpool disk-pool-zone list'] = """ + type: command + short-summary: "Lists available Disk Pool Skus in an Azure location." + examples: + - name: List Disk Pool Skus + text: |- + az diskpool disk-pool-zone list --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 282c6a81caa..1a5f0e225ba 100644 --- a/src/diskpool/azext_diskpool/generated/_params.py +++ b/src/diskpool/azext_diskpool/generated/_params.py @@ -65,9 +65,6 @@ def load_arguments(self, _): c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' 'the Disk Pool.', 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 start') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' @@ -83,6 +80,9 @@ 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('diskpool disk-pool-zone list') 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.') diff --git a/src/diskpool/azext_diskpool/generated/action.py b/src/diskpool/azext_diskpool/generated/action.py index ca10f350d98..8e430773099 100644 --- a/src/diskpool/azext_diskpool/generated/action.py +++ b/src/diskpool/azext_diskpool/generated/action.py @@ -7,19 +7,47 @@ # 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 +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(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, + } + ) + return value_list + except ValueError: + raise CLIError('usage error: {} NAME METRIC OPERATION VALUE'.format(option_string)) + + class AddSku(argparse.Action): 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): @@ -29,55 +57,43 @@ def get_action(self, values, option_string): # pylint: disable=no-self-use raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) d = {} 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): 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) - - 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 - } - ) - return value_list - except ValueError: - raise CLIError('usage error: {} NAME METRIC OPERATION VALUE'.format(option_string)) - -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(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_chunk_list = [values[x: x + 1] for x in range(0, len(values), 1)] value_list = [] for chunk in value_chunk_list: - id, = chunk + id = chunk value_list.append( { - 'id': id + 'id': id, } ) return value_list @@ -85,12 +101,12 @@ def get_action(self, values, option_string=None): 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): @@ -100,24 +116,34 @@ def get_action(self, values, option_string): # pylint: disable=no-self-use raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) d = {} 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): @@ -134,17 +160,20 @@ def get_action(self, values, option_string): # pylint: disable=no-self-use 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): @@ -161,17 +190,20 @@ def get_action(self, values, option_string): # pylint: disable=no-self-use 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): @@ -188,6 +220,9 @@ def get_action(self, values, option_string): # pylint: disable=no-self-use 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 8e50bd24d4d..ad15106670f 100644 --- a/src/diskpool/azext_diskpool/generated/commands.py +++ b/src/diskpool/azext_diskpool/generated/commands.py @@ -9,33 +9,47 @@ # -------------------------------------------------------------------------- # 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_iscsi_target + + +diskpool_disk_pool = CliCommandType( + operations_tmpl='azext_diskpool.vendored_sdks.storagepool.operations._disk_pools_operations#DiskPoolsOperations.{}', + client_factory=cf_disk_pool, +) + + +diskpool_iscsi_target = CliCommandType( + operations_tmpl=( + 'azext_diskpool.vendored_sdks.storagepool.operations._iscsi_targets_operations#IscsiTargetsOperations.{}' + ), + client_factory=cf_iscsi_target, +) + + +diskpool_disk_pool_zone = CliCommandType( + operations_tmpl=( + 'azext_diskpool.vendored_sdks.storagepool.operations._disk_pool_zones_operations#DiskPoolZonesOperations.{}' + ), + client_factory=cf_disk_pool_zone, +) 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-skus', 'disk_pool_list_skus') 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 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') @@ -44,5 +58,8 @@ def load_command_table(self, _): g.custom_command('delete', 'disk_pool_iscsi_target_delete', supports_no_wait=True, confirmation=True) g.custom_wait_command('wait', 'disk_pool_iscsi_target_show') + with self.command_group('diskpool disk-pool-zone', diskpool_disk_pool_zone, client_factory=cf_disk_pool_zone) as g: + g.custom_command('list', 'diskpool_disk_pool_zone_list') + with self.command_group('diskpool', is_experimental=True): pass diff --git a/src/diskpool/azext_diskpool/generated/custom.py b/src/diskpool/azext_diskpool/generated/custom.py index 811c1c55e08..e5b32120099 100644 --- a/src/diskpool/azext_diskpool/generated/custom.py +++ b/src/diskpool/azext_diskpool/generated/custom.py @@ -78,11 +78,6 @@ def disk_pool_delete(client, disk_pool_name=disk_pool_name) -def disk_pool_list_skus(client, - location): - return client.list(location=location) - - def disk_pool_start(client, resource_group_name, disk_pool_name, @@ -103,6 +98,11 @@ def disk_pool_stop(client, disk_pool_name=disk_pool_name) +def diskpool_disk_pool_zone_list(client, + location): + return client.list(location=location) + + def disk_pool_iscsi_target_list(client, resource_group_name, disk_pool_name): diff --git a/src/diskpool/azext_diskpool/manual/_params.py b/src/diskpool/azext_diskpool/manual/_params.py index 2daedcd206b..1d01152d46d 100644 --- a/src/diskpool/azext_diskpool/manual/_params.py +++ b/src/diskpool/azext_diskpool/manual/_params.py @@ -11,17 +11,10 @@ # pylint: disable=too-many-statements from azure.cli.core.commands.parameters import ( - tags_type, - resource_group_name_type, get_location_type ) from azure.cli.core.commands.validators import ( - get_default_location_from_resource_group, - validate_file_or_dict -) -from azext_diskpool.action import ( - AddSku, - AddDisks + get_default_location_from_resource_group ) diff --git a/src/diskpool/azext_diskpool/manual/commands.py b/src/diskpool/azext_diskpool/manual/commands.py index 62756724882..5f22ff64d94 100644 --- a/src/diskpool/azext_diskpool/manual/commands.py +++ b/src/diskpool/azext_diskpool/manual/commands.py @@ -25,8 +25,8 @@ def load_command_table(self, _): g.custom_command('list', 'disk_pool_list', table_transformer=transform_disk_pool_list_output) diskpool_disk_pool_zones = CliCommandType( - operations_tmpl='azext_diskpool.vendored_sdks.storagepool.operations._disk_pool_zones_operations#DiskPoolZonesOperations' - '.{}', + operations_tmpl= + 'azext_diskpool.vendored_sdks.storagepool.operations._disk_pool_zones_operations#DiskPoolZonesOperations.{}', client_factory=cf_disk_pool_zones) - with self.command_group('disk-pool', diskpool_disk_pool_zones, client_factory=cf_disk_pool_zones, is_preview=True) as g: + with self.command_group('disk-pool', diskpool_disk_pool_zones, is_preview=True) as g: g.custom_command('list-skus', 'disk_pool_list_skus') diff --git a/src/diskpool/azext_diskpool/tests/latest/example_steps.py b/src/diskpool/azext_diskpool/tests/latest/example_steps.py deleted file mode 100644 index 59bf237c4b0..00000000000 --- a/src/diskpool/azext_diskpool/tests/latest/example_steps.py +++ /dev/null @@ -1,337 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - - -from .. import try_manual - - -# EXAMPLE: /DiskPools/put/Create or Update Disk Pool -@try_manual -def step_create_required(test, rg, checks=None): - if checks is None: - checks = [] - test.cmd('az disk-pool create ' - '--availability-zones "{zone}" ' - '--subnet-id "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtualNetw' - 'orks/{vn}/subnets/default" ' - '--tier "Basic" ' - '--name "{myDiskPool}" ' - '--resource-group "{rg}"', - checks=[]) - test.cmd('az disk-pool wait --created ' - '--name "{myDiskPool}" ' - '--resource-group "{rg}"', - checks=checks) - - -@try_manual -def step_create(test, rg, checks=None): - if checks is None: - checks = [] - test.cmd('az disk-pool create ' - '--location "{location}" ' - '--availability-zones "{zone}" ' - '--disks "{myDisk1}" ' - '--disks "{myDisk2}" ' - '--subnet-id "{subnet}" ' - '--tier "Basic" ' - '--tags "{tag}" ' - '--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, rg, checks=None): - if checks is None: - checks = [] - test.cmd('az disk-pool show ' - '--name "{myDiskPool}" ' - '--resource-group "{rg}"', - checks=checks) - - -# EXAMPLE: /DiskPools/put/Create or Update Disk pool -@try_manual -def step_create(test, rg, 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/default" ' - '--sku name="Basic_V0" 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, rg, checks=None): - if checks is None: - checks = [] - test.cmd('az disk-pool show ' - '--name "{myDiskPool}" ' - '--resource-group "{rg}"', - checks=checks) - - -# EXAMPLE: /DiskPools/get/List Disk Pool Skus -@try_manual -def step_list_skus(test, rg, checks=None): - if checks is None: - checks = [] - test.cmd('az disk-pool list-skus ' - '--location "eastus"', - checks=checks) - - -# EXAMPLE: /DiskPools/get/List Disk Pools -@try_manual -def step_list(test, rg, 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, rg, checks=None): - if checks is None: - checks = [] - test.cmd('az disk-pool list ' - '-g ""', - checks=checks) - - -# EXAMPLE: /IscsiTargets/put/Create or Update iSCSI Target -@try_manual -def step_iscsi_target_create(test, rg, 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 ' - '--name "{myIscsiTarget}" ' - '--resource-group "{rg}"', - checks=checks) - - -# EXAMPLE: /IscsiTargets/get/Get iSCSI Target -@try_manual -def step_iscsi_target_show(test, rg, 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: /DiskPools/patch/Update Disk Pool -@try_manual -def step_update(test, rg, checks=None): - if checks is None: - checks = [] - test.cmd('az disk-pool update ' - '--name "{myDiskPool}" ' - '--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/default" ' - '--tags key="value" ' - '--resource-group "{rg}"', - checks=checks) - - -# EXAMPLE: /DiskPools/patch/Update Disk pool -@try_manual -def step_update(test, rg, 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" ' - '--tags key="value" ' - '--resource-group "{rg}"', - checks=checks) - - -# EXAMPLE: /DiskPools/post/Deallocate Disk Pool -@try_manual -def step_stop(test, rg, 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, rg, checks=None): - if checks is None: - checks = [] - test.cmd('az disk-pool start ' - '--name "{myDiskPool}" ' - '--resource-group "{rg}"', - checks=checks) - - -# EXAMPLE: /DiskPools/delete/Delete Disk pool -@try_manual -def step_delete(test, rg, checks=None): - if checks is None: - checks = [] - test.cmd('az disk-pool delete -y ' - '--name "{myDiskPool}" ' - '--resource-group "{rg}"', - checks=checks) - -# EXAMPLE: /IscsiTargets/put/Create or Update iSCSI Target -@try_manual -def step_iscsi_target_create(test, rg, rg_2, 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 ' - '--name "{myIscsiTarget}" ' - '--resource-group "{rg}"', - checks=checks) - - -# EXAMPLE: /IscsiTargets/get/Get iSCSI Target -@try_manual -def step_iscsi_target_show(test, rg, rg_2, 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, rg, 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: /DiskPools/delete/Delete Disk Pool -@try_manual -def step_delete(test, rg, checks=None): - if checks is None: - checks = [] - test.cmd('az disk-pool delete -y ' - '--name "{myDiskPool}" ' - '--resource-group "{rg}"', - checks=checks) - - -# EXAMPLE: /IscsiTargets/patch/Update iSCSI Target -@try_manual -def step_iscsi_target_update(test, rg, 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, rg, 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) - - -# EXAMPLE: /IscsiTargets/patch/Update iSCSI Target -@try_manual -def step_iscsi_target_update(test, rg, rg_2, 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, rg, rg_2, 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 index 0879e51945a..7fc50485f49 100644 --- a/src/diskpool/azext_diskpool/tests/latest/preparers.py +++ b/src/diskpool/azext_diskpool/tests/latest/preparers.py @@ -23,17 +23,19 @@ class VirtualNetworkPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): - def __init__(self, name_prefix='clitest.vn', - parameter_name='virtual_network', - resource_group_name=None, - resource_group_key=KEY_RESOURCE_GROUP, - dev_setting_name='AZURE_CLI_TEST_DEV_VIRTUAL_NETWORK_NAME', - random_name_length=24, key=KEY_VIRTUAL_NETWORK): + def __init__( + self, + name_prefix='clitest.vn', + parameter_name='virtual_network', + resource_group_name=None, + resource_group_key=KEY_RESOURCE_GROUP, + dev_setting_name='AZURE_CLI_TEST_DEV_VIRTUAL_NETWORK_NAME', + random_name_length=24, + key=KEY_VIRTUAL_NETWORK, + ): if ' ' in name_prefix: - raise CliTestError( - 'Error: Space character in name prefix \'%s\'' % name_prefix) - super(VirtualNetworkPreparer, self).__init__( - name_prefix, random_name_length) + raise CliTestError('Error: Space character in name prefix \'%s\'' % name_prefix) + super(VirtualNetworkPreparer, self).__init__(name_prefix, random_name_length) self.cli_ctx = get_dummy_cli() self.parameter_name = parameter_name self.key = key @@ -43,23 +45,21 @@ def __init__(self, name_prefix='clitest.vn', def create_resource(self, name, **_): if self.dev_setting_name: - return {self.parameter_name: self.dev_setting_name, } + return { + self.parameter_name: self.dev_setting_name, + } if not self.resource_group_name: - self.resource_group_name = self.test_class_instance.kwargs.get( - self.resource_group_key) + self.resource_group_name = self.test_class_instance.kwargs.get(self.resource_group_key) if not self.resource_group_name: raise CliTestError("Error: No resource group configured!") - tags = {'product': 'azurecli', 'cause': 'automation', - 'date': datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ')} + tags = {'product': 'azurecli', 'cause': 'automation', 'date': datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ')} if 'ENV_JOB_NAME' in os.environ: tags['job'] = os.environ['ENV_JOB_NAME'] - tags = ' '.join(['{}={}'.format(key, value) - for key, value in tags.items()]) + tags = ' '.join(['{}={}'.format(key, value) for key, value in tags.items()]) template = 'az network vnet create --resource-group {} --name {} --subnet-name default --tag ' + tags - self.live_only_execute(self.cli_ctx, template.format( - self.resource_group_name, name)) + self.live_only_execute(self.cli_ctx, template.format(self.resource_group_name, name)) self.test_class_instance.kwargs[self.key] = name return {self.parameter_name: name} @@ -69,20 +69,23 @@ def remove_resource(self, name, **_): if not self.dev_setting_name: self.live_only_execute( self.cli_ctx, - 'az network vnet delete --name {} --resource-group {}'.format(name, self.resource_group_name)) + 'az network vnet delete --name {} --resource-group {}'.format(name, self.resource_group_name), + ) class VnetSubnetPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): - def __init__(self, name_prefix='clitest.vn', - parameter_name='subnet', - resource_group_key=KEY_RESOURCE_GROUP, - vnet_key=KEY_VIRTUAL_NETWORK, - address_prefixes="11.0.0.0/24", - dev_setting_name='AZURE_CLI_TEST_DEV_VNET_SUBNET_NAME', - key=KEY_VNET_SUBNET): + def __init__( + self, + name_prefix='clitest.vn', + parameter_name='subnet', + resource_group_key=KEY_RESOURCE_GROUP, + vnet_key=KEY_VIRTUAL_NETWORK, + address_prefixes="11.0.0.0/24", + dev_setting_name='AZURE_CLI_TEST_DEV_VNET_SUBNET_NAME', + key=KEY_VNET_SUBNET, + ): if ' ' in name_prefix: - raise CliTestError( - 'Error: Space character in name prefix \'%s\'' % name_prefix) + raise CliTestError('Error: Space character in name prefix \'%s\'' % name_prefix) super(VnetSubnetPreparer, self).__init__(name_prefix, 15) self.cli_ctx = get_dummy_cli() self.parameter_name = parameter_name @@ -94,11 +97,12 @@ def __init__(self, name_prefix='clitest.vn', def create_resource(self, name, **_): if self.dev_setting_name: - return {self.parameter_name: self.dev_setting_name, } + return { + self.parameter_name: self.dev_setting_name, + } if not self.resource_group[1]: - self.resource_group[1] = self.test_class_instance.kwargs.get( - self.resource_group[0]) + self.resource_group[1] = self.test_class_instance.kwargs.get(self.resource_group[0]) if not self.resource_group[1]: raise CliTestError("Error: No resource group configured!") if not self.vnet[1]: @@ -114,15 +118,17 @@ def remove_resource(self, name, **_): class VnetNicPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): - def __init__(self, name_prefix='clitest.nic', - parameter_name='subnet', - resource_group_key=KEY_RESOURCE_GROUP, - vnet_key=KEY_VIRTUAL_NETWORK, - dev_setting_name='AZURE_CLI_TEST_DEV_VNET_NIC_NAME', - key=KEY_VNET_NIC): + def __init__( + self, + name_prefix='clitest.nic', + parameter_name='subnet', + resource_group_key=KEY_RESOURCE_GROUP, + vnet_key=KEY_VIRTUAL_NETWORK, + dev_setting_name='AZURE_CLI_TEST_DEV_VNET_NIC_NAME', + key=KEY_VNET_NIC, + ): if ' ' in name_prefix: - raise CliTestError( - 'Error: Space character in name prefix \'%s\'' % name_prefix) + raise CliTestError('Error: Space character in name prefix \'%s\'' % name_prefix) super(VnetNicPreparer, self).__init__(name_prefix, 15) self.cli_ctx = get_dummy_cli() self.parameter_name = parameter_name @@ -133,11 +139,12 @@ def __init__(self, name_prefix='clitest.nic', def create_resource(self, name, **_): if self.dev_setting_name: - return {self.parameter_name: self.dev_setting_name, } + return { + self.parameter_name: self.dev_setting_name, + } if not self.resource_group[1]: - self.resource_group[1] = self.test_class_instance.kwargs.get( - self.resource_group[0]) + self.resource_group[1] = self.test_class_instance.kwargs.get(self.resource_group[0]) if not self.resource_group[1]: raise CliTestError("Error: No resource group configured!") if not self.vnet[1]: @@ -146,8 +153,7 @@ def create_resource(self, name, **_): raise CliTestError("Error: No vnet configured!") template = 'az network nic create --resource-group {} --name {} --vnet-name {} --subnet default ' - self.live_only_execute(self.cli_ctx, template.format( - self.resource_group[1], name, self.vnet[1])) + self.live_only_execute(self.cli_ctx, template.format(self.resource_group[1], name, self.vnet[1])) self.test_class_instance.kwargs[self.key] = name return {self.parameter_name: name} @@ -155,5 +161,5 @@ def create_resource(self, name, **_): def remove_resource(self, name, **_): if not self.dev_setting_name: self.live_only_execute( - self.cli_ctx, - 'az network nic delete --name {} --resource-group {}'.format(name, self.resource_group[1])) + self.cli_ctx, 'az network nic delete --name {} --resource-group {}'.format(name, self.resource_group[1]) + ) diff --git a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py index 23e76474f61..0e14d73a790 100644 --- a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py +++ b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py @@ -12,7 +12,6 @@ from azure.cli.testsdk import ScenarioTest from azure.cli.testsdk import ResourceGroupPreparer from .preparers import VirtualNetworkPreparer -from .example_steps import step_create, step_create_required from .. import ( try_manual, raise_if, diff --git a/src/diskpool/gen.zip b/src/diskpool/gen.zip index 505c9f2541b553e62119db5f314d8dbc65aeb7a8..74d9354724eb89cbec45997d5e37d50f07083a5a 100644 GIT binary patch literal 12287 zcmeHN&2A&P5!U`BSqM4ik{cr*ByZF$?<9)_3<#KsJu!@#@fwzQ5bW%Lpt~uF>;7A^ zB}?NtFOWm-ds-k!4tax|k~hd9FOXASB9~N={jZiKJ5qLLFfwGD-Nh=hSp15`s?#SQ zeAsN@=h6OO&;Ikz-~RsRKWa4a`zbtQulOvcu27dz7HYX07C=T46P)Zbi z!N+VWLP=QQk}CnzyWqqNfsYvKF*?XjC}1ObCLXzNO!ro^DSS|IOhVNh%Frk5)kJdJ z@r11{!M!92!5~@vbC~D~QqV;>kq$qS;UqehJYted)5ngIrb_uf7c!nO?}W!!p}ee6 z+bLD2N#GO9IrUipH^zitM^kIH>#Nx5d zE)@Rlr0uUm5oC?@C8a~*aY}c)q;1>nUF5Yx9tTsRcsz-+ozQ%kkErSLVdZrPRoEqR zw7ai|8!@FaPL9W6Cb#ga5-jD0E8;N4_er`&3*!RSc-g3{jLLJ$-|8{%kiq%mQ*!e8 zIr;VHUz{B7lind<#VKHg>P3^dcOW_JirH+Y$(IjWPaKCz91rw>d#--G<~0gIKuV{C zJv+q)=u}HYwNokr5mVYx+#7bu$4rhC{Q3Cu3ja&Aj|QYB5tp4h-d$KbZ@6n`tg1}3 zFwFz#Y{S`}L@rFebDh0Jg0`AmC`XD2af=GKy{~!OBOcSrtIlrL^9GCzd*cU(a=QqB zo~{CLZx>o-D;PE~6n}oK93{>{4?H%c#RoYxir4ZV*6!X;z;sH9JRXy006qjTvBACADW3jtl#~sq)h{uOhL#r03k9#9XdkT zp{aBu2(1K%oO`p>mJ*xEHYuvEyj_e@0YSDtC8X(OXpy~7aS4{Ud763OZ@~Nh;UEA0 z@-IJaH1OM9;eGjx`4Pa7ig^U+_0H*L=Yluh=_bxFb8iJVqCL%T9z8pK`gjS}5k4{KRI7%DO_}i6g#a*_TdzR8BCSvA z2vHuq>lMLM^{$IefZ3Z~iU9iD0R(b%(}Q!~RKUSd^|E87eGvNKxp+_W?M;14gWF+s z7A$6{U%K}ij;U5ppb!8?OSl`T*J~ z8)*HCDdEuPpx;<<**ERFE-@P^?M_-#=1q7V334Q@>)aF8%1$lB(mn#{!9-f^+zV>+ zO*YDlmj>{cnEn+LF&xCr4sdJCd-EeQ14|C0H4p(VzIVjqRj8oG;nfx~0olJc>Ub*P zz=^w<=o4!_OnN}HMTH>y8im}&7S~z%%2Y8-Eh6OdsXzF?&wWH%%XZzWnL_a9jCe{T!hxLO7=gUg}}P?u>0h_h zHN;!gixEJq`D>t?FY!Fz!xKr_FOk9JMAe%O!Xd@5f?_a0x8{{~6Nj}T~~Z7Gg@Pl zA>JH81a!xJwdIJYr0XT&(VL{i$jUNp})j8Kt6>B zF}l1c0*{BY@3)K>tokb}cY>QS!}1aKj&`{9BW=kJZ#&;^%@psm>&rQxgTMXxkMBdS z2frV|7cybYhEjyME2aXtQWQ{o5cb$*r!9Ter|J?!Ps`tE|TF6|`y;4SS;I zX|_e)LaZ}uoIxJ!e*`&%!4&C;H8KyG>w>{4%am~GQj0xX|MVVw(z*o@4fJZ|Ee9s7 zZ8Nx5vjTvNYjzsNhKe)_FB~~ z^?erW^vQeg|D>_JLLEY(!slM~>O~QCWq3LN-$7aYZ6c~gc~#EUU@zw^f0l=S)n3)m gFYom&^tx?4#X#`%$q#;rJwJq>o82#*Vo&8g592psVIH& z0kMF|0laLRqq)SH*i%x|5=(PRCOdMAZ0_gjVMJ0eIiGL#D^R&&lP3w3APH@b5)?po z+T?x0`;nw4UleJW>>$HCxlKF}S$K~E?`8`LZl=jya+;IR%ll7$E#-tR-zP1E;wPY< z$&9l1(Um#MsiQbxkHWUe5BMY|M~hk^D}5lEd97@0&EVBtS`on9g@O88Hf r(f4IKWi~lmUq&fOk%1vMwIormq@pCio0Sa|XUstO8Ax{lCommands in `az disk-pool` group @@ -22,7 +23,6 @@ |[az disk-pool create](#DiskPoolsCreateOrUpdate#Create)|CreateOrUpdate#Create|[Parameters](#ParametersDiskPoolsCreateOrUpdate#Create)|[Example](#ExamplesDiskPoolsCreateOrUpdate#Create)| |[az disk-pool update](#DiskPoolsUpdate)|Update|[Parameters](#ParametersDiskPoolsUpdate)|[Example](#ExamplesDiskPoolsUpdate)| |[az disk-pool delete](#DiskPoolsDelete)|Delete|[Parameters](#ParametersDiskPoolsDelete)|[Example](#ExamplesDiskPoolsDelete)| -|[az disk-pool list-skus](#DiskPoolsList)|List|[Parameters](#ParametersDiskPoolsList)|[Example](#ExamplesDiskPoolsList)| |[az disk-pool start](#DiskPoolsStart)|Start|[Parameters](#ParametersDiskPoolsStart)|[Example](#ExamplesDiskPoolsStart)| |[az disk-pool stop](#DiskPoolsDeallocate)|Deallocate|[Parameters](#ParametersDiskPoolsDeallocate)|[Example](#ExamplesDiskPoolsDeallocate)| @@ -35,9 +35,13 @@ |[az disk-pool iscsi-target update](#IscsiTargetsUpdate)|Update|[Parameters](#ParametersIscsiTargetsUpdate)|[Example](#ExamplesIscsiTargetsUpdate)| |[az disk-pool iscsi-target delete](#IscsiTargetsDelete)|Delete|[Parameters](#ParametersIscsiTargetsDelete)|[Example](#ExamplesIscsiTargetsDelete)| +### Commands in `az diskpool disk-pool-zone` group +|CLI Command|Operation Swagger name|Parameters|Examples| +|---------|------------|--------|-----------| +|[az diskpool disk-pool-zone list](#DiskPoolZonesList)|List|[Parameters](#ParametersDiskPoolZonesList)|[Example](#ExamplesDiskPoolZonesList)| -## COMMAND DETAILS +## COMMAND DETAILS ### group `az disk-pool` #### Command `az disk-pool list` @@ -59,6 +63,7 @@ az disk-pool list ##### Parameters |Option|Type|Description|Path (SDK)|Swagger name| |------|----|-----------|----------|------------| + #### Command `az disk-pool show` ##### Example @@ -124,17 +129,6 @@ az disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" |**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| |**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| -#### Command `az disk-pool list-skus` - -##### Example -``` -az disk-pool list-skus --location "eastus" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--location**|string|The location of the resource.|location|location| - #### Command `az disk-pool start` ##### Example @@ -236,3 +230,15 @@ az disk-pool iscsi-target delete --disk-pool-name "myDiskPool" --name "myIscsiTa |**--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| + +### group `az diskpool disk-pool-zone` +#### Command `az diskpool disk-pool-zone list` + +##### Example +``` +az diskpool disk-pool-zone list --location "eastus" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--location**|string|The location of the resource.|location|location| From 5b6a0eccf4be8cce79150c0516de0578b86f69fc Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Tue, 25 May 2021 15:34:23 +0800 Subject: [PATCH 22/30] fix style --- src/diskpool/azext_diskpool/generated/action.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/diskpool/azext_diskpool/generated/action.py b/src/diskpool/azext_diskpool/generated/action.py index 8e430773099..ce74be200d5 100644 --- a/src/diskpool/azext_diskpool/generated/action.py +++ b/src/diskpool/azext_diskpool/generated/action.py @@ -116,25 +116,17 @@ def get_action(self, values, option_string): raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) d = {} 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) ) - return d From efce5419d00cc5e7fdfba3a478c58c070c8b75ae Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Tue, 25 May 2021 15:35:45 +0800 Subject: [PATCH 23/30] fix style --- src/diskpool/azext_diskpool/generated/action.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/diskpool/azext_diskpool/generated/action.py b/src/diskpool/azext_diskpool/generated/action.py index ce74be200d5..01d8f203151 100644 --- a/src/diskpool/azext_diskpool/generated/action.py +++ b/src/diskpool/azext_diskpool/generated/action.py @@ -57,24 +57,16 @@ def get_action(self, values, option_string): raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) d = {} 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) ) - return d From 7fa2886e099ffacb9b4c63074afbc70840f3a55d Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Tue, 25 May 2021 15:51:32 +0800 Subject: [PATCH 24/30] regenerate --- .../azext_diskpool/generated/_help.py | 25 +++++------- .../azext_diskpool/generated/_params.py | 6 +-- .../azext_diskpool/generated/action.py | 37 ++++++++++++++++++ .../azext_diskpool/generated/commands.py | 12 +----- .../azext_diskpool/generated/custom.py | 10 ++--- .../azext_diskpool/manual/_client_factory.py | 15 ------- .../azext_diskpool/manual/commands.py | 10 +---- src/diskpool/gen.zip | Bin 12287 -> 12264 bytes src/diskpool/report.md | 30 ++++++-------- 9 files changed, 69 insertions(+), 76 deletions(-) delete mode 100644 src/diskpool/azext_diskpool/manual/_client_factory.py diff --git a/src/diskpool/azext_diskpool/generated/_help.py b/src/diskpool/azext_diskpool/generated/_help.py index 895341acadc..3dc6812269f 100644 --- a/src/diskpool/azext_diskpool/generated/_help.py +++ b/src/diskpool/azext_diskpool/generated/_help.py @@ -12,7 +12,7 @@ from knack.help_files import helps -helps['diskpool'] = ''' +helps['disk-pool'] = ''' type: group short-summary: Manage Storage Pool Management ''' @@ -103,6 +103,15 @@ az disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" """ +helps['disk-pool list-skus'] = """ + type: command + short-summary: "Lists available Disk Pool Skus in an Azure location." + examples: + - name: List Disk Pool Skus + text: |- + az disk-pool list-skus --location "eastus" +""" + helps['disk-pool start'] = """ type: command short-summary: "The operation to start a Disk Pool." @@ -137,20 +146,6 @@ az disk-pool wait --name "myDiskPool" --resource-group "myResourceGroup" --deleted """ -helps['diskpool disk-pool-zone'] = """ - type: group - short-summary: Manage disk pool zone with diskpool -""" - -helps['diskpool disk-pool-zone list'] = """ - type: command - short-summary: "Lists available Disk Pool Skus in an Azure location." - examples: - - name: List Disk Pool Skus - text: |- - az diskpool disk-pool-zone list --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 1a5f0e225ba..282c6a81caa 100644 --- a/src/diskpool/azext_diskpool/generated/_params.py +++ b/src/diskpool/azext_diskpool/generated/_params.py @@ -65,6 +65,9 @@ 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 start') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' @@ -80,9 +83,6 @@ def load_arguments(self, _): c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' 'the Disk Pool.', id_part='name') - with self.argument_context('diskpool disk-pool-zone list') 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.') diff --git a/src/diskpool/azext_diskpool/generated/action.py b/src/diskpool/azext_diskpool/generated/action.py index 01d8f203151..4e4d509a5c2 100644 --- a/src/diskpool/azext_diskpool/generated/action.py +++ b/src/diskpool/azext_diskpool/generated/action.py @@ -57,16 +57,24 @@ def get_action(self, values, option_string): raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) d = {} 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) ) + return d @@ -108,17 +116,25 @@ def get_action(self, values, option_string): raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) d = {} 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) ) + return d @@ -137,12 +153,19 @@ def get_action(self, values, option_string): raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) d = {} 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,' @@ -167,12 +190,19 @@ def get_action(self, values, option_string): raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) d = {} 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,' @@ -197,12 +227,19 @@ def get_action(self, values, option_string): raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string)) d = {} 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,' diff --git a/src/diskpool/azext_diskpool/generated/commands.py b/src/diskpool/azext_diskpool/generated/commands.py index ad15106670f..e66fd811338 100644 --- a/src/diskpool/azext_diskpool/generated/commands.py +++ b/src/diskpool/azext_diskpool/generated/commands.py @@ -30,14 +30,6 @@ ) -diskpool_disk_pool_zone = CliCommandType( - operations_tmpl=( - 'azext_diskpool.vendored_sdks.storagepool.operations._disk_pool_zones_operations#DiskPoolZonesOperations.{}' - ), - client_factory=cf_disk_pool_zone, -) - - def load_command_table(self, _): with self.command_group('disk-pool', diskpool_disk_pool, client_factory=cf_disk_pool) as g: @@ -46,6 +38,7 @@ def load_command_table(self, _): 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-skus', 'disk_pool_list_skus', client_factory=cf_disk_pool_zone) 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') @@ -58,8 +51,5 @@ def load_command_table(self, _): g.custom_command('delete', 'disk_pool_iscsi_target_delete', supports_no_wait=True, confirmation=True) g.custom_wait_command('wait', 'disk_pool_iscsi_target_show') - with self.command_group('diskpool disk-pool-zone', diskpool_disk_pool_zone, client_factory=cf_disk_pool_zone) as g: - g.custom_command('list', 'diskpool_disk_pool_zone_list') - with self.command_group('diskpool', is_experimental=True): pass diff --git a/src/diskpool/azext_diskpool/generated/custom.py b/src/diskpool/azext_diskpool/generated/custom.py index e5b32120099..811c1c55e08 100644 --- a/src/diskpool/azext_diskpool/generated/custom.py +++ b/src/diskpool/azext_diskpool/generated/custom.py @@ -78,6 +78,11 @@ def disk_pool_delete(client, disk_pool_name=disk_pool_name) +def disk_pool_list_skus(client, + location): + return client.list(location=location) + + def disk_pool_start(client, resource_group_name, disk_pool_name, @@ -98,11 +103,6 @@ def disk_pool_stop(client, disk_pool_name=disk_pool_name) -def diskpool_disk_pool_zone_list(client, - location): - return client.list(location=location) - - def disk_pool_iscsi_target_list(client, resource_group_name, disk_pool_name): diff --git a/src/diskpool/azext_diskpool/manual/_client_factory.py b/src/diskpool/azext_diskpool/manual/_client_factory.py deleted file mode 100644 index 242ff3ac222..00000000000 --- a/src/diskpool/azext_diskpool/manual/_client_factory.py +++ /dev/null @@ -1,15 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from ..generated._client_factory import cf_diskpool_cl - - -def cf_disk_pool_zones(cli_ctx, *_): - return cf_diskpool_cl(cli_ctx).disk_pool_zones diff --git a/src/diskpool/azext_diskpool/manual/commands.py b/src/diskpool/azext_diskpool/manual/commands.py index 5f22ff64d94..d6d1f61f043 100644 --- a/src/diskpool/azext_diskpool/manual/commands.py +++ b/src/diskpool/azext_diskpool/manual/commands.py @@ -14,8 +14,7 @@ def load_command_table(self, _): - from azext_diskpool.generated._client_factory import cf_disk_pool - from azext_diskpool.manual._client_factory import cf_disk_pool_zones + from azext_diskpool.generated._client_factory import cf_disk_pool, cf_disk_pool_zone diskpool_disk_pool = CliCommandType( operations_tmpl='azext_diskpool.vendored_sdks.storagepool.operations._disk_pools_operations#DiskPoolsOperations' '.{}', @@ -23,10 +22,3 @@ def load_command_table(self, _): with self.command_group('disk-pool', diskpool_disk_pool, client_factory=cf_disk_pool, is_preview=True) as g: from ._transformers import transform_disk_pool_list_output g.custom_command('list', 'disk_pool_list', table_transformer=transform_disk_pool_list_output) - - diskpool_disk_pool_zones = CliCommandType( - operations_tmpl= - 'azext_diskpool.vendored_sdks.storagepool.operations._disk_pool_zones_operations#DiskPoolZonesOperations.{}', - client_factory=cf_disk_pool_zones) - with self.command_group('disk-pool', diskpool_disk_pool_zones, is_preview=True) as g: - g.custom_command('list-skus', 'disk_pool_list_skus') diff --git a/src/diskpool/gen.zip b/src/diskpool/gen.zip index 74d9354724eb89cbec45997d5e37d50f07083a5a..58de247e213c2f6c7a21400803a77c834bd8f91b 100644 GIT binary patch delta 188 zcmew#{~~@v2fL7o?arWvGpC{_OENHkunxmyeSN*nC)l0XC-;g;bLM0gm&6xmmljV} z6o_Zl1+x;lWGB0dn@qmX%eVOtUntvT2N~YYZQ^e@CqLkm*c>g&!pIZg&CJ5Z00Jhq zlj{`Km`rRpFH_9q16=x(PL5XOVk)$noUW(_q&D{}X7ci)IAAiXzOOt;#CiX+#Y_wg3?R$_#0XF{xlmsm iWJs634AU&d$@3Mp!~(oo*+42-fY6hXfnk9jhz9_>6-1Z- diff --git a/src/diskpool/report.md b/src/diskpool/report.md index e10bbda0002..c4ba00c9126 100644 --- a/src/diskpool/report.md +++ b/src/diskpool/report.md @@ -11,7 +11,6 @@ |---------|------------|--------| |az disk-pool|DiskPools|[commands](#CommandsInDiskPools)| |az disk-pool iscsi-target|IscsiTargets|[commands](#CommandsInIscsiTargets)| -|az diskpool disk-pool-zone|DiskPoolZones|[commands](#CommandsInDiskPoolZones)| ## COMMANDS ### Commands in `az disk-pool` group @@ -23,6 +22,7 @@ |[az disk-pool create](#DiskPoolsCreateOrUpdate#Create)|CreateOrUpdate#Create|[Parameters](#ParametersDiskPoolsCreateOrUpdate#Create)|[Example](#ExamplesDiskPoolsCreateOrUpdate#Create)| |[az disk-pool update](#DiskPoolsUpdate)|Update|[Parameters](#ParametersDiskPoolsUpdate)|[Example](#ExamplesDiskPoolsUpdate)| |[az disk-pool delete](#DiskPoolsDelete)|Delete|[Parameters](#ParametersDiskPoolsDelete)|[Example](#ExamplesDiskPoolsDelete)| +|[az disk-pool list-skus](#DiskPoolsList)|List|[Parameters](#ParametersDiskPoolsList)|[Example](#ExamplesDiskPoolsList)| |[az disk-pool start](#DiskPoolsStart)|Start|[Parameters](#ParametersDiskPoolsStart)|[Example](#ExamplesDiskPoolsStart)| |[az disk-pool stop](#DiskPoolsDeallocate)|Deallocate|[Parameters](#ParametersDiskPoolsDeallocate)|[Example](#ExamplesDiskPoolsDeallocate)| @@ -35,11 +35,6 @@ |[az disk-pool iscsi-target update](#IscsiTargetsUpdate)|Update|[Parameters](#ParametersIscsiTargetsUpdate)|[Example](#ExamplesIscsiTargetsUpdate)| |[az disk-pool iscsi-target delete](#IscsiTargetsDelete)|Delete|[Parameters](#ParametersIscsiTargetsDelete)|[Example](#ExamplesIscsiTargetsDelete)| -### Commands in `az diskpool disk-pool-zone` group -|CLI Command|Operation Swagger name|Parameters|Examples| -|---------|------------|--------|-----------| -|[az diskpool disk-pool-zone list](#DiskPoolZonesList)|List|[Parameters](#ParametersDiskPoolZonesList)|[Example](#ExamplesDiskPoolZonesList)| - ## COMMAND DETAILS ### group `az disk-pool` @@ -129,6 +124,17 @@ az disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" |**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| |**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| +#### Command `az disk-pool list-skus` + +##### Example +``` +az disk-pool list-skus --location "eastus" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--location**|string|The location of the resource.|location|location| + #### Command `az disk-pool start` ##### Example @@ -230,15 +236,3 @@ az disk-pool iscsi-target delete --disk-pool-name "myDiskPool" --name "myIscsiTa |**--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| - -### group `az diskpool disk-pool-zone` -#### Command `az diskpool disk-pool-zone list` - -##### Example -``` -az diskpool disk-pool-zone list --location "eastus" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--location**|string|The location of the resource.|location|location| From 5afb4e21668b5c519d030fa734c69624f03c0010 Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Tue, 25 May 2021 15:54:07 +0800 Subject: [PATCH 25/30] add files and fix cred --- scripts/ci/credscan/CredScanSuppressions.json | 8 +- ...icommon-000010-prename-pre-simplified.yaml | 378 + .../clicommon-000010-prename-pre.yaml | 5156 +++++++++++ ...common-000020-prename-post-simplified.yaml | 942 ++ .../clicommon-000020-prename-post.yaml | 5632 ++++++++++++ ...modeler-post-processor-pre-simplified.yaml | 896 ++ ...mon-000030-modeler-post-processor-pre.yaml | 5543 ++++++++++++ ...odeler-post-processor-post-simplified.yaml | 1167 +++ ...on-000040-modeler-post-processor-post.yaml | 5772 ++++++++++++ ...mmon-000050-m4-flatten-pre-simplified.yaml | 1167 +++ .../clicommon-000050-m4-flatten-pre.yaml | 5772 ++++++++++++ ...000060-split-operation-pre-simplified.yaml | 1167 +++ .../clicommon-000060-split-operation-pre.yaml | 5772 ++++++++++++ ...00070-split-operation-post-simplified.yaml | 1244 +++ ...clicommon-000070-split-operation-post.yaml | 5997 +++++++++++++ ...mon-000080-m4-flatten-post-simplified.yaml | 1167 +++ .../clicommon-000080-m4-flatten-post.yaml | 5772 ++++++++++++ ...-000090-complex-marker-pre-simplified.yaml | 1244 +++ .../clicommon-000090-complex-marker-pre.yaml | 5997 +++++++++++++ ...000100-complex-marker-post-simplified.yaml | 1413 +++ .../clicommon-000100-complex-marker-post.yaml | 6254 +++++++++++++ ...icommon-000110-m4namer-pre-simplified.yaml | 1167 +++ .../clicommon-000110-m4namer-pre.yaml | 5772 ++++++++++++ ...common-000120-m4namer-post-simplified.yaml | 1438 +++ .../clicommon-000120-m4namer-post.yaml | 5999 +++++++++++++ ...mon-000130-flatten-set-pre-simplified.yaml | 1413 +++ .../clicommon-000130-flatten-set-pre.yaml | 6254 +++++++++++++ ...on-000140-flatten-set-post-simplified.yaml | 1419 +++ .../clicommon-000140-flatten-set-post.yaml | 6260 +++++++++++++ ...icommon-000150-flatten-pre-simplified.yaml | 1419 +++ .../clicommon-000150-flatten-pre.yaml | 6260 +++++++++++++ ...common-000160-flatten-post-simplified.yaml | 1581 ++++ .../clicommon-000160-flatten-post.yaml | 6821 ++++++++++++++ ...00170-poly-as-resource-pre-simplified.yaml | 1570 ++++ ...clicommon-000170-poly-as-resource-pre.yaml | 6821 ++++++++++++++ ...0180-poly-as-resource-post-simplified.yaml | 1570 ++++ ...licommon-000180-poly-as-resource-post.yaml | 6821 ++++++++++++++ ...icommon-000190-flatten-pre-simplified.yaml | 1570 ++++ .../clicommon-000190-flatten-pre.yaml | 6821 ++++++++++++++ ...common-000200-flatten-post-simplified.yaml | 1570 ++++ .../clicommon-000200-flatten-post.yaml | 6821 ++++++++++++++ ...common-000210-modifier-pre-simplified.yaml | 1570 ++++ .../clicommon-000210-modifier-pre.yaml | 6821 ++++++++++++++ ...ommon-000220-modifier-post-simplified.yaml | 1580 ++++ .../clicommon-000220-modifier-post.yaml | 6829 ++++++++++++++ ...clicommon-000230-namer-pre-simplified.yaml | 1580 ++++ .../_az_debug/clicommon-000230-namer-pre.yaml | 6829 ++++++++++++++ ...licommon-000240-namer-post-simplified.yaml | 2086 +++++ .../clicommon-000240-namer-post.yaml | 7847 ++++++++++++++++ .../clicommon-000250-test-pre-simplified.yaml | 2086 +++++ .../_az_debug/clicommon-000250-test-pre.yaml | 7847 ++++++++++++++++ ...clicommon-000260-test-post-simplified.yaml | 2086 +++++ .../_az_debug/clicommon-000260-test-post.yaml | 7849 +++++++++++++++++ ...-000270-complex-marker-pre-simplified.yaml | 2086 +++++ .../clicommon-000270-complex-marker-pre.yaml | 7849 +++++++++++++++++ ...000280-complex-marker-post-simplified.yaml | 2086 +++++ .../clicommon-000280-complex-marker-post.yaml | 7849 +++++++++++++++++ .../clicommon-flatten-object-map.txt | 28 + src/diskpool/azext_diskpool/_help.py | 20 + .../tests/latest/example_steps.py | 198 + .../latest/test_diskpool_scenario_coverage.md | 2 + 61 files changed, 222954 insertions(+), 1 deletion(-) create mode 100644 src/diskpool/_az_debug/clicommon-000010-prename-pre-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000010-prename-pre.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000020-prename-post-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000020-prename-post.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000030-modeler-post-processor-pre-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000030-modeler-post-processor-pre.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000040-modeler-post-processor-post-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000040-modeler-post-processor-post.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000050-m4-flatten-pre-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000050-m4-flatten-pre.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000060-split-operation-pre-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000060-split-operation-pre.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000070-split-operation-post-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000070-split-operation-post.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000080-m4-flatten-post-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000080-m4-flatten-post.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000090-complex-marker-pre-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000090-complex-marker-pre.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000100-complex-marker-post-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000100-complex-marker-post.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000110-m4namer-pre-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000110-m4namer-pre.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000120-m4namer-post-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000120-m4namer-post.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000130-flatten-set-pre-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000130-flatten-set-pre.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000140-flatten-set-post-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000140-flatten-set-post.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000150-flatten-pre-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000150-flatten-pre.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000160-flatten-post-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000160-flatten-post.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000170-poly-as-resource-pre-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000170-poly-as-resource-pre.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000180-poly-as-resource-post-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000180-poly-as-resource-post.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000190-flatten-pre-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000190-flatten-pre.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000200-flatten-post-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000200-flatten-post.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000210-modifier-pre-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000210-modifier-pre.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000220-modifier-post-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000220-modifier-post.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000230-namer-pre-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000230-namer-pre.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000240-namer-post-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000240-namer-post.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000250-test-pre-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000250-test-pre.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000260-test-post-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000260-test-post.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000270-complex-marker-pre-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000270-complex-marker-pre.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000280-complex-marker-post-simplified.yaml create mode 100644 src/diskpool/_az_debug/clicommon-000280-complex-marker-post.yaml create mode 100644 src/diskpool/_az_debug/clicommon-flatten-object-map.txt create mode 100644 src/diskpool/azext_diskpool/_help.py create mode 100644 src/diskpool/azext_diskpool/tests/latest/example_steps.py create mode 100644 src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario_coverage.md diff --git a/scripts/ci/credscan/CredScanSuppressions.json b/scripts/ci/credscan/CredScanSuppressions.json index 0c3916a440f..7ba3b3ab067 100644 --- a/scripts/ci/credscan/CredScanSuppressions.json +++ b/scripts/ci/credscan/CredScanSuppressions.json @@ -100,11 +100,17 @@ ], "_justification": "dummy passwords for one-off resources" }, - { + { "file": [ "src\\storage-blob-preview\\azext_storage_blob_preview\\tests\\latest\\recordings\\test_storage_blob_incremental_copy.yaml" ], "_justification": "[Storage] response body contains random value recognized as secret in outdated recoding files of storage may remove in the future" + }, + { + "file": [ + "src\\diskpool\\README.md" + ], + "_justification": "Faked password" } ] } diff --git a/src/diskpool/_az_debug/clicommon-000010-prename-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000010-prename-pre-simplified.yaml new file mode 100644 index 00000000000..52e22a575f9 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000010-prename-pre-simplified.yaml @@ -0,0 +1,378 @@ +operationGroups: + all: + - operationGroupName: Operations + operations: + - operationName: List + parameters: + - parameterName: $host(string^string) + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + - parameterName[0]: accept(Accept^constant) + - operationGroupName: DiskPools + operations: + - operationName: ListBySubscription + parameters: + - parameterName: $host(string^string) + - parameterName: subscriptionId(string^string) + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + - parameterName[0]: accept(Accept^constant) + - operationName: ListByResourceGroup + parameters: + - parameterName: $host(string^string) + - parameterName: subscriptionId(string^string) + - parameterName: resourceGroupName(string^string) + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + - parameterName[0]: accept(Accept^constant) + - operationName: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + - parameterName: subscriptionId(string^string) + - parameterName: resourceGroupName(string^string) + - parameterName: diskPoolName(string^string) + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + - parameterName[0]: content-type(application/json^constant) + - parameterName[0]: diskPoolCreatePayload(DiskPoolCreate^object) + bodySchema: DiskPoolCreate + - parameterName[0]: accept(Accept^constant) + - operationName: Update + parameters: + - parameterName: $host(string^string) + - parameterName: subscriptionId(string^string) + - parameterName: resourceGroupName(string^string) + - parameterName: diskPoolName(string^string) + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + - parameterName[0]: content-type(application/json^constant) + - parameterName[0]: diskPoolUpdatePayload(DiskPoolUpdate^object) + bodySchema: DiskPoolUpdate + - parameterName[0]: accept(Accept^constant) + - operationName: Delete + parameters: + - parameterName: $host(string^string) + - parameterName: subscriptionId(string^string) + - parameterName: resourceGroupName(string^string) + - parameterName: diskPoolName(string^string) + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + - parameterName[0]: accept(Accept^constant) + - operationName: Get + parameters: + - parameterName: $host(string^string) + - parameterName: subscriptionId(string^string) + - parameterName: resourceGroupName(string^string) + - parameterName: diskPoolName(string^string) + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + - parameterName[0]: accept(Accept^constant) + - operationName: ListOutboundNetworkDependenciesEndpoints + parameters: + - parameterName: $host(string^string) + - parameterName: subscriptionId(string^string) + - parameterName: resourceGroupName(string^string) + - parameterName: diskPoolName(string^string) + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + - parameterName[0]: accept(Accept^constant) + - operationName: Start + parameters: + - parameterName: $host(string^string) + - parameterName: subscriptionId(string^string) + - parameterName: resourceGroupName(string^string) + - parameterName: diskPoolName(string^string) + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + - parameterName[0]: accept(Accept^constant) + - operationName: Deallocate + parameters: + - parameterName: $host(string^string) + - parameterName: subscriptionId(string^string) + - parameterName: resourceGroupName(string^string) + - parameterName: diskPoolName(string^string) + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + - parameterName[0]: accept(Accept^constant) + - operationGroupName: DiskPoolZones + operations: + - operationName: List + parameters: + - parameterName: $host(string^string) + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + - parameterName: subscriptionId(string^string) + - parameterName: location(string^string) + - parameterName[0]: accept(Accept^constant) + - operationGroupName: IscsiTargets + operations: + - operationName: ListByDiskPool + parameters: + - parameterName: $host(string^string) + - parameterName: subscriptionId(string^string) + - parameterName: resourceGroupName(string^string) + - parameterName: diskPoolName(string^string) + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + - parameterName[0]: accept(Accept^constant) + - operationName: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + - parameterName: subscriptionId(string^string) + - parameterName: resourceGroupName(string^string) + - parameterName: diskPoolName(string^string) + - parameterName: iscsiTargetName(string^string) + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + - parameterName[0]: content-type(application/json^constant) + - parameterName[0]: iscsiTargetCreatePayload(IscsiTargetCreate^object) + bodySchema: IscsiTargetCreate + - parameterName[0]: accept(Accept^constant) + - operationName: Update + parameters: + - parameterName: $host(string^string) + - parameterName: subscriptionId(string^string) + - parameterName: resourceGroupName(string^string) + - parameterName: diskPoolName(string^string) + - parameterName: iscsiTargetName(string^string) + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + - parameterName[0]: content-type(application/json^constant) + - parameterName[0]: iscsiTargetUpdatePayload(IscsiTargetUpdate^object) + bodySchema: IscsiTargetUpdate + - parameterName[0]: accept(Accept^constant) + - operationName: Delete + parameters: + - parameterName: $host(string^string) + - parameterName: subscriptionId(string^string) + - parameterName: resourceGroupName(string^string) + - parameterName: diskPoolName(string^string) + - parameterName: iscsiTargetName(string^string) + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + - parameterName[0]: accept(Accept^constant) + - operationName: Get + parameters: + - parameterName: $host(string^string) + - parameterName: subscriptionId(string^string) + - parameterName: resourceGroupName(string^string) + - parameterName: diskPoolName(string^string) + - parameterName: iscsiTargetName(string^string) + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + - parameterName[0]: accept(Accept^constant) +schemas: + objects: + all: + - schemaName: StoragePoolOperationListResult + properties: + - propertyName: value(StoragePoolOperationListResult-value^array) + - propertyName: nextLink(StoragePoolOperationListResult-nextLink^string) + - schemaName: StoragePoolRPOperation + properties: + - propertyName: name(StoragePoolRPOperation-name^string) + - propertyName: isDataAction(boolean^boolean) + - propertyName: actionType(StoragePoolRPOperation-actionType^string) + - propertyName: display(StoragePoolOperationDisplay^object) + - propertyName: origin(StoragePoolRPOperation-origin^string) + - schemaName: StoragePoolOperationDisplay + properties: + - propertyName: provider(StoragePoolOperationDisplay-provider^string) + - propertyName: resource(StoragePoolOperationDisplay-resource^string) + - propertyName: operation(StoragePoolOperationDisplay-operation^string) + - propertyName: description(StoragePoolOperationDisplay-description^string) + - schemaName: Error + properties: + - propertyName: error(ErrorResponse^object) + - schemaName: ErrorResponse + properties: + - propertyName: code(ErrorResponse-code^string) + readOnly: true + - propertyName: message(ErrorResponse-message^string) + readOnly: true + - propertyName: target(ErrorResponse-target^string) + readOnly: true + - propertyName: details(ErrorResponse-details^array) + readOnly: true + - propertyName: additionalInfo(ErrorResponse-additionalInfo^array) + readOnly: true + - schemaName: ErrorAdditionalInfo + properties: + - propertyName: type(ErrorAdditionalInfo-type^string) + readOnly: true + - propertyName: info(any^any) + readOnly: true + - schemaName: DiskPoolListResult + properties: + - propertyName: value(DiskPoolListResult-value^array) + - propertyName: nextLink(DiskPoolListResult-nextLink^string) + readOnly: true + - schemaName: DiskPool + properties: + - propertyName: sku(Sku^object) + x-ms-client-flatten: true + - propertyName: properties(DiskPoolProperties^object) + x-ms-client-flatten: true + - propertyName: systemData(SystemMetadata^object) + readOnly: true + - schemaName: Sku + properties: + - propertyName: name(Sku-name^string) + - propertyName: tier(Sku-tier^string) + - schemaName: DiskPoolProperties + properties: + - propertyName: provisioningState(ProvisioningStates^choice) + readOnly: true + - propertyName: availabilityZones(DiskPoolProperties-availabilityZones^array) + - propertyName: status(OperationalStatus^choice) + - propertyName: disks(DiskPoolProperties-disks^array) + - propertyName: subnetId(DiskPoolProperties-subnetId^string) + - propertyName: additionalCapabilities(DiskPoolProperties-additionalCapabilities^array) + - schemaName: Disk + properties: + - propertyName: id(Disk-id^string) + - schemaName: SystemMetadata + properties: + - propertyName: createdBy(SystemMetadata-createdBy^string) + - propertyName: createdByType(createdByType^choice) + - propertyName: createdAt(SystemMetadata-createdAt^date-time) + - propertyName: lastModifiedBy(SystemMetadata-lastModifiedBy^string) + - propertyName: lastModifiedByType(createdByType^choice) + - propertyName: lastModifiedAt(SystemMetadata-lastModifiedAt^date-time) + - schemaName: TrackedResource + properties: + - propertyName: tags(TrackedResource-tags^dictionary) + - propertyName: location(TrackedResource-location^string) + - schemaName: Resource + properties: + - propertyName: id(Resource-id^string) + readOnly: true + - propertyName: name(Resource-name^string) + readOnly: true + - propertyName: type(Resource-type^string) + readOnly: true + - schemaName: DiskPoolCreate + properties: + - propertyName: sku(Sku^object) + - propertyName: properties(DiskPoolCreateProperties^object) + x-ms-client-flatten: true + - propertyName: tags(DiskPoolCreate-tags^dictionary) + - propertyName: location(DiskPoolCreate-location^string) + - propertyName: id(DiskPoolCreate-id^string) + readOnly: true + - propertyName: name(DiskPoolCreate-name^string) + readOnly: true + - propertyName: type(DiskPoolCreate-type^string) + readOnly: true + - schemaName: DiskPoolCreateProperties + properties: + - propertyName: availabilityZones(DiskPoolCreateProperties-availabilityZones^array) + - propertyName: disks(DiskPoolCreateProperties-disks^array) + - propertyName: subnetId(DiskPoolCreateProperties-subnetId^string) + - propertyName: additionalCapabilities(DiskPoolCreateProperties-additionalCapabilities^array) + - schemaName: DiskPoolUpdate + properties: + - propertyName: properties(DiskPoolUpdateProperties^object) + x-ms-client-flatten: true + - propertyName: tags(DiskPoolUpdate-tags^dictionary) + - schemaName: DiskPoolUpdateProperties + properties: + - propertyName: disks(DiskPoolUpdateProperties-disks^array) + - schemaName: DiskPoolZoneListResult + properties: + - propertyName: value(DiskPoolZoneListResult-value^array) + - propertyName: nextLink(DiskPoolZoneListResult-nextLink^string) + - schemaName: DiskPoolZoneInfo + properties: + - propertyName: availabilityZones(DiskPoolZoneInfo-availabilityZones^array) + - propertyName: additionalCapabilities(DiskPoolZoneInfo-additionalCapabilities^array) + - propertyName: sku(Sku^object) + - schemaName: OutboundEnvironmentEndpointList + properties: + - propertyName: value(OutboundEnvironmentEndpointList-value^array) + - propertyName: nextLink(OutboundEnvironmentEndpointList-nextLink^string) + readOnly: true + - schemaName: OutboundEnvironmentEndpoint + properties: + - propertyName: category(OutboundEnvironmentEndpoint-category^string) + - propertyName: endpoints(OutboundEnvironmentEndpoint-endpoints^array) + - schemaName: EndpointDependency + properties: + - propertyName: domainName(EndpointDependency-domainName^string) + - propertyName: endpointDetails(EndpointDependency-endpointDetails^array) + - schemaName: EndpointDetail + properties: + - propertyName: ipAddress(EndpointDetail-ipAddress^string) + - propertyName: port(integer^integer) + - propertyName: latency(number^number) + - propertyName: isAccessible(boolean^boolean) + - schemaName: IscsiTargetList + properties: + - propertyName: value(IscsiTargetList-value^array) + - propertyName: nextLink(IscsiTargetList-nextLink^string) + readOnly: true + - schemaName: IscsiTarget + properties: + - propertyName: properties(IscsiTargetProperties^object) + x-ms-client-flatten: true + - propertyName: systemData(SystemMetadata^object) + readOnly: true + - schemaName: IscsiTargetProperties + properties: + - propertyName: aclMode(IscsiTargetAclMode^choice) + - propertyName: staticAcls(IscsiTargetProperties-staticAcls^array) + - propertyName: luns(IscsiTargetProperties-luns^array) + - propertyName: targetIqn(IscsiTargetProperties-targetIqn^string) + - propertyName: provisioningState(ProvisioningStates^choice) + readOnly: true + - propertyName: status(OperationalStatus^choice) + - propertyName: endpoints(IscsiTargetProperties-endpoints^array) + - propertyName: port(integer^integer) + - schemaName: Acl + properties: + - propertyName: initiatorIqn(Acl-initiatorIqn^string) + - propertyName: mappedLuns(Acl-mappedLuns^array) + - schemaName: IscsiLun + properties: + - propertyName: name(IscsiLun-name^string) + - propertyName: managedDiskAzureResourceId(IscsiLun-managedDiskAzureResourceId^string) + - schemaName: IscsiTargetCreate + properties: + - propertyName: properties(IscsiTargetCreateProperties^object) + x-ms-client-flatten: true + - schemaName: IscsiTargetCreateProperties + properties: + - propertyName: aclMode(IscsiTargetAclMode^choice) + - propertyName: targetIqn(IscsiTargetCreateProperties-targetIqn^string) + - propertyName: staticAcls(IscsiTargetCreateProperties-staticAcls^array) + - propertyName: luns(IscsiTargetCreateProperties-luns^array) + - schemaName: IscsiTargetUpdate + properties: + - propertyName: properties(IscsiTargetUpdateProperties^object) + x-ms-client-flatten: true + - schemaName: IscsiTargetUpdateProperties + properties: + - propertyName: staticAcls(IscsiTargetUpdateProperties-staticAcls^array) + - propertyName: luns(IscsiTargetUpdateProperties-luns^array) + - schemaName: ProxyResource + choices: + all: + - choiceName: ProvisioningStates + choiceValues: + - choiceValue: Invalid + - choiceValue: Succeeded + - choiceValue: Failed + - choiceValue: Canceled + - choiceValue: Pending + - choiceValue: Creating + - choiceValue: Updating + - choiceValue: Deleting + - choiceName: OperationalStatus + choiceValues: + - choiceValue: Invalid + - choiceValue: Unknown + - choiceValue: Healthy + - choiceValue: Unhealthy + - choiceValue: Updating + - choiceValue: Running + - choiceValue: Stopped + - choiceValue: Stopped (deallocated) + - choiceName: createdByType + choiceValues: + - choiceValue: User + - choiceValue: Application + - choiceValue: ManagedIdentity + - choiceValue: Key + - choiceName: IscsiTargetAclMode + choiceValues: + - choiceValue: Dynamic + - choiceValue: Static + - choiceName: DiskPoolTier + choiceValues: + - choiceValue: Basic + - choiceValue: Standard + - choiceValue: Premium diff --git a/src/diskpool/_az_debug/clicommon-000010-prename-pre.yaml b/src/diskpool/_az_debug/clicommon-000010-prename-pre.yaml new file mode 100644 index 00000000000..0512e491746 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000010-prename-pre.yaml @@ -0,0 +1,5156 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 10 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_77 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_75 + type: integer + precision: 32 + language: + default: + name: integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_76 + type: number + precision: 64 + language: + default: + name: number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_32 + type: integer + precision: 32 + language: + default: + name: integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: string + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRPOperation-name + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRPOperation-actionType + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplay-provider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplay-resource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplay-operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplay-description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRPOperation-origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationListResult-nextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponse-code + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponse-message + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponse-target + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorAdditionalInfo-type + description: The additional info type. + protocol: {} + - &ref_112 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: string + description: '' + protocol: {} + - &ref_50 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: Sku-name + description: Sku name + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: Sku-tier + description: Sku tier + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AvailabilityZone + description: Availability zone. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: Disk-id + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: DiskPoolProperties-subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AdditionalCapability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SystemMetadata-createdBy + description: The identity that created the resource. + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SystemMetadata-lastModifiedBy + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: string + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: TrackedResource-location + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: Resource-id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: Resource-name + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: Resource-type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolListResult-nextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_121 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: string + description: '' + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: DiskPoolCreateProperties-subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: DiskPoolCreate-location + description: The geo-location where the resource lives. + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreate-id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreate-name + description: The name of the resource + protocol: {} + - &ref_66 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreate-type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolZoneListResult-nextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_72 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: OutboundEnvironmentEndpoint-category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_73 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: EndpointDependency-domainName + description: The domain name of the dependency. + protocol: {} + - &ref_74 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: EndpointDetail-ipAddress + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_78 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: OutboundEnvironmentEndpointList-nextLink + description: Link to next page of resources. + protocol: {} + - &ref_24 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: Acl-initiatorIqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_25 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: Acl-mappedLunsItem + description: '' + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiLun-name + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_27 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiLun-managedDiskAzureResourceId + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_28 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetProperties-targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetProperties-endpointsItem + description: '' + protocol: {} + - &ref_82 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetList-nextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetCreateProperties-targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_29 + choices: + - value: Invalid + language: + default: + name: Invalid + description: '' + - value: Succeeded + language: + default: + name: Succeeded + description: '' + - value: Failed + language: + default: + name: Failed + description: '' + - value: Canceled + language: + default: + name: Canceled + description: '' + - value: Pending + language: + default: + name: Pending + description: '' + - value: Creating + language: + default: + name: Creating + description: '' + - value: Updating + language: + default: + name: Updating + description: '' + - value: Deleting + language: + default: + name: Deleting + description: '' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: ProvisioningStates + description: Provisioning state of the iSCSI Target. + protocol: {} + - &ref_30 + choices: + - value: Invalid + language: + default: + name: Invalid + description: '' + - value: Unknown + language: + default: + name: Unknown + description: '' + - value: Healthy + language: + default: + name: Healthy + description: '' + - value: Unhealthy + language: + default: + name: Unhealthy + description: '' + - value: Updating + language: + default: + name: Updating + description: '' + - value: Running + language: + default: + name: Running + description: '' + - value: Stopped + language: + default: + name: Stopped + description: '' + - value: Stopped (deallocated) + language: + default: + name: Stopped (deallocated) + description: '' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: OperationalStatus + description: Operational status of the resource. + protocol: {} + - &ref_34 + choices: + - value: User + language: + default: + name: User + description: '' + - value: Application + language: + default: + name: Application + description: '' + - value: ManagedIdentity + language: + default: + name: ManagedIdentity + description: '' + - value: Key + language: + default: + name: Key + description: '' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: createdByType + description: The type of identity that created the resource. + protocol: {} + - &ref_23 + choices: + - value: Dynamic + language: + default: + name: Dynamic + description: '' + - value: Static + language: + default: + name: Static + description: '' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: IscsiTargetAclMode + description: ACL mode for iSCSI Target. + protocol: {} + - choices: + - value: Basic + language: + default: + name: Basic + description: '' + - value: Standard + language: + default: + name: Standard + description: '' + - value: Premium + language: + default: + name: Premium + description: '' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: DiskPoolTier + description: SKU of the VM host part of the Disk Pool deployment + protocol: {} + constants: + - &ref_113 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: ApiVersion-2021-04-01-preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_116 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: Accept + description: 'Accept: application/json' + protocol: {} + - &ref_123 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application/json + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: TrackedResource-tags + description: Resource tags. + protocol: {} + - &ref_62 + type: dictionary + elementType: *ref_1 + language: + default: + name: DiskPoolCreate-tags + description: Resource tags. + protocol: {} + - &ref_68 + type: dictionary + elementType: *ref_1 + language: + default: + name: DiskPoolUpdate-tags + description: Resource tags. + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_35 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SystemMetadata-createdAt + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_37 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SystemMetadata-lastModifiedAt + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_117 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: isDataAction + description: Indicates whether the operation applies to data-plane. + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: actionType + description: Indicates the action type. + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolOperationDisplay + description: Metadata about an operation. + namespace: '' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolRPOperation + description: Description of a StoragePool RP Operation + namespace: '' + protocol: {} + language: + default: + name: StoragePoolOperationListResult-value + description: An array of operations supported by the StoragePool RP. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: nextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolOperationListResult + description: List of operations supported by the RP. + namespace: '' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + protocol: {} + - schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: ErrorResponse-details + description: The error details. + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + protocol: {} + - schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: ErrorAdditionalInfo + description: The resource management error additional info. + namespace: '' + protocol: {} + language: + default: + name: ErrorResponse-additionalInfo + description: The error additional info. + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additionalInfo + description: The error additional info. + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: ErrorResponse + description: The resource management error response. + namespace: '' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: Error + description: The resource management error response. + namespace: '' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_120 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_83 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + required: true + serializedName: aclMode + language: + default: + name: aclMode + description: Mode for Target connectivity. + protocol: {} + - schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_24 + required: true + serializedName: initiatorIqn + language: + default: + name: initiatorIqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_25 + language: + default: + name: Acl-mappedLuns + description: List of LUN names mapped to the ACL. + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mappedLuns + description: List of LUN names mapped to the ACL. + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: Acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + protocol: {} + language: + default: + name: IscsiTargetProperties-staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + required: false + serializedName: staticAcls + language: + default: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + - schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_26 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - schema: *ref_27 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managedDiskAzureResourceId + description: Azure Resource ID of the Managed Disk. + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: IscsiLun + description: LUN to expose the Azure Managed Disk. + namespace: '' + protocol: {} + language: + default: + name: IscsiTargetProperties-luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + - schema: *ref_28 + required: true + serializedName: targetIqn + language: + default: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - schema: *ref_29 + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioningState + description: State of the operation on the resource. + protocol: {} + - schema: *ref_30 + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + protocol: {} + - schema: &ref_106 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_31 + language: + default: + name: IscsiTargetProperties-endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + protocol: {} + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + protocol: {} + - schema: *ref_32 + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: IscsiTargetProperties + description: Response properties for iSCSI Target operations. + namespace: '' + protocol: {} + required: true + serializedName: properties + extensions: + x-ms-client-flatten: true + language: + default: + name: properties + description: Properties for iSCSI Target operations. + protocol: {} + - schema: &ref_56 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_33 + serializedName: createdBy + language: + default: + name: createdBy + description: The identity that created the resource. + protocol: {} + - schema: *ref_34 + serializedName: createdByType + language: + default: + name: createdByType + description: The type of identity that created the resource. + protocol: {} + - schema: *ref_35 + serializedName: createdAt + language: + default: + name: createdAt + description: The timestamp of resource creation (UTC). + protocol: {} + - schema: *ref_36 + serializedName: lastModifiedBy + language: + default: + name: lastModifiedBy + description: The identity that last modified the resource. + protocol: {} + - schema: *ref_34 + serializedName: lastModifiedByType + language: + default: + name: lastModifiedByType + description: The type of identity that last modified the resource. + protocol: {} + - schema: *ref_37 + serializedName: lastModifiedAt + language: + default: + name: lastModifiedAt + description: The type of identity that last modified the resource. + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: SystemMetadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: systemData + description: Resource metadata required by ARM RPC + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: IscsiTarget + description: Response for iSCSI Target requests. + namespace: '' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_84 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + required: true + serializedName: aclMode + language: + default: + name: aclMode + description: Mode for Target connectivity. + protocol: {} + - schema: *ref_38 + required: false + serializedName: targetIqn + language: + default: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - schema: &ref_108 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: IscsiTargetCreateProperties-staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + required: false + serializedName: staticAcls + language: + default: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + - schema: &ref_109 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: IscsiTargetCreateProperties-luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: IscsiTargetCreateProperties + description: Properties for iSCSI Target create or update request. + namespace: '' + protocol: {} + required: true + serializedName: properties + extensions: + x-ms-client-flatten: true + language: + default: + name: properties + description: Properties for iSCSI Target create request. + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: IscsiTargetCreate + description: Payload for iSCSI Target create or update requests. + namespace: '' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_85 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_110 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: IscsiTargetUpdateProperties-staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + serializedName: staticAcls + language: + default: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + - schema: &ref_111 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: IscsiTargetUpdateProperties-luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: IscsiTargetUpdateProperties + description: Properties for iSCSI Target update request. + namespace: '' + protocol: {} + required: true + serializedName: properties + extensions: + x-ms-client-flatten: true + language: + default: + name: properties + description: Properties for iSCSI Target update request. + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: IscsiTargetUpdate + description: Payload for iSCSI Target update requests. + namespace: '' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: ProxyResource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: Resource + description: ARM resource model definition. + namespace: '' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: TrackedResource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_50 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + protocol: {} + - schema: *ref_51 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: Sku + description: Sku for ARM resource + namespace: '' + protocol: {} + required: false + serializedName: sku + extensions: + x-ms-client-flatten: true + language: + default: + name: sku + description: Determines the SKU of the Disk pool + protocol: {} + - schema: &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioningState + description: State of the operation on the resource. + protocol: {} + - schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_52 + language: + default: + name: DiskPoolProperties-availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + required: true + serializedName: availabilityZones + language: + default: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + - schema: *ref_30 + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + protocol: {} + - schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_60 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_53 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: Disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + protocol: {} + language: + default: + name: DiskPoolProperties-disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + - schema: *ref_54 + required: true + serializedName: subnetId + language: + default: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_55 + language: + default: + name: DiskPoolProperties-additionalCapabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + required: false + serializedName: additionalCapabilities + language: + default: + name: additionalCapabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: DiskPoolProperties + description: Disk Pool response properties. + namespace: '' + protocol: {} + required: true + serializedName: properties + extensions: + x-ms-client-flatten: true + language: + default: + name: properties + description: Properties of Disk Pool. + protocol: {} + - schema: *ref_56 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: systemData + description: Resource metadata required by ARM RPC + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: DiskPool + description: Response for Disk Pool request. + namespace: '' + protocol: {} + language: + default: + name: DiskPoolListResult-value + description: An array of Disk pool objects. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: nextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolListResult + description: List of Disk Pools + namespace: '' + protocol: {} + - *ref_20 + - *ref_58 + - *ref_59 + - *ref_60 + - *ref_56 + - *ref_21 + - *ref_22 + - &ref_124 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_58 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + protocol: {} + - schema: &ref_67 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_52 + language: + default: + name: DiskPoolCreateProperties-availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + required: false + serializedName: availabilityZones + language: + default: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_60 + language: + default: + name: DiskPoolCreateProperties-disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + - schema: *ref_61 + required: true + serializedName: subnetId + language: + default: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_55 + language: + default: + name: DiskPoolCreateProperties-additionalCapabilities + description: List of additional capabilities for a Disk Pool. + protocol: {} + required: false + serializedName: additionalCapabilities + language: + default: + name: additionalCapabilities + description: List of additional capabilities for a Disk Pool. + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: DiskPoolCreateProperties + description: Properties for Disk Pool create or update request. + namespace: '' + protocol: {} + required: true + serializedName: properties + extensions: + x-ms-client-flatten: true + language: + default: + name: properties + description: Properties for Disk Pool create request. + protocol: {} + - schema: *ref_62 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + protocol: {} + - schema: *ref_63 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - schema: *ref_65 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + protocol: {} + - schema: *ref_66 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: DiskPoolCreate + description: Request payload for create or update Disk Pool request. + namespace: '' + protocol: {} + - *ref_67 + - &ref_128 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_69 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_60 + language: + default: + name: DiskPoolUpdateProperties-disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: DiskPoolUpdateProperties + description: Properties for Disk Pool update request. + namespace: '' + protocol: {} + required: true + serializedName: properties + extensions: + x-ms-client-flatten: true + language: + default: + name: properties + description: Properties for Disk Pool update request. + protocol: {} + - schema: *ref_68 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: DiskPoolUpdate + description: Request payload for Update Disk Pool request. + namespace: '' + protocol: {} + - *ref_69 + - &ref_144 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_71 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_52 + language: + default: + name: DiskPoolZoneInfo-availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + serializedName: availabilityZones + language: + default: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_55 + language: + default: + name: DiskPoolZoneInfo-additionalCapabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additionalCapabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + - schema: *ref_58 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolZoneInfo + description: Disk Pool Sku Details + namespace: '' + protocol: {} + language: + default: + name: DiskPoolZoneListResult-value + description: The list of Disk Pool Skus. + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + protocol: {} + - schema: *ref_70 + serializedName: nextLink + language: + default: + name: nextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolZoneListResult + description: List Disk Pool skus operation response. + namespace: '' + protocol: {} + - *ref_71 + - &ref_138 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_79 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_72 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_80 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_73 + serializedName: domainName + language: + default: + name: domainName + description: The domain name of the dependency. + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_81 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_74 + serializedName: ipAddress + language: + default: + name: ipAddress + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - schema: *ref_75 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + protocol: {} + - schema: *ref_76 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - schema: *ref_77 + serializedName: isAccessible + language: + default: + name: isAccessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: EndpointDetail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + protocol: {} + language: + default: + name: EndpointDependency-endpointDetails + description: The IP Addresses and Ports used when connecting to DomainName. + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpointDetails + description: The IP Addresses and Ports used when connecting to DomainName. + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: EndpointDependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + protocol: {} + language: + default: + name: OutboundEnvironmentEndpoint-endpoints + description: The endpoints that the App Service Environment reaches the service at. + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: OutboundEnvironmentEndpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + protocol: {} + language: + default: + name: OutboundEnvironmentEndpointList-value + description: Collection of resources. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + protocol: {} + - schema: *ref_78 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: nextLink + description: Link to next page of resources. + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: OutboundEnvironmentEndpointList + description: Collection of Outbound Environment Endpoints + namespace: '' + protocol: {} + - *ref_79 + - *ref_80 + - *ref_81 + - &ref_147 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_107 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: IscsiTargetList-value + description: An array of iSCSI Targets in a Disk Pool. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + protocol: {} + - schema: *ref_82 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: nextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: IscsiTargetList + description: List of iSCSI Targets. + namespace: '' + protocol: {} + - *ref_41 + - *ref_83 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_84 + - *ref_43 + - *ref_85 + - *ref_44 + arrays: + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 + - *ref_106 + - *ref_107 + - *ref_108 + - *ref_109 + - *ref_110 + - *ref_111 +globalParameters: + - &ref_119 + schema: *ref_112 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscriptionId + description: The ID of the target subscription. + serializedName: subscriptionId + protocol: + http: + in: path + - &ref_114 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + protocol: + http: + in: uri + - &ref_115 + schema: *ref_113 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: ApiVersion + description: Api Version + serializedName: api-version + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_115 + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_117 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: List + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + protocol: {} + language: + default: + name: Operations + description: '' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - *ref_115 + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_120 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: ListBySubscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_122 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_122 + responses: + - schema: *ref_120 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: ListByResourceGroup + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_126 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + protocol: + http: + in: path + - &ref_127 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_123 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content-type + description: Body Parameter content-type + serializedName: Content-Type + protocol: + http: + in: header + - &ref_125 + schema: *ref_124 + implementation: Method + required: true + language: + default: + name: diskPoolCreatePayload + description: Request payload for Disk Pool create operation + protocol: + http: + in: body + style: json + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + protocol: + http: + in: header + signatureParameters: + - *ref_125 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_126 + - *ref_127 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: CreateOrUpdate + description: Create or Update Disk pool. + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_130 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + protocol: + http: + in: path + - &ref_131 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_123 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content-type + description: Body Parameter content-type + serializedName: Content-Type + protocol: + http: + in: header + - &ref_129 + schema: *ref_128 + implementation: Method + required: true + language: + default: + name: diskPoolUpdatePayload + description: Request payload for Disk Pool update operation. + protocol: + http: + in: body + style: json + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + protocol: + http: + in: header + signatureParameters: + - *ref_129 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_130 + - *ref_131 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: Update + description: Update a Disk pool. + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_132 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + protocol: + http: + in: path + - &ref_133 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_132 + - *ref_133 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: Delete + description: Delete a Disk pool. + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_134 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + protocol: + http: + in: path + - &ref_135 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_134 + - *ref_135 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: Get + description: Get a Disk pool. + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_136 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + protocol: + http: + in: path + - &ref_137 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_136 + - *ref_137 + responses: + - schema: *ref_138 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: ListOutboundNetworkDependenciesEndpoints + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_139 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + protocol: + http: + in: path + - &ref_140 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_139 + - *ref_140 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: Start + description: The operation to start a Disk Pool. + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_141 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + protocol: + http: + in: path + - &ref_142 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_141 + - *ref_142 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: Deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + protocol: {} + language: + default: + name: DiskPools + description: '' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_115 + - *ref_119 + - &ref_143 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_143 + responses: + - schema: *ref_144 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: List + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + protocol: {} + language: + default: + name: DiskPoolZones + description: '' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_145 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + protocol: + http: + in: path + - &ref_146 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_145 + - *ref_146 + responses: + - schema: *ref_147 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: ListByDiskPool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_149 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + protocol: + http: + in: path + - &ref_150 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + protocol: + http: + in: path + - &ref_151 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsiTargetName + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_123 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content-type + description: Body Parameter content-type + serializedName: Content-Type + protocol: + http: + in: header + - &ref_148 + schema: *ref_42 + implementation: Method + required: true + language: + default: + name: iscsiTargetCreatePayload + description: Request payload for iSCSI Target create operation. + protocol: + http: + in: body + style: json + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + protocol: + http: + in: header + signatureParameters: + - *ref_148 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_149 + - *ref_150 + - *ref_151 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: CreateOrUpdate + description: Create or Update an iSCSI Target. + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_153 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + protocol: + http: + in: path + - &ref_154 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + protocol: + http: + in: path + - &ref_155 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsiTargetName + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_123 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content-type + description: Body Parameter content-type + serializedName: Content-Type + protocol: + http: + in: header + - &ref_152 + schema: *ref_43 + implementation: Method + required: true + language: + default: + name: iscsiTargetUpdatePayload + description: Request payload for iSCSI Target update operation. + protocol: + http: + in: body + style: json + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + protocol: + http: + in: header + signatureParameters: + - *ref_152 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_153 + - *ref_154 + - *ref_155 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: Update + description: Update an iSCSI Target. + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_156 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + protocol: + http: + in: path + - &ref_157 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + protocol: + http: + in: path + - &ref_158 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsiTargetName + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_156 + - *ref_157 + - *ref_158 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: Delete + description: Delete an iSCSI Target. + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_159 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + protocol: + http: + in: path + - &ref_160 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + protocol: + http: + in: path + - &ref_161 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsiTargetName + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_159 + - *ref_160 + - *ref_161 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: Get + description: Get an iSCSI Target. + protocol: {} + language: + default: + name: IscsiTargets + description: '' + protocol: {} +security: + authenticationRequired: true +language: + default: + name: '' + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000020-prename-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000020-prename-post-simplified.yaml new file mode 100644 index 00000000000..12bcd7f1672 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000020-prename-post-simplified.yaml @@ -0,0 +1,942 @@ +operationGroups: + all: + - operationGroupName: Operations + cli: + cliKey: Operations + operations: + - operationName: List + cli: + cliKey: List + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: accept(Accept^constant) + cli: + cliKey: accept + - operationGroupName: DiskPools + cli: + cliKey: DiskPools + operations: + - operationName: ListBySubscription + cli: + cliKey: ListBySubscription + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscriptionId(string^string) + cli: + cliKey: subscriptionId + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: accept(Accept^constant) + cli: + cliKey: accept + - operationName: ListByResourceGroup + cli: + cliKey: ListByResourceGroup + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscriptionId(string^string) + cli: + cliKey: subscriptionId + - parameterName: resourceGroupName(string^string) + cli: + cliKey: resourceGroupName + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: accept(Accept^constant) + cli: + cliKey: accept + - operationName: CreateOrUpdate + cli: + cliKey: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscriptionId(string^string) + cli: + cliKey: subscriptionId + - parameterName: resourceGroupName(string^string) + cli: + cliKey: resourceGroupName + - parameterName: diskPoolName(string^string) + cli: + cliKey: diskPoolName + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: content-type(application/json^constant) + cli: + cliKey: content-type + - parameterName[0]: diskPoolCreatePayload(DiskPoolCreate^object) + cli: + cliKey: diskPoolCreatePayload + bodySchema: DiskPoolCreate + - parameterName[0]: accept(Accept^constant) + cli: + cliKey: accept + - operationName: Update + cli: + cliKey: Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscriptionId(string^string) + cli: + cliKey: subscriptionId + - parameterName: resourceGroupName(string^string) + cli: + cliKey: resourceGroupName + - parameterName: diskPoolName(string^string) + cli: + cliKey: diskPoolName + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: content-type(application/json^constant) + cli: + cliKey: content-type + - parameterName[0]: diskPoolUpdatePayload(DiskPoolUpdate^object) + cli: + cliKey: diskPoolUpdatePayload + bodySchema: DiskPoolUpdate + - parameterName[0]: accept(Accept^constant) + cli: + cliKey: accept + - operationName: Delete + cli: + cliKey: Delete + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscriptionId(string^string) + cli: + cliKey: subscriptionId + - parameterName: resourceGroupName(string^string) + cli: + cliKey: resourceGroupName + - parameterName: diskPoolName(string^string) + cli: + cliKey: diskPoolName + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: accept(Accept^constant) + cli: + cliKey: accept + - operationName: Get + cli: + cliKey: Get + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscriptionId(string^string) + cli: + cliKey: subscriptionId + - parameterName: resourceGroupName(string^string) + cli: + cliKey: resourceGroupName + - parameterName: diskPoolName(string^string) + cli: + cliKey: diskPoolName + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: accept(Accept^constant) + cli: + cliKey: accept + - operationName: ListOutboundNetworkDependenciesEndpoints + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscriptionId(string^string) + cli: + cliKey: subscriptionId + - parameterName: resourceGroupName(string^string) + cli: + cliKey: resourceGroupName + - parameterName: diskPoolName(string^string) + cli: + cliKey: diskPoolName + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: accept(Accept^constant) + cli: + cliKey: accept + - operationName: Start + cli: + cliKey: Start + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscriptionId(string^string) + cli: + cliKey: subscriptionId + - parameterName: resourceGroupName(string^string) + cli: + cliKey: resourceGroupName + - parameterName: diskPoolName(string^string) + cli: + cliKey: diskPoolName + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: accept(Accept^constant) + cli: + cliKey: accept + - operationName: Deallocate + cli: + cliKey: Deallocate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscriptionId(string^string) + cli: + cliKey: subscriptionId + - parameterName: resourceGroupName(string^string) + cli: + cliKey: resourceGroupName + - parameterName: diskPoolName(string^string) + cli: + cliKey: diskPoolName + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: accept(Accept^constant) + cli: + cliKey: accept + - operationGroupName: DiskPoolZones + cli: + cliKey: DiskPoolZones + operations: + - operationName: List + cli: + cliKey: List + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + cli: + cliKey: ApiVersion + - parameterName: subscriptionId(string^string) + cli: + cliKey: subscriptionId + - parameterName: location(string^string) + cli: + cliKey: location + - parameterName[0]: accept(Accept^constant) + cli: + cliKey: accept + - operationGroupName: IscsiTargets + cli: + cliKey: IscsiTargets + operations: + - operationName: ListByDiskPool + cli: + cliKey: ListByDiskPool + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscriptionId(string^string) + cli: + cliKey: subscriptionId + - parameterName: resourceGroupName(string^string) + cli: + cliKey: resourceGroupName + - parameterName: diskPoolName(string^string) + cli: + cliKey: diskPoolName + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: accept(Accept^constant) + cli: + cliKey: accept + - operationName: CreateOrUpdate + cli: + cliKey: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscriptionId(string^string) + cli: + cliKey: subscriptionId + - parameterName: resourceGroupName(string^string) + cli: + cliKey: resourceGroupName + - parameterName: diskPoolName(string^string) + cli: + cliKey: diskPoolName + - parameterName: iscsiTargetName(string^string) + cli: + cliKey: iscsiTargetName + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: content-type(application/json^constant) + cli: + cliKey: content-type + - parameterName[0]: iscsiTargetCreatePayload(IscsiTargetCreate^object) + cli: + cliKey: iscsiTargetCreatePayload + bodySchema: IscsiTargetCreate + - parameterName[0]: accept(Accept^constant) + cli: + cliKey: accept + - operationName: Update + cli: + cliKey: Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscriptionId(string^string) + cli: + cliKey: subscriptionId + - parameterName: resourceGroupName(string^string) + cli: + cliKey: resourceGroupName + - parameterName: diskPoolName(string^string) + cli: + cliKey: diskPoolName + - parameterName: iscsiTargetName(string^string) + cli: + cliKey: iscsiTargetName + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: content-type(application/json^constant) + cli: + cliKey: content-type + - parameterName[0]: iscsiTargetUpdatePayload(IscsiTargetUpdate^object) + cli: + cliKey: iscsiTargetUpdatePayload + bodySchema: IscsiTargetUpdate + - parameterName[0]: accept(Accept^constant) + cli: + cliKey: accept + - operationName: Delete + cli: + cliKey: Delete + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscriptionId(string^string) + cli: + cliKey: subscriptionId + - parameterName: resourceGroupName(string^string) + cli: + cliKey: resourceGroupName + - parameterName: diskPoolName(string^string) + cli: + cliKey: diskPoolName + - parameterName: iscsiTargetName(string^string) + cli: + cliKey: iscsiTargetName + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: accept(Accept^constant) + cli: + cliKey: accept + - operationName: Get + cli: + cliKey: Get + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscriptionId(string^string) + cli: + cliKey: subscriptionId + - parameterName: resourceGroupName(string^string) + cli: + cliKey: resourceGroupName + - parameterName: diskPoolName(string^string) + cli: + cliKey: diskPoolName + - parameterName: iscsiTargetName(string^string) + cli: + cliKey: iscsiTargetName + - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: accept(Accept^constant) + cli: + cliKey: accept +schemas: + objects: + all: + - schemaName: StoragePoolOperationListResult + cli: + cliKey: StoragePoolOperationListResult + properties: + - propertyName: value(StoragePoolOperationListResult-value^array) + cli: + cliKey: value + - propertyName: nextLink(StoragePoolOperationListResult-nextLink^string) + cli: + cliKey: nextLink + - schemaName: StoragePoolRPOperation + cli: + cliKey: StoragePoolRPOperation + properties: + - propertyName: name(StoragePoolRPOperation-name^string) + cli: + cliKey: name + - propertyName: isDataAction(boolean^boolean) + cli: + cliKey: isDataAction + - propertyName: actionType(StoragePoolRPOperation-actionType^string) + cli: + cliKey: actionType + - propertyName: display(StoragePoolOperationDisplay^object) + cli: + cliKey: display + - propertyName: origin(StoragePoolRPOperation-origin^string) + cli: + cliKey: origin + - schemaName: StoragePoolOperationDisplay + cli: + cliKey: StoragePoolOperationDisplay + properties: + - propertyName: provider(StoragePoolOperationDisplay-provider^string) + cli: + cliKey: provider + - propertyName: resource(StoragePoolOperationDisplay-resource^string) + cli: + cliKey: resource + - propertyName: operation(StoragePoolOperationDisplay-operation^string) + cli: + cliKey: operation + - propertyName: description(StoragePoolOperationDisplay-description^string) + cli: + cliKey: description + - schemaName: Error + cli: + cliKey: Error + properties: + - propertyName: error(ErrorResponse^object) + cli: + cliKey: error + - schemaName: ErrorResponse + cli: + cliKey: ErrorResponse + properties: + - propertyName: code(ErrorResponse-code^string) + cli: + cliKey: code + readOnly: true + - propertyName: message(ErrorResponse-message^string) + cli: + cliKey: message + readOnly: true + - propertyName: target(ErrorResponse-target^string) + cli: + cliKey: target + readOnly: true + - propertyName: details(ErrorResponse-details^array) + cli: + cliKey: details + readOnly: true + - propertyName: additionalInfo(ErrorResponse-additionalInfo^array) + cli: + cliKey: additionalInfo + readOnly: true + - schemaName: ErrorAdditionalInfo + cli: + cliKey: ErrorAdditionalInfo + properties: + - propertyName: type(ErrorAdditionalInfo-type^string) + cli: + cliKey: type + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + readOnly: true + - schemaName: DiskPoolListResult + cli: + cliKey: DiskPoolListResult + properties: + - propertyName: value(DiskPoolListResult-value^array) + cli: + cliKey: value + - propertyName: nextLink(DiskPoolListResult-nextLink^string) + cli: + cliKey: nextLink + readOnly: true + - schemaName: DiskPool + cli: + cliKey: DiskPool + properties: + - propertyName: sku(Sku^object) + cli: + cliKey: sku + x-ms-client-flatten: true + - propertyName: properties(DiskPoolProperties^object) + cli: + cliKey: properties + x-ms-client-flatten: true + - propertyName: systemData(SystemMetadata^object) + cli: + cliKey: systemData + readOnly: true + - schemaName: Sku + cli: + cliKey: Sku + properties: + - propertyName: name(Sku-name^string) + cli: + cliKey: name + - propertyName: tier(Sku-tier^string) + cli: + cliKey: tier + - schemaName: DiskPoolProperties + cli: + cliKey: DiskPoolProperties + properties: + - propertyName: provisioningState(ProvisioningStates^choice) + cli: + cliKey: provisioningState + readOnly: true + - propertyName: availabilityZones(DiskPoolProperties-availabilityZones^array) + cli: + cliKey: availabilityZones + - propertyName: status(OperationalStatus^choice) + cli: + cliKey: status + - propertyName: disks(DiskPoolProperties-disks^array) + cli: + cliKey: disks + - propertyName: subnetId(DiskPoolProperties-subnetId^string) + cli: + cliKey: subnetId + - propertyName: additionalCapabilities(DiskPoolProperties-additionalCapabilities^array) + cli: + cliKey: additionalCapabilities + - schemaName: Disk + cli: + cliKey: Disk + properties: + - propertyName: id(Disk-id^string) + cli: + cliKey: id + - schemaName: SystemMetadata + cli: + cliKey: SystemMetadata + properties: + - propertyName: createdBy(SystemMetadata-createdBy^string) + cli: + cliKey: createdBy + - propertyName: createdByType(createdByType^choice) + cli: + cliKey: createdByType + - propertyName: createdAt(SystemMetadata-createdAt^date-time) + cli: + cliKey: createdAt + - propertyName: lastModifiedBy(SystemMetadata-lastModifiedBy^string) + cli: + cliKey: lastModifiedBy + - propertyName: lastModifiedByType(createdByType^choice) + cli: + cliKey: lastModifiedByType + - propertyName: lastModifiedAt(SystemMetadata-lastModifiedAt^date-time) + cli: + cliKey: lastModifiedAt + - schemaName: TrackedResource + cli: + cliKey: TrackedResource + properties: + - propertyName: tags(TrackedResource-tags^dictionary) + cli: + cliKey: tags + - propertyName: location(TrackedResource-location^string) + cli: + cliKey: location + - schemaName: Resource + cli: + cliKey: Resource + properties: + - propertyName: id(Resource-id^string) + cli: + cliKey: id + readOnly: true + - propertyName: name(Resource-name^string) + cli: + cliKey: name + readOnly: true + - propertyName: type(Resource-type^string) + cli: + cliKey: type + readOnly: true + - schemaName: DiskPoolCreate + cli: + cliKey: DiskPoolCreate + properties: + - propertyName: sku(Sku^object) + cli: + cliKey: sku + - propertyName: properties(DiskPoolCreateProperties^object) + cli: + cliKey: properties + x-ms-client-flatten: true + - propertyName: tags(DiskPoolCreate-tags^dictionary) + cli: + cliKey: tags + - propertyName: location(DiskPoolCreate-location^string) + cli: + cliKey: location + - propertyName: id(DiskPoolCreate-id^string) + cli: + cliKey: id + readOnly: true + - propertyName: name(DiskPoolCreate-name^string) + cli: + cliKey: name + readOnly: true + - propertyName: type(DiskPoolCreate-type^string) + cli: + cliKey: type + readOnly: true + - schemaName: DiskPoolCreateProperties + cli: + cliKey: DiskPoolCreateProperties + properties: + - propertyName: availabilityZones(DiskPoolCreateProperties-availabilityZones^array) + cli: + cliKey: availabilityZones + - propertyName: disks(DiskPoolCreateProperties-disks^array) + cli: + cliKey: disks + - propertyName: subnetId(DiskPoolCreateProperties-subnetId^string) + cli: + cliKey: subnetId + - propertyName: additionalCapabilities(DiskPoolCreateProperties-additionalCapabilities^array) + cli: + cliKey: additionalCapabilities + - schemaName: DiskPoolUpdate + cli: + cliKey: DiskPoolUpdate + properties: + - propertyName: properties(DiskPoolUpdateProperties^object) + cli: + cliKey: properties + x-ms-client-flatten: true + - propertyName: tags(DiskPoolUpdate-tags^dictionary) + cli: + cliKey: tags + - schemaName: DiskPoolUpdateProperties + cli: + cliKey: DiskPoolUpdateProperties + properties: + - propertyName: disks(DiskPoolUpdateProperties-disks^array) + cli: + cliKey: disks + - schemaName: DiskPoolZoneListResult + cli: + cliKey: DiskPoolZoneListResult + properties: + - propertyName: value(DiskPoolZoneListResult-value^array) + cli: + cliKey: value + - propertyName: nextLink(DiskPoolZoneListResult-nextLink^string) + cli: + cliKey: nextLink + - schemaName: DiskPoolZoneInfo + cli: + cliKey: DiskPoolZoneInfo + properties: + - propertyName: availabilityZones(DiskPoolZoneInfo-availabilityZones^array) + cli: + cliKey: availabilityZones + - propertyName: additionalCapabilities(DiskPoolZoneInfo-additionalCapabilities^array) + cli: + cliKey: additionalCapabilities + - propertyName: sku(Sku^object) + cli: + cliKey: sku + - schemaName: OutboundEnvironmentEndpointList + cli: + cliKey: OutboundEnvironmentEndpointList + properties: + - propertyName: value(OutboundEnvironmentEndpointList-value^array) + cli: + cliKey: value + - propertyName: nextLink(OutboundEnvironmentEndpointList-nextLink^string) + cli: + cliKey: nextLink + readOnly: true + - schemaName: OutboundEnvironmentEndpoint + cli: + cliKey: OutboundEnvironmentEndpoint + properties: + - propertyName: category(OutboundEnvironmentEndpoint-category^string) + cli: + cliKey: category + - propertyName: endpoints(OutboundEnvironmentEndpoint-endpoints^array) + cli: + cliKey: endpoints + - schemaName: EndpointDependency + cli: + cliKey: EndpointDependency + properties: + - propertyName: domainName(EndpointDependency-domainName^string) + cli: + cliKey: domainName + - propertyName: endpointDetails(EndpointDependency-endpointDetails^array) + cli: + cliKey: endpointDetails + - schemaName: EndpointDetail + cli: + cliKey: EndpointDetail + properties: + - propertyName: ipAddress(EndpointDetail-ipAddress^string) + cli: + cliKey: ipAddress + - propertyName: port(integer^integer) + cli: + cliKey: port + - propertyName: latency(number^number) + cli: + cliKey: latency + - propertyName: isAccessible(boolean^boolean) + cli: + cliKey: isAccessible + - schemaName: IscsiTargetList + cli: + cliKey: IscsiTargetList + properties: + - propertyName: value(IscsiTargetList-value^array) + cli: + cliKey: value + - propertyName: nextLink(IscsiTargetList-nextLink^string) + cli: + cliKey: nextLink + readOnly: true + - schemaName: IscsiTarget + cli: + cliKey: IscsiTarget + properties: + - propertyName: properties(IscsiTargetProperties^object) + cli: + cliKey: properties + x-ms-client-flatten: true + - propertyName: systemData(SystemMetadata^object) + cli: + cliKey: systemData + readOnly: true + - schemaName: IscsiTargetProperties + cli: + cliKey: IscsiTargetProperties + properties: + - propertyName: aclMode(IscsiTargetAclMode^choice) + cli: + cliKey: aclMode + - propertyName: staticAcls(IscsiTargetProperties-staticAcls^array) + cli: + cliKey: staticAcls + - propertyName: luns(IscsiTargetProperties-luns^array) + cli: + cliKey: luns + - propertyName: targetIqn(IscsiTargetProperties-targetIqn^string) + cli: + cliKey: targetIqn + - propertyName: provisioningState(ProvisioningStates^choice) + cli: + cliKey: provisioningState + readOnly: true + - propertyName: status(OperationalStatus^choice) + cli: + cliKey: status + - propertyName: endpoints(IscsiTargetProperties-endpoints^array) + cli: + cliKey: endpoints + - propertyName: port(integer^integer) + cli: + cliKey: port + - schemaName: Acl + cli: + cliKey: Acl + properties: + - propertyName: initiatorIqn(Acl-initiatorIqn^string) + cli: + cliKey: initiatorIqn + - propertyName: mappedLuns(Acl-mappedLuns^array) + cli: + cliKey: mappedLuns + - schemaName: IscsiLun + cli: + cliKey: IscsiLun + properties: + - propertyName: name(IscsiLun-name^string) + cli: + cliKey: name + - propertyName: managedDiskAzureResourceId(IscsiLun-managedDiskAzureResourceId^string) + cli: + cliKey: managedDiskAzureResourceId + - schemaName: IscsiTargetCreate + cli: + cliKey: IscsiTargetCreate + properties: + - propertyName: properties(IscsiTargetCreateProperties^object) + cli: + cliKey: properties + x-ms-client-flatten: true + - schemaName: IscsiTargetCreateProperties + cli: + cliKey: IscsiTargetCreateProperties + properties: + - propertyName: aclMode(IscsiTargetAclMode^choice) + cli: + cliKey: aclMode + - propertyName: targetIqn(IscsiTargetCreateProperties-targetIqn^string) + cli: + cliKey: targetIqn + - propertyName: staticAcls(IscsiTargetCreateProperties-staticAcls^array) + cli: + cliKey: staticAcls + - propertyName: luns(IscsiTargetCreateProperties-luns^array) + cli: + cliKey: luns + - schemaName: IscsiTargetUpdate + cli: + cliKey: IscsiTargetUpdate + properties: + - propertyName: properties(IscsiTargetUpdateProperties^object) + cli: + cliKey: properties + x-ms-client-flatten: true + - schemaName: IscsiTargetUpdateProperties + cli: + cliKey: IscsiTargetUpdateProperties + properties: + - propertyName: staticAcls(IscsiTargetUpdateProperties-staticAcls^array) + cli: + cliKey: staticAcls + - propertyName: luns(IscsiTargetUpdateProperties-luns^array) + cli: + cliKey: luns + - schemaName: ProxyResource + cli: + cliKey: ProxyResource + choices: + all: + - choiceName: ProvisioningStates + cli: + cliKey: ProvisioningStates + choiceValues: + - choiceValue: Invalid + cli: + cliKey: Invalid + - choiceValue: Succeeded + cli: + cliKey: Succeeded + - choiceValue: Failed + cli: + cliKey: Failed + - choiceValue: Canceled + cli: + cliKey: Canceled + - choiceValue: Pending + cli: + cliKey: Pending + - choiceValue: Creating + cli: + cliKey: Creating + - choiceValue: Updating + cli: + cliKey: Updating + - choiceValue: Deleting + cli: + cliKey: Deleting + - choiceName: OperationalStatus + cli: + cliKey: OperationalStatus + choiceValues: + - choiceValue: Invalid + cli: + cliKey: Invalid + - choiceValue: Unknown + cli: + cliKey: Unknown + - choiceValue: Healthy + cli: + cliKey: Healthy + - choiceValue: Unhealthy + cli: + cliKey: Unhealthy + - choiceValue: Updating + cli: + cliKey: Updating + - choiceValue: Running + cli: + cliKey: Running + - choiceValue: Stopped + cli: + cliKey: Stopped + - choiceValue: Stopped (deallocated) + cli: + cliKey: Stopped (deallocated) + - choiceName: createdByType + cli: + cliKey: createdByType + choiceValues: + - choiceValue: User + cli: + cliKey: User + - choiceValue: Application + cli: + cliKey: Application + - choiceValue: ManagedIdentity + cli: + cliKey: ManagedIdentity + - choiceValue: Key + cli: + cliKey: Key + - choiceName: IscsiTargetAclMode + cli: + cliKey: IscsiTargetAclMode + choiceValues: + - choiceValue: Dynamic + cli: + cliKey: Dynamic + - choiceValue: Static + cli: + cliKey: Static + - choiceName: DiskPoolTier + cli: + cliKey: DiskPoolTier + choiceValues: + - choiceValue: Basic + cli: + cliKey: Basic + - choiceValue: Standard + cli: + cliKey: Standard + - choiceValue: Premium + cli: + cliKey: Premium diff --git a/src/diskpool/_az_debug/clicommon-000020-prename-post.yaml b/src/diskpool/_az_debug/clicommon-000020-prename-post.yaml new file mode 100644 index 00000000000..686ea2f7e72 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000020-prename-post.yaml @@ -0,0 +1,5632 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 20 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_77 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_75 + type: integer + precision: 32 + language: + default: + name: integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_76 + type: number + precision: 64 + language: + default: + name: number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_32 + type: integer + precision: 32 + language: + default: + name: integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: string + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRPOperation-name + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRPOperation-actionType + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplay-provider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplay-resource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplay-operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplay-description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRPOperation-origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationListResult-nextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponse-code + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponse-message + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponse-target + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorAdditionalInfo-type + description: The additional info type. + protocol: {} + - &ref_112 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: string + description: '' + protocol: {} + - &ref_50 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: Sku-name + description: Sku name + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: Sku-tier + description: Sku tier + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AvailabilityZone + description: Availability zone. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: Disk-id + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: DiskPoolProperties-subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AdditionalCapability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SystemMetadata-createdBy + description: The identity that created the resource. + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SystemMetadata-lastModifiedBy + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: string + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: TrackedResource-location + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: Resource-id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: Resource-name + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: Resource-type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolListResult-nextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_121 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: string + description: '' + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: DiskPoolCreateProperties-subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: DiskPoolCreate-location + description: The geo-location where the resource lives. + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreate-id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreate-name + description: The name of the resource + protocol: {} + - &ref_66 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreate-type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolZoneListResult-nextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_72 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: OutboundEnvironmentEndpoint-category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_73 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: EndpointDependency-domainName + description: The domain name of the dependency. + protocol: {} + - &ref_74 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: EndpointDetail-ipAddress + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_78 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: OutboundEnvironmentEndpointList-nextLink + description: Link to next page of resources. + protocol: {} + - &ref_24 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: Acl-initiatorIqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_25 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: Acl-mappedLunsItem + description: '' + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiLun-name + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_27 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiLun-managedDiskAzureResourceId + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_28 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetProperties-targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetProperties-endpointsItem + description: '' + protocol: {} + - &ref_82 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetList-nextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetCreateProperties-targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_29 + choices: + - value: Invalid + language: + default: + name: Invalid + description: '' + cli: + cliKey: Invalid + - value: Succeeded + language: + default: + name: Succeeded + description: '' + cli: + cliKey: Succeeded + - value: Failed + language: + default: + name: Failed + description: '' + cli: + cliKey: Failed + - value: Canceled + language: + default: + name: Canceled + description: '' + cli: + cliKey: Canceled + - value: Pending + language: + default: + name: Pending + description: '' + cli: + cliKey: Pending + - value: Creating + language: + default: + name: Creating + description: '' + cli: + cliKey: Creating + - value: Updating + language: + default: + name: Updating + description: '' + cli: + cliKey: Updating + - value: Deleting + language: + default: + name: Deleting + description: '' + cli: + cliKey: Deleting + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: ProvisioningStates + description: Provisioning state of the iSCSI Target. + cli: + cliKey: ProvisioningStates + protocol: {} + - &ref_30 + choices: + - value: Invalid + language: + default: + name: Invalid + description: '' + cli: + cliKey: Invalid + - value: Unknown + language: + default: + name: Unknown + description: '' + cli: + cliKey: Unknown + - value: Healthy + language: + default: + name: Healthy + description: '' + cli: + cliKey: Healthy + - value: Unhealthy + language: + default: + name: Unhealthy + description: '' + cli: + cliKey: Unhealthy + - value: Updating + language: + default: + name: Updating + description: '' + cli: + cliKey: Updating + - value: Running + language: + default: + name: Running + description: '' + cli: + cliKey: Running + - value: Stopped + language: + default: + name: Stopped + description: '' + cli: + cliKey: Stopped + - value: Stopped (deallocated) + language: + default: + name: Stopped (deallocated) + description: '' + cli: + cliKey: Stopped (deallocated) + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: OperationalStatus + description: Operational status of the resource. + cli: + cliKey: OperationalStatus + protocol: {} + - &ref_34 + choices: + - value: User + language: + default: + name: User + description: '' + cli: + cliKey: User + - value: Application + language: + default: + name: Application + description: '' + cli: + cliKey: Application + - value: ManagedIdentity + language: + default: + name: ManagedIdentity + description: '' + cli: + cliKey: ManagedIdentity + - value: Key + language: + default: + name: Key + description: '' + cli: + cliKey: Key + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: createdByType + description: The type of identity that created the resource. + cli: + cliKey: createdByType + protocol: {} + - &ref_23 + choices: + - value: Dynamic + language: + default: + name: Dynamic + description: '' + cli: + cliKey: Dynamic + - value: Static + language: + default: + name: Static + description: '' + cli: + cliKey: Static + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: IscsiTargetAclMode + description: ACL mode for iSCSI Target. + cli: + cliKey: IscsiTargetAclMode + protocol: {} + - choices: + - value: Basic + language: + default: + name: Basic + description: '' + cli: + cliKey: Basic + - value: Standard + language: + default: + name: Standard + description: '' + cli: + cliKey: Standard + - value: Premium + language: + default: + name: Premium + description: '' + cli: + cliKey: Premium + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: DiskPoolTier + description: SKU of the VM host part of the Disk Pool deployment + cli: + cliKey: DiskPoolTier + protocol: {} + constants: + - &ref_113 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: ApiVersion-2021-04-01-preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_116 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: Accept + description: 'Accept: application/json' + protocol: {} + - &ref_123 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application/json + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: TrackedResource-tags + description: Resource tags. + protocol: {} + - &ref_62 + type: dictionary + elementType: *ref_1 + language: + default: + name: DiskPoolCreate-tags + description: Resource tags. + protocol: {} + - &ref_68 + type: dictionary + elementType: *ref_1 + language: + default: + name: DiskPoolUpdate-tags + description: Resource tags. + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_35 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SystemMetadata-createdAt + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_37 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SystemMetadata-lastModifiedAt + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_117 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + cliKey: name + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: isDataAction + description: Indicates whether the operation applies to data-plane. + cli: + cliKey: isDataAction + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: actionType + description: Indicates the action type. + cli: + cliKey: actionType + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + cliKey: provider + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + cliKey: resource + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + cliKey: operation + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + cliKey: description + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolOperationDisplay + description: Metadata about an operation. + namespace: '' + cli: + cliKey: StoragePoolOperationDisplay + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + cliKey: display + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + cliKey: origin + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolRPOperation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + cliKey: StoragePoolRPOperation + protocol: {} + language: + default: + name: StoragePoolOperationListResult-value + description: An array of operations supported by the StoragePool RP. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + cliKey: value + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: nextLink + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolOperationListResult + description: List of operations supported by the RP. + namespace: '' + cli: + cliKey: StoragePoolOperationListResult + protocol: {} + - *ref_11 + - *ref_12 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + cliKey: code + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + cliKey: message + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + cliKey: target + protocol: {} + - schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: ErrorResponse-details + description: The error details. + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + cliKey: details + protocol: {} + - schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + cliKey: type + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + cliKey: info + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: ErrorAdditionalInfo + description: The resource management error additional info. + namespace: '' + cli: + cliKey: ErrorAdditionalInfo + protocol: {} + language: + default: + name: ErrorResponse-additionalInfo + description: The error additional info. + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additionalInfo + description: The error additional info. + cli: + cliKey: additionalInfo + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: ErrorResponse + description: The resource management error response. + namespace: '' + cli: + cliKey: ErrorResponse + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + cliKey: error + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: Error + description: The resource management error response. + namespace: '' + cli: + cliKey: Error + protocol: {} + - *ref_16 + - *ref_19 + - &ref_120 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_83 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + required: true + serializedName: aclMode + language: + default: + name: aclMode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + protocol: {} + - schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_24 + required: true + serializedName: initiatorIqn + language: + default: + name: initiatorIqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + cliKey: initiatorIqn + protocol: {} + - schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_25 + language: + default: + name: Acl-mappedLuns + description: List of LUN names mapped to the ACL. + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mappedLuns + description: List of LUN names mapped to the ACL. + cli: + cliKey: mappedLuns + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: Acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + cliKey: Acl + protocol: {} + language: + default: + name: IscsiTargetProperties-staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + required: false + serializedName: staticAcls + language: + default: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + protocol: {} + - schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_26 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + cliKey: name + protocol: {} + - schema: *ref_27 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managedDiskAzureResourceId + description: Azure Resource ID of the Managed Disk. + cli: + cliKey: managedDiskAzureResourceId + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: IscsiLun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + cliKey: IscsiLun + protocol: {} + language: + default: + name: IscsiTargetProperties-luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + protocol: {} + - schema: *ref_28 + required: true + serializedName: targetIqn + language: + default: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + protocol: {} + - schema: *ref_29 + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioningState + description: State of the operation on the resource. + cli: + cliKey: provisioningState + protocol: {} + - schema: *ref_30 + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + cliKey: status + protocol: {} + - schema: &ref_106 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_31 + language: + default: + name: IscsiTargetProperties-endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + protocol: {} + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cliKey: endpoints + protocol: {} + - schema: *ref_32 + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + cliKey: port + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: IscsiTargetProperties + description: Response properties for iSCSI Target operations. + namespace: '' + cli: + cliKey: IscsiTargetProperties + protocol: {} + required: true + serializedName: properties + extensions: + x-ms-client-flatten: true + language: + default: + name: properties + description: Properties for iSCSI Target operations. + cli: + cliKey: properties + protocol: {} + - schema: &ref_56 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_33 + serializedName: createdBy + language: + default: + name: createdBy + description: The identity that created the resource. + cli: + cliKey: createdBy + protocol: {} + - schema: *ref_34 + serializedName: createdByType + language: + default: + name: createdByType + description: The type of identity that created the resource. + cli: + cliKey: createdByType + protocol: {} + - schema: *ref_35 + serializedName: createdAt + language: + default: + name: createdAt + description: The timestamp of resource creation (UTC). + cli: + cliKey: createdAt + protocol: {} + - schema: *ref_36 + serializedName: lastModifiedBy + language: + default: + name: lastModifiedBy + description: The identity that last modified the resource. + cli: + cliKey: lastModifiedBy + protocol: {} + - schema: *ref_34 + serializedName: lastModifiedByType + language: + default: + name: lastModifiedByType + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedByType + protocol: {} + - schema: *ref_37 + serializedName: lastModifiedAt + language: + default: + name: lastModifiedAt + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedAt + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: SystemMetadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + cliKey: SystemMetadata + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: systemData + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: IscsiTarget + description: Response for iSCSI Target requests. + namespace: '' + cli: + cliKey: IscsiTarget + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_84 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + required: true + serializedName: aclMode + language: + default: + name: aclMode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + protocol: {} + - schema: *ref_38 + required: false + serializedName: targetIqn + language: + default: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + protocol: {} + - schema: &ref_108 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: IscsiTargetCreateProperties-staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + required: false + serializedName: staticAcls + language: + default: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + protocol: {} + - schema: &ref_109 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: IscsiTargetCreateProperties-luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: IscsiTargetCreateProperties + description: Properties for iSCSI Target create or update request. + namespace: '' + cli: + cliKey: IscsiTargetCreateProperties + protocol: {} + required: true + serializedName: properties + extensions: + x-ms-client-flatten: true + language: + default: + name: properties + description: Properties for iSCSI Target create request. + cli: + cliKey: properties + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: IscsiTargetCreate + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + cliKey: IscsiTargetCreate + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_85 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_110 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: IscsiTargetUpdateProperties-staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + serializedName: staticAcls + language: + default: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + protocol: {} + - schema: &ref_111 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: IscsiTargetUpdateProperties-luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: IscsiTargetUpdateProperties + description: Properties for iSCSI Target update request. + namespace: '' + cli: + cliKey: IscsiTargetUpdateProperties + protocol: {} + required: true + serializedName: properties + extensions: + x-ms-client-flatten: true + language: + default: + name: properties + description: Properties for iSCSI Target update request. + cli: + cliKey: properties + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: IscsiTargetUpdate + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + cliKey: IscsiTargetUpdate + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: ProxyResource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + cliKey: ProxyResource + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: Resource + description: ARM resource model definition. + namespace: '' + cli: + cliKey: Resource + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: TrackedResource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + cliKey: TrackedResource + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_50 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + cliKey: name + protocol: {} + - schema: *ref_51 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: Sku + description: Sku for ARM resource + namespace: '' + cli: + cliKey: Sku + protocol: {} + required: false + serializedName: sku + extensions: + x-ms-client-flatten: true + language: + default: + name: sku + description: Determines the SKU of the Disk pool + cli: + cliKey: sku + protocol: {} + - schema: &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioningState + description: State of the operation on the resource. + cli: + cliKey: provisioningState + protocol: {} + - schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_52 + language: + default: + name: DiskPoolProperties-availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + required: true + serializedName: availabilityZones + language: + default: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + protocol: {} + - schema: *ref_30 + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + cliKey: status + protocol: {} + - schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_60 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_53 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + cliKey: id + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: Disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + cliKey: Disk + protocol: {} + language: + default: + name: DiskPoolProperties-disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + protocol: {} + - schema: *ref_54 + required: true + serializedName: subnetId + language: + default: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + protocol: {} + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_55 + language: + default: + name: DiskPoolProperties-additionalCapabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + required: false + serializedName: additionalCapabilities + language: + default: + name: additionalCapabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: DiskPoolProperties + description: Disk Pool response properties. + namespace: '' + cli: + cliKey: DiskPoolProperties + protocol: {} + required: true + serializedName: properties + extensions: + x-ms-client-flatten: true + language: + default: + name: properties + description: Properties of Disk Pool. + cli: + cliKey: properties + protocol: {} + - schema: *ref_56 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: systemData + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: DiskPool + description: Response for Disk Pool request. + namespace: '' + cli: + cliKey: DiskPool + protocol: {} + language: + default: + name: DiskPoolListResult-value + description: An array of Disk pool objects. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + cliKey: value + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: nextLink + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolListResult + description: List of Disk Pools + namespace: '' + cli: + cliKey: DiskPoolListResult + protocol: {} + - *ref_20 + - *ref_58 + - *ref_59 + - *ref_60 + - *ref_56 + - *ref_21 + - *ref_22 + - &ref_124 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_58 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliKey: sku + protocol: {} + - schema: &ref_67 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_52 + language: + default: + name: DiskPoolCreateProperties-availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + required: false + serializedName: availabilityZones + language: + default: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_60 + language: + default: + name: DiskPoolCreateProperties-disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + protocol: {} + - schema: *ref_61 + required: true + serializedName: subnetId + language: + default: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_55 + language: + default: + name: DiskPoolCreateProperties-additionalCapabilities + description: List of additional capabilities for a Disk Pool. + protocol: {} + required: false + serializedName: additionalCapabilities + language: + default: + name: additionalCapabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliKey: additionalCapabilities + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: DiskPoolCreateProperties + description: Properties for Disk Pool create or update request. + namespace: '' + cli: + cliKey: DiskPoolCreateProperties + protocol: {} + required: true + serializedName: properties + extensions: + x-ms-client-flatten: true + language: + default: + name: properties + description: Properties for Disk Pool create request. + cli: + cliKey: properties + protocol: {} + - schema: *ref_62 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + protocol: {} + - schema: *ref_63 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + protocol: {} + - schema: *ref_65 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + protocol: {} + - schema: *ref_66 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: DiskPoolCreate + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + cliKey: DiskPoolCreate + protocol: {} + - *ref_67 + - &ref_128 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_69 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_60 + language: + default: + name: DiskPoolUpdateProperties-disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: DiskPoolUpdateProperties + description: Properties for Disk Pool update request. + namespace: '' + cli: + cliKey: DiskPoolUpdateProperties + protocol: {} + required: true + serializedName: properties + extensions: + x-ms-client-flatten: true + language: + default: + name: properties + description: Properties for Disk Pool update request. + cli: + cliKey: properties + protocol: {} + - schema: *ref_68 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: DiskPoolUpdate + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + cliKey: DiskPoolUpdate + protocol: {} + - *ref_69 + - &ref_144 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_71 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_52 + language: + default: + name: DiskPoolZoneInfo-availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + serializedName: availabilityZones + language: + default: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_55 + language: + default: + name: DiskPoolZoneInfo-additionalCapabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additionalCapabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + protocol: {} + - schema: *ref_58 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + cliKey: sku + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolZoneInfo + description: Disk Pool Sku Details + namespace: '' + cli: + cliKey: DiskPoolZoneInfo + protocol: {} + language: + default: + name: DiskPoolZoneListResult-value + description: The list of Disk Pool Skus. + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + cliKey: value + protocol: {} + - schema: *ref_70 + serializedName: nextLink + language: + default: + name: nextLink + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolZoneListResult + description: List Disk Pool skus operation response. + namespace: '' + cli: + cliKey: DiskPoolZoneListResult + protocol: {} + - *ref_71 + - &ref_138 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_79 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_72 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + cliKey: category + protocol: {} + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_80 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_73 + serializedName: domainName + language: + default: + name: domainName + description: The domain name of the dependency. + cli: + cliKey: domainName + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_81 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_74 + serializedName: ipAddress + language: + default: + name: ipAddress + description: An IP Address that Domain Name currently resolves to. + cli: + cliKey: ipAddress + protocol: {} + - schema: *ref_75 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + cliKey: port + protocol: {} + - schema: *ref_76 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: latency + protocol: {} + - schema: *ref_77 + serializedName: isAccessible + language: + default: + name: isAccessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: isAccessible + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: EndpointDetail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + cliKey: EndpointDetail + protocol: {} + language: + default: + name: EndpointDependency-endpointDetails + description: The IP Addresses and Ports used when connecting to DomainName. + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpointDetails + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cliKey: endpointDetails + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: EndpointDependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + cliKey: EndpointDependency + protocol: {} + language: + default: + name: OutboundEnvironmentEndpoint-endpoints + description: The endpoints that the App Service Environment reaches the service at. + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cliKey: endpoints + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: OutboundEnvironmentEndpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + cliKey: OutboundEnvironmentEndpoint + protocol: {} + language: + default: + name: OutboundEnvironmentEndpointList-value + description: Collection of resources. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + cliKey: value + protocol: {} + - schema: *ref_78 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: nextLink + description: Link to next page of resources. + cli: + cliKey: nextLink + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: OutboundEnvironmentEndpointList + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + cliKey: OutboundEnvironmentEndpointList + protocol: {} + - *ref_79 + - *ref_80 + - *ref_81 + - &ref_147 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_107 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: IscsiTargetList-value + description: An array of iSCSI Targets in a Disk Pool. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cliKey: value + protocol: {} + - schema: *ref_82 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: nextLink + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: IscsiTargetList + description: List of iSCSI Targets. + namespace: '' + cli: + cliKey: IscsiTargetList + protocol: {} + - *ref_41 + - *ref_83 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_84 + - *ref_43 + - *ref_85 + - *ref_44 + arrays: + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 + - *ref_106 + - *ref_107 + - *ref_108 + - *ref_109 + - *ref_110 + - *ref_111 +globalParameters: + - &ref_119 + schema: *ref_112 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscriptionId + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + cliKey: subscriptionId + protocol: + http: + in: path + - &ref_114 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + cliKey: $host + protocol: + http: + in: uri + - &ref_115 + schema: *ref_113 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: ApiVersion + description: Api Version + serializedName: api-version + cli: + cliKey: ApiVersion + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_115 + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_117 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: List + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + cliKey: List + protocol: {} + language: + default: + name: Operations + description: '' + cli: + cliKey: Operations + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - *ref_115 + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_120 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: ListBySubscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + cliKey: ListBySubscription + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_122 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_122 + responses: + - schema: *ref_120 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: ListByResourceGroup + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByResourceGroup + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_126 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_127 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_123 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content-type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: + in: header + - &ref_125 + schema: *ref_124 + implementation: Method + required: true + language: + default: + name: diskPoolCreatePayload + description: Request payload for Disk Pool create operation + cli: + cliKey: diskPoolCreatePayload + protocol: + http: + in: body + style: json + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: + - *ref_125 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_126 + - *ref_127 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: CreateOrUpdate + description: Create or Update Disk pool. + cli: + cliKey: CreateOrUpdate + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_130 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_131 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_123 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content-type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: + in: header + - &ref_129 + schema: *ref_128 + implementation: Method + required: true + language: + default: + name: diskPoolUpdatePayload + description: Request payload for Disk Pool update operation. + cli: + cliKey: diskPoolUpdatePayload + protocol: + http: + in: body + style: json + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: + - *ref_129 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_130 + - *ref_131 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: Update + description: Update a Disk pool. + cli: + cliKey: Update + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_132 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_133 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_132 + - *ref_133 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: Delete + description: Delete a Disk pool. + cli: + cliKey: Delete + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_134 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_135 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_134 + - *ref_135 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: Get + description: Get a Disk pool. + cli: + cliKey: Get + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_136 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_137 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_136 + - *ref_137 + responses: + - schema: *ref_138 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: ListOutboundNetworkDependenciesEndpoints + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_139 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_140 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_139 + - *ref_140 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: Start + description: The operation to start a Disk Pool. + cli: + cliKey: Start + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_141 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_142 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_141 + - *ref_142 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: Deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + cliKey: Deallocate + protocol: {} + language: + default: + name: DiskPools + description: '' + cli: + cliKey: DiskPools + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_115 + - *ref_119 + - &ref_143 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + cliKey: location + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_143 + responses: + - schema: *ref_144 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: List + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + cliKey: List + protocol: {} + language: + default: + name: DiskPoolZones + description: '' + cli: + cliKey: DiskPoolZones + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_145 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_146 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_145 + - *ref_146 + responses: + - schema: *ref_147 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: ListByDiskPool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByDiskPool + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_149 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_150 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - &ref_151 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsiTargetName + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_123 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content-type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: + in: header + - &ref_148 + schema: *ref_42 + implementation: Method + required: true + language: + default: + name: iscsiTargetCreatePayload + description: Request payload for iSCSI Target create operation. + cli: + cliKey: iscsiTargetCreatePayload + protocol: + http: + in: body + style: json + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: + - *ref_148 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_149 + - *ref_150 + - *ref_151 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: CreateOrUpdate + description: Create or Update an iSCSI Target. + cli: + cliKey: CreateOrUpdate + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_153 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_154 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - &ref_155 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsiTargetName + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_123 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content-type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: + in: header + - &ref_152 + schema: *ref_43 + implementation: Method + required: true + language: + default: + name: iscsiTargetUpdatePayload + description: Request payload for iSCSI Target update operation. + cli: + cliKey: iscsiTargetUpdatePayload + protocol: + http: + in: body + style: json + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: + - *ref_152 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_153 + - *ref_154 + - *ref_155 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: Update + description: Update an iSCSI Target. + cli: + cliKey: Update + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_156 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_157 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - &ref_158 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsiTargetName + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_156 + - *ref_157 + - *ref_158 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: Delete + description: Delete an iSCSI Target. + cli: + cliKey: Delete + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_114 + - *ref_119 + - &ref_159 + schema: *ref_121 + implementation: Method + required: true + language: + default: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_160 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: diskPoolName + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - &ref_161 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsiTargetName + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + protocol: + http: + in: path + - *ref_115 + requests: + - parameters: + - schema: *ref_116 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_159 + - *ref_160 + - *ref_161 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_118 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: Get + description: Get an iSCSI Target. + cli: + cliKey: Get + protocol: {} + language: + default: + name: IscsiTargets + description: '' + cli: + cliKey: IscsiTargets + protocol: {} +security: + authenticationRequired: true +language: + default: + name: '' + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000030-modeler-post-processor-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000030-modeler-post-processor-pre-simplified.yaml new file mode 100644 index 00000000000..ab17a322514 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000030-modeler-post-processor-pre-simplified.yaml @@ -0,0 +1,896 @@ +operationGroups: + all: + - operationGroupName: operations + cli: + cliKey: Operations + operations: + - operationName: list + cli: + cliKey: List + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationGroupName: disk_pools + cli: + cliKey: DiskPools + operations: + - operationName: list_by_subscription + cli: + cliKey: ListBySubscription + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationName: list_by_resource_group + cli: + cliKey: ListByResourceGroup + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationName: create_or_update + cli: + cliKey: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cliKey: diskPoolCreatePayload + bodySchema: disk_pool_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationName: update + cli: + cliKey: Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) + cli: + cliKey: diskPoolUpdatePayload + bodySchema: disk_pool_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationName: delete + cli: + cliKey: Delete + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationName: get + cli: + cliKey: Get + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationName: list_outbound_network_dependencies_endpoints + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationName: start + cli: + cliKey: Start + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationName: deallocate + cli: + cliKey: Deallocate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationGroupName: disk_pool_zones + cli: + cliKey: DiskPoolZones + operations: + - operationName: list + cli: + cliKey: List + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + - parameterName: location(string^string) + cli: + cliKey: location + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationGroupName: iscsi_targets + cli: + cliKey: IscsiTargets + operations: + - operationName: list_by_disk_pool + cli: + cliKey: ListByDiskPool + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationName: create_or_update + cli: + cliKey: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cliKey: iscsiTargetCreatePayload + bodySchema: iscsi_target_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationName: update + cli: + cliKey: Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) + cli: + cliKey: iscsiTargetUpdatePayload + bodySchema: iscsi_target_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationName: delete + cli: + cliKey: Delete + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationName: get + cli: + cliKey: Get + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept +schemas: + objects: + all: + - schemaName: storage_pool_operation_list_result + cli: + cliKey: StoragePoolOperationListResult + properties: + - propertyName: value(storage_pool_operation_list_result_value^array) + cli: + cliKey: value + - propertyName: next_link(storage_pool_operation_list_result_next_link^string) + cli: + cliKey: nextLink + - schemaName: storage_pool_RP_operation + cli: + cliKey: StoragePoolRPOperation + properties: + - propertyName: name(storage_pool_RP_operation_name^string) + cli: + cliKey: name + - propertyName: is_data_action(boolean^boolean) + cli: + cliKey: isDataAction + - propertyName: action_type(storage_pool_RP_operation_action_type^string) + cli: + cliKey: actionType + - propertyName: display(storage_pool_operation_display^object) + cli: + cliKey: display + - propertyName: origin(storage_pool_RP_operation_origin^string) + cli: + cliKey: origin + - schemaName: storage_pool_operation_display + cli: + cliKey: StoragePoolOperationDisplay + properties: + - propertyName: provider(storage_pool_operation_display_provider^string) + cli: + cliKey: provider + - propertyName: resource(storage_pool_operation_display_resource^string) + cli: + cliKey: resource + - propertyName: operation(storage_pool_operation_display_operation^string) + cli: + cliKey: operation + - propertyName: description(storage_pool_operation_display_description^string) + cli: + cliKey: description + - schemaName: error + cli: + cliKey: Error + properties: + - propertyName: error(error_response^object) + cli: + cliKey: error + - schemaName: error_response + cli: + cliKey: ErrorResponse + properties: + - propertyName: code(error_response_code^string) + cli: + cliKey: code + readOnly: true + - propertyName: message(error_response_message^string) + cli: + cliKey: message + readOnly: true + - propertyName: target(error_response_target^string) + cli: + cliKey: target + readOnly: true + - propertyName: details(error_response_details^array) + cli: + cliKey: details + readOnly: true + - propertyName: additional_info(error_response_additional_info^array) + cli: + cliKey: additionalInfo + readOnly: true + - schemaName: error_additional_info + cli: + cliKey: ErrorAdditionalInfo + properties: + - propertyName: type(error_additional_info_type^string) + cli: + cliKey: type + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + readOnly: true + - schemaName: disk_pool_list_result + cli: + cliKey: DiskPoolListResult + properties: + - propertyName: value(disk_pool_list_result_value^array) + cli: + cliKey: value + - propertyName: next_link(disk_pool_list_result_next_link^string) + cli: + cliKey: nextLink + readOnly: true + - schemaName: disk_pool + cli: + cliKey: DiskPool + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + readOnly: true + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + readOnly: true + - propertyName: availability_zones(disk_pool_properties_availability_zones^array) + cli: + cliKey: availabilityZones + - propertyName: status(operational_status^choice) + cli: + cliKey: status + - propertyName: disks(disk_pool_properties_disks^array) + cli: + cliKey: disks + - propertyName: subnet_id(disk_pool_properties_subnet_id^string) + cli: + cliKey: subnetId + - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + - propertyName: name_sku_name(sku_name^string) + cli: + cliKey: name + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + - schemaName: sku + cli: + cliKey: Sku + properties: + - propertyName: name(sku_name^string) + cli: + cliKey: name + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + - schemaName: disk + cli: + cliKey: Disk + properties: + - propertyName: id(disk_id^string) + cli: + cliKey: id + - schemaName: system_metadata + cli: + cliKey: SystemMetadata + properties: + - propertyName: created_by(system_metadata_created_by^string) + cli: + cliKey: createdBy + - propertyName: created_by_type(created_by_type^choice) + cli: + cliKey: createdByType + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + cliKey: createdAt + - propertyName: last_modified_by(system_metadata_last_modified_by^string) + cli: + cliKey: lastModifiedBy + - propertyName: last_modified_by_type(created_by_type^choice) + cli: + cliKey: lastModifiedByType + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + cliKey: lastModifiedAt + - schemaName: tracked_resource + cli: + cliKey: TrackedResource + properties: + - propertyName: tags(tracked_resource_tags^dictionary) + cli: + cliKey: tags + - propertyName: location(tracked_resource_location^string) + cli: + cliKey: location + - schemaName: resource + cli: + cliKey: Resource + properties: + - propertyName: id(resource_id^string) + cli: + cliKey: id + readOnly: true + - propertyName: name(resource_name^string) + cli: + cliKey: name + readOnly: true + - propertyName: type(resource_type^string) + cli: + cliKey: type + readOnly: true + - schemaName: disk_pool_create + cli: + cliKey: DiskPoolCreate + properties: + - propertyName: sku(sku^object) + cli: + cliKey: sku + - propertyName: tags(disk_pool_create_tags^dictionary) + cli: + cliKey: tags + - propertyName: location(disk_pool_create_location^string) + cli: + cliKey: location + - propertyName: id(disk_pool_create_id^string) + cli: + cliKey: id + readOnly: true + - propertyName: name(disk_pool_create_name^string) + cli: + cliKey: name + readOnly: true + - propertyName: type(disk_pool_create_type^string) + cli: + cliKey: type + readOnly: true + - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliKey: availabilityZones + - propertyName: disks(disk_pool_create_properties_disks^array) + cli: + cliKey: disks + - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliKey: subnetId + - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + - schemaName: disk_pool_update + cli: + cliKey: DiskPoolUpdate + properties: + - propertyName: tags(disk_pool_update_tags^dictionary) + cli: + cliKey: tags + - propertyName: disks(disk_pool_update_properties_disks^array) + cli: + cliKey: disks + - schemaName: disk_pool_zone_list_result + cli: + cliKey: DiskPoolZoneListResult + properties: + - propertyName: value(disk_pool_zone_list_result_value^array) + cli: + cliKey: value + - propertyName: next_link(disk_pool_zone_list_result_next_link^string) + cli: + cliKey: nextLink + - schemaName: disk_pool_zone_info + cli: + cliKey: DiskPoolZoneInfo + properties: + - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) + cli: + cliKey: availabilityZones + - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + - propertyName: sku(sku^object) + cli: + cliKey: sku + - schemaName: outbound_environment_endpoint_list + cli: + cliKey: OutboundEnvironmentEndpointList + properties: + - propertyName: value(outbound_environment_endpoint_list_value^array) + cli: + cliKey: value + - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) + cli: + cliKey: nextLink + readOnly: true + - schemaName: outbound_environment_endpoint + cli: + cliKey: OutboundEnvironmentEndpoint + properties: + - propertyName: category(outbound_environment_endpoint_category^string) + cli: + cliKey: category + - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) + cli: + cliKey: endpoints + - schemaName: endpoint_dependency + cli: + cliKey: EndpointDependency + properties: + - propertyName: domain_name(endpoint_dependency_domain_name^string) + cli: + cliKey: domainName + - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) + cli: + cliKey: endpointDetails + - schemaName: endpoint_detail + cli: + cliKey: EndpointDetail + properties: + - propertyName: ip_address(endpoint_detail_ip_address^string) + cli: + cliKey: ipAddress + - propertyName: port(integer^integer) + cli: + cliKey: port + - propertyName: latency(number^number) + cli: + cliKey: latency + - propertyName: is_accessible(boolean^boolean) + cli: + cliKey: isAccessible + - schemaName: iscsi_target_list + cli: + cliKey: IscsiTargetList + properties: + - propertyName: value(iscsi_target_list_value^array) + cli: + cliKey: value + - propertyName: next_link(iscsi_target_list_next_link^string) + cli: + cliKey: nextLink + readOnly: true + - schemaName: iscsi_target + cli: + cliKey: IscsiTarget + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + readOnly: true + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + - propertyName: static_acls(iscsi_target_properties_static_acls^array) + cli: + cliKey: staticAcls + - propertyName: luns(iscsi_target_properties_luns^array) + cli: + cliKey: luns + - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) + cli: + cliKey: targetIqn + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + readOnly: true + - propertyName: status(operational_status^choice) + cli: + cliKey: status + - propertyName: endpoints(iscsi_target_properties_endpoints^array) + cli: + cliKey: endpoints + - propertyName: port(integer^integer) + cli: + cliKey: port + - schemaName: acl + cli: + cliKey: Acl + properties: + - propertyName: initiator_iqn(acl_initiator_iqn^string) + cli: + cliKey: initiatorIqn + - propertyName: mapped_luns(acl_mapped_luns^array) + cli: + cliKey: mappedLuns + - schemaName: iscsi_lun + cli: + cliKey: IscsiLun + properties: + - propertyName: name(iscsi_lun_name^string) + cli: + cliKey: name + - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) + cli: + cliKey: managedDiskAzureResourceId + - schemaName: iscsi_target_create + cli: + cliKey: IscsiTargetCreate + properties: + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliKey: targetIqn + - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliKey: staticAcls + - propertyName: luns(iscsi_target_create_properties_luns^array) + cli: + cliKey: luns + - schemaName: iscsi_target_update + cli: + cliKey: IscsiTargetUpdate + properties: + - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliKey: staticAcls + - propertyName: luns(iscsi_target_update_properties_luns^array) + cli: + cliKey: luns + - schemaName: proxy_resource + cli: + cliKey: ProxyResource + choices: + all: + - choiceName: provisioning_states + cli: + cliKey: ProvisioningStates + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + - choiceValue: succeeded + cli: + cliKey: Succeeded + - choiceValue: failed + cli: + cliKey: Failed + - choiceValue: canceled + cli: + cliKey: Canceled + - choiceValue: pending + cli: + cliKey: Pending + - choiceValue: creating + cli: + cliKey: Creating + - choiceValue: updating + cli: + cliKey: Updating + - choiceValue: deleting + cli: + cliKey: Deleting + - choiceName: operational_status + cli: + cliKey: OperationalStatus + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + - choiceValue: unknown + cli: + cliKey: Unknown + - choiceValue: healthy + cli: + cliKey: Healthy + - choiceValue: unhealthy + cli: + cliKey: Unhealthy + - choiceValue: updating + cli: + cliKey: Updating + - choiceValue: running + cli: + cliKey: Running + - choiceValue: stopped + cli: + cliKey: Stopped + - choiceValue: stopped_deallocated_ + cli: + cliKey: Stopped (deallocated) + - choiceName: created_by_type + cli: + cliKey: createdByType + choiceValues: + - choiceValue: user + cli: + cliKey: User + - choiceValue: application + cli: + cliKey: Application + - choiceValue: managed_identity + cli: + cliKey: ManagedIdentity + - choiceValue: key + cli: + cliKey: Key + - choiceName: iscsi_target_acl_mode + cli: + cliKey: IscsiTargetAclMode + choiceValues: + - choiceValue: dynamic + cli: + cliKey: Dynamic + - choiceValue: static + cli: + cliKey: Static + - choiceName: disk_pool_tier + cli: + cliKey: DiskPoolTier + choiceValues: + - choiceValue: basic + cli: + cliKey: Basic + - choiceValue: standard + cli: + cliKey: Standard + - choiceValue: premium + cli: + cliKey: Premium diff --git a/src/diskpool/_az_debug/clicommon-000030-modeler-post-processor-pre.yaml b/src/diskpool/_az_debug/clicommon-000030-modeler-post-processor-pre.yaml new file mode 100644 index 00000000000..d5c0266297a --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000030-modeler-post-processor-pre.yaml @@ -0,0 +1,5543 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_76 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_74 + type: integer + precision: 32 + language: + default: + name: integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_75 + type: number + precision: 64 + language: + default: + name: number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: string + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_name + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_action_type + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_provider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_resource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_code + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_message + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_target + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_additional_info_type + description: The additional info type. + protocol: {} + - &ref_108 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: string + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_name + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_tier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: availability_zone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_id + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: additional_capability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_by + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_by + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: string + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: tracked_resource_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_name + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_117 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: string + description: '' + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_create_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: disk_pool_create_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_name + description: The name of the resource + protocol: {} + - &ref_66 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_zone_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_72 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_dependency_domain_name + description: The domain name of the dependency. + protocol: {} + - &ref_73 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_detail_ip_address + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_77 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_list_next_link + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_mapped_luns_item + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_name + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_endpoints_item + description: '' + protocol: {} + - &ref_81 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_list_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_create_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + cliKey: Succeeded + - value: Failed + language: + default: + name: failed + description: '' + cli: + cliKey: Failed + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + cliKey: Canceled + - value: Pending + language: + default: + name: pending + description: '' + cli: + cliKey: Pending + - value: Creating + language: + default: + name: creating + description: '' + cli: + cliKey: Creating + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + cliKey: Deleting + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: provisioning_states + description: Provisioning state of the iSCSI Target. + cli: + cliKey: ProvisioningStates + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + cliKey: Unknown + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + cliKey: Healthy + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + cliKey: Unhealthy + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + - value: Running + language: + default: + name: running + description: '' + cli: + cliKey: Running + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + cliKey: Stopped + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated_ + description: '' + cli: + cliKey: Stopped (deallocated) + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: operational_status + description: Operational status of the resource. + cli: + cliKey: OperationalStatus + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + cliKey: User + - value: Application + language: + default: + name: application + description: '' + cli: + cliKey: Application + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + cliKey: ManagedIdentity + - value: Key + language: + default: + name: key + description: '' + cli: + cliKey: Key + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + cliKey: Dynamic + - value: Static + language: + default: + name: static + description: '' + cli: + cliKey: Static + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: iscsi_target_acl_mode + description: ACL mode for iSCSI Target. + cli: + cliKey: IscsiTargetAclMode + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + cliKey: Basic + - value: Standard + language: + default: + name: standard + description: '' + cli: + cliKey: Standard + - value: Premium + language: + default: + name: premium + description: '' + cli: + cliKey: Premium + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: disk_pool_tier + description: SKU of the VM host part of the Disk Pool deployment + cli: + cliKey: DiskPoolTier + protocol: {} + constants: + - &ref_109 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_112 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + protocol: {} + - &ref_119 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: tracked_resource_tags + description: Resource tags. + protocol: {} + - &ref_62 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_create_tags + description: Resource tags. + protocol: {} + - &ref_68 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_update_tags + description: Resource tags. + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_113 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + cliKey: name + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + cliKey: isDataAction + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + cliKey: actionType + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + cliKey: provider + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + cliKey: resource + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + cliKey: operation + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + cliKey: description + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_display + description: Metadata about an operation. + namespace: '' + cli: + cliKey: StoragePoolOperationDisplay + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + cliKey: display + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + cliKey: origin + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_RP_operation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + cliKey: StoragePoolRPOperation + protocol: {} + language: + default: + name: storage_pool_operation_list_result_value + description: An array of operations supported by the StoragePool RP. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + cliKey: value + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_list_result + description: List of operations supported by the RP. + namespace: '' + cli: + cliKey: StoragePoolOperationListResult + protocol: {} + - *ref_11 + - *ref_12 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + cliKey: code + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + cliKey: message + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + cliKey: target + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: error_response_details + description: The error details. + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + cliKey: details + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + cliKey: type + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + cliKey: info + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_additional_info + description: The resource management error additional info. + namespace: '' + cli: + cliKey: ErrorAdditionalInfo + protocol: {} + language: + default: + name: error_response_additional_info + description: The error additional info. + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + cliKey: additionalInfo + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_response + description: The resource management error response. + namespace: '' + cli: + cliKey: ErrorResponse + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + cliKey: error + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error + description: The resource management error response. + namespace: '' + cli: + cliKey: Error + protocol: {} + - *ref_16 + - *ref_19 + - &ref_116 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + cliKey: createdBy + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + cliKey: createdAt + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + cliKey: lastModifiedBy + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedByType + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedAt + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: system_metadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + cliKey: SystemMetadata + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + cliKey: initiatorIqn + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: acl_mapped_luns + description: List of LUN names mapped to the ACL. + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cliKey: mappedLuns + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + cliKey: Acl + protocol: {} + language: + default: + name: iscsi_target_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + protocol: {} + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + cliKey: name + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + cliKey: managedDiskAzureResourceId + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_lun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + cliKey: IscsiLun + protocol: {} + language: + default: + name: iscsi_target_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + cliKey: status + protocol: {} + - schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: iscsi_target_properties_endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cliKey: endpoints + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + cliKey: port + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_target + description: Response for iSCSI Target requests. + namespace: '' + cli: + cliKey: IscsiTarget + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + protocol: {} + - schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + protocol: {} + - schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_create_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + protocol: {} + - schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_create_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_create + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + cliKey: IscsiTargetCreate + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_106 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_update_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + protocol: {} + - schema: &ref_107 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_update_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_update + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + cliKey: IscsiTargetUpdate + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: proxy_resource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + cliKey: ProxyResource + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: resource + description: ARM resource model definition. + namespace: '' + cli: + cliKey: Resource + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: tracked_resource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + cliKey: TrackedResource + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + cliKey: status + protocol: {} + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_60 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + cliKey: id + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + cliKey: Disk + protocol: {} + language: + default: + name: disk_pool_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + protocol: {} + - schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_properties_additional_capabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: &ref_58 + cliKey: name + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: &ref_59 + cliKey: tier + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk_pool + description: Response for Disk Pool request. + namespace: '' + cli: + cliKey: DiskPool + protocol: {} + language: + default: + name: disk_pool_list_result_value + description: An array of Disk pool objects. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + cliKey: value + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_list_result + description: List of Disk Pools + namespace: '' + cli: + cliKey: DiskPoolListResult + protocol: {} + - *ref_20 + - &ref_61 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: *ref_58 + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: *ref_59 + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: sku + description: Sku for ARM resource + namespace: '' + cli: + cliKey: Sku + protocol: {} + - *ref_60 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_120 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_61 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliKey: sku + protocol: {} + - schema: *ref_62 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + protocol: {} + - schema: *ref_63 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + protocol: {} + - schema: *ref_65 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + protocol: {} + - schema: *ref_66 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + protocol: {} + - schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_create_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + protocol: {} + - schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_60 + language: + default: + name: disk_pool_create_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + protocol: {} + - schema: *ref_67 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + protocol: {} + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_create_properties_additional_capabilities + description: List of additional capabilities for a Disk Pool. + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliKey: additionalCapabilities + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: disk_pool_create + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + cliKey: DiskPoolCreate + protocol: {} + - &ref_124 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_68 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_60 + language: + default: + name: disk_pool_update_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: disk_pool_update + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + cliKey: DiskPoolUpdate + protocol: {} + - &ref_140 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_70 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_zone_info_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_zone_info_additional_capabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + protocol: {} + - schema: *ref_61 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + cliKey: sku + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_info + description: Disk Pool Sku Details + namespace: '' + cli: + cliKey: DiskPoolZoneInfo + protocol: {} + language: + default: + name: disk_pool_zone_list_result_value + description: The list of Disk Pool Skus. + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + cliKey: value + protocol: {} + - schema: *ref_69 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_list_result + description: List Disk Pool skus operation response. + namespace: '' + cli: + cliKey: DiskPoolZoneListResult + protocol: {} + - *ref_70 + - &ref_134 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + cliKey: category + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_79 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_72 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + cliKey: domainName + protocol: {} + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_80 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_73 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + cliKey: ipAddress + protocol: {} + - schema: *ref_74 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + cliKey: port + protocol: {} + - schema: *ref_75 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: latency + protocol: {} + - schema: *ref_76 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: isAccessible + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_detail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + cliKey: EndpointDetail + protocol: {} + language: + default: + name: endpoint_dependency_endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cliKey: endpointDetails + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_dependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + cliKey: EndpointDependency + protocol: {} + language: + default: + name: outbound_environment_endpoint_endpoints + description: The endpoints that the App Service Environment reaches the service at. + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cliKey: endpoints + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + cliKey: OutboundEnvironmentEndpoint + protocol: {} + language: + default: + name: outbound_environment_endpoint_list_value + description: Collection of resources. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + cliKey: value + protocol: {} + - schema: *ref_77 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + cliKey: nextLink + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint_list + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + cliKey: OutboundEnvironmentEndpointList + protocol: {} + - *ref_78 + - *ref_79 + - *ref_80 + - &ref_143 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: iscsi_target_list_value + description: An array of iSCSI Targets in a Disk Pool. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cliKey: value + protocol: {} + - schema: *ref_81 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: iscsi_target_list + description: List of iSCSI Targets. + namespace: '' + cli: + cliKey: IscsiTargetList + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 + - *ref_106 + - *ref_107 +globalParameters: + - &ref_115 + schema: *ref_108 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + cliKey: subscriptionId + protocol: + http: + in: path + - &ref_110 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + cliKey: $host + protocol: + http: + in: uri + - &ref_111 + schema: *ref_109 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + cliKey: ApiVersion + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_110 + - *ref_111 + requests: + - parameters: + - schema: *ref_112 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_113 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + cliKey: List + protocol: {} + language: + default: + name: operations + description: '' + cli: + cliKey: Operations + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_110 + - *ref_115 + - *ref_111 + requests: + - parameters: + - schema: *ref_112 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_116 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + cliKey: ListBySubscription + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_110 + - *ref_115 + - &ref_118 + schema: *ref_117 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - *ref_111 + requests: + - parameters: + - schema: *ref_112 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_118 + responses: + - schema: *ref_116 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByResourceGroup + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_110 + - *ref_115 + - &ref_122 + schema: *ref_117 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_123 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - *ref_111 + requests: + - parameters: + - schema: *ref_119 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: + in: header + - &ref_121 + schema: *ref_120 + implementation: Method + required: true + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cliKey: diskPoolCreatePayload + protocol: + http: + in: body + style: json + - schema: *ref_112 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: + - *ref_121 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_122 + - *ref_123 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + cliKey: CreateOrUpdate + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_110 + - *ref_115 + - &ref_126 + schema: *ref_117 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_127 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - *ref_111 + requests: + - parameters: + - schema: *ref_119 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: + in: header + - &ref_125 + schema: *ref_124 + implementation: Method + required: true + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + cliKey: diskPoolUpdatePayload + protocol: + http: + in: body + style: json + - schema: *ref_112 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: + - *ref_125 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_126 + - *ref_127 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + cliKey: Update + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_110 + - *ref_115 + - &ref_128 + schema: *ref_117 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_129 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - *ref_111 + requests: + - parameters: + - schema: *ref_112 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_128 + - *ref_129 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + cliKey: Delete + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_110 + - *ref_115 + - &ref_130 + schema: *ref_117 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_131 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - *ref_111 + requests: + - parameters: + - schema: *ref_112 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_130 + - *ref_131 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + cliKey: Get + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_110 + - *ref_115 + - &ref_132 + schema: *ref_117 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_133 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - *ref_111 + requests: + - parameters: + - schema: *ref_112 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_132 + - *ref_133 + responses: + - schema: *ref_134 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependencies_endpoints + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_110 + - *ref_115 + - &ref_135 + schema: *ref_117 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - *ref_111 + requests: + - parameters: + - schema: *ref_112 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + cliKey: Start + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_110 + - *ref_115 + - &ref_137 + schema: *ref_117 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_138 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - *ref_111 + requests: + - parameters: + - schema: *ref_112 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_137 + - *ref_138 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + cliKey: Deallocate + protocol: {} + language: + default: + name: disk_pools + description: '' + cli: + cliKey: DiskPools + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_110 + - *ref_111 + - *ref_115 + - &ref_139 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + cliKey: location + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_112 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_139 + responses: + - schema: *ref_140 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + cliKey: List + protocol: {} + language: + default: + name: disk_pool_zones + description: '' + cli: + cliKey: DiskPoolZones + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_110 + - *ref_115 + - &ref_141 + schema: *ref_117 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_142 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - *ref_111 + requests: + - parameters: + - schema: *ref_112 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_141 + - *ref_142 + responses: + - schema: *ref_143 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByDiskPool + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_110 + - *ref_115 + - &ref_145 + schema: *ref_117 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_146 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - &ref_147 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + protocol: + http: + in: path + - *ref_111 + requests: + - parameters: + - schema: *ref_119 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: + in: header + - &ref_144 + schema: *ref_42 + implementation: Method + required: true + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cliKey: iscsiTargetCreatePayload + protocol: + http: + in: body + style: json + - schema: *ref_112 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: + - *ref_144 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_145 + - *ref_146 + - *ref_147 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + cliKey: CreateOrUpdate + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_110 + - *ref_115 + - &ref_149 + schema: *ref_117 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_150 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - &ref_151 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + protocol: + http: + in: path + - *ref_111 + requests: + - parameters: + - schema: *ref_119 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: + in: header + - &ref_148 + schema: *ref_43 + implementation: Method + required: true + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + cliKey: iscsiTargetUpdatePayload + protocol: + http: + in: body + style: json + - schema: *ref_112 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: + - *ref_148 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_149 + - *ref_150 + - *ref_151 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + cliKey: Update + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_110 + - *ref_115 + - &ref_152 + schema: *ref_117 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_153 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - &ref_154 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + protocol: + http: + in: path + - *ref_111 + requests: + - parameters: + - schema: *ref_112 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_152 + - *ref_153 + - *ref_154 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + cliKey: Delete + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_110 + - *ref_115 + - &ref_155 + schema: *ref_117 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: + in: path + - &ref_156 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: + in: path + - &ref_157 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + protocol: + http: + in: path + - *ref_111 + requests: + - parameters: + - schema: *ref_112 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_155 + - *ref_156 + - *ref_157 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + cliKey: Get + protocol: {} + language: + default: + name: iscsi_targets + description: '' + cli: + cliKey: IscsiTargets + protocol: {} +security: + authenticationRequired: true +language: + default: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000040-modeler-post-processor-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000040-modeler-post-processor-post-simplified.yaml new file mode 100644 index 00000000000..06dd64da985 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000040-modeler-post-processor-post-simplified.yaml @@ -0,0 +1,1167 @@ +operationGroups: + all: + - operationGroupName: operations + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pools + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: disk_pool_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) + cli: + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + bodySchema: disk_pool_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependencies_endpoints + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pool_zones + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: location(string^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: iscsi_targets + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: iscsi_target_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) + cli: + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + bodySchema: iscsi_target_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] +schemas: + objects: + all: + - schemaName: storage_pool_operation_list_result + cli: + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + properties: + - propertyName: value(storage_pool_operation_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(storage_pool_operation_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: storage_pool_RP_operation + cli: + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + properties: + - propertyName: name(storage_pool_RP_operation_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(storage_pool_RP_operation_action_type^string) + cli: + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(storage_pool_operation_display^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(storage_pool_RP_operation_origin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: storage_pool_operation_display + cli: + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + properties: + - propertyName: provider(storage_pool_operation_display_provider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(storage_pool_operation_display_resource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(storage_pool_operation_display_operation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(storage_pool_operation_display_description^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: error + cli: + cliKey: Error + cliM4Path: schemas$$objects['Error'] + properties: + - propertyName: error(error_response^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + - schemaName: error_response + cli: + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + properties: + - propertyName: code(error_response_code^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(error_response_message^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(error_response_target^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(error_response_details^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(error_response_additional_info^array) + cli: + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: error_additional_info + cli: + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + properties: + - propertyName: type(error_additional_info_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: disk_pool_list_result + cli: + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + properties: + - propertyName: value(disk_pool_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(disk_pool_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: disk_pool + cli: + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(disk_pool_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(disk_pool_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(disk_pool_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: sku + cli: + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + properties: + - propertyName: name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + - schemaName: disk + cli: + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + properties: + - propertyName: id(disk_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + - schemaName: system_metadata + cli: + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + properties: + - propertyName: created_by(system_metadata_created_by^string) + cli: + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(created_by_type^choice) + cli: + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(system_metadata_last_modified_by^string) + cli: + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(created_by_type^choice) + cli: + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: tracked_resource + cli: + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + properties: + - propertyName: tags(tracked_resource_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(tracked_resource_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: resource + cli: + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + properties: + - propertyName: id(resource_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(resource_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(resource_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: disk_pool_create + cli: + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + properties: + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(disk_pool_create_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(disk_pool_create_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(disk_pool_create_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(disk_pool_create_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(disk_pool_create_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(disk_pool_create_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: disk_pool_update + cli: + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + properties: + - propertyName: tags(disk_pool_update_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(disk_pool_update_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: disk_pool_zone_list_result + cli: + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + properties: + - propertyName: value(disk_pool_zone_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(disk_pool_zone_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: disk_pool_zone_info + cli: + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + properties: + - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: outbound_environment_endpoint_list + cli: + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + properties: + - propertyName: value(outbound_environment_endpoint_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: outbound_environment_endpoint + cli: + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + properties: + - propertyName: category(outbound_environment_endpoint_category^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: endpoint_dependency + cli: + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + properties: + - propertyName: domain_name(endpoint_dependency_domain_name^string) + cli: + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) + cli: + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: endpoint_detail + cli: + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + properties: + - propertyName: ip_address(endpoint_detail_ip_address^string) + cli: + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: iscsi_target_list + cli: + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + properties: + - propertyName: value(iscsi_target_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(iscsi_target_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: iscsi_target + cli: + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(iscsi_target_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(iscsi_target_properties_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: acl + cli: + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + properties: + - propertyName: initiator_iqn(acl_initiator_iqn^string) + cli: + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(acl_mapped_luns^array) + cli: + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: iscsi_lun + cli: + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + properties: + - propertyName: name(iscsi_lun_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: iscsi_target_create + cli: + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + properties: + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_create_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: iscsi_target_update + cli: + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + properties: + - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_update_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: proxy_resource + cli: + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + choices: + all: + - choiceName: provisioning_states + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: operational_status + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated_ + cli: + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: created_by_type + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: iscsi_target_acl_mode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: disk_pool_tier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000040-modeler-post-processor-post.yaml b/src/diskpool/_az_debug/clicommon-000040-modeler-post-processor-post.yaml new file mode 100644 index 00000000000..14b866c8a9f --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000040-modeler-post-processor-post.yaml @@ -0,0 +1,5772 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: string + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_name + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_action_type + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_provider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_resource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_code + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_message + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_target + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_additional_info_type + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: string + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_name + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_tier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: availability_zone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_id + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: additional_capability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_by + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_by + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: string + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: tracked_resource_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_name + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: string + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_create_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: disk_pool_create_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_name + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_zone_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_dependency_domain_name + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_detail_ip_address + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_list_next_link + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_mapped_luns_item + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_name + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_endpoints_item + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_list_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_create_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: provisioning_states + description: Provisioning state of the iSCSI Target. + cli: + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated_ + description: '' + cli: + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: operational_status + description: Operational status of the resource. + cli: + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: iscsi_target_acl_mode + description: ACL mode for iSCSI Target. + cli: + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: disk_pool_tier + description: SKU of the VM host part of the Disk Pool deployment + cli: + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: tracked_resource_tags + description: Resource tags. + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_create_tags + description: Resource tags. + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_update_tags + description: Resource tags. + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_display + description: Metadata about an operation. + namespace: '' + cli: + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_RP_operation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: storage_pool_operation_list_result_value + description: An array of operations supported by the StoragePool RP. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_list_result + description: List of operations supported by the RP. + namespace: '' + cli: + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: error_response_details + description: The error details. + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_additional_info + description: The resource management error additional info. + namespace: '' + cli: + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: error_response_additional_info + description: The error additional info. + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_response + description: The resource management error response. + namespace: '' + cli: + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error + description: The resource management error response. + namespace: '' + cli: + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: system_metadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: acl_mapped_luns + description: List of LUN names mapped to the ACL. + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: iscsi_target_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_lun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: iscsi_target_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: iscsi_target_properties_endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_target + description: Response for iSCSI Target requests. + namespace: '' + cli: + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_create_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_create_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_create + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_update_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_update_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_update + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: proxy_resource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: resource + description: ARM resource model definition. + namespace: '' + cli: + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: tracked_resource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: disk_pool_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_properties_additional_capabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk_pool + description: Response for Disk Pool request. + namespace: '' + cli: + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: disk_pool_list_result_value + description: An array of Disk pool objects. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_list_result + description: List of Disk Pools + namespace: '' + cli: + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: sku + description: Sku for ARM resource + namespace: '' + cli: + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_create_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_create_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_create_properties_additional_capabilities + description: List of additional capabilities for a Disk Pool. + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: disk_pool_create + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_122 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_update_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: disk_pool_update + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_138 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_zone_info_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_zone_info_additional_capabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_info + description: Disk Pool Sku Details + namespace: '' + cli: + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: disk_pool_zone_list_result_value + description: The list of Disk Pool Skus. + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_list_result + description: List Disk Pool skus operation response. + namespace: '' + cli: + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_132 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_detail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: endpoint_dependency_endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_dependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_endpoints + description: The endpoints that the App Service Environment reaches the service at. + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_list_value + description: Collection of resources. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint_list + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_141 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: iscsi_target_list_value + description: An array of iSCSI Targets in a Disk Pool. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: iscsi_target_list + description: List of iSCSI Targets. + namespace: '' + cli: + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + protocol: {} + language: + default: + name: operations + description: '' + cli: + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_120 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_121 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_119 + schema: *ref_118 + implementation: Method + required: true + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_119 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_120 + - *ref_121 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_124 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_125 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_123 + schema: *ref_122 + implementation: Method + required: true + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_123 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_124 + - *ref_125 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_126 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_127 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_126 + - *ref_127 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_128 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_129 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_128 + - *ref_129 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_130 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_131 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_130 + - *ref_131 + responses: + - schema: *ref_132 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependencies_endpoints + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_133 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_134 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_133 + - *ref_134 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + language: + default: + name: disk_pools + description: '' + cli: + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_137 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_137 + responses: + - schema: *ref_138 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: disk_pool_zones + description: '' + cli: + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_139 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_140 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_139 + - *ref_140 + responses: + - schema: *ref_141 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_143 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_144 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_145 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_142 + schema: *ref_42 + implementation: Method + required: true + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_142 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_143 + - *ref_144 + - *ref_145 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_147 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_148 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_149 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_146 + schema: *ref_43 + implementation: Method + required: true + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_146 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_147 + - *ref_148 + - *ref_149 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_150 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_151 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_152 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_150 + - *ref_151 + - *ref_152 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_153 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_154 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_155 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_153 + - *ref_154 + - *ref_155 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + language: + default: + name: iscsi_targets + description: '' + cli: + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +language: + default: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000050-m4-flatten-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000050-m4-flatten-pre-simplified.yaml new file mode 100644 index 00000000000..06dd64da985 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000050-m4-flatten-pre-simplified.yaml @@ -0,0 +1,1167 @@ +operationGroups: + all: + - operationGroupName: operations + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pools + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: disk_pool_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) + cli: + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + bodySchema: disk_pool_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependencies_endpoints + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pool_zones + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: location(string^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: iscsi_targets + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: iscsi_target_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) + cli: + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + bodySchema: iscsi_target_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] +schemas: + objects: + all: + - schemaName: storage_pool_operation_list_result + cli: + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + properties: + - propertyName: value(storage_pool_operation_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(storage_pool_operation_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: storage_pool_RP_operation + cli: + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + properties: + - propertyName: name(storage_pool_RP_operation_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(storage_pool_RP_operation_action_type^string) + cli: + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(storage_pool_operation_display^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(storage_pool_RP_operation_origin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: storage_pool_operation_display + cli: + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + properties: + - propertyName: provider(storage_pool_operation_display_provider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(storage_pool_operation_display_resource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(storage_pool_operation_display_operation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(storage_pool_operation_display_description^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: error + cli: + cliKey: Error + cliM4Path: schemas$$objects['Error'] + properties: + - propertyName: error(error_response^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + - schemaName: error_response + cli: + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + properties: + - propertyName: code(error_response_code^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(error_response_message^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(error_response_target^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(error_response_details^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(error_response_additional_info^array) + cli: + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: error_additional_info + cli: + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + properties: + - propertyName: type(error_additional_info_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: disk_pool_list_result + cli: + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + properties: + - propertyName: value(disk_pool_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(disk_pool_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: disk_pool + cli: + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(disk_pool_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(disk_pool_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(disk_pool_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: sku + cli: + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + properties: + - propertyName: name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + - schemaName: disk + cli: + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + properties: + - propertyName: id(disk_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + - schemaName: system_metadata + cli: + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + properties: + - propertyName: created_by(system_metadata_created_by^string) + cli: + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(created_by_type^choice) + cli: + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(system_metadata_last_modified_by^string) + cli: + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(created_by_type^choice) + cli: + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: tracked_resource + cli: + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + properties: + - propertyName: tags(tracked_resource_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(tracked_resource_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: resource + cli: + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + properties: + - propertyName: id(resource_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(resource_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(resource_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: disk_pool_create + cli: + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + properties: + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(disk_pool_create_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(disk_pool_create_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(disk_pool_create_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(disk_pool_create_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(disk_pool_create_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(disk_pool_create_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: disk_pool_update + cli: + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + properties: + - propertyName: tags(disk_pool_update_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(disk_pool_update_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: disk_pool_zone_list_result + cli: + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + properties: + - propertyName: value(disk_pool_zone_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(disk_pool_zone_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: disk_pool_zone_info + cli: + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + properties: + - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: outbound_environment_endpoint_list + cli: + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + properties: + - propertyName: value(outbound_environment_endpoint_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: outbound_environment_endpoint + cli: + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + properties: + - propertyName: category(outbound_environment_endpoint_category^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: endpoint_dependency + cli: + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + properties: + - propertyName: domain_name(endpoint_dependency_domain_name^string) + cli: + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) + cli: + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: endpoint_detail + cli: + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + properties: + - propertyName: ip_address(endpoint_detail_ip_address^string) + cli: + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: iscsi_target_list + cli: + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + properties: + - propertyName: value(iscsi_target_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(iscsi_target_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: iscsi_target + cli: + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(iscsi_target_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(iscsi_target_properties_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: acl + cli: + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + properties: + - propertyName: initiator_iqn(acl_initiator_iqn^string) + cli: + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(acl_mapped_luns^array) + cli: + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: iscsi_lun + cli: + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + properties: + - propertyName: name(iscsi_lun_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: iscsi_target_create + cli: + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + properties: + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_create_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: iscsi_target_update + cli: + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + properties: + - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_update_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: proxy_resource + cli: + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + choices: + all: + - choiceName: provisioning_states + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: operational_status + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated_ + cli: + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: created_by_type + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: iscsi_target_acl_mode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: disk_pool_tier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000050-m4-flatten-pre.yaml b/src/diskpool/_az_debug/clicommon-000050-m4-flatten-pre.yaml new file mode 100644 index 00000000000..14b866c8a9f --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000050-m4-flatten-pre.yaml @@ -0,0 +1,5772 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: string + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_name + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_action_type + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_provider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_resource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_code + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_message + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_target + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_additional_info_type + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: string + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_name + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_tier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: availability_zone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_id + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: additional_capability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_by + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_by + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: string + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: tracked_resource_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_name + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: string + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_create_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: disk_pool_create_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_name + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_zone_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_dependency_domain_name + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_detail_ip_address + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_list_next_link + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_mapped_luns_item + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_name + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_endpoints_item + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_list_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_create_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: provisioning_states + description: Provisioning state of the iSCSI Target. + cli: + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated_ + description: '' + cli: + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: operational_status + description: Operational status of the resource. + cli: + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: iscsi_target_acl_mode + description: ACL mode for iSCSI Target. + cli: + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: disk_pool_tier + description: SKU of the VM host part of the Disk Pool deployment + cli: + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: tracked_resource_tags + description: Resource tags. + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_create_tags + description: Resource tags. + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_update_tags + description: Resource tags. + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_display + description: Metadata about an operation. + namespace: '' + cli: + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_RP_operation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: storage_pool_operation_list_result_value + description: An array of operations supported by the StoragePool RP. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_list_result + description: List of operations supported by the RP. + namespace: '' + cli: + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: error_response_details + description: The error details. + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_additional_info + description: The resource management error additional info. + namespace: '' + cli: + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: error_response_additional_info + description: The error additional info. + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_response + description: The resource management error response. + namespace: '' + cli: + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error + description: The resource management error response. + namespace: '' + cli: + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: system_metadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: acl_mapped_luns + description: List of LUN names mapped to the ACL. + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: iscsi_target_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_lun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: iscsi_target_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: iscsi_target_properties_endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_target + description: Response for iSCSI Target requests. + namespace: '' + cli: + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_create_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_create_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_create + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_update_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_update_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_update + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: proxy_resource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: resource + description: ARM resource model definition. + namespace: '' + cli: + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: tracked_resource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: disk_pool_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_properties_additional_capabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk_pool + description: Response for Disk Pool request. + namespace: '' + cli: + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: disk_pool_list_result_value + description: An array of Disk pool objects. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_list_result + description: List of Disk Pools + namespace: '' + cli: + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: sku + description: Sku for ARM resource + namespace: '' + cli: + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_create_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_create_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_create_properties_additional_capabilities + description: List of additional capabilities for a Disk Pool. + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: disk_pool_create + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_122 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_update_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: disk_pool_update + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_138 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_zone_info_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_zone_info_additional_capabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_info + description: Disk Pool Sku Details + namespace: '' + cli: + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: disk_pool_zone_list_result_value + description: The list of Disk Pool Skus. + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_list_result + description: List Disk Pool skus operation response. + namespace: '' + cli: + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_132 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_detail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: endpoint_dependency_endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_dependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_endpoints + description: The endpoints that the App Service Environment reaches the service at. + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_list_value + description: Collection of resources. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint_list + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_141 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: iscsi_target_list_value + description: An array of iSCSI Targets in a Disk Pool. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: iscsi_target_list + description: List of iSCSI Targets. + namespace: '' + cli: + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + protocol: {} + language: + default: + name: operations + description: '' + cli: + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_120 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_121 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_119 + schema: *ref_118 + implementation: Method + required: true + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_119 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_120 + - *ref_121 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_124 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_125 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_123 + schema: *ref_122 + implementation: Method + required: true + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_123 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_124 + - *ref_125 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_126 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_127 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_126 + - *ref_127 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_128 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_129 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_128 + - *ref_129 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_130 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_131 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_130 + - *ref_131 + responses: + - schema: *ref_132 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependencies_endpoints + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_133 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_134 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_133 + - *ref_134 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + language: + default: + name: disk_pools + description: '' + cli: + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_137 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_137 + responses: + - schema: *ref_138 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: disk_pool_zones + description: '' + cli: + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_139 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_140 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_139 + - *ref_140 + responses: + - schema: *ref_141 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_143 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_144 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_145 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_142 + schema: *ref_42 + implementation: Method + required: true + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_142 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_143 + - *ref_144 + - *ref_145 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_147 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_148 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_149 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_146 + schema: *ref_43 + implementation: Method + required: true + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_146 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_147 + - *ref_148 + - *ref_149 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_150 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_151 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_152 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_150 + - *ref_151 + - *ref_152 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_153 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_154 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_155 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_153 + - *ref_154 + - *ref_155 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + language: + default: + name: iscsi_targets + description: '' + cli: + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +language: + default: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000060-split-operation-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000060-split-operation-pre-simplified.yaml new file mode 100644 index 00000000000..06dd64da985 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000060-split-operation-pre-simplified.yaml @@ -0,0 +1,1167 @@ +operationGroups: + all: + - operationGroupName: operations + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pools + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: disk_pool_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) + cli: + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + bodySchema: disk_pool_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependencies_endpoints + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pool_zones + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: location(string^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: iscsi_targets + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: iscsi_target_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) + cli: + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + bodySchema: iscsi_target_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] +schemas: + objects: + all: + - schemaName: storage_pool_operation_list_result + cli: + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + properties: + - propertyName: value(storage_pool_operation_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(storage_pool_operation_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: storage_pool_RP_operation + cli: + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + properties: + - propertyName: name(storage_pool_RP_operation_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(storage_pool_RP_operation_action_type^string) + cli: + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(storage_pool_operation_display^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(storage_pool_RP_operation_origin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: storage_pool_operation_display + cli: + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + properties: + - propertyName: provider(storage_pool_operation_display_provider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(storage_pool_operation_display_resource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(storage_pool_operation_display_operation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(storage_pool_operation_display_description^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: error + cli: + cliKey: Error + cliM4Path: schemas$$objects['Error'] + properties: + - propertyName: error(error_response^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + - schemaName: error_response + cli: + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + properties: + - propertyName: code(error_response_code^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(error_response_message^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(error_response_target^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(error_response_details^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(error_response_additional_info^array) + cli: + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: error_additional_info + cli: + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + properties: + - propertyName: type(error_additional_info_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: disk_pool_list_result + cli: + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + properties: + - propertyName: value(disk_pool_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(disk_pool_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: disk_pool + cli: + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(disk_pool_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(disk_pool_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(disk_pool_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: sku + cli: + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + properties: + - propertyName: name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + - schemaName: disk + cli: + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + properties: + - propertyName: id(disk_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + - schemaName: system_metadata + cli: + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + properties: + - propertyName: created_by(system_metadata_created_by^string) + cli: + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(created_by_type^choice) + cli: + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(system_metadata_last_modified_by^string) + cli: + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(created_by_type^choice) + cli: + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: tracked_resource + cli: + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + properties: + - propertyName: tags(tracked_resource_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(tracked_resource_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: resource + cli: + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + properties: + - propertyName: id(resource_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(resource_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(resource_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: disk_pool_create + cli: + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + properties: + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(disk_pool_create_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(disk_pool_create_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(disk_pool_create_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(disk_pool_create_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(disk_pool_create_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(disk_pool_create_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: disk_pool_update + cli: + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + properties: + - propertyName: tags(disk_pool_update_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(disk_pool_update_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: disk_pool_zone_list_result + cli: + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + properties: + - propertyName: value(disk_pool_zone_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(disk_pool_zone_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: disk_pool_zone_info + cli: + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + properties: + - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: outbound_environment_endpoint_list + cli: + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + properties: + - propertyName: value(outbound_environment_endpoint_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: outbound_environment_endpoint + cli: + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + properties: + - propertyName: category(outbound_environment_endpoint_category^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: endpoint_dependency + cli: + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + properties: + - propertyName: domain_name(endpoint_dependency_domain_name^string) + cli: + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) + cli: + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: endpoint_detail + cli: + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + properties: + - propertyName: ip_address(endpoint_detail_ip_address^string) + cli: + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: iscsi_target_list + cli: + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + properties: + - propertyName: value(iscsi_target_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(iscsi_target_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: iscsi_target + cli: + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(iscsi_target_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(iscsi_target_properties_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: acl + cli: + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + properties: + - propertyName: initiator_iqn(acl_initiator_iqn^string) + cli: + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(acl_mapped_luns^array) + cli: + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: iscsi_lun + cli: + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + properties: + - propertyName: name(iscsi_lun_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: iscsi_target_create + cli: + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + properties: + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_create_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: iscsi_target_update + cli: + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + properties: + - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_update_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: proxy_resource + cli: + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + choices: + all: + - choiceName: provisioning_states + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: operational_status + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated_ + cli: + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: created_by_type + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: iscsi_target_acl_mode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: disk_pool_tier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000060-split-operation-pre.yaml b/src/diskpool/_az_debug/clicommon-000060-split-operation-pre.yaml new file mode 100644 index 00000000000..14b866c8a9f --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000060-split-operation-pre.yaml @@ -0,0 +1,5772 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: string + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_name + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_action_type + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_provider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_resource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_code + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_message + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_target + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_additional_info_type + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: string + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_name + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_tier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: availability_zone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_id + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: additional_capability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_by + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_by + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: string + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: tracked_resource_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_name + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: string + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_create_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: disk_pool_create_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_name + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_zone_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_dependency_domain_name + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_detail_ip_address + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_list_next_link + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_mapped_luns_item + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_name + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_endpoints_item + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_list_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_create_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: provisioning_states + description: Provisioning state of the iSCSI Target. + cli: + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated_ + description: '' + cli: + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: operational_status + description: Operational status of the resource. + cli: + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: iscsi_target_acl_mode + description: ACL mode for iSCSI Target. + cli: + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: disk_pool_tier + description: SKU of the VM host part of the Disk Pool deployment + cli: + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: tracked_resource_tags + description: Resource tags. + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_create_tags + description: Resource tags. + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_update_tags + description: Resource tags. + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_display + description: Metadata about an operation. + namespace: '' + cli: + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_RP_operation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: storage_pool_operation_list_result_value + description: An array of operations supported by the StoragePool RP. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_list_result + description: List of operations supported by the RP. + namespace: '' + cli: + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: error_response_details + description: The error details. + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_additional_info + description: The resource management error additional info. + namespace: '' + cli: + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: error_response_additional_info + description: The error additional info. + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_response + description: The resource management error response. + namespace: '' + cli: + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error + description: The resource management error response. + namespace: '' + cli: + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: system_metadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: acl_mapped_luns + description: List of LUN names mapped to the ACL. + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: iscsi_target_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_lun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: iscsi_target_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: iscsi_target_properties_endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_target + description: Response for iSCSI Target requests. + namespace: '' + cli: + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_create_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_create_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_create + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_update_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_update_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_update + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: proxy_resource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: resource + description: ARM resource model definition. + namespace: '' + cli: + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: tracked_resource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: disk_pool_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_properties_additional_capabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk_pool + description: Response for Disk Pool request. + namespace: '' + cli: + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: disk_pool_list_result_value + description: An array of Disk pool objects. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_list_result + description: List of Disk Pools + namespace: '' + cli: + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: sku + description: Sku for ARM resource + namespace: '' + cli: + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_create_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_create_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_create_properties_additional_capabilities + description: List of additional capabilities for a Disk Pool. + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: disk_pool_create + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_122 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_update_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: disk_pool_update + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_138 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_zone_info_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_zone_info_additional_capabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_info + description: Disk Pool Sku Details + namespace: '' + cli: + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: disk_pool_zone_list_result_value + description: The list of Disk Pool Skus. + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_list_result + description: List Disk Pool skus operation response. + namespace: '' + cli: + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_132 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_detail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: endpoint_dependency_endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_dependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_endpoints + description: The endpoints that the App Service Environment reaches the service at. + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_list_value + description: Collection of resources. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint_list + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_141 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: iscsi_target_list_value + description: An array of iSCSI Targets in a Disk Pool. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: iscsi_target_list + description: List of iSCSI Targets. + namespace: '' + cli: + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + protocol: {} + language: + default: + name: operations + description: '' + cli: + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_120 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_121 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_119 + schema: *ref_118 + implementation: Method + required: true + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_119 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_120 + - *ref_121 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_124 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_125 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_123 + schema: *ref_122 + implementation: Method + required: true + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_123 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_124 + - *ref_125 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_126 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_127 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_126 + - *ref_127 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_128 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_129 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_128 + - *ref_129 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_130 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_131 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_130 + - *ref_131 + responses: + - schema: *ref_132 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependencies_endpoints + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_133 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_134 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_133 + - *ref_134 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + language: + default: + name: disk_pools + description: '' + cli: + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_137 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_137 + responses: + - schema: *ref_138 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: disk_pool_zones + description: '' + cli: + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_139 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_140 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_139 + - *ref_140 + responses: + - schema: *ref_141 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_143 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_144 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_145 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_142 + schema: *ref_42 + implementation: Method + required: true + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_142 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_143 + - *ref_144 + - *ref_145 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_147 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_148 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_149 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_146 + schema: *ref_43 + implementation: Method + required: true + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_146 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_147 + - *ref_148 + - *ref_149 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_150 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_151 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_152 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_150 + - *ref_151 + - *ref_152 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_153 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_154 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_155 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_153 + - *ref_154 + - *ref_155 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + language: + default: + name: iscsi_targets + description: '' + cli: + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +language: + default: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000070-split-operation-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000070-split-operation-post-simplified.yaml new file mode 100644 index 00000000000..75a2e12953c --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000070-split-operation-post-simplified.yaml @@ -0,0 +1,1244 @@ +operationGroups: + all: + - operationGroupName: operations + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pools + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + cli-operation-splitted: true + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: disk_pool_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) + cli: + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + bodySchema: disk_pool_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependencies_endpoints + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cliKey: diskPoolCreatePayload + bodySchema: disk_pool_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationGroupName: disk_pool_zones + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: location(string^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: iscsi_targets + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + cli-operation-splitted: true + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: iscsi_target_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) + cli: + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + bodySchema: iscsi_target_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cliKey: iscsiTargetCreatePayload + bodySchema: iscsi_target_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept +schemas: + objects: + all: + - schemaName: storage_pool_operation_list_result + cli: + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + properties: + - propertyName: value(storage_pool_operation_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(storage_pool_operation_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: storage_pool_RP_operation + cli: + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + properties: + - propertyName: name(storage_pool_RP_operation_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(storage_pool_RP_operation_action_type^string) + cli: + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(storage_pool_operation_display^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(storage_pool_RP_operation_origin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: storage_pool_operation_display + cli: + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + properties: + - propertyName: provider(storage_pool_operation_display_provider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(storage_pool_operation_display_resource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(storage_pool_operation_display_operation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(storage_pool_operation_display_description^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: error + cli: + cliKey: Error + cliM4Path: schemas$$objects['Error'] + properties: + - propertyName: error(error_response^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + - schemaName: error_response + cli: + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + properties: + - propertyName: code(error_response_code^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(error_response_message^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(error_response_target^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(error_response_details^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(error_response_additional_info^array) + cli: + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: error_additional_info + cli: + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + properties: + - propertyName: type(error_additional_info_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: disk_pool_list_result + cli: + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + properties: + - propertyName: value(disk_pool_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(disk_pool_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: disk_pool + cli: + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(disk_pool_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(disk_pool_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(disk_pool_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: sku + cli: + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + properties: + - propertyName: name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + - schemaName: disk + cli: + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + properties: + - propertyName: id(disk_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + - schemaName: system_metadata + cli: + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + properties: + - propertyName: created_by(system_metadata_created_by^string) + cli: + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(created_by_type^choice) + cli: + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(system_metadata_last_modified_by^string) + cli: + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(created_by_type^choice) + cli: + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: tracked_resource + cli: + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + properties: + - propertyName: tags(tracked_resource_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(tracked_resource_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: resource + cli: + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + properties: + - propertyName: id(resource_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(resource_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(resource_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: disk_pool_create + cli: + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + properties: + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(disk_pool_create_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(disk_pool_create_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(disk_pool_create_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(disk_pool_create_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(disk_pool_create_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(disk_pool_create_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: disk_pool_update + cli: + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + properties: + - propertyName: tags(disk_pool_update_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(disk_pool_update_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: disk_pool_zone_list_result + cli: + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + properties: + - propertyName: value(disk_pool_zone_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(disk_pool_zone_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: disk_pool_zone_info + cli: + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + properties: + - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: outbound_environment_endpoint_list + cli: + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + properties: + - propertyName: value(outbound_environment_endpoint_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: outbound_environment_endpoint + cli: + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + properties: + - propertyName: category(outbound_environment_endpoint_category^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: endpoint_dependency + cli: + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + properties: + - propertyName: domain_name(endpoint_dependency_domain_name^string) + cli: + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) + cli: + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: endpoint_detail + cli: + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + properties: + - propertyName: ip_address(endpoint_detail_ip_address^string) + cli: + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: iscsi_target_list + cli: + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + properties: + - propertyName: value(iscsi_target_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(iscsi_target_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: iscsi_target + cli: + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(iscsi_target_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(iscsi_target_properties_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: acl + cli: + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + properties: + - propertyName: initiator_iqn(acl_initiator_iqn^string) + cli: + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(acl_mapped_luns^array) + cli: + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: iscsi_lun + cli: + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + properties: + - propertyName: name(iscsi_lun_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: iscsi_target_create + cli: + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + properties: + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_create_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: iscsi_target_update + cli: + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + properties: + - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_update_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: proxy_resource + cli: + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + choices: + all: + - choiceName: provisioning_states + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: operational_status + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated_ + cli: + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: created_by_type + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: iscsi_target_acl_mode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: disk_pool_tier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000070-split-operation-post.yaml b/src/diskpool/_az_debug/clicommon-000070-split-operation-post.yaml new file mode 100644 index 00000000000..200acccb02d --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000070-split-operation-post.yaml @@ -0,0 +1,5997 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: string + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_name + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_action_type + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_provider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_resource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_code + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_message + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_target + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_additional_info_type + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: string + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_name + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_tier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: availability_zone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_id + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: additional_capability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_by + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_by + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: string + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: tracked_resource_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_name + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: string + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_create_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: disk_pool_create_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_name + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_zone_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_dependency_domain_name + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_detail_ip_address + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_list_next_link + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_mapped_luns_item + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_name + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_endpoints_item + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_list_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_create_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: provisioning_states + description: Provisioning state of the iSCSI Target. + cli: + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated_ + description: '' + cli: + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: operational_status + description: Operational status of the resource. + cli: + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: iscsi_target_acl_mode + description: ACL mode for iSCSI Target. + cli: + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: disk_pool_tier + description: SKU of the VM host part of the Disk Pool deployment + cli: + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: tracked_resource_tags + description: Resource tags. + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_create_tags + description: Resource tags. + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_update_tags + description: Resource tags. + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_display + description: Metadata about an operation. + namespace: '' + cli: + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_RP_operation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: storage_pool_operation_list_result_value + description: An array of operations supported by the StoragePool RP. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_list_result + description: List of operations supported by the RP. + namespace: '' + cli: + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: error_response_details + description: The error details. + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_additional_info + description: The resource management error additional info. + namespace: '' + cli: + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: error_response_additional_info + description: The error additional info. + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_response + description: The resource management error response. + namespace: '' + cli: + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error + description: The resource management error response. + namespace: '' + cli: + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: system_metadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: acl_mapped_luns + description: List of LUN names mapped to the ACL. + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: iscsi_target_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_lun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: iscsi_target_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: iscsi_target_properties_endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_target + description: Response for iSCSI Target requests. + namespace: '' + cli: + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_create_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_create_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_create + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_update_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_update_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_update + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: proxy_resource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: resource + description: ARM resource model definition. + namespace: '' + cli: + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: tracked_resource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: disk_pool_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_properties_additional_capabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk_pool + description: Response for Disk Pool request. + namespace: '' + cli: + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: disk_pool_list_result_value + description: An array of Disk pool objects. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_list_result + description: List of Disk Pools + namespace: '' + cli: + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: sku + description: Sku for ARM resource + namespace: '' + cli: + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_create_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_create_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_create_properties_additional_capabilities + description: List of additional capabilities for a Disk Pool. + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: disk_pool_create + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_122 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_update_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: disk_pool_update + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_153 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_zone_info_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_zone_info_additional_capabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_info + description: Disk Pool Sku Details + namespace: '' + cli: + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: disk_pool_zone_list_result_value + description: The list of Disk Pool Skus. + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_list_result + description: List Disk Pool skus operation response. + namespace: '' + cli: + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_132 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_detail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: endpoint_dependency_endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_dependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_endpoints + description: The endpoints that the App Service Environment reaches the service at. + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_list_value + description: Collection of resources. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint_list + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_156 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: iscsi_target_list_value + description: An array of iSCSI Targets in a Disk Pool. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: iscsi_target_list + description: List of iSCSI Targets. + namespace: '' + cli: + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + protocol: {} + language: + default: + name: operations + description: '' + cli: + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - &ref_151 + apiVersions: &ref_137 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_120 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_138 + in: path + - &ref_121 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_139 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_141 + in: header + - &ref_119 + schema: *ref_118 + implementation: Method + required: true + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + http: &ref_142 + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_143 + in: header + signatureParameters: + - *ref_119 + language: + default: + name: '' + description: '' + protocol: + http: &ref_140 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_120 + - *ref_121 + responses: &ref_147 + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_148 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_149 + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_150 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + split-operation-names: &ref_161 + - Create + - Update + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_124 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_125 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_123 + schema: *ref_122 + implementation: Method + required: true + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_123 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_124 + - *ref_125 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_126 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_127 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_126 + - *ref_127 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_128 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_129 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_128 + - *ref_129 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_130 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_131 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_130 + - *ref_131 + responses: + - schema: *ref_132 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependencies_endpoints + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_133 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_134 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_133 + - *ref_134 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + - apiVersions: *ref_137 + parameters: + - *ref_108 + - *ref_113 + - &ref_145 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_138 + - &ref_146 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_139 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_141 + - &ref_144 + schema: *ref_118 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cliKey: diskPoolCreatePayload + protocol: + http: *ref_142 + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_143 + signatureParameters: + - *ref_144 + language: + default: + name: '' + description: '' + protocol: + http: *ref_140 + signatureParameters: + - *ref_145 + - *ref_146 + responses: *ref_147 + exceptions: *ref_148 + extensions: + cli-split-operation-original-operation: *ref_151 + x-ms-examples: *ref_149 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_150 + language: + default: + name: Create + description: Create Disk pool. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: disk_pools + description: '' + cli: + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_152 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_152 + responses: + - schema: *ref_153 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: disk_pool_zones + description: '' + cli: + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_154 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_155 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_154 + - *ref_155 + responses: + - schema: *ref_156 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - &ref_188 + apiVersions: &ref_172 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_158 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_173 + in: path + - &ref_159 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_174 + in: path + - &ref_160 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: &ref_175 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_177 + in: header + - &ref_157 + schema: *ref_42 + implementation: Method + required: true + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + http: &ref_178 + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_179 + in: header + signatureParameters: + - *ref_157 + language: + default: + name: '' + description: '' + protocol: + http: &ref_176 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_158 + - *ref_159 + - *ref_160 + responses: &ref_184 + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_185 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_186 + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_187 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + split-operation-names: *ref_161 + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_163 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_164 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_165 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_162 + schema: *ref_43 + implementation: Method + required: true + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_162 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_163 + - *ref_164 + - *ref_165 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_166 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_167 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_168 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_166 + - *ref_167 + - *ref_168 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_169 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_170 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_171 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_169 + - *ref_170 + - *ref_171 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + - apiVersions: *ref_172 + parameters: + - *ref_108 + - *ref_113 + - &ref_181 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_173 + - &ref_182 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_174 + - &ref_183 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + protocol: + http: *ref_175 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_177 + - &ref_180 + schema: *ref_42 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cliKey: iscsiTargetCreatePayload + protocol: + http: *ref_178 + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_179 + signatureParameters: + - *ref_180 + language: + default: + name: '' + description: '' + protocol: + http: *ref_176 + signatureParameters: + - *ref_181 + - *ref_182 + - *ref_183 + responses: *ref_184 + exceptions: *ref_185 + extensions: + cli-split-operation-original-operation: *ref_188 + x-ms-examples: *ref_186 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_187 + language: + default: + name: Create + description: Create an iSCSI Target. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: iscsi_targets + description: '' + cli: + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +language: + default: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000080-m4-flatten-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000080-m4-flatten-post-simplified.yaml new file mode 100644 index 00000000000..06dd64da985 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000080-m4-flatten-post-simplified.yaml @@ -0,0 +1,1167 @@ +operationGroups: + all: + - operationGroupName: operations + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pools + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: disk_pool_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) + cli: + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + bodySchema: disk_pool_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependencies_endpoints + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pool_zones + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: location(string^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: iscsi_targets + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: iscsi_target_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) + cli: + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + bodySchema: iscsi_target_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] +schemas: + objects: + all: + - schemaName: storage_pool_operation_list_result + cli: + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + properties: + - propertyName: value(storage_pool_operation_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(storage_pool_operation_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: storage_pool_RP_operation + cli: + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + properties: + - propertyName: name(storage_pool_RP_operation_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(storage_pool_RP_operation_action_type^string) + cli: + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(storage_pool_operation_display^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(storage_pool_RP_operation_origin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: storage_pool_operation_display + cli: + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + properties: + - propertyName: provider(storage_pool_operation_display_provider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(storage_pool_operation_display_resource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(storage_pool_operation_display_operation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(storage_pool_operation_display_description^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: error + cli: + cliKey: Error + cliM4Path: schemas$$objects['Error'] + properties: + - propertyName: error(error_response^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + - schemaName: error_response + cli: + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + properties: + - propertyName: code(error_response_code^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(error_response_message^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(error_response_target^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(error_response_details^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(error_response_additional_info^array) + cli: + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: error_additional_info + cli: + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + properties: + - propertyName: type(error_additional_info_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: disk_pool_list_result + cli: + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + properties: + - propertyName: value(disk_pool_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(disk_pool_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: disk_pool + cli: + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(disk_pool_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(disk_pool_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(disk_pool_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: sku + cli: + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + properties: + - propertyName: name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + - schemaName: disk + cli: + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + properties: + - propertyName: id(disk_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + - schemaName: system_metadata + cli: + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + properties: + - propertyName: created_by(system_metadata_created_by^string) + cli: + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(created_by_type^choice) + cli: + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(system_metadata_last_modified_by^string) + cli: + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(created_by_type^choice) + cli: + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: tracked_resource + cli: + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + properties: + - propertyName: tags(tracked_resource_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(tracked_resource_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: resource + cli: + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + properties: + - propertyName: id(resource_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(resource_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(resource_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: disk_pool_create + cli: + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + properties: + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(disk_pool_create_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(disk_pool_create_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(disk_pool_create_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(disk_pool_create_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(disk_pool_create_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(disk_pool_create_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: disk_pool_update + cli: + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + properties: + - propertyName: tags(disk_pool_update_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(disk_pool_update_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: disk_pool_zone_list_result + cli: + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + properties: + - propertyName: value(disk_pool_zone_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(disk_pool_zone_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: disk_pool_zone_info + cli: + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + properties: + - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: outbound_environment_endpoint_list + cli: + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + properties: + - propertyName: value(outbound_environment_endpoint_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: outbound_environment_endpoint + cli: + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + properties: + - propertyName: category(outbound_environment_endpoint_category^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: endpoint_dependency + cli: + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + properties: + - propertyName: domain_name(endpoint_dependency_domain_name^string) + cli: + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) + cli: + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: endpoint_detail + cli: + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + properties: + - propertyName: ip_address(endpoint_detail_ip_address^string) + cli: + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: iscsi_target_list + cli: + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + properties: + - propertyName: value(iscsi_target_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(iscsi_target_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: iscsi_target + cli: + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(iscsi_target_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(iscsi_target_properties_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: acl + cli: + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + properties: + - propertyName: initiator_iqn(acl_initiator_iqn^string) + cli: + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(acl_mapped_luns^array) + cli: + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: iscsi_lun + cli: + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + properties: + - propertyName: name(iscsi_lun_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: iscsi_target_create + cli: + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + properties: + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_create_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: iscsi_target_update + cli: + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + properties: + - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_update_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: proxy_resource + cli: + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + choices: + all: + - choiceName: provisioning_states + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: operational_status + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated_ + cli: + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: created_by_type + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: iscsi_target_acl_mode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: disk_pool_tier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000080-m4-flatten-post.yaml b/src/diskpool/_az_debug/clicommon-000080-m4-flatten-post.yaml new file mode 100644 index 00000000000..14b866c8a9f --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000080-m4-flatten-post.yaml @@ -0,0 +1,5772 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: string + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_name + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_action_type + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_provider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_resource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_code + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_message + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_target + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_additional_info_type + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: string + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_name + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_tier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: availability_zone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_id + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: additional_capability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_by + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_by + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: string + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: tracked_resource_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_name + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: string + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_create_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: disk_pool_create_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_name + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_zone_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_dependency_domain_name + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_detail_ip_address + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_list_next_link + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_mapped_luns_item + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_name + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_endpoints_item + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_list_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_create_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: provisioning_states + description: Provisioning state of the iSCSI Target. + cli: + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated_ + description: '' + cli: + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: operational_status + description: Operational status of the resource. + cli: + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: iscsi_target_acl_mode + description: ACL mode for iSCSI Target. + cli: + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: disk_pool_tier + description: SKU of the VM host part of the Disk Pool deployment + cli: + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: tracked_resource_tags + description: Resource tags. + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_create_tags + description: Resource tags. + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_update_tags + description: Resource tags. + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_display + description: Metadata about an operation. + namespace: '' + cli: + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_RP_operation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: storage_pool_operation_list_result_value + description: An array of operations supported by the StoragePool RP. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_list_result + description: List of operations supported by the RP. + namespace: '' + cli: + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: error_response_details + description: The error details. + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_additional_info + description: The resource management error additional info. + namespace: '' + cli: + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: error_response_additional_info + description: The error additional info. + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_response + description: The resource management error response. + namespace: '' + cli: + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error + description: The resource management error response. + namespace: '' + cli: + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: system_metadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: acl_mapped_luns + description: List of LUN names mapped to the ACL. + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: iscsi_target_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_lun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: iscsi_target_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: iscsi_target_properties_endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_target + description: Response for iSCSI Target requests. + namespace: '' + cli: + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_create_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_create_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_create + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_update_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_update_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_update + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: proxy_resource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: resource + description: ARM resource model definition. + namespace: '' + cli: + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: tracked_resource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: disk_pool_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_properties_additional_capabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk_pool + description: Response for Disk Pool request. + namespace: '' + cli: + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: disk_pool_list_result_value + description: An array of Disk pool objects. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_list_result + description: List of Disk Pools + namespace: '' + cli: + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: sku + description: Sku for ARM resource + namespace: '' + cli: + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_create_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_create_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_create_properties_additional_capabilities + description: List of additional capabilities for a Disk Pool. + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: disk_pool_create + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_122 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_update_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: disk_pool_update + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_138 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_zone_info_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_zone_info_additional_capabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_info + description: Disk Pool Sku Details + namespace: '' + cli: + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: disk_pool_zone_list_result_value + description: The list of Disk Pool Skus. + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_list_result + description: List Disk Pool skus operation response. + namespace: '' + cli: + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_132 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_detail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: endpoint_dependency_endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_dependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_endpoints + description: The endpoints that the App Service Environment reaches the service at. + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_list_value + description: Collection of resources. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint_list + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_141 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: iscsi_target_list_value + description: An array of iSCSI Targets in a Disk Pool. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: iscsi_target_list + description: List of iSCSI Targets. + namespace: '' + cli: + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + protocol: {} + language: + default: + name: operations + description: '' + cli: + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_120 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_121 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_119 + schema: *ref_118 + implementation: Method + required: true + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_119 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_120 + - *ref_121 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_124 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_125 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_123 + schema: *ref_122 + implementation: Method + required: true + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_123 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_124 + - *ref_125 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_126 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_127 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_126 + - *ref_127 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_128 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_129 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_128 + - *ref_129 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_130 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_131 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_130 + - *ref_131 + responses: + - schema: *ref_132 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependencies_endpoints + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_133 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_134 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_133 + - *ref_134 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + language: + default: + name: disk_pools + description: '' + cli: + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_137 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_137 + responses: + - schema: *ref_138 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: disk_pool_zones + description: '' + cli: + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_139 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_140 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_139 + - *ref_140 + responses: + - schema: *ref_141 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_143 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_144 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_145 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_142 + schema: *ref_42 + implementation: Method + required: true + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_142 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_143 + - *ref_144 + - *ref_145 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_147 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_148 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_149 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_146 + schema: *ref_43 + implementation: Method + required: true + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_146 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_147 + - *ref_148 + - *ref_149 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_150 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_151 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_152 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_150 + - *ref_151 + - *ref_152 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_153 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_154 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_155 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_153 + - *ref_154 + - *ref_155 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + language: + default: + name: iscsi_targets + description: '' + cli: + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +language: + default: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000090-complex-marker-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000090-complex-marker-pre-simplified.yaml new file mode 100644 index 00000000000..f7dc27dc83a --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000090-complex-marker-pre-simplified.yaml @@ -0,0 +1,1244 @@ +operationGroups: + all: + - operationGroupName: operations + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pools + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: disk_pool_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) + cli: + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + bodySchema: disk_pool_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependencies_endpoints + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cliKey: diskPoolCreatePayload + bodySchema: disk_pool_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationGroupName: disk_pool_zones + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: location(string^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: iscsi_targets + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: iscsi_target_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) + cli: + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + bodySchema: iscsi_target_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cliKey: iscsiTargetCreatePayload + bodySchema: iscsi_target_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept +schemas: + objects: + all: + - schemaName: storage_pool_operation_list_result + cli: + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + properties: + - propertyName: value(storage_pool_operation_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(storage_pool_operation_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: storage_pool_RP_operation + cli: + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + properties: + - propertyName: name(storage_pool_RP_operation_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(storage_pool_RP_operation_action_type^string) + cli: + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(storage_pool_operation_display^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(storage_pool_RP_operation_origin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: storage_pool_operation_display + cli: + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + properties: + - propertyName: provider(storage_pool_operation_display_provider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(storage_pool_operation_display_resource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(storage_pool_operation_display_operation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(storage_pool_operation_display_description^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: error + cli: + cliKey: Error + cliM4Path: schemas$$objects['Error'] + properties: + - propertyName: error(error_response^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + - schemaName: error_response + cli: + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + properties: + - propertyName: code(error_response_code^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(error_response_message^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(error_response_target^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(error_response_details^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(error_response_additional_info^array) + cli: + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: error_additional_info + cli: + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + properties: + - propertyName: type(error_additional_info_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: disk_pool_list_result + cli: + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + properties: + - propertyName: value(disk_pool_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(disk_pool_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: disk_pool + cli: + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(disk_pool_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(disk_pool_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(disk_pool_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: sku + cli: + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + properties: + - propertyName: name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + - schemaName: disk + cli: + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + properties: + - propertyName: id(disk_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + - schemaName: system_metadata + cli: + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + properties: + - propertyName: created_by(system_metadata_created_by^string) + cli: + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(created_by_type^choice) + cli: + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(system_metadata_last_modified_by^string) + cli: + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(created_by_type^choice) + cli: + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: tracked_resource + cli: + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + properties: + - propertyName: tags(tracked_resource_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(tracked_resource_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: resource + cli: + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + properties: + - propertyName: id(resource_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(resource_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(resource_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: disk_pool_create + cli: + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + properties: + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(disk_pool_create_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(disk_pool_create_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(disk_pool_create_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(disk_pool_create_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(disk_pool_create_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(disk_pool_create_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: disk_pool_update + cli: + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + properties: + - propertyName: tags(disk_pool_update_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(disk_pool_update_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: disk_pool_zone_list_result + cli: + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + properties: + - propertyName: value(disk_pool_zone_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(disk_pool_zone_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: disk_pool_zone_info + cli: + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + properties: + - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: outbound_environment_endpoint_list + cli: + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + properties: + - propertyName: value(outbound_environment_endpoint_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: outbound_environment_endpoint + cli: + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + properties: + - propertyName: category(outbound_environment_endpoint_category^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: endpoint_dependency + cli: + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + properties: + - propertyName: domain_name(endpoint_dependency_domain_name^string) + cli: + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) + cli: + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: endpoint_detail + cli: + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + properties: + - propertyName: ip_address(endpoint_detail_ip_address^string) + cli: + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: iscsi_target_list + cli: + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + properties: + - propertyName: value(iscsi_target_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(iscsi_target_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: iscsi_target + cli: + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(iscsi_target_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(iscsi_target_properties_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: acl + cli: + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + properties: + - propertyName: initiator_iqn(acl_initiator_iqn^string) + cli: + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(acl_mapped_luns^array) + cli: + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: iscsi_lun + cli: + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + properties: + - propertyName: name(iscsi_lun_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: iscsi_target_create + cli: + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + properties: + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_create_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: iscsi_target_update + cli: + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + properties: + - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_update_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: proxy_resource + cli: + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + choices: + all: + - choiceName: provisioning_states + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: operational_status + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated_ + cli: + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: created_by_type + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: iscsi_target_acl_mode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: disk_pool_tier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000090-complex-marker-pre.yaml b/src/diskpool/_az_debug/clicommon-000090-complex-marker-pre.yaml new file mode 100644 index 00000000000..f4020752ef0 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000090-complex-marker-pre.yaml @@ -0,0 +1,5997 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: string + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_name + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_action_type + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_provider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_resource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_code + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_message + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_target + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_additional_info_type + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: string + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_name + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_tier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: availability_zone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_id + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: additional_capability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_by + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_by + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: string + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: tracked_resource_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_name + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: string + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_create_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: disk_pool_create_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_name + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_zone_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_dependency_domain_name + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_detail_ip_address + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_list_next_link + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_mapped_luns_item + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_name + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_endpoints_item + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_list_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_create_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: provisioning_states + description: Provisioning state of the iSCSI Target. + cli: + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated_ + description: '' + cli: + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: operational_status + description: Operational status of the resource. + cli: + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: iscsi_target_acl_mode + description: ACL mode for iSCSI Target. + cli: + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: disk_pool_tier + description: SKU of the VM host part of the Disk Pool deployment + cli: + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: tracked_resource_tags + description: Resource tags. + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_create_tags + description: Resource tags. + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_update_tags + description: Resource tags. + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_display + description: Metadata about an operation. + namespace: '' + cli: + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_RP_operation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: storage_pool_operation_list_result_value + description: An array of operations supported by the StoragePool RP. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_list_result + description: List of operations supported by the RP. + namespace: '' + cli: + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: error_response_details + description: The error details. + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_additional_info + description: The resource management error additional info. + namespace: '' + cli: + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: error_response_additional_info + description: The error additional info. + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_response + description: The resource management error response. + namespace: '' + cli: + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error + description: The resource management error response. + namespace: '' + cli: + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: system_metadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: acl_mapped_luns + description: List of LUN names mapped to the ACL. + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: iscsi_target_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_lun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: iscsi_target_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: iscsi_target_properties_endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_target + description: Response for iSCSI Target requests. + namespace: '' + cli: + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_create_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_create_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_create + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_update_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_update_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_update + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: proxy_resource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: resource + description: ARM resource model definition. + namespace: '' + cli: + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: tracked_resource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: disk_pool_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_properties_additional_capabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk_pool + description: Response for Disk Pool request. + namespace: '' + cli: + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: disk_pool_list_result_value + description: An array of Disk pool objects. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_list_result + description: List of Disk Pools + namespace: '' + cli: + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: sku + description: Sku for ARM resource + namespace: '' + cli: + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_create_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_create_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_create_properties_additional_capabilities + description: List of additional capabilities for a Disk Pool. + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: disk_pool_create + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_122 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_update_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: disk_pool_update + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_153 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_zone_info_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_zone_info_additional_capabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_info + description: Disk Pool Sku Details + namespace: '' + cli: + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: disk_pool_zone_list_result_value + description: The list of Disk Pool Skus. + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_list_result + description: List Disk Pool skus operation response. + namespace: '' + cli: + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_132 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_detail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: endpoint_dependency_endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_dependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_endpoints + description: The endpoints that the App Service Environment reaches the service at. + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_list_value + description: Collection of resources. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint_list + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_156 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: iscsi_target_list_value + description: An array of iSCSI Targets in a Disk Pool. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: iscsi_target_list + description: List of iSCSI Targets. + namespace: '' + cli: + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + protocol: {} + language: + default: + name: operations + description: '' + cli: + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - &ref_149 + apiVersions: &ref_137 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_120 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_138 + in: path + - &ref_121 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_139 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_140 + in: header + - &ref_119 + schema: *ref_118 + implementation: Method + required: true + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + http: &ref_141 + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_142 + in: header + signatureParameters: + - *ref_119 + language: + default: + name: '' + description: '' + protocol: + http: &ref_144 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_120 + - *ref_121 + responses: &ref_147 + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_148 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_150 + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_151 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + split-operation-names: &ref_161 + - Create + - Update + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_124 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_125 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_123 + schema: *ref_122 + implementation: Method + required: true + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_123 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_124 + - *ref_125 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_126 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_127 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_126 + - *ref_127 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_128 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_129 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_128 + - *ref_129 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_130 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_131 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_130 + - *ref_131 + responses: + - schema: *ref_132 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependencies_endpoints + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_133 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_134 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_133 + - *ref_134 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + - apiVersions: *ref_137 + parameters: + - *ref_108 + - *ref_113 + - &ref_145 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_138 + - &ref_146 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_139 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_140 + - &ref_143 + schema: *ref_118 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cliKey: diskPoolCreatePayload + protocol: + http: *ref_141 + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_142 + signatureParameters: + - *ref_143 + language: + default: + name: '' + description: '' + protocol: + http: *ref_144 + signatureParameters: + - *ref_145 + - *ref_146 + responses: *ref_147 + exceptions: *ref_148 + extensions: + cli-split-operation-original-operation: *ref_149 + x-ms-examples: *ref_150 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_151 + language: + default: + name: Create + description: Create Disk pool. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: disk_pools + description: '' + cli: + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_152 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_152 + responses: + - schema: *ref_153 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: disk_pool_zones + description: '' + cli: + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_154 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_155 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_154 + - *ref_155 + responses: + - schema: *ref_156 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - &ref_186 + apiVersions: &ref_172 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_158 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_173 + in: path + - &ref_159 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_174 + in: path + - &ref_160 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: &ref_175 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_176 + in: header + - &ref_157 + schema: *ref_42 + implementation: Method + required: true + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + http: &ref_177 + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_178 + in: header + signatureParameters: + - *ref_157 + language: + default: + name: '' + description: '' + protocol: + http: &ref_180 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_158 + - *ref_159 + - *ref_160 + responses: &ref_184 + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_185 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_187 + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_188 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + split-operation-names: *ref_161 + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_163 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_164 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_165 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_162 + schema: *ref_43 + implementation: Method + required: true + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_162 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_163 + - *ref_164 + - *ref_165 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_166 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_167 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_168 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_166 + - *ref_167 + - *ref_168 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_169 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_170 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_171 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_169 + - *ref_170 + - *ref_171 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + - apiVersions: *ref_172 + parameters: + - *ref_108 + - *ref_113 + - &ref_181 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_173 + - &ref_182 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_174 + - &ref_183 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + protocol: + http: *ref_175 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_176 + - &ref_179 + schema: *ref_42 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cliKey: iscsiTargetCreatePayload + protocol: + http: *ref_177 + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_178 + signatureParameters: + - *ref_179 + language: + default: + name: '' + description: '' + protocol: + http: *ref_180 + signatureParameters: + - *ref_181 + - *ref_182 + - *ref_183 + responses: *ref_184 + exceptions: *ref_185 + extensions: + cli-split-operation-original-operation: *ref_186 + x-ms-examples: *ref_187 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_188 + language: + default: + name: Create + description: Create an iSCSI Target. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: iscsi_targets + description: '' + cli: + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +language: + default: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000100-complex-marker-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000100-complex-marker-post-simplified.yaml new file mode 100644 index 00000000000..fac97ca2840 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000100-complex-marker-post-simplified.yaml @@ -0,0 +1,1413 @@ +operationGroups: + all: + - operationGroupName: operations + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pools + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: disk_pool_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) + cli: + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + bodySchema: disk_pool_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependencies_endpoints + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cliKey: diskPoolCreatePayload + bodySchema: disk_pool_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationGroupName: disk_pool_zones + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: location(string^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: iscsi_targets + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: iscsi_target_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) + cli: + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + bodySchema: iscsi_target_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cliKey: iscsiTargetCreatePayload + bodySchema: iscsi_target_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept +schemas: + objects: + all: + - schemaName: storage_pool_operation_list_result + cli: + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: value(storage_pool_operation_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(storage_pool_operation_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: storage_pool_RP_operation + cli: + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + cli-mark: checked + properties: + - propertyName: name(storage_pool_RP_operation_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(storage_pool_RP_operation_action_type^string) + cli: + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(storage_pool_operation_display^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(storage_pool_RP_operation_origin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: storage_pool_operation_display + cli: + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + cli-complexity: object_simple + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + cli-mark: checked + properties: + - propertyName: provider(storage_pool_operation_display_provider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(storage_pool_operation_display_resource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(storage_pool_operation_display_operation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(storage_pool_operation_display_description^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: error + cli: + cliKey: Error + cliM4Path: schemas$$objects['Error'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + cli-mark: checked + properties: + - propertyName: error(error_response^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + - schemaName: error_response + cli: + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + cli-mark: checked + cli-in-circle: true + properties: + - propertyName: code(error_response_code^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(error_response_message^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(error_response_target^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(error_response_details^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(error_response_additional_info^array) + cli: + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: error_additional_info + cli: + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + cli-mark: checked + properties: + - propertyName: type(error_additional_info_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: disk_pool_list_result + cli: + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: value(disk_pool_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(disk_pool_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: disk_pool + cli: + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(disk_pool_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(disk_pool_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(disk_pool_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: sku + cli: + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + cli-complexity: object_simple + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + cli-mark: checked + properties: + - propertyName: name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + - schemaName: disk + cli: + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + cli-complexity: object_simple + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + cli-mark: checked + properties: + - propertyName: id(disk_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + - schemaName: system_metadata + cli: + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + cli-complexity: object_simple + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + cli-mark: checked + properties: + - propertyName: created_by(system_metadata_created_by^string) + cli: + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(created_by_type^choice) + cli: + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(system_metadata_last_modified_by^string) + cli: + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(created_by_type^choice) + cli: + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: tracked_resource + cli: + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: tags(tracked_resource_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(tracked_resource_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: resource + cli: + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + cli-complexity: object_simple + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + cli-mark: checked + properties: + - propertyName: id(resource_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(resource_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(resource_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: disk_pool_create + cli: + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(disk_pool_create_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(disk_pool_create_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(disk_pool_create_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(disk_pool_create_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(disk_pool_create_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(disk_pool_create_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: disk_pool_update + cli: + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: tags(disk_pool_update_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(disk_pool_update_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: disk_pool_zone_list_result + cli: + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: value(disk_pool_zone_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(disk_pool_zone_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: disk_pool_zone_info + cli: + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: outbound_environment_endpoint_list + cli: + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: value(outbound_environment_endpoint_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: outbound_environment_endpoint + cli: + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: category(outbound_environment_endpoint_category^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: endpoint_dependency + cli: + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: domain_name(endpoint_dependency_domain_name^string) + cli: + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) + cli: + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: endpoint_detail + cli: + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + cli-complexity: object_simple + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + cli-mark: checked + properties: + - propertyName: ip_address(endpoint_detail_ip_address^string) + cli: + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: iscsi_target_list + cli: + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: value(iscsi_target_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(iscsi_target_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: iscsi_target + cli: + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(iscsi_target_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(iscsi_target_properties_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: acl + cli: + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + cli-complexity: object_simple + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: initiator_iqn(acl_initiator_iqn^string) + cli: + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(acl_mapped_luns^array) + cli: + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: iscsi_lun + cli: + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + cli-complexity: object_simple + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + cli-mark: checked + properties: + - propertyName: name(iscsi_lun_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: iscsi_target_create + cli: + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_create_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: iscsi_target_update + cli: + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_update_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: proxy_resource + cli: + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + cli-complexity: object_simple + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + cli-mark: checked + choices: + all: + - choiceName: provisioning_states + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: operational_status + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated_ + cli: + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: created_by_type + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: iscsi_target_acl_mode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: disk_pool_tier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000100-complex-marker-post.yaml b/src/diskpool/_az_debug/clicommon-000100-complex-marker-post.yaml new file mode 100644 index 00000000000..c1dc7620a5a --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000100-complex-marker-post.yaml @@ -0,0 +1,6254 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: string + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_name + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_action_type + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_provider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_resource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_code + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_message + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_target + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_additional_info_type + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: string + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_name + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_tier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: availability_zone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_id + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: additional_capability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_by + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_by + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: string + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: tracked_resource_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_name + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: string + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_create_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: disk_pool_create_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_name + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_zone_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_dependency_domain_name + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_detail_ip_address + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_list_next_link + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_mapped_luns_item + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_name + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_endpoints_item + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_list_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_create_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: provisioning_states + description: Provisioning state of the iSCSI Target. + cli: + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated_ + description: '' + cli: + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: operational_status + description: Operational status of the resource. + cli: + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: iscsi_target_acl_mode + description: ACL mode for iSCSI Target. + cli: + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: disk_pool_tier + description: SKU of the VM host part of the Disk Pool deployment + cli: + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: tracked_resource_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_create_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_update_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_display + description: Metadata about an operation. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_RP_operation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: storage_pool_operation_list_result_value + description: An array of operations supported by the StoragePool RP. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_list_result + description: List of operations supported by the RP. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: error_response_details + description: The error details. + cli: + cli-complexity: array_complex + cli-in-circle: true + cli-mark: checked + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_additional_info + description: The resource management error additional info. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: error_response_additional_info + description: The error additional info. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_response + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: system_metadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: acl_mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: iscsi_target_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_lun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: iscsi_target_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: iscsi_target_properties_endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_target + description: Response for iSCSI Target requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_create_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_create_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_create + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_update_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_update_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_update + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: proxy_resource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: resource + description: ARM resource model definition. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: tracked_resource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: disk_pool_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_properties_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk_pool + description: Response for Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: disk_pool_list_result_value + description: An array of Disk pool objects. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_list_result + description: List of Disk Pools + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: sku + description: Sku for ARM resource + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_create_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_create_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_create_properties_additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: disk_pool_create + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_122 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_update_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: disk_pool_update + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_153 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_zone_info_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_zone_info_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_info + description: Disk Pool Sku Details + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: disk_pool_zone_list_result_value + description: The list of Disk Pool Skus. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_list_result + description: List Disk Pool skus operation response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_132 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_detail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: endpoint_dependency_endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_dependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_list_value + description: Collection of resources. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint_list + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_156 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: iscsi_target_list_value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: iscsi_target_list + description: List of iSCSI Targets. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + protocol: {} + language: + default: + name: operations + description: '' + cli: + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - &ref_149 + apiVersions: &ref_137 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_120 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_138 + in: path + - &ref_121 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_139 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_140 + in: header + - &ref_119 + schema: *ref_118 + implementation: Method + required: true + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + http: &ref_141 + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_142 + in: header + signatureParameters: + - *ref_119 + language: + default: + name: '' + description: '' + protocol: + http: &ref_144 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_120 + - *ref_121 + responses: &ref_147 + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_148 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_150 + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_151 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + split-operation-names: &ref_161 + - Create + - Update + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_124 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_125 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_123 + schema: *ref_122 + implementation: Method + required: true + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_123 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_124 + - *ref_125 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_126 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_127 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_126 + - *ref_127 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_128 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_129 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_128 + - *ref_129 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_130 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_131 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_130 + - *ref_131 + responses: + - schema: *ref_132 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependencies_endpoints + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_133 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_134 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_133 + - *ref_134 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + - apiVersions: *ref_137 + parameters: + - *ref_108 + - *ref_113 + - &ref_145 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_138 + - &ref_146 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_139 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_140 + - &ref_143 + schema: *ref_118 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cliKey: diskPoolCreatePayload + protocol: + http: *ref_141 + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_142 + signatureParameters: + - *ref_143 + language: + default: + name: '' + description: '' + protocol: + http: *ref_144 + signatureParameters: + - *ref_145 + - *ref_146 + responses: *ref_147 + exceptions: *ref_148 + extensions: + cli-split-operation-original-operation: *ref_149 + x-ms-examples: *ref_150 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_151 + language: + default: + name: Create + description: Create Disk pool. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: disk_pools + description: '' + cli: + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_152 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_152 + responses: + - schema: *ref_153 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: disk_pool_zones + description: '' + cli: + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_154 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_155 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_154 + - *ref_155 + responses: + - schema: *ref_156 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - &ref_186 + apiVersions: &ref_172 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_158 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_173 + in: path + - &ref_159 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_174 + in: path + - &ref_160 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: &ref_175 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_176 + in: header + - &ref_157 + schema: *ref_42 + implementation: Method + required: true + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + http: &ref_177 + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_178 + in: header + signatureParameters: + - *ref_157 + language: + default: + name: '' + description: '' + protocol: + http: &ref_180 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_158 + - *ref_159 + - *ref_160 + responses: &ref_184 + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_185 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_187 + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_188 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + split-operation-names: *ref_161 + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_163 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_164 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_165 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_162 + schema: *ref_43 + implementation: Method + required: true + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_162 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_163 + - *ref_164 + - *ref_165 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_166 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_167 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_168 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_166 + - *ref_167 + - *ref_168 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_169 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_170 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_171 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_169 + - *ref_170 + - *ref_171 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + - apiVersions: *ref_172 + parameters: + - *ref_108 + - *ref_113 + - &ref_181 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_173 + - &ref_182 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_174 + - &ref_183 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + protocol: + http: *ref_175 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_176 + - &ref_179 + schema: *ref_42 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cliKey: iscsiTargetCreatePayload + protocol: + http: *ref_177 + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_178 + signatureParameters: + - *ref_179 + language: + default: + name: '' + description: '' + protocol: + http: *ref_180 + signatureParameters: + - *ref_181 + - *ref_182 + - *ref_183 + responses: *ref_184 + exceptions: *ref_185 + extensions: + cli-split-operation-original-operation: *ref_186 + x-ms-examples: *ref_187 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_188 + language: + default: + name: Create + description: Create an iSCSI Target. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: iscsi_targets + description: '' + cli: + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +language: + default: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000110-m4namer-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000110-m4namer-pre-simplified.yaml new file mode 100644 index 00000000000..06dd64da985 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000110-m4namer-pre-simplified.yaml @@ -0,0 +1,1167 @@ +operationGroups: + all: + - operationGroupName: operations + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pools + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: disk_pool_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) + cli: + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + bodySchema: disk_pool_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependencies_endpoints + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pool_zones + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: location(string^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: iscsi_targets + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: iscsi_target_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) + cli: + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + bodySchema: iscsi_target_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] +schemas: + objects: + all: + - schemaName: storage_pool_operation_list_result + cli: + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + properties: + - propertyName: value(storage_pool_operation_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(storage_pool_operation_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: storage_pool_RP_operation + cli: + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + properties: + - propertyName: name(storage_pool_RP_operation_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(storage_pool_RP_operation_action_type^string) + cli: + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(storage_pool_operation_display^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(storage_pool_RP_operation_origin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: storage_pool_operation_display + cli: + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + properties: + - propertyName: provider(storage_pool_operation_display_provider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(storage_pool_operation_display_resource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(storage_pool_operation_display_operation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(storage_pool_operation_display_description^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: error + cli: + cliKey: Error + cliM4Path: schemas$$objects['Error'] + properties: + - propertyName: error(error_response^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + - schemaName: error_response + cli: + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + properties: + - propertyName: code(error_response_code^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(error_response_message^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(error_response_target^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(error_response_details^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(error_response_additional_info^array) + cli: + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: error_additional_info + cli: + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + properties: + - propertyName: type(error_additional_info_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: disk_pool_list_result + cli: + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + properties: + - propertyName: value(disk_pool_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(disk_pool_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: disk_pool + cli: + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(disk_pool_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(disk_pool_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(disk_pool_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: sku + cli: + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + properties: + - propertyName: name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + - schemaName: disk + cli: + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + properties: + - propertyName: id(disk_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + - schemaName: system_metadata + cli: + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + properties: + - propertyName: created_by(system_metadata_created_by^string) + cli: + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(created_by_type^choice) + cli: + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(system_metadata_last_modified_by^string) + cli: + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(created_by_type^choice) + cli: + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: tracked_resource + cli: + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + properties: + - propertyName: tags(tracked_resource_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(tracked_resource_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: resource + cli: + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + properties: + - propertyName: id(resource_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(resource_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(resource_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: disk_pool_create + cli: + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + properties: + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(disk_pool_create_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(disk_pool_create_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(disk_pool_create_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(disk_pool_create_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(disk_pool_create_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(disk_pool_create_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: disk_pool_update + cli: + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + properties: + - propertyName: tags(disk_pool_update_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(disk_pool_update_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: disk_pool_zone_list_result + cli: + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + properties: + - propertyName: value(disk_pool_zone_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(disk_pool_zone_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: disk_pool_zone_info + cli: + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + properties: + - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: outbound_environment_endpoint_list + cli: + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + properties: + - propertyName: value(outbound_environment_endpoint_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: outbound_environment_endpoint + cli: + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + properties: + - propertyName: category(outbound_environment_endpoint_category^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: endpoint_dependency + cli: + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + properties: + - propertyName: domain_name(endpoint_dependency_domain_name^string) + cli: + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) + cli: + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: endpoint_detail + cli: + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + properties: + - propertyName: ip_address(endpoint_detail_ip_address^string) + cli: + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: iscsi_target_list + cli: + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + properties: + - propertyName: value(iscsi_target_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(iscsi_target_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: iscsi_target + cli: + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(iscsi_target_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(iscsi_target_properties_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: acl + cli: + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + properties: + - propertyName: initiator_iqn(acl_initiator_iqn^string) + cli: + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(acl_mapped_luns^array) + cli: + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: iscsi_lun + cli: + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + properties: + - propertyName: name(iscsi_lun_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: iscsi_target_create + cli: + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + properties: + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_create_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: iscsi_target_update + cli: + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + properties: + - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_update_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: proxy_resource + cli: + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + choices: + all: + - choiceName: provisioning_states + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: operational_status + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated_ + cli: + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: created_by_type + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: iscsi_target_acl_mode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: disk_pool_tier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000110-m4namer-pre.yaml b/src/diskpool/_az_debug/clicommon-000110-m4namer-pre.yaml new file mode 100644 index 00000000000..14b866c8a9f --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000110-m4namer-pre.yaml @@ -0,0 +1,5772 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: string + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_name + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_action_type + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_provider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_resource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_code + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_message + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_target + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_additional_info_type + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: string + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_name + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_tier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: availability_zone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_id + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: additional_capability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_by + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_by + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: string + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: tracked_resource_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_name + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: string + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_create_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: disk_pool_create_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_name + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_zone_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_dependency_domain_name + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_detail_ip_address + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_list_next_link + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_mapped_luns_item + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_name + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_endpoints_item + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_list_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_create_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: provisioning_states + description: Provisioning state of the iSCSI Target. + cli: + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated_ + description: '' + cli: + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: operational_status + description: Operational status of the resource. + cli: + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: iscsi_target_acl_mode + description: ACL mode for iSCSI Target. + cli: + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: disk_pool_tier + description: SKU of the VM host part of the Disk Pool deployment + cli: + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: tracked_resource_tags + description: Resource tags. + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_create_tags + description: Resource tags. + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_update_tags + description: Resource tags. + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_display + description: Metadata about an operation. + namespace: '' + cli: + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_RP_operation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: storage_pool_operation_list_result_value + description: An array of operations supported by the StoragePool RP. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_list_result + description: List of operations supported by the RP. + namespace: '' + cli: + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: error_response_details + description: The error details. + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_additional_info + description: The resource management error additional info. + namespace: '' + cli: + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: error_response_additional_info + description: The error additional info. + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_response + description: The resource management error response. + namespace: '' + cli: + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error + description: The resource management error response. + namespace: '' + cli: + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: system_metadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: acl_mapped_luns + description: List of LUN names mapped to the ACL. + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: iscsi_target_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_lun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: iscsi_target_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: iscsi_target_properties_endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_target + description: Response for iSCSI Target requests. + namespace: '' + cli: + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_create_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_create_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_create + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_update_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_update_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_update + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: proxy_resource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: resource + description: ARM resource model definition. + namespace: '' + cli: + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: tracked_resource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: disk_pool_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_properties_additional_capabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk_pool + description: Response for Disk Pool request. + namespace: '' + cli: + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: disk_pool_list_result_value + description: An array of Disk pool objects. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_list_result + description: List of Disk Pools + namespace: '' + cli: + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: sku + description: Sku for ARM resource + namespace: '' + cli: + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_create_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_create_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_create_properties_additional_capabilities + description: List of additional capabilities for a Disk Pool. + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: disk_pool_create + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_122 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_update_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: disk_pool_update + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_138 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_zone_info_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_zone_info_additional_capabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_info + description: Disk Pool Sku Details + namespace: '' + cli: + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: disk_pool_zone_list_result_value + description: The list of Disk Pool Skus. + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_list_result + description: List Disk Pool skus operation response. + namespace: '' + cli: + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_132 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_detail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: endpoint_dependency_endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_dependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_endpoints + description: The endpoints that the App Service Environment reaches the service at. + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_list_value + description: Collection of resources. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint_list + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_141 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: iscsi_target_list_value + description: An array of iSCSI Targets in a Disk Pool. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: iscsi_target_list + description: List of iSCSI Targets. + namespace: '' + cli: + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + protocol: {} + language: + default: + name: operations + description: '' + cli: + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_120 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_121 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_119 + schema: *ref_118 + implementation: Method + required: true + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_119 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_120 + - *ref_121 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_124 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_125 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_123 + schema: *ref_122 + implementation: Method + required: true + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_123 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_124 + - *ref_125 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_126 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_127 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_126 + - *ref_127 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_128 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_129 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_128 + - *ref_129 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_130 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_131 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_130 + - *ref_131 + responses: + - schema: *ref_132 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependencies_endpoints + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_133 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_134 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_133 + - *ref_134 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + language: + default: + name: disk_pools + description: '' + cli: + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_137 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_137 + responses: + - schema: *ref_138 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: disk_pool_zones + description: '' + cli: + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_139 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_140 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_139 + - *ref_140 + responses: + - schema: *ref_141 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_143 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_144 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_145 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_142 + schema: *ref_42 + implementation: Method + required: true + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_142 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_143 + - *ref_144 + - *ref_145 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_147 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_148 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_149 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_146 + schema: *ref_43 + implementation: Method + required: true + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_146 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_147 + - *ref_148 + - *ref_149 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_150 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_151 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_152 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_150 + - *ref_151 + - *ref_152 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_153 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_154 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_155 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_153 + - *ref_154 + - *ref_155 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + language: + default: + name: iscsi_targets + description: '' + cli: + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +language: + default: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000120-m4namer-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000120-m4namer-post-simplified.yaml new file mode 100644 index 00000000000..0e06ffd9d86 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000120-m4namer-post-simplified.yaml @@ -0,0 +1,1438 @@ +operationGroups: + all: + - operationGroupName: Operations + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + cliPath: operationGroups['Operations'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + cliPath: operationGroups['Operations']$$operations['List'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: DiskPools + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + cliPath: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + cliPath: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(DiskPoolCreate^object) + cli: + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: DiskPoolCreate + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + cliPath: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(DiskPoolUpdate^object) + cli: + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + bodySchema: DiskPoolUpdate + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + cliPath: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + cliPath: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependencies_endpoints + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + cliPath: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + cliPath: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationGroupName: DiskPoolZones + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + cliPath: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + cliPath: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: location(String^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + cliPath: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: IscsiTargets + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + cliPath: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(IscsiTargetCreate^object) + cli: + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: IscsiTargetCreate + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + cliPath: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(IscsiTargetUpdate^object) + cli: + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + bodySchema: IscsiTargetUpdate + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + cliPath: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] +schemas: + objects: + all: + - schemaName: StoragePoolOperationListResult + cli: + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + cliPath: schemas$$objects['StoragePoolOperationListResult'] + properties: + - propertyName: value(StoragePoolOperationListResultValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(StoragePoolOperationListResultNextLink^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: StoragePoolRpOperation + cli: + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + cliPath: schemas$$objects['StoragePoolRPOperation'] + properties: + - propertyName: name(StoragePoolRpOperationName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(StoragePoolRpOperationActionType^string) + cli: + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(StoragePoolOperationDisplay^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(StoragePoolRpOperationOrigin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: StoragePoolOperationDisplay + cli: + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + cliPath: schemas$$objects['StoragePoolOperationDisplay'] + properties: + - propertyName: provider(StoragePoolOperationDisplayProvider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(StoragePoolOperationDisplayResource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(StoragePoolOperationDisplayOperation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(StoragePoolOperationDisplayDescription^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: Error + cli: + cliKey: Error + cliM4Path: schemas$$objects['Error'] + cliPath: schemas$$objects['Error'] + properties: + - propertyName: error(ErrorResponse^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + cliPath: schemas$$objects['Error']$$properties['error'] + - schemaName: ErrorResponse + cli: + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + cliPath: schemas$$objects['ErrorResponse'] + properties: + - propertyName: code(ErrorResponseCode^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + cliPath: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(ErrorResponseMessage^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + cliPath: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(ErrorResponseTarget^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + cliPath: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(ErrorResponseDetails^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + cliPath: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(ErrorResponseAdditionalInfo^array) + cli: + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + cliPath: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: ErrorAdditionalInfo + cli: + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + cliPath: schemas$$objects['ErrorAdditionalInfo'] + properties: + - propertyName: type(ErrorAdditionalInfoType^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: DiskPoolListResult + cli: + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + cliPath: schemas$$objects['DiskPoolListResult'] + properties: + - propertyName: value(DiskPoolListResultValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + cliPath: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(DiskPoolListResultNextLink^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + cliPath: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: DiskPool + cli: + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + cliPath: schemas$$objects['DiskPool'] + properties: + - propertyName: system_data(SystemMetadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + cliPath: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(ProvisioningStates^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + cliPath: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(DiskPoolPropertiesAvailabilityZones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + cliPath: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(OperationalStatus^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + cliPath: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(DiskPoolPropertiesDisks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + cliPath: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(DiskPoolPropertiesSubnetId^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + cliPath: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(DiskPoolPropertiesAdditionalCapabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + cliPath: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(SkuName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + cliPath: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(SkuTier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + cliPath: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: Sku + cli: + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + cliPath: schemas$$objects['Sku'] + properties: + - propertyName: name(SkuName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + cliPath: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(SkuTier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + cliPath: schemas$$objects['Sku']$$properties['tier'] + - schemaName: Disk + cli: + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + cliPath: schemas$$objects['Disk'] + properties: + - propertyName: id(DiskId^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + cliPath: schemas$$objects['Disk']$$properties['id'] + - schemaName: SystemMetadata + cli: + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + cliPath: schemas$$objects['SystemMetadata'] + properties: + - propertyName: created_by(SystemMetadataCreatedBy^string) + cli: + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + cliPath: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(CreatedByType^choice) + cli: + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + cliPath: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + cliPath: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(SystemMetadataLastModifiedBy^string) + cli: + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(CreatedByType^choice) + cli: + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: TrackedResource + cli: + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + cliPath: schemas$$objects['TrackedResource'] + properties: + - propertyName: tags(TrackedResourceTags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + cliPath: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(TrackedResourceLocation^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + cliPath: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: Resource + cli: + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + cliPath: schemas$$objects['Resource'] + properties: + - propertyName: id(ResourceId^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + cliPath: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(ResourceName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + cliPath: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(ResourceType^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + cliPath: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: DiskPoolCreate + cli: + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + cliPath: schemas$$objects['DiskPoolCreate'] + properties: + - propertyName: sku(Sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(DiskPoolCreateTags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(DiskPoolCreateLocation^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(DiskPoolCreateId^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(DiskPoolCreateName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(DiskPoolCreateType^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(DiskPoolCreatePropertiesDisks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(DiskPoolCreatePropertiesSubnetId^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: DiskPoolUpdate + cli: + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + cliPath: schemas$$objects['DiskPoolUpdate'] + properties: + - propertyName: tags(DiskPoolUpdateTags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + cliPath: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(DiskPoolUpdatePropertiesDisks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + cliPath: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: DiskPoolZoneListResult + cli: + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + cliPath: schemas$$objects['DiskPoolZoneListResult'] + properties: + - propertyName: value(DiskPoolZoneListResultValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(DiskPoolZoneListResultNextLink^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: DiskPoolZoneInfo + cli: + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + cliPath: schemas$$objects['DiskPoolZoneInfo'] + properties: + - propertyName: availability_zones(DiskPoolZoneInfoAvailabilityZones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(DiskPoolZoneInfoAdditionalCapabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(Sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: OutboundEnvironmentEndpointList + cli: + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + cliPath: schemas$$objects['OutboundEnvironmentEndpointList'] + properties: + - propertyName: value(OutboundEnvironmentEndpointListValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(OutboundEnvironmentEndpointListNextLink^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: OutboundEnvironmentEndpoint + cli: + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + cliPath: schemas$$objects['OutboundEnvironmentEndpoint'] + properties: + - propertyName: category(OutboundEnvironmentEndpointCategory^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(OutboundEnvironmentEndpointEndpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: EndpointDependency + cli: + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + cliPath: schemas$$objects['EndpointDependency'] + properties: + - propertyName: domain_name(EndpointDependencyDomainName^string) + cli: + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + cliPath: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(EndpointDependencyEndpointDetails^array) + cli: + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + cliPath: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: EndpointDetail + cli: + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + cliPath: schemas$$objects['EndpointDetail'] + properties: + - propertyName: ip_address(EndpointDetailIpAddress^string) + cli: + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + cliPath: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(Integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + cliPath: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(Number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + cliPath: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + cliPath: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: IscsiTargetList + cli: + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + cliPath: schemas$$objects['IscsiTargetList'] + properties: + - propertyName: value(IscsiTargetListValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + cliPath: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(IscsiTargetListNextLink^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + cliPath: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: IscsiTarget + cli: + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + cliPath: schemas$$objects['IscsiTarget'] + properties: + - propertyName: system_data(SystemMetadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + cliPath: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(IscsiTargetAclMode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + cliPath: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(IscsiTargetPropertiesStaticAcls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + cliPath: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(IscsiTargetPropertiesLuns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + cliPath: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(IscsiTargetPropertiesTargetIqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + cliPath: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(ProvisioningStates^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + cliPath: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(OperationalStatus^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + cliPath: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(IscsiTargetPropertiesEndpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + cliPath: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(Integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + cliPath: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: Acl + cli: + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + cliPath: schemas$$objects['Acl'] + properties: + - propertyName: initiator_iqn(AclInitiatorIqn^string) + cli: + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + cliPath: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(AclMappedLuns^array) + cli: + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + cliPath: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: IscsiLun + cli: + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + cliPath: schemas$$objects['IscsiLun'] + properties: + - propertyName: name(IscsiLunName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + cliPath: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(IscsiLunManagedDiskAzureResourceId^string) + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + cliPath: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: IscsiTargetCreate + cli: + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + cliPath: schemas$$objects['IscsiTargetCreate'] + properties: + - propertyName: acl_mode(IscsiTargetAclMode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(IscsiTargetCreatePropertiesLuns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: IscsiTargetUpdate + cli: + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + cliPath: schemas$$objects['IscsiTargetUpdate'] + properties: + - propertyName: static_acls(IscsiTargetUpdatePropertiesStaticAcls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(IscsiTargetUpdatePropertiesLuns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: ProxyResource + cli: + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + cliPath: schemas$$objects['ProxyResource'] + choices: + all: + - choiceName: ProvisioningStates + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + cliPath: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: INVALID + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: SUCCEEDED + cli: + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: FAILED + cli: + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: CANCELED + cli: + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: PENDING + cli: + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: CREATING + cli: + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: UPDATING + cli: + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: DELETING + cli: + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: OperationalStatus + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + cliPath: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: INVALID + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: UNKNOWN + cli: + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: HEALTHY + cli: + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: UNHEALTHY + cli: + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: UPDATING + cli: + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: RUNNING + cli: + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: STOPPED + cli: + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: STOPPED_DEALLOCATED__ + cli: + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: CreatedByType + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + cliPath: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: USER + cli: + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + cliPath: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: APPLICATION + cli: + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + cliPath: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: MANAGED_IDENTITY + cli: + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + cliPath: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: KEY + cli: + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + cliPath: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: IscsiTargetAclMode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + cliPath: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: DYNAMIC + cli: + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: STATIC + cli: + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: DiskPoolTier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + cliPath: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: BASIC + cli: + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + cliPath: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: STANDARD + cli: + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + cliPath: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: PREMIUM + cli: + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' + cliPath: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000120-m4namer-post.yaml b/src/diskpool/_az_debug/clicommon-000120-m4namer-post.yaml new file mode 100644 index 00000000000..9e81299aa4b --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000120-m4namer-post.yaml @@ -0,0 +1,5999 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: Integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: Number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: Integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: String + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRpOperationName + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRpOperationActionType + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayProvider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayResource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayOperation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayDescription + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRpOperationOrigin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationListResultNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponseCode + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponseMessage + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponseTarget + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorAdditionalInfoType + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: String + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SkuName + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SkuTier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AvailabilityZone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskId + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: DiskPoolPropertiesSubnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AdditionalCapability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SystemMetadataCreatedBy + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SystemMetadataLastModifiedBy + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: String + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: TrackedResourceLocation + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ResourceId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ResourceName + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ResourceType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolListResultNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: String + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: DiskPoolCreatePropertiesSubnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: DiskPoolCreateLocation + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreateId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreateName + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreateType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolZoneListResultNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: OutboundEnvironmentEndpointCategory + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: EndpointDependencyDomainName + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: EndpointDetailIpAddress + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: OutboundEnvironmentEndpointListNextLink + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AclInitiatorIqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AclMappedLunsItem + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiLunName + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiLunManagedDiskAzureResourceId + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetPropertiesTargetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetPropertiesEndpointsItem + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetListNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetCreatePropertiesTargetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: INVALID + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: SUCCEEDED + description: '' + cli: + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: FAILED + description: '' + cli: + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: CANCELED + description: '' + cli: + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: PENDING + description: '' + cli: + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: CREATING + description: '' + cli: + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: UPDATING + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: DELETING + description: '' + cli: + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: ProvisioningStates + description: Provisioning state of the iSCSI Target. + cli: + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + cliPath: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: INVALID + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: UNKNOWN + description: '' + cli: + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: HEALTHY + description: '' + cli: + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: UNHEALTHY + description: '' + cli: + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: UPDATING + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: RUNNING + description: '' + cli: + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: STOPPED + description: '' + cli: + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: STOPPED_DEALLOCATED__ + description: '' + cli: + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: OperationalStatus + description: Operational status of the resource. + cli: + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + cliPath: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: USER + description: '' + cli: + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: APPLICATION + description: '' + cli: + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: MANAGED_IDENTITY + description: '' + cli: + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: KEY + description: '' + cli: + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: CreatedByType + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + cliPath: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: DYNAMIC + description: '' + cli: + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: STATIC + description: '' + cli: + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: IscsiTargetAclMode + description: ACL mode for iSCSI Target. + cli: + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + cliPath: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: BASIC + description: '' + cli: + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: STANDARD + description: '' + cli: + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: PREMIUM + description: '' + cli: + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: DiskPoolTier + description: SKU of the VM host part of the Disk Pool deployment + cli: + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + cliPath: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: TrackedResourceTags + description: Resource tags. + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: DiskPoolCreateTags + description: Resource tags. + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: DiskPoolUpdateTags + description: Resource tags. + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolOperationDisplay + description: Metadata about an operation. + namespace: '' + cli: + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolRpOperation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: StoragePoolOperationListResultValue + description: An array of operations supported by the StoragePool RP. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolOperationListResult + description: List of operations supported by the RP. + namespace: '' + cli: + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: ErrorResponseDetails + description: The error details. + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: ErrorAdditionalInfo + description: The resource management error additional info. + namespace: '' + cli: + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: ErrorResponseAdditionalInfo + description: The error additional info. + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: ErrorResponse + description: The resource management error response. + namespace: '' + cli: + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + cliPath: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + cliPath: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: Error + description: The resource management error response. + namespace: '' + cli: + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + cliPath: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: SystemMetadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + cliPath: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + cliPath: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: AclMappedLuns + description: List of LUN names mapped to the ACL. + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + cliPath: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: Acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + cliPath: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: IscsiTargetPropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: IscsiLun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + cliPath: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: IscsiTargetPropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: IscsiTargetPropertiesEndpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: IscsiTarget + description: Response for iSCSI Target requests. + namespace: '' + cli: + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + cliPath: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: IscsiTargetCreatePropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: IscsiTargetCreatePropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: IscsiTargetCreate + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: IscsiTargetUpdatePropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: IscsiTargetUpdatePropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: IscsiTargetUpdate + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + cliPath: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: ProxyResource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + cliPath: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + cliPath: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + cliPath: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + cliPath: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: Resource + description: ARM resource model definition. + namespace: '' + cli: + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + cliPath: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: TrackedResource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + cliPath: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: DiskPoolPropertiesAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + cliPath: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: Disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + cliPath: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: DiskPoolPropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: DiskPoolPropertiesAdditionalCapabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: DiskPool + description: Response for Disk Pool request. + namespace: '' + cli: + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + cliPath: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: DiskPoolListResultValue + description: An array of Disk pool objects. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolListResult + description: List of Disk Pools + namespace: '' + cli: + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + cliPath: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + cliPath: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + cliPath: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: Sku + description: Sku for ARM resource + namespace: '' + cli: + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + cliPath: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: DiskPoolCreatePropertiesAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: DiskPoolCreatePropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: DiskPoolCreatePropertiesAdditionalCapabilities + description: List of additional capabilities for a Disk Pool. + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: DiskPoolCreate + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_122 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: DiskPoolUpdatePropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: DiskPoolUpdate + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + cliPath: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_138 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: DiskPoolZoneInfoAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: DiskPoolZoneInfoAdditionalCapabilities + description: List of additional capabilities for Disk Pool. + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolZoneInfo + description: Disk Pool Sku Details + namespace: '' + cli: + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: DiskPoolZoneListResultValue + description: The list of Disk Pool Skus. + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolZoneListResult + description: List Disk Pool skus operation response. + namespace: '' + cli: + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_132 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: EndpointDetail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + cliPath: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: EndpointDependencyEndpointDetails + description: The IP Addresses and Ports used when connecting to DomainName. + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: EndpointDependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + cliPath: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: OutboundEnvironmentEndpointEndpoints + description: The endpoints that the App Service Environment reaches the service at. + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: OutboundEnvironmentEndpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: OutboundEnvironmentEndpointListValue + description: Collection of resources. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: OutboundEnvironmentEndpointList + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_141 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: IscsiTargetListValue + description: An array of iSCSI Targets in a Disk Pool. + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: IscsiTargetList + description: List of iSCSI Targets. + namespace: '' + cli: + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + cliPath: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + cliPath: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + cliPath: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + cliPath: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + cliPath: 'operationGroups[''Operations'']$$operations[''List'']' + protocol: {} + language: + default: + name: Operations + description: '' + cli: + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + cliPath: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_120 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_121 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_119 + schema: *ref_118 + implementation: Method + required: true + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_119 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_120 + - *ref_121 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_124 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_125 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_123 + schema: *ref_122 + implementation: Method + required: true + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_123 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_124 + - *ref_125 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_126 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_127 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_126 + - *ref_127 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_128 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_129 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_128 + - *ref_129 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_130 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_131 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_130 + - *ref_131 + responses: + - schema: *ref_132 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependencies_endpoints + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_133 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_134 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_133 + - *ref_134 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + language: + default: + name: DiskPools + description: '' + cli: + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + cliPath: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_137 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_137 + responses: + - schema: *ref_138 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: DiskPoolZones + description: '' + cli: + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + cliPath: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_139 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_140 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_139 + - *ref_140 + responses: + - schema: *ref_141 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_143 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_144 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_145 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_142 + schema: *ref_42 + implementation: Method + required: true + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_142 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_143 + - *ref_144 + - *ref_145 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_147 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_148 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_149 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_146 + schema: *ref_43 + implementation: Method + required: true + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_146 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_147 + - *ref_148 + - *ref_149 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_150 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_151 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_152 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_150 + - *ref_151 + - *ref_152 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_153 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_154 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_155 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_153 + - *ref_154 + - *ref_155 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + language: + default: + name: IscsiTargets + description: '' + cli: + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + cliPath: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +language: + default: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000130-flatten-set-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000130-flatten-set-pre-simplified.yaml new file mode 100644 index 00000000000..5200694a61e --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000130-flatten-set-pre-simplified.yaml @@ -0,0 +1,1413 @@ +operationGroups: + all: + - operationGroupName: operations + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pools + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: disk_pool_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) + cli: + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + bodySchema: disk_pool_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependencies_endpoints + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cliKey: diskPoolCreatePayload + bodySchema: disk_pool_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationGroupName: disk_pool_zones + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: location(string^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: iscsi_targets + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: iscsi_target_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) + cli: + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + bodySchema: iscsi_target_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cliKey: iscsiTargetCreatePayload + bodySchema: iscsi_target_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept +schemas: + objects: + all: + - schemaName: storage_pool_operation_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + properties: + - propertyName: value(storage_pool_operation_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(storage_pool_operation_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: storage_pool_RP_operation + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + properties: + - propertyName: name(storage_pool_RP_operation_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(storage_pool_RP_operation_action_type^string) + cli: + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(storage_pool_operation_display^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(storage_pool_RP_operation_origin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: storage_pool_operation_display + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + properties: + - propertyName: provider(storage_pool_operation_display_provider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(storage_pool_operation_display_resource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(storage_pool_operation_display_operation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(storage_pool_operation_display_description^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: error + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: schemas$$objects['Error'] + properties: + - propertyName: error(error_response^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + - schemaName: error_response + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + properties: + - propertyName: code(error_response_code^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(error_response_message^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(error_response_target^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(error_response_details^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(error_response_additional_info^array) + cli: + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: error_additional_info + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + properties: + - propertyName: type(error_additional_info_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: disk_pool_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + properties: + - propertyName: value(disk_pool_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(disk_pool_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: disk_pool + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(disk_pool_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(disk_pool_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(disk_pool_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: sku + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + properties: + - propertyName: name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + - schemaName: disk + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + properties: + - propertyName: id(disk_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + - schemaName: system_metadata + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + properties: + - propertyName: created_by(system_metadata_created_by^string) + cli: + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(created_by_type^choice) + cli: + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(system_metadata_last_modified_by^string) + cli: + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(created_by_type^choice) + cli: + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: tracked_resource + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + properties: + - propertyName: tags(tracked_resource_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(tracked_resource_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + properties: + - propertyName: id(resource_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(resource_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(resource_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: disk_pool_create + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + properties: + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(disk_pool_create_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(disk_pool_create_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(disk_pool_create_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(disk_pool_create_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(disk_pool_create_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(disk_pool_create_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: disk_pool_update + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + properties: + - propertyName: tags(disk_pool_update_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(disk_pool_update_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: disk_pool_zone_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + properties: + - propertyName: value(disk_pool_zone_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(disk_pool_zone_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: disk_pool_zone_info + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + properties: + - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: outbound_environment_endpoint_list + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + properties: + - propertyName: value(outbound_environment_endpoint_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: outbound_environment_endpoint + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + properties: + - propertyName: category(outbound_environment_endpoint_category^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: endpoint_dependency + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + properties: + - propertyName: domain_name(endpoint_dependency_domain_name^string) + cli: + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) + cli: + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: endpoint_detail + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + properties: + - propertyName: ip_address(endpoint_detail_ip_address^string) + cli: + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: iscsi_target_list + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + properties: + - propertyName: value(iscsi_target_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(iscsi_target_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: iscsi_target + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(iscsi_target_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(iscsi_target_properties_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: acl + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + properties: + - propertyName: initiator_iqn(acl_initiator_iqn^string) + cli: + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(acl_mapped_luns^array) + cli: + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: iscsi_lun + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + properties: + - propertyName: name(iscsi_lun_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: iscsi_target_create + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + properties: + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_create_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: iscsi_target_update + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + properties: + - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_update_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: proxy_resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + choices: + all: + - choiceName: provisioning_states + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: operational_status + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated_ + cli: + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: created_by_type + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: iscsi_target_acl_mode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: disk_pool_tier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000130-flatten-set-pre.yaml b/src/diskpool/_az_debug/clicommon-000130-flatten-set-pre.yaml new file mode 100644 index 00000000000..c1dc7620a5a --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000130-flatten-set-pre.yaml @@ -0,0 +1,6254 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: string + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_name + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_action_type + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_provider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_resource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_code + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_message + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_target + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_additional_info_type + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: string + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_name + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_tier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: availability_zone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_id + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: additional_capability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_by + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_by + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: string + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: tracked_resource_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_name + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: string + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_create_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: disk_pool_create_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_name + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_zone_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_dependency_domain_name + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_detail_ip_address + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_list_next_link + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_mapped_luns_item + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_name + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_endpoints_item + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_list_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_create_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: provisioning_states + description: Provisioning state of the iSCSI Target. + cli: + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated_ + description: '' + cli: + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: operational_status + description: Operational status of the resource. + cli: + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: iscsi_target_acl_mode + description: ACL mode for iSCSI Target. + cli: + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: disk_pool_tier + description: SKU of the VM host part of the Disk Pool deployment + cli: + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: tracked_resource_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_create_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_update_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_display + description: Metadata about an operation. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_RP_operation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: storage_pool_operation_list_result_value + description: An array of operations supported by the StoragePool RP. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_list_result + description: List of operations supported by the RP. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: error_response_details + description: The error details. + cli: + cli-complexity: array_complex + cli-in-circle: true + cli-mark: checked + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_additional_info + description: The resource management error additional info. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: error_response_additional_info + description: The error additional info. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_response + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: system_metadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: acl_mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: iscsi_target_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_lun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: iscsi_target_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: iscsi_target_properties_endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_target + description: Response for iSCSI Target requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_create_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_create_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_create + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_update_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_update_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_update + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: proxy_resource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: resource + description: ARM resource model definition. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: tracked_resource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: disk_pool_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_properties_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk_pool + description: Response for Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: disk_pool_list_result_value + description: An array of Disk pool objects. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_list_result + description: List of Disk Pools + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: sku + description: Sku for ARM resource + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_create_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_create_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_create_properties_additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: disk_pool_create + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_122 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_update_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: disk_pool_update + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_153 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_zone_info_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_zone_info_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_info + description: Disk Pool Sku Details + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: disk_pool_zone_list_result_value + description: The list of Disk Pool Skus. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_list_result + description: List Disk Pool skus operation response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_132 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_detail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: endpoint_dependency_endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_dependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_list_value + description: Collection of resources. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint_list + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_156 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: iscsi_target_list_value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: iscsi_target_list + description: List of iSCSI Targets. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + protocol: {} + language: + default: + name: operations + description: '' + cli: + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - &ref_149 + apiVersions: &ref_137 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_120 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_138 + in: path + - &ref_121 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_139 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_140 + in: header + - &ref_119 + schema: *ref_118 + implementation: Method + required: true + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + http: &ref_141 + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_142 + in: header + signatureParameters: + - *ref_119 + language: + default: + name: '' + description: '' + protocol: + http: &ref_144 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_120 + - *ref_121 + responses: &ref_147 + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_148 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_150 + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_151 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + split-operation-names: &ref_161 + - Create + - Update + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_124 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_125 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_123 + schema: *ref_122 + implementation: Method + required: true + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_123 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_124 + - *ref_125 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_126 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_127 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_126 + - *ref_127 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_128 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_129 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_128 + - *ref_129 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_130 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_131 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_130 + - *ref_131 + responses: + - schema: *ref_132 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependencies_endpoints + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_133 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_134 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_133 + - *ref_134 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + - apiVersions: *ref_137 + parameters: + - *ref_108 + - *ref_113 + - &ref_145 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_138 + - &ref_146 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_139 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_140 + - &ref_143 + schema: *ref_118 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cliKey: diskPoolCreatePayload + protocol: + http: *ref_141 + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_142 + signatureParameters: + - *ref_143 + language: + default: + name: '' + description: '' + protocol: + http: *ref_144 + signatureParameters: + - *ref_145 + - *ref_146 + responses: *ref_147 + exceptions: *ref_148 + extensions: + cli-split-operation-original-operation: *ref_149 + x-ms-examples: *ref_150 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_151 + language: + default: + name: Create + description: Create Disk pool. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: disk_pools + description: '' + cli: + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_152 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_152 + responses: + - schema: *ref_153 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: disk_pool_zones + description: '' + cli: + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_154 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_155 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_154 + - *ref_155 + responses: + - schema: *ref_156 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - &ref_186 + apiVersions: &ref_172 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_158 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_173 + in: path + - &ref_159 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_174 + in: path + - &ref_160 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: &ref_175 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_176 + in: header + - &ref_157 + schema: *ref_42 + implementation: Method + required: true + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + http: &ref_177 + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_178 + in: header + signatureParameters: + - *ref_157 + language: + default: + name: '' + description: '' + protocol: + http: &ref_180 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_158 + - *ref_159 + - *ref_160 + responses: &ref_184 + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_185 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_187 + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_188 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + split-operation-names: *ref_161 + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_163 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_164 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_165 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_162 + schema: *ref_43 + implementation: Method + required: true + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_162 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_163 + - *ref_164 + - *ref_165 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_166 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_167 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_168 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_166 + - *ref_167 + - *ref_168 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_169 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_170 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_171 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_169 + - *ref_170 + - *ref_171 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + - apiVersions: *ref_172 + parameters: + - *ref_108 + - *ref_113 + - &ref_181 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_173 + - &ref_182 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_174 + - &ref_183 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + protocol: + http: *ref_175 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_176 + - &ref_179 + schema: *ref_42 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cliKey: iscsiTargetCreatePayload + protocol: + http: *ref_177 + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_178 + signatureParameters: + - *ref_179 + language: + default: + name: '' + description: '' + protocol: + http: *ref_180 + signatureParameters: + - *ref_181 + - *ref_182 + - *ref_183 + responses: *ref_184 + exceptions: *ref_185 + extensions: + cli-split-operation-original-operation: *ref_186 + x-ms-examples: *ref_187 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_188 + language: + default: + name: Create + description: Create an iSCSI Target. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: iscsi_targets + description: '' + cli: + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +language: + default: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000140-flatten-set-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000140-flatten-set-post-simplified.yaml new file mode 100644 index 00000000000..b0d38971176 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000140-flatten-set-post-simplified.yaml @@ -0,0 +1,1419 @@ +operationGroups: + all: + - operationGroupName: operations + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pools + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + cli-flatten: true + bodySchema: disk_pool_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) + cli: + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + cli-flatten: true + bodySchema: disk_pool_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependencies_endpoints + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cliKey: diskPoolCreatePayload + cli-flatten: true + bodySchema: disk_pool_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationGroupName: disk_pool_zones + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: location(string^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: iscsi_targets + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + cli-flatten: true + bodySchema: iscsi_target_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) + cli: + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + cli-flatten: true + bodySchema: iscsi_target_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cliKey: iscsiTargetCreatePayload + cli-flatten: true + bodySchema: iscsi_target_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept +schemas: + objects: + all: + - schemaName: storage_pool_operation_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + properties: + - propertyName: value(storage_pool_operation_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(storage_pool_operation_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: storage_pool_RP_operation + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + properties: + - propertyName: name(storage_pool_RP_operation_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(storage_pool_RP_operation_action_type^string) + cli: + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(storage_pool_operation_display^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(storage_pool_RP_operation_origin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: storage_pool_operation_display + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + properties: + - propertyName: provider(storage_pool_operation_display_provider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(storage_pool_operation_display_resource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(storage_pool_operation_display_operation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(storage_pool_operation_display_description^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: error + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: schemas$$objects['Error'] + properties: + - propertyName: error(error_response^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + - schemaName: error_response + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + properties: + - propertyName: code(error_response_code^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(error_response_message^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(error_response_target^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(error_response_details^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(error_response_additional_info^array) + cli: + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: error_additional_info + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + properties: + - propertyName: type(error_additional_info_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: disk_pool_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + properties: + - propertyName: value(disk_pool_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(disk_pool_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: disk_pool + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(disk_pool_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(disk_pool_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(disk_pool_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: sku + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + properties: + - propertyName: name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + - schemaName: disk + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + properties: + - propertyName: id(disk_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + - schemaName: system_metadata + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + properties: + - propertyName: created_by(system_metadata_created_by^string) + cli: + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(created_by_type^choice) + cli: + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(system_metadata_last_modified_by^string) + cli: + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(created_by_type^choice) + cli: + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: tracked_resource + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + properties: + - propertyName: tags(tracked_resource_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(tracked_resource_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + properties: + - propertyName: id(resource_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(resource_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(resource_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: disk_pool_create + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + properties: + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(disk_pool_create_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(disk_pool_create_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(disk_pool_create_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(disk_pool_create_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(disk_pool_create_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(disk_pool_create_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: disk_pool_update + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + properties: + - propertyName: tags(disk_pool_update_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(disk_pool_update_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: disk_pool_zone_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + properties: + - propertyName: value(disk_pool_zone_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(disk_pool_zone_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: disk_pool_zone_info + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + properties: + - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: outbound_environment_endpoint_list + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + properties: + - propertyName: value(outbound_environment_endpoint_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: outbound_environment_endpoint + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + properties: + - propertyName: category(outbound_environment_endpoint_category^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: endpoint_dependency + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + properties: + - propertyName: domain_name(endpoint_dependency_domain_name^string) + cli: + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) + cli: + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: endpoint_detail + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + properties: + - propertyName: ip_address(endpoint_detail_ip_address^string) + cli: + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: iscsi_target_list + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + properties: + - propertyName: value(iscsi_target_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(iscsi_target_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: iscsi_target + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(iscsi_target_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(iscsi_target_properties_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: acl + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + properties: + - propertyName: initiator_iqn(acl_initiator_iqn^string) + cli: + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(acl_mapped_luns^array) + cli: + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: iscsi_lun + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + properties: + - propertyName: name(iscsi_lun_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: iscsi_target_create + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + properties: + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_create_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: iscsi_target_update + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + properties: + - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_update_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: proxy_resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + choices: + all: + - choiceName: provisioning_states + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: operational_status + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated_ + cli: + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: created_by_type + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: iscsi_target_acl_mode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: disk_pool_tier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000140-flatten-set-post.yaml b/src/diskpool/_az_debug/clicommon-000140-flatten-set-post.yaml new file mode 100644 index 00000000000..f2a8d22b2e5 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000140-flatten-set-post.yaml @@ -0,0 +1,6260 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: string + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_name + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_action_type + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_provider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_resource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_code + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_message + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_target + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_additional_info_type + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: string + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_name + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_tier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: availability_zone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_id + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: additional_capability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_by + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_by + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: string + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: tracked_resource_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_name + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: string + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_create_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: disk_pool_create_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_name + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_zone_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_dependency_domain_name + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_detail_ip_address + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_list_next_link + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_mapped_luns_item + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_name + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_endpoints_item + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_list_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_create_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: provisioning_states + description: Provisioning state of the iSCSI Target. + cli: + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated_ + description: '' + cli: + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: operational_status + description: Operational status of the resource. + cli: + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: iscsi_target_acl_mode + description: ACL mode for iSCSI Target. + cli: + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: disk_pool_tier + description: SKU of the VM host part of the Disk Pool deployment + cli: + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: tracked_resource_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_create_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_update_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_display + description: Metadata about an operation. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_RP_operation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: storage_pool_operation_list_result_value + description: An array of operations supported by the StoragePool RP. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_list_result + description: List of operations supported by the RP. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: error_response_details + description: The error details. + cli: + cli-complexity: array_complex + cli-in-circle: true + cli-mark: checked + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_additional_info + description: The resource management error additional info. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: error_response_additional_info + description: The error additional info. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_response + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: system_metadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: acl_mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: iscsi_target_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_lun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: iscsi_target_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: iscsi_target_properties_endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_target + description: Response for iSCSI Target requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_create_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_create_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_create + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_update_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_update_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_update + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: proxy_resource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: resource + description: ARM resource model definition. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: tracked_resource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: disk_pool_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_properties_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk_pool + description: Response for Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: disk_pool_list_result_value + description: An array of Disk pool objects. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_list_result + description: List of Disk Pools + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: sku + description: Sku for ARM resource + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_create_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_create_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_create_properties_additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: disk_pool_create + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_122 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_update_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: disk_pool_update + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_153 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_zone_info_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_zone_info_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_info + description: Disk Pool Sku Details + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: disk_pool_zone_list_result_value + description: The list of Disk Pool Skus. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_list_result + description: List Disk Pool skus operation response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_132 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_detail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: endpoint_dependency_endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_dependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_list_value + description: Collection of resources. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint_list + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_156 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: iscsi_target_list_value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: iscsi_target_list + description: List of iSCSI Targets. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + protocol: {} + language: + default: + name: operations + description: '' + cli: + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - &ref_149 + apiVersions: &ref_137 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_120 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_138 + in: path + - &ref_121 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_139 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_140 + in: header + - &ref_119 + schema: *ref_118 + implementation: Method + required: true + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cli-flatten: true + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + http: &ref_141 + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_142 + in: header + signatureParameters: + - *ref_119 + language: + default: + name: '' + description: '' + protocol: + http: &ref_144 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_120 + - *ref_121 + responses: &ref_147 + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_148 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_150 + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_151 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + split-operation-names: &ref_161 + - Create + - Update + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_124 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_125 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_123 + schema: *ref_122 + implementation: Method + required: true + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + cli-flatten: true + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_123 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_124 + - *ref_125 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_126 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_127 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_126 + - *ref_127 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_128 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_129 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_128 + - *ref_129 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_130 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_131 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_130 + - *ref_131 + responses: + - schema: *ref_132 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependencies_endpoints + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_133 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_134 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_133 + - *ref_134 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + - apiVersions: *ref_137 + parameters: + - *ref_108 + - *ref_113 + - &ref_145 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_138 + - &ref_146 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_139 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_140 + - &ref_143 + schema: *ref_118 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cli-flatten: true + cliKey: diskPoolCreatePayload + protocol: + http: *ref_141 + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_142 + signatureParameters: + - *ref_143 + language: + default: + name: '' + description: '' + protocol: + http: *ref_144 + signatureParameters: + - *ref_145 + - *ref_146 + responses: *ref_147 + exceptions: *ref_148 + extensions: + cli-split-operation-original-operation: *ref_149 + x-ms-examples: *ref_150 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_151 + language: + default: + name: Create + description: Create Disk pool. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: disk_pools + description: '' + cli: + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_152 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_152 + responses: + - schema: *ref_153 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: disk_pool_zones + description: '' + cli: + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_154 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_155 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_154 + - *ref_155 + responses: + - schema: *ref_156 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - &ref_186 + apiVersions: &ref_172 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_158 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_173 + in: path + - &ref_159 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_174 + in: path + - &ref_160 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: &ref_175 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_176 + in: header + - &ref_157 + schema: *ref_42 + implementation: Method + required: true + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cli-flatten: true + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + http: &ref_177 + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_178 + in: header + signatureParameters: + - *ref_157 + language: + default: + name: '' + description: '' + protocol: + http: &ref_180 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_158 + - *ref_159 + - *ref_160 + responses: &ref_184 + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_185 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_187 + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_188 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + split-operation-names: *ref_161 + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_163 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_164 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_165 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_162 + schema: *ref_43 + implementation: Method + required: true + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + cli-flatten: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_162 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_163 + - *ref_164 + - *ref_165 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_166 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_167 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_168 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_166 + - *ref_167 + - *ref_168 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_169 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_170 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_171 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_169 + - *ref_170 + - *ref_171 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + - apiVersions: *ref_172 + parameters: + - *ref_108 + - *ref_113 + - &ref_181 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_173 + - &ref_182 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_174 + - &ref_183 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + protocol: + http: *ref_175 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_176 + - &ref_179 + schema: *ref_42 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cli-flatten: true + cliKey: iscsiTargetCreatePayload + protocol: + http: *ref_177 + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_178 + signatureParameters: + - *ref_179 + language: + default: + name: '' + description: '' + protocol: + http: *ref_180 + signatureParameters: + - *ref_181 + - *ref_182 + - *ref_183 + responses: *ref_184 + exceptions: *ref_185 + extensions: + cli-split-operation-original-operation: *ref_186 + x-ms-examples: *ref_187 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_188 + language: + default: + name: Create + description: Create an iSCSI Target. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: iscsi_targets + description: '' + cli: + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +language: + default: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000150-flatten-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000150-flatten-pre-simplified.yaml new file mode 100644 index 00000000000..5a1654c8dc0 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000150-flatten-pre-simplified.yaml @@ -0,0 +1,1419 @@ +operationGroups: + all: + - operationGroupName: operations + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pools + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cli-flatten: true + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: disk_pool_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) + cli: + cli-flatten: true + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + bodySchema: disk_pool_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependencies_endpoints + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cli-flatten: true + cliKey: diskPoolCreatePayload + bodySchema: disk_pool_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationGroupName: disk_pool_zones + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: location(string^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: iscsi_targets + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cli-flatten: true + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: iscsi_target_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) + cli: + cli-flatten: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + bodySchema: iscsi_target_update + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cli-flatten: true + cliKey: iscsiTargetCreatePayload + bodySchema: iscsi_target_create + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept +schemas: + objects: + all: + - schemaName: storage_pool_operation_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + properties: + - propertyName: value(storage_pool_operation_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(storage_pool_operation_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: storage_pool_RP_operation + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + properties: + - propertyName: name(storage_pool_RP_operation_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(storage_pool_RP_operation_action_type^string) + cli: + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(storage_pool_operation_display^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(storage_pool_RP_operation_origin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: storage_pool_operation_display + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + properties: + - propertyName: provider(storage_pool_operation_display_provider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(storage_pool_operation_display_resource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(storage_pool_operation_display_operation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(storage_pool_operation_display_description^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: error + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: schemas$$objects['Error'] + properties: + - propertyName: error(error_response^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + - schemaName: error_response + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + properties: + - propertyName: code(error_response_code^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(error_response_message^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(error_response_target^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(error_response_details^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(error_response_additional_info^array) + cli: + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: error_additional_info + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + properties: + - propertyName: type(error_additional_info_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: disk_pool_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + properties: + - propertyName: value(disk_pool_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(disk_pool_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: disk_pool + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(disk_pool_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(disk_pool_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(disk_pool_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: sku + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + properties: + - propertyName: name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + - schemaName: disk + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + properties: + - propertyName: id(disk_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + - schemaName: system_metadata + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + properties: + - propertyName: created_by(system_metadata_created_by^string) + cli: + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(created_by_type^choice) + cli: + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(system_metadata_last_modified_by^string) + cli: + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(created_by_type^choice) + cli: + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: tracked_resource + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + properties: + - propertyName: tags(tracked_resource_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(tracked_resource_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + properties: + - propertyName: id(resource_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(resource_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(resource_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: disk_pool_create + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + properties: + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(disk_pool_create_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(disk_pool_create_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(disk_pool_create_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(disk_pool_create_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(disk_pool_create_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(disk_pool_create_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: disk_pool_update + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + properties: + - propertyName: tags(disk_pool_update_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(disk_pool_update_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: disk_pool_zone_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + properties: + - propertyName: value(disk_pool_zone_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(disk_pool_zone_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: disk_pool_zone_info + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + properties: + - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: outbound_environment_endpoint_list + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + properties: + - propertyName: value(outbound_environment_endpoint_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: outbound_environment_endpoint + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + properties: + - propertyName: category(outbound_environment_endpoint_category^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: endpoint_dependency + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + properties: + - propertyName: domain_name(endpoint_dependency_domain_name^string) + cli: + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) + cli: + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: endpoint_detail + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + properties: + - propertyName: ip_address(endpoint_detail_ip_address^string) + cli: + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: iscsi_target_list + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + properties: + - propertyName: value(iscsi_target_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(iscsi_target_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: iscsi_target + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(iscsi_target_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(iscsi_target_properties_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: acl + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + properties: + - propertyName: initiator_iqn(acl_initiator_iqn^string) + cli: + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(acl_mapped_luns^array) + cli: + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: iscsi_lun + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + properties: + - propertyName: name(iscsi_lun_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: iscsi_target_create + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + properties: + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_create_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: iscsi_target_update + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + properties: + - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_update_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: proxy_resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + choices: + all: + - choiceName: provisioning_states + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: operational_status + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated_ + cli: + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: created_by_type + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: iscsi_target_acl_mode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: disk_pool_tier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000150-flatten-pre.yaml b/src/diskpool/_az_debug/clicommon-000150-flatten-pre.yaml new file mode 100644 index 00000000000..f2a8d22b2e5 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000150-flatten-pre.yaml @@ -0,0 +1,6260 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: string + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_name + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_action_type + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_provider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_resource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_code + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_message + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_target + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_additional_info_type + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: string + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_name + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_tier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: availability_zone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_id + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: additional_capability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_by + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_by + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: string + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: tracked_resource_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_name + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: string + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_create_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: disk_pool_create_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_name + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_zone_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_dependency_domain_name + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_detail_ip_address + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_list_next_link + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_mapped_luns_item + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_name + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_endpoints_item + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_list_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_create_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: provisioning_states + description: Provisioning state of the iSCSI Target. + cli: + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated_ + description: '' + cli: + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: operational_status + description: Operational status of the resource. + cli: + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: iscsi_target_acl_mode + description: ACL mode for iSCSI Target. + cli: + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: disk_pool_tier + description: SKU of the VM host part of the Disk Pool deployment + cli: + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: tracked_resource_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_create_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_update_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_display + description: Metadata about an operation. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_RP_operation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: storage_pool_operation_list_result_value + description: An array of operations supported by the StoragePool RP. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_list_result + description: List of operations supported by the RP. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: error_response_details + description: The error details. + cli: + cli-complexity: array_complex + cli-in-circle: true + cli-mark: checked + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_additional_info + description: The resource management error additional info. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: error_response_additional_info + description: The error additional info. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_response + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: system_metadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: acl_mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: iscsi_target_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_lun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: iscsi_target_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: iscsi_target_properties_endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_target + description: Response for iSCSI Target requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_create_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_create_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_create + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_update_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_update_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_update + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: proxy_resource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: resource + description: ARM resource model definition. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: tracked_resource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: disk_pool_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_properties_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk_pool + description: Response for Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: disk_pool_list_result_value + description: An array of Disk pool objects. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_list_result + description: List of Disk Pools + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: sku + description: Sku for ARM resource + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_create_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_create_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_create_properties_additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: disk_pool_create + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_122 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_update_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: disk_pool_update + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_153 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_zone_info_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_zone_info_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_info + description: Disk Pool Sku Details + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: disk_pool_zone_list_result_value + description: The list of Disk Pool Skus. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_list_result + description: List Disk Pool skus operation response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_132 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_detail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: endpoint_dependency_endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_dependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_list_value + description: Collection of resources. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint_list + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_156 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: iscsi_target_list_value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: iscsi_target_list + description: List of iSCSI Targets. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + protocol: {} + language: + default: + name: operations + description: '' + cli: + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - &ref_149 + apiVersions: &ref_137 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_120 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_138 + in: path + - &ref_121 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_139 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_140 + in: header + - &ref_119 + schema: *ref_118 + implementation: Method + required: true + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cli-flatten: true + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + http: &ref_141 + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_142 + in: header + signatureParameters: + - *ref_119 + language: + default: + name: '' + description: '' + protocol: + http: &ref_144 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_120 + - *ref_121 + responses: &ref_147 + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_148 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_150 + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_151 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + split-operation-names: &ref_161 + - Create + - Update + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_124 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_125 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_123 + schema: *ref_122 + implementation: Method + required: true + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + cli-flatten: true + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_123 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_124 + - *ref_125 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_126 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_127 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_126 + - *ref_127 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_128 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_129 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_128 + - *ref_129 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_130 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_131 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_130 + - *ref_131 + responses: + - schema: *ref_132 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependencies_endpoints + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_133 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_134 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_133 + - *ref_134 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + - apiVersions: *ref_137 + parameters: + - *ref_108 + - *ref_113 + - &ref_145 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_138 + - &ref_146 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_139 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_140 + - &ref_143 + schema: *ref_118 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cli-flatten: true + cliKey: diskPoolCreatePayload + protocol: + http: *ref_141 + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_142 + signatureParameters: + - *ref_143 + language: + default: + name: '' + description: '' + protocol: + http: *ref_144 + signatureParameters: + - *ref_145 + - *ref_146 + responses: *ref_147 + exceptions: *ref_148 + extensions: + cli-split-operation-original-operation: *ref_149 + x-ms-examples: *ref_150 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_151 + language: + default: + name: Create + description: Create Disk pool. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: disk_pools + description: '' + cli: + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_152 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_152 + responses: + - schema: *ref_153 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: disk_pool_zones + description: '' + cli: + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_154 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_155 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_154 + - *ref_155 + responses: + - schema: *ref_156 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - &ref_186 + apiVersions: &ref_172 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_158 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_173 + in: path + - &ref_159 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_174 + in: path + - &ref_160 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: &ref_175 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_176 + in: header + - &ref_157 + schema: *ref_42 + implementation: Method + required: true + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cli-flatten: true + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + http: &ref_177 + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_178 + in: header + signatureParameters: + - *ref_157 + language: + default: + name: '' + description: '' + protocol: + http: &ref_180 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_158 + - *ref_159 + - *ref_160 + responses: &ref_184 + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_185 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_187 + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_188 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + split-operation-names: *ref_161 + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_163 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_164 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_165 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_162 + schema: *ref_43 + implementation: Method + required: true + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + cli-flatten: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + http: + in: body + style: json + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_162 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_163 + - *ref_164 + - *ref_165 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_166 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_167 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_168 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_166 + - *ref_167 + - *ref_168 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_169 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_170 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_171 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_169 + - *ref_170 + - *ref_171 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + - apiVersions: *ref_172 + parameters: + - *ref_108 + - *ref_113 + - &ref_181 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_173 + - &ref_182 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_174 + - &ref_183 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + protocol: + http: *ref_175 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_176 + - &ref_179 + schema: *ref_42 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cli-flatten: true + cliKey: iscsiTargetCreatePayload + protocol: + http: *ref_177 + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_178 + signatureParameters: + - *ref_179 + language: + default: + name: '' + description: '' + protocol: + http: *ref_180 + signatureParameters: + - *ref_181 + - *ref_182 + - *ref_183 + responses: *ref_184 + exceptions: *ref_185 + extensions: + cli-split-operation-original-operation: *ref_186 + x-ms-examples: *ref_187 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_188 + language: + default: + name: Create + description: Create an iSCSI Target. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: iscsi_targets + description: '' + cli: + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +language: + default: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000160-flatten-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000160-flatten-post-simplified.yaml new file mode 100644 index 00000000000..9ab3aba0ad6 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000160-flatten-post-simplified.yaml @@ -0,0 +1,1581 @@ +operationGroups: + all: + - operationGroupName: operations + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pools + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cli-flatten: true + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + cli-flattened: true + bodySchema: disk_pool_create + - parameterName[0]: sku(sku^object) + cli: + cliKey: sku + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + - parameterName[0]: tags(disk_pool_create_tags^dictionary) + cli: + cliKey: tags + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + - parameterName[0]: location(disk_pool_create_location^string) + cli: + cliKey: location + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['location'] + - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - parameterName[0]: disks(disk_pool_create_properties_disks^array) + cli: + cliKey: disks + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliKey: subnetId + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) + cli: + cli-flatten: true + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + cli-flattened: true + bodySchema: disk_pool_update + - parameterName[0]: tags(disk_pool_update_tags^dictionary) + cli: + cliKey: tags + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - parameterName[0]: disks(disk_pool_update_properties_disks^array) + cli: + cliKey: disks + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependencies_endpoints + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cli-flatten: true + cliKey: diskPoolCreatePayload + cli-flattened: true + bodySchema: disk_pool_create + - parameterName[0]: sku(sku^object) + cli: + cliKey: sku + cliFlattenTrace: + - {undefined} + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + - parameterName[0]: tags(disk_pool_create_tags^dictionary) + cli: + cliKey: tags + cliFlattenTrace: + - {undefined} + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + - parameterName[0]: location(disk_pool_create_location^string) + cli: + cliKey: location + cliFlattenTrace: + - {undefined} + - schemas$$objects['DiskPoolCreate']$$properties['location'] + - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliFlattenTrace: + - {undefined} + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - parameterName[0]: disks(disk_pool_create_properties_disks^array) + cli: + cliKey: disks + cliFlattenTrace: + - {undefined} + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliKey: subnetId + cliFlattenTrace: + - {undefined} + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliFlattenTrace: + - {undefined} + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationGroupName: disk_pool_zones + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: location(string^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: iscsi_targets + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cli-flatten: true + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + cli-flattened: true + bodySchema: iscsi_target_create + - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliKey: staticAcls + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - parameterName[0]: luns(iscsi_target_create_properties_luns^array) + cli: + cliKey: luns + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) + cli: + cli-flatten: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + cli-flattened: true + bodySchema: iscsi_target_update + - parameterName[0]: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliKey: staticAcls + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - parameterName[0]: luns(iscsi_target_update_properties_luns^array) + cli: + cliKey: luns + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cli-flatten: true + cliKey: iscsiTargetCreatePayload + cli-flattened: true + bodySchema: iscsi_target_create + - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliFlattenTrace: + - {undefined} + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliFlattenTrace: + - {undefined} + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliKey: staticAcls + cliFlattenTrace: + - {undefined} + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - parameterName[0]: luns(iscsi_target_create_properties_luns^array) + cli: + cliKey: luns + cliFlattenTrace: + - {undefined} + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept +schemas: + objects: + all: + - schemaName: storage_pool_operation_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + properties: + - propertyName: value(storage_pool_operation_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(storage_pool_operation_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: storage_pool_RP_operation + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + properties: + - propertyName: name(storage_pool_RP_operation_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(storage_pool_RP_operation_action_type^string) + cli: + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(storage_pool_operation_display^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(storage_pool_RP_operation_origin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: storage_pool_operation_display + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + properties: + - propertyName: provider(storage_pool_operation_display_provider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(storage_pool_operation_display_resource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(storage_pool_operation_display_operation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(storage_pool_operation_display_description^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: error + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: schemas$$objects['Error'] + properties: + - propertyName: error(error_response^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + - schemaName: error_response + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + properties: + - propertyName: code(error_response_code^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(error_response_message^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(error_response_target^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(error_response_details^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(error_response_additional_info^array) + cli: + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: error_additional_info + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + properties: + - propertyName: type(error_additional_info_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: disk_pool_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + properties: + - propertyName: value(disk_pool_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(disk_pool_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: disk_pool + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(disk_pool_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(disk_pool_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(disk_pool_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: sku + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + properties: + - propertyName: name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + - schemaName: disk + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + properties: + - propertyName: id(disk_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + - schemaName: system_metadata + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + properties: + - propertyName: created_by(system_metadata_created_by^string) + cli: + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(created_by_type^choice) + cli: + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(system_metadata_last_modified_by^string) + cli: + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(created_by_type^choice) + cli: + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: tracked_resource + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + properties: + - propertyName: tags(tracked_resource_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(tracked_resource_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + properties: + - propertyName: id(resource_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(resource_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(resource_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: disk_pool_create + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + properties: + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(disk_pool_create_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(disk_pool_create_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(disk_pool_create_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(disk_pool_create_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(disk_pool_create_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(disk_pool_create_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: disk_pool_update + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + properties: + - propertyName: tags(disk_pool_update_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(disk_pool_update_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: disk_pool_zone_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + properties: + - propertyName: value(disk_pool_zone_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(disk_pool_zone_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: disk_pool_zone_info + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + properties: + - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: outbound_environment_endpoint_list + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + properties: + - propertyName: value(outbound_environment_endpoint_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: outbound_environment_endpoint + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + properties: + - propertyName: category(outbound_environment_endpoint_category^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: endpoint_dependency + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + properties: + - propertyName: domain_name(endpoint_dependency_domain_name^string) + cli: + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) + cli: + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: endpoint_detail + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + properties: + - propertyName: ip_address(endpoint_detail_ip_address^string) + cli: + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: iscsi_target_list + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + properties: + - propertyName: value(iscsi_target_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(iscsi_target_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: iscsi_target + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(iscsi_target_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(iscsi_target_properties_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: acl + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + properties: + - propertyName: initiator_iqn(acl_initiator_iqn^string) + cli: + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(acl_mapped_luns^array) + cli: + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: iscsi_lun + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + properties: + - propertyName: name(iscsi_lun_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: iscsi_target_create + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + properties: + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_create_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: iscsi_target_update + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + properties: + - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_update_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: proxy_resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + choices: + all: + - choiceName: provisioning_states + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: operational_status + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated_ + cli: + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: created_by_type + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: iscsi_target_acl_mode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: disk_pool_tier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000160-flatten-post.yaml b/src/diskpool/_az_debug/clicommon-000160-flatten-post.yaml new file mode 100644 index 00000000000..64d0f65eb8c --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000160-flatten-post.yaml @@ -0,0 +1,6821 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: string + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_name + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_action_type + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_provider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_resource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_code + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_message + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_target + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_additional_info_type + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: string + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_name + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_tier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: availability_zone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_id + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: additional_capability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_by + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_by + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: string + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: tracked_resource_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_name + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: string + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_create_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: disk_pool_create_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_name + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_zone_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_dependency_domain_name + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_detail_ip_address + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_list_next_link + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_mapped_luns_item + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_name + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_endpoints_item + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_list_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_create_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: provisioning_states + description: Provisioning state of the iSCSI Target. + cli: + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated_ + description: '' + cli: + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: operational_status + description: Operational status of the resource. + cli: + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: iscsi_target_acl_mode + description: ACL mode for iSCSI Target. + cli: + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: disk_pool_tier + description: SKU of the VM host part of the Disk Pool deployment + cli: + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: tracked_resource_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_create_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_update_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_display + description: Metadata about an operation. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_RP_operation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: storage_pool_operation_list_result_value + description: An array of operations supported by the StoragePool RP. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_list_result + description: List of operations supported by the RP. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: error_response_details + description: The error details. + cli: + cli-complexity: array_complex + cli-in-circle: true + cli-mark: checked + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_additional_info + description: The resource management error additional info. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: error_response_additional_info + description: The error additional info. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_response + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: system_metadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: acl_mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: iscsi_target_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_lun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: iscsi_target_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: iscsi_target_properties_endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_target + description: Response for iSCSI Target requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_185 + schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - &ref_186 + schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - &ref_188 + schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_create_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_189 + schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_create_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_create + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_199 + schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_update_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_200 + schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_update_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_update + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: proxy_resource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: resource + description: ARM resource model definition. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: tracked_resource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: disk_pool_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_properties_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk_pool + description: Response for Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: disk_pool_list_result_value + description: An array of Disk pool objects. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_list_result + description: List of Disk Pools + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: sku + description: Sku for ARM resource + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_120 + schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - &ref_121 + schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - &ref_123 + schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - &ref_124 + schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_create_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - &ref_125 + schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_create_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - &ref_126 + schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - &ref_127 + schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_create_properties_additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: disk_pool_create + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_137 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_139 + schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - &ref_140 + schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_update_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: disk_pool_update + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_180 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_zone_info_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_zone_info_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_info + description: Disk Pool Sku Details + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: disk_pool_zone_list_result_value + description: The list of Disk Pool Skus. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_list_result + description: List Disk Pool skus operation response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_152 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_detail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: endpoint_dependency_endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_dependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_list_value + description: Collection of resources. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint_list + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_183 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: iscsi_target_list_value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: iscsi_target_list + description: List of iSCSI Targets. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + protocol: {} + language: + default: + name: operations + description: '' + cli: + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - &ref_176 + apiVersions: &ref_157 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_158 + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_159 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_160 + in: header + - &ref_119 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_128 + schema: *ref_59 + implementation: Method + originalParameter: *ref_119 + pathToProperty: &ref_122 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + protocol: {} + - &ref_129 + schema: *ref_60 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_122 + required: false + targetProperty: *ref_121 + extensions: + cli-flatten-origin: *ref_121 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_130 + schema: *ref_61 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_122 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + protocol: {} + - &ref_131 + schema: *ref_87 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_122 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + protocol: {} + - &ref_132 + schema: *ref_88 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_122 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + protocol: {} + - &ref_133 + schema: *ref_65 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_122 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + protocol: {} + - &ref_134 + schema: *ref_89 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_122 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_163 + in: header + signatureParameters: + - *ref_128 + - *ref_129 + - *ref_130 + - *ref_131 + - *ref_132 + - *ref_133 + - *ref_134 + language: + default: + name: '' + description: '' + protocol: + http: &ref_171 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: &ref_174 + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_175 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_177 + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_178 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + split-operation-names: &ref_197 + - Create + - Update + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_144 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_145 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_138 + schema: *ref_137 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_142 + schema: *ref_66 + implementation: Method + originalParameter: *ref_138 + pathToProperty: &ref_141 [] + required: false + targetProperty: *ref_139 + extensions: + cli-flatten-origin: *ref_139 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_143 + schema: *ref_90 + implementation: Method + originalParameter: *ref_138 + pathToProperty: *ref_141 + targetProperty: *ref_140 + extensions: + cli-flatten-origin: *ref_140 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + cliKey: disks + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_142 + - *ref_143 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_144 + - *ref_145 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_146 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_147 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_146 + - *ref_147 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_148 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_149 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_148 + - *ref_149 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_150 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_151 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_150 + - *ref_151 + responses: + - schema: *ref_152 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependencies_endpoints + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_153 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_154 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_153 + - *ref_154 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_155 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_156 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_155 + - *ref_156 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + - apiVersions: *ref_157 + parameters: + - *ref_108 + - *ref_113 + - &ref_172 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_158 + - &ref_173 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_159 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_160 + - &ref_161 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + protocol: + style: json + http: + in: body + - &ref_164 + schema: *ref_59 + implementation: Method + originalParameter: *ref_161 + pathToProperty: &ref_162 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + protocol: {} + - &ref_165 + schema: *ref_60 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_121 + extensions: + cli-flatten-origin: *ref_121 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_166 + schema: *ref_61 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + protocol: {} + - &ref_167 + schema: *ref_87 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + protocol: {} + - &ref_168 + schema: *ref_88 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + protocol: {} + - &ref_169 + schema: *ref_65 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + protocol: {} + - &ref_170 + schema: *ref_89 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_163 + signatureParameters: + - *ref_164 + - *ref_165 + - *ref_166 + - *ref_167 + - *ref_168 + - *ref_169 + - *ref_170 + language: + default: + name: '' + description: '' + protocol: + http: *ref_171 + signatureParameters: + - *ref_172 + - *ref_173 + responses: *ref_174 + exceptions: *ref_175 + extensions: + cli-split-operation-original-operation: *ref_176 + x-ms-examples: *ref_177 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_178 + language: + default: + name: Create + description: Create Disk pool. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: disk_pools + description: '' + cli: + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_179 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_179 + responses: + - schema: *ref_180 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: disk_pool_zones + description: '' + cli: + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_181 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_182 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_181 + - *ref_182 + responses: + - schema: *ref_183 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - &ref_231 + apiVersions: &ref_213 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_194 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_214 + in: path + - &ref_195 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_215 + in: path + - &ref_196 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: &ref_216 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_217 + in: header + - &ref_184 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_190 + schema: *ref_28 + implementation: Method + originalParameter: *ref_184 + pathToProperty: &ref_187 [] + required: true + targetProperty: *ref_185 + extensions: + cli-flatten-origin: *ref_185 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + protocol: {} + - &ref_191 + schema: *ref_38 + implementation: Method + originalParameter: *ref_184 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_186 + extensions: + cli-flatten-origin: *ref_186 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + protocol: {} + - &ref_192 + schema: *ref_102 + implementation: Method + originalParameter: *ref_184 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_193 + schema: *ref_103 + implementation: Method + originalParameter: *ref_184 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_220 + in: header + signatureParameters: + - *ref_190 + - *ref_191 + - *ref_192 + - *ref_193 + language: + default: + name: '' + description: '' + protocol: + http: &ref_225 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_194 + - *ref_195 + - *ref_196 + responses: &ref_229 + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_230 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_232 + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_233 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + split-operation-names: *ref_197 + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_204 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_205 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_206 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_198 + schema: *ref_43 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_202 + schema: *ref_104 + implementation: Method + originalParameter: *ref_198 + pathToProperty: &ref_201 [] + targetProperty: *ref_199 + extensions: + cli-flatten-origin: *ref_199 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_203 + schema: *ref_105 + implementation: Method + originalParameter: *ref_198 + pathToProperty: *ref_201 + targetProperty: *ref_200 + extensions: + cli-flatten-origin: *ref_200 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_202 + - *ref_203 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_204 + - *ref_205 + - *ref_206 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_207 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_208 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_209 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_207 + - *ref_208 + - *ref_209 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_210 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_211 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_212 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_210 + - *ref_211 + - *ref_212 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + - apiVersions: *ref_213 + parameters: + - *ref_108 + - *ref_113 + - &ref_226 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_214 + - &ref_227 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_215 + - &ref_228 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + protocol: + http: *ref_216 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_217 + - &ref_218 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + protocol: + style: json + http: + in: body + - &ref_221 + schema: *ref_28 + implementation: Method + originalParameter: *ref_218 + pathToProperty: &ref_219 [] + required: true + targetProperty: *ref_185 + extensions: + cli-flatten-origin: *ref_185 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + protocol: {} + - &ref_222 + schema: *ref_38 + implementation: Method + originalParameter: *ref_218 + pathToProperty: *ref_219 + required: false + targetProperty: *ref_186 + extensions: + cli-flatten-origin: *ref_186 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + protocol: {} + - &ref_223 + schema: *ref_102 + implementation: Method + originalParameter: *ref_218 + pathToProperty: *ref_219 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_224 + schema: *ref_103 + implementation: Method + originalParameter: *ref_218 + pathToProperty: *ref_219 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_220 + signatureParameters: + - *ref_221 + - *ref_222 + - *ref_223 + - *ref_224 + language: + default: + name: '' + description: '' + protocol: + http: *ref_225 + signatureParameters: + - *ref_226 + - *ref_227 + - *ref_228 + responses: *ref_229 + exceptions: *ref_230 + extensions: + cli-split-operation-original-operation: *ref_231 + x-ms-examples: *ref_232 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_233 + language: + default: + name: Create + description: Create an iSCSI Target. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: iscsi_targets + description: '' + cli: + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +language: + default: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000170-poly-as-resource-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000170-poly-as-resource-pre-simplified.yaml new file mode 100644 index 00000000000..a66db9bc97d --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000170-poly-as-resource-pre-simplified.yaml @@ -0,0 +1,1570 @@ +operationGroups: + all: + - operationGroupName: operations + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pools + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: disk_pool_create + - parameterName[0]: sku(sku^object) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + - parameterName[0]: tags(disk_pool_create_tags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + - parameterName[0]: location(disk_pool_create_location^string) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + - parameterName[0]: disks(disk_pool_create_properties_disks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + bodySchema: disk_pool_update + - parameterName[0]: tags(disk_pool_update_tags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['tags'] + cliKey: tags + - parameterName[0]: disks(disk_pool_update_properties_disks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['disks'] + cliKey: disks + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependencies_endpoints + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + bodySchema: disk_pool_create + - parameterName[0]: sku(sku^object) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + - parameterName[0]: tags(disk_pool_create_tags^dictionary) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + - parameterName[0]: location(disk_pool_create_location^string) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + - parameterName[0]: disks(disk_pool_create_properties_disks^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationGroupName: disk_pool_zones + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: location(string^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: iscsi_targets + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: iscsi_target_create + - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + - parameterName[0]: luns(iscsi_target_create_properties_luns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + bodySchema: iscsi_target_update + - parameterName[0]: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + cliKey: staticAcls + - parameterName[0]: luns(iscsi_target_update_properties_luns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + cliKey: luns + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + bodySchema: iscsi_target_create + - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + - parameterName[0]: luns(iscsi_target_create_properties_luns^array) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept +schemas: + objects: + all: + - schemaName: storage_pool_operation_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + properties: + - propertyName: value(storage_pool_operation_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(storage_pool_operation_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: storage_pool_RP_operation + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + properties: + - propertyName: name(storage_pool_RP_operation_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(storage_pool_RP_operation_action_type^string) + cli: + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(storage_pool_operation_display^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(storage_pool_RP_operation_origin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: storage_pool_operation_display + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + properties: + - propertyName: provider(storage_pool_operation_display_provider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(storage_pool_operation_display_resource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(storage_pool_operation_display_operation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(storage_pool_operation_display_description^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: error + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: schemas$$objects['Error'] + properties: + - propertyName: error(error_response^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + - schemaName: error_response + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + properties: + - propertyName: code(error_response_code^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(error_response_message^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(error_response_target^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(error_response_details^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(error_response_additional_info^array) + cli: + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: error_additional_info + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + properties: + - propertyName: type(error_additional_info_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: disk_pool_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + properties: + - propertyName: value(disk_pool_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(disk_pool_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: disk_pool + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(disk_pool_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(disk_pool_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(disk_pool_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: sku + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + properties: + - propertyName: name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + - schemaName: disk + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + properties: + - propertyName: id(disk_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + - schemaName: system_metadata + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + properties: + - propertyName: created_by(system_metadata_created_by^string) + cli: + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(created_by_type^choice) + cli: + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(system_metadata_last_modified_by^string) + cli: + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(created_by_type^choice) + cli: + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: tracked_resource + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + properties: + - propertyName: tags(tracked_resource_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(tracked_resource_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + properties: + - propertyName: id(resource_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(resource_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(resource_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: disk_pool_create + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + properties: + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(disk_pool_create_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(disk_pool_create_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(disk_pool_create_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(disk_pool_create_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(disk_pool_create_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(disk_pool_create_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: disk_pool_update + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + properties: + - propertyName: tags(disk_pool_update_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(disk_pool_update_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: disk_pool_zone_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + properties: + - propertyName: value(disk_pool_zone_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(disk_pool_zone_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: disk_pool_zone_info + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + properties: + - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: outbound_environment_endpoint_list + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + properties: + - propertyName: value(outbound_environment_endpoint_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: outbound_environment_endpoint + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + properties: + - propertyName: category(outbound_environment_endpoint_category^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: endpoint_dependency + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + properties: + - propertyName: domain_name(endpoint_dependency_domain_name^string) + cli: + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) + cli: + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: endpoint_detail + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + properties: + - propertyName: ip_address(endpoint_detail_ip_address^string) + cli: + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: iscsi_target_list + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + properties: + - propertyName: value(iscsi_target_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(iscsi_target_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: iscsi_target + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(iscsi_target_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(iscsi_target_properties_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: acl + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + properties: + - propertyName: initiator_iqn(acl_initiator_iqn^string) + cli: + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(acl_mapped_luns^array) + cli: + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: iscsi_lun + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + properties: + - propertyName: name(iscsi_lun_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: iscsi_target_create + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + properties: + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_create_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: iscsi_target_update + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + properties: + - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_update_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: proxy_resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + choices: + all: + - choiceName: provisioning_states + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: operational_status + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated_ + cli: + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: created_by_type + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: iscsi_target_acl_mode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: disk_pool_tier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000170-poly-as-resource-pre.yaml b/src/diskpool/_az_debug/clicommon-000170-poly-as-resource-pre.yaml new file mode 100644 index 00000000000..32925fb7812 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000170-poly-as-resource-pre.yaml @@ -0,0 +1,6821 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: string + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_name + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_action_type + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_provider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_resource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_code + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_message + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_target + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_additional_info_type + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: string + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_name + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_tier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: availability_zone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_id + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: additional_capability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_by + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_by + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: string + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: tracked_resource_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_name + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: string + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_create_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: disk_pool_create_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_name + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_zone_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_dependency_domain_name + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_detail_ip_address + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_list_next_link + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_mapped_luns_item + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_name + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_endpoints_item + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_list_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_create_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: provisioning_states + description: Provisioning state of the iSCSI Target. + cli: + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated_ + description: '' + cli: + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: operational_status + description: Operational status of the resource. + cli: + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: iscsi_target_acl_mode + description: ACL mode for iSCSI Target. + cli: + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: disk_pool_tier + description: SKU of the VM host part of the Disk Pool deployment + cli: + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: tracked_resource_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_create_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_update_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_display + description: Metadata about an operation. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_RP_operation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: storage_pool_operation_list_result_value + description: An array of operations supported by the StoragePool RP. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_list_result + description: List of operations supported by the RP. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: error_response_details + description: The error details. + cli: + cli-complexity: array_complex + cli-in-circle: true + cli-mark: checked + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_additional_info + description: The resource management error additional info. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: error_response_additional_info + description: The error additional info. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_response + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: system_metadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: acl_mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: iscsi_target_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_lun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: iscsi_target_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: iscsi_target_properties_endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_target + description: Response for iSCSI Target requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_185 + schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - &ref_187 + schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - &ref_188 + schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_create_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_189 + schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_create_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_create + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_199 + schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_update_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_201 + schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_update_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_update + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: proxy_resource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: resource + description: ARM resource model definition. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: tracked_resource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: disk_pool_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_properties_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk_pool + description: Response for Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: disk_pool_list_result_value + description: An array of Disk pool objects. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_list_result + description: List of Disk Pools + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: sku + description: Sku for ARM resource + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_120 + schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - &ref_122 + schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - &ref_123 + schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - &ref_124 + schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_create_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - &ref_125 + schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_create_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - &ref_126 + schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - &ref_127 + schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_create_properties_additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: disk_pool_create + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_137 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_139 + schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - &ref_141 + schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_update_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: disk_pool_update + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_180 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_zone_info_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_zone_info_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_info + description: Disk Pool Sku Details + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: disk_pool_zone_list_result_value + description: The list of Disk Pool Skus. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_list_result + description: List Disk Pool skus operation response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_152 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_detail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: endpoint_dependency_endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_dependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_list_value + description: Collection of resources. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint_list + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_183 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: iscsi_target_list_value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: iscsi_target_list + description: List of iSCSI Targets. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + protocol: {} + language: + default: + name: operations + description: '' + cli: + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - &ref_176 + apiVersions: &ref_157 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_158 + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_159 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_160 + in: header + - &ref_119 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_128 + schema: *ref_59 + implementation: Method + originalParameter: *ref_119 + pathToProperty: &ref_121 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + protocol: {} + - &ref_129 + schema: *ref_60 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_130 + schema: *ref_61 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + protocol: {} + - &ref_131 + schema: *ref_87 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + protocol: {} + - &ref_132 + schema: *ref_88 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + protocol: {} + - &ref_133 + schema: *ref_65 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + protocol: {} + - &ref_134 + schema: *ref_89 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_163 + in: header + signatureParameters: + - *ref_128 + - *ref_129 + - *ref_130 + - *ref_131 + - *ref_132 + - *ref_133 + - *ref_134 + language: + default: + name: '' + description: '' + protocol: + http: &ref_171 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: &ref_174 + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_175 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_177 + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_178 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + split-operation-names: &ref_197 + - Create + - Update + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_144 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_145 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_138 + schema: *ref_137 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_142 + schema: *ref_66 + implementation: Method + originalParameter: *ref_138 + pathToProperty: &ref_140 [] + required: false + targetProperty: *ref_139 + extensions: + cli-flatten-origin: *ref_139 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_143 + schema: *ref_90 + implementation: Method + originalParameter: *ref_138 + pathToProperty: *ref_140 + targetProperty: *ref_141 + extensions: + cli-flatten-origin: *ref_141 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + cliKey: disks + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_142 + - *ref_143 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_144 + - *ref_145 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_146 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_147 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_146 + - *ref_147 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_148 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_149 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_148 + - *ref_149 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_150 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_151 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_150 + - *ref_151 + responses: + - schema: *ref_152 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependencies_endpoints + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_153 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_154 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_153 + - *ref_154 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_155 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_156 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_155 + - *ref_156 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + - apiVersions: *ref_157 + parameters: + - *ref_108 + - *ref_113 + - &ref_172 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_158 + - &ref_173 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_159 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_160 + - &ref_161 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + protocol: + style: json + http: + in: body + - &ref_164 + schema: *ref_59 + implementation: Method + originalParameter: *ref_161 + pathToProperty: &ref_162 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + protocol: {} + - &ref_165 + schema: *ref_60 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_166 + schema: *ref_61 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + protocol: {} + - &ref_167 + schema: *ref_87 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + protocol: {} + - &ref_168 + schema: *ref_88 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + protocol: {} + - &ref_169 + schema: *ref_65 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + protocol: {} + - &ref_170 + schema: *ref_89 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_163 + signatureParameters: + - *ref_164 + - *ref_165 + - *ref_166 + - *ref_167 + - *ref_168 + - *ref_169 + - *ref_170 + language: + default: + name: '' + description: '' + protocol: + http: *ref_171 + signatureParameters: + - *ref_172 + - *ref_173 + responses: *ref_174 + exceptions: *ref_175 + extensions: + cli-split-operation-original-operation: *ref_176 + x-ms-examples: *ref_177 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_178 + language: + default: + name: Create + description: Create Disk pool. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: disk_pools + description: '' + cli: + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_179 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_179 + responses: + - schema: *ref_180 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: disk_pool_zones + description: '' + cli: + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_181 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_182 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_181 + - *ref_182 + responses: + - schema: *ref_183 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - &ref_231 + apiVersions: &ref_213 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_194 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_214 + in: path + - &ref_195 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_215 + in: path + - &ref_196 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: &ref_216 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_217 + in: header + - &ref_184 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_190 + schema: *ref_28 + implementation: Method + originalParameter: *ref_184 + pathToProperty: &ref_186 [] + required: true + targetProperty: *ref_185 + extensions: + cli-flatten-origin: *ref_185 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + protocol: {} + - &ref_191 + schema: *ref_38 + implementation: Method + originalParameter: *ref_184 + pathToProperty: *ref_186 + required: false + targetProperty: *ref_187 + extensions: + cli-flatten-origin: *ref_187 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + protocol: {} + - &ref_192 + schema: *ref_102 + implementation: Method + originalParameter: *ref_184 + pathToProperty: *ref_186 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_193 + schema: *ref_103 + implementation: Method + originalParameter: *ref_184 + pathToProperty: *ref_186 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_220 + in: header + signatureParameters: + - *ref_190 + - *ref_191 + - *ref_192 + - *ref_193 + language: + default: + name: '' + description: '' + protocol: + http: &ref_225 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_194 + - *ref_195 + - *ref_196 + responses: &ref_229 + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_230 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_232 + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_233 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + split-operation-names: *ref_197 + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_204 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_205 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_206 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_198 + schema: *ref_43 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_202 + schema: *ref_104 + implementation: Method + originalParameter: *ref_198 + pathToProperty: &ref_200 [] + targetProperty: *ref_199 + extensions: + cli-flatten-origin: *ref_199 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_203 + schema: *ref_105 + implementation: Method + originalParameter: *ref_198 + pathToProperty: *ref_200 + targetProperty: *ref_201 + extensions: + cli-flatten-origin: *ref_201 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_202 + - *ref_203 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_204 + - *ref_205 + - *ref_206 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_207 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_208 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_209 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_207 + - *ref_208 + - *ref_209 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_210 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_211 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_212 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_210 + - *ref_211 + - *ref_212 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + - apiVersions: *ref_213 + parameters: + - *ref_108 + - *ref_113 + - &ref_226 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_214 + - &ref_227 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_215 + - &ref_228 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + protocol: + http: *ref_216 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_217 + - &ref_218 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + protocol: + style: json + http: + in: body + - &ref_221 + schema: *ref_28 + implementation: Method + originalParameter: *ref_218 + pathToProperty: &ref_219 [] + required: true + targetProperty: *ref_185 + extensions: + cli-flatten-origin: *ref_185 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + protocol: {} + - &ref_222 + schema: *ref_38 + implementation: Method + originalParameter: *ref_218 + pathToProperty: *ref_219 + required: false + targetProperty: *ref_187 + extensions: + cli-flatten-origin: *ref_187 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + protocol: {} + - &ref_223 + schema: *ref_102 + implementation: Method + originalParameter: *ref_218 + pathToProperty: *ref_219 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_224 + schema: *ref_103 + implementation: Method + originalParameter: *ref_218 + pathToProperty: *ref_219 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_220 + signatureParameters: + - *ref_221 + - *ref_222 + - *ref_223 + - *ref_224 + language: + default: + name: '' + description: '' + protocol: + http: *ref_225 + signatureParameters: + - *ref_226 + - *ref_227 + - *ref_228 + responses: *ref_229 + exceptions: *ref_230 + extensions: + cli-split-operation-original-operation: *ref_231 + x-ms-examples: *ref_232 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_233 + language: + default: + name: Create + description: Create an iSCSI Target. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: iscsi_targets + description: '' + cli: + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +language: + default: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000180-poly-as-resource-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000180-poly-as-resource-post-simplified.yaml new file mode 100644 index 00000000000..a66db9bc97d --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000180-poly-as-resource-post-simplified.yaml @@ -0,0 +1,1570 @@ +operationGroups: + all: + - operationGroupName: operations + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pools + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: disk_pool_create + - parameterName[0]: sku(sku^object) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + - parameterName[0]: tags(disk_pool_create_tags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + - parameterName[0]: location(disk_pool_create_location^string) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + - parameterName[0]: disks(disk_pool_create_properties_disks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + bodySchema: disk_pool_update + - parameterName[0]: tags(disk_pool_update_tags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['tags'] + cliKey: tags + - parameterName[0]: disks(disk_pool_update_properties_disks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['disks'] + cliKey: disks + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependencies_endpoints + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + bodySchema: disk_pool_create + - parameterName[0]: sku(sku^object) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + - parameterName[0]: tags(disk_pool_create_tags^dictionary) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + - parameterName[0]: location(disk_pool_create_location^string) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + - parameterName[0]: disks(disk_pool_create_properties_disks^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationGroupName: disk_pool_zones + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: location(string^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: iscsi_targets + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: iscsi_target_create + - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + - parameterName[0]: luns(iscsi_target_create_properties_luns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + bodySchema: iscsi_target_update + - parameterName[0]: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + cliKey: staticAcls + - parameterName[0]: luns(iscsi_target_update_properties_luns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + cliKey: luns + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + bodySchema: iscsi_target_create + - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + - parameterName[0]: luns(iscsi_target_create_properties_luns^array) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept +schemas: + objects: + all: + - schemaName: storage_pool_operation_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + properties: + - propertyName: value(storage_pool_operation_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(storage_pool_operation_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: storage_pool_RP_operation + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + properties: + - propertyName: name(storage_pool_RP_operation_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(storage_pool_RP_operation_action_type^string) + cli: + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(storage_pool_operation_display^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(storage_pool_RP_operation_origin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: storage_pool_operation_display + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + properties: + - propertyName: provider(storage_pool_operation_display_provider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(storage_pool_operation_display_resource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(storage_pool_operation_display_operation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(storage_pool_operation_display_description^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: error + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: schemas$$objects['Error'] + properties: + - propertyName: error(error_response^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + - schemaName: error_response + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + properties: + - propertyName: code(error_response_code^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(error_response_message^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(error_response_target^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(error_response_details^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(error_response_additional_info^array) + cli: + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: error_additional_info + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + properties: + - propertyName: type(error_additional_info_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: disk_pool_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + properties: + - propertyName: value(disk_pool_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(disk_pool_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: disk_pool + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(disk_pool_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(disk_pool_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(disk_pool_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: sku + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + properties: + - propertyName: name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + - schemaName: disk + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + properties: + - propertyName: id(disk_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + - schemaName: system_metadata + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + properties: + - propertyName: created_by(system_metadata_created_by^string) + cli: + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(created_by_type^choice) + cli: + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(system_metadata_last_modified_by^string) + cli: + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(created_by_type^choice) + cli: + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: tracked_resource + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + properties: + - propertyName: tags(tracked_resource_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(tracked_resource_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + properties: + - propertyName: id(resource_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(resource_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(resource_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: disk_pool_create + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + properties: + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(disk_pool_create_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(disk_pool_create_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(disk_pool_create_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(disk_pool_create_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(disk_pool_create_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(disk_pool_create_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: disk_pool_update + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + properties: + - propertyName: tags(disk_pool_update_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(disk_pool_update_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: disk_pool_zone_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + properties: + - propertyName: value(disk_pool_zone_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(disk_pool_zone_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: disk_pool_zone_info + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + properties: + - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: outbound_environment_endpoint_list + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + properties: + - propertyName: value(outbound_environment_endpoint_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: outbound_environment_endpoint + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + properties: + - propertyName: category(outbound_environment_endpoint_category^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: endpoint_dependency + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + properties: + - propertyName: domain_name(endpoint_dependency_domain_name^string) + cli: + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) + cli: + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: endpoint_detail + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + properties: + - propertyName: ip_address(endpoint_detail_ip_address^string) + cli: + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: iscsi_target_list + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + properties: + - propertyName: value(iscsi_target_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(iscsi_target_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: iscsi_target + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(iscsi_target_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(iscsi_target_properties_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: acl + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + properties: + - propertyName: initiator_iqn(acl_initiator_iqn^string) + cli: + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(acl_mapped_luns^array) + cli: + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: iscsi_lun + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + properties: + - propertyName: name(iscsi_lun_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: iscsi_target_create + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + properties: + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_create_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: iscsi_target_update + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + properties: + - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_update_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: proxy_resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + choices: + all: + - choiceName: provisioning_states + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: operational_status + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated_ + cli: + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: created_by_type + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: iscsi_target_acl_mode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: disk_pool_tier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000180-poly-as-resource-post.yaml b/src/diskpool/_az_debug/clicommon-000180-poly-as-resource-post.yaml new file mode 100644 index 00000000000..32925fb7812 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000180-poly-as-resource-post.yaml @@ -0,0 +1,6821 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: string + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_name + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_action_type + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_provider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_resource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_code + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_message + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_target + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_additional_info_type + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: string + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_name + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_tier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: availability_zone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_id + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: additional_capability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_by + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_by + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: string + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: tracked_resource_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_name + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: string + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_create_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: disk_pool_create_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_name + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_zone_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_dependency_domain_name + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_detail_ip_address + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_list_next_link + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_mapped_luns_item + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_name + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_endpoints_item + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_list_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_create_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: provisioning_states + description: Provisioning state of the iSCSI Target. + cli: + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated_ + description: '' + cli: + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: operational_status + description: Operational status of the resource. + cli: + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: iscsi_target_acl_mode + description: ACL mode for iSCSI Target. + cli: + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: disk_pool_tier + description: SKU of the VM host part of the Disk Pool deployment + cli: + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: tracked_resource_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_create_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_update_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_display + description: Metadata about an operation. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_RP_operation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: storage_pool_operation_list_result_value + description: An array of operations supported by the StoragePool RP. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_list_result + description: List of operations supported by the RP. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: error_response_details + description: The error details. + cli: + cli-complexity: array_complex + cli-in-circle: true + cli-mark: checked + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_additional_info + description: The resource management error additional info. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: error_response_additional_info + description: The error additional info. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_response + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: system_metadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: acl_mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: iscsi_target_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_lun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: iscsi_target_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: iscsi_target_properties_endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_target + description: Response for iSCSI Target requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_185 + schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - &ref_187 + schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - &ref_188 + schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_create_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_189 + schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_create_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_create + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_199 + schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_update_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_201 + schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_update_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_update + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: proxy_resource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: resource + description: ARM resource model definition. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: tracked_resource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: disk_pool_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_properties_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk_pool + description: Response for Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: disk_pool_list_result_value + description: An array of Disk pool objects. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_list_result + description: List of Disk Pools + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: sku + description: Sku for ARM resource + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_120 + schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - &ref_122 + schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - &ref_123 + schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - &ref_124 + schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_create_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - &ref_125 + schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_create_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - &ref_126 + schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - &ref_127 + schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_create_properties_additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: disk_pool_create + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_137 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_139 + schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - &ref_141 + schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_update_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: disk_pool_update + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_180 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_zone_info_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_zone_info_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_info + description: Disk Pool Sku Details + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: disk_pool_zone_list_result_value + description: The list of Disk Pool Skus. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_list_result + description: List Disk Pool skus operation response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_152 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_detail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: endpoint_dependency_endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_dependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_list_value + description: Collection of resources. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint_list + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_183 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: iscsi_target_list_value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: iscsi_target_list + description: List of iSCSI Targets. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + protocol: {} + language: + default: + name: operations + description: '' + cli: + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - &ref_176 + apiVersions: &ref_157 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_158 + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_159 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_160 + in: header + - &ref_119 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_128 + schema: *ref_59 + implementation: Method + originalParameter: *ref_119 + pathToProperty: &ref_121 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + protocol: {} + - &ref_129 + schema: *ref_60 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_130 + schema: *ref_61 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + protocol: {} + - &ref_131 + schema: *ref_87 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + protocol: {} + - &ref_132 + schema: *ref_88 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + protocol: {} + - &ref_133 + schema: *ref_65 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + protocol: {} + - &ref_134 + schema: *ref_89 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_163 + in: header + signatureParameters: + - *ref_128 + - *ref_129 + - *ref_130 + - *ref_131 + - *ref_132 + - *ref_133 + - *ref_134 + language: + default: + name: '' + description: '' + protocol: + http: &ref_171 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: &ref_174 + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_175 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_177 + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_178 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + split-operation-names: &ref_197 + - Create + - Update + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_144 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_145 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_138 + schema: *ref_137 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_142 + schema: *ref_66 + implementation: Method + originalParameter: *ref_138 + pathToProperty: &ref_140 [] + required: false + targetProperty: *ref_139 + extensions: + cli-flatten-origin: *ref_139 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_143 + schema: *ref_90 + implementation: Method + originalParameter: *ref_138 + pathToProperty: *ref_140 + targetProperty: *ref_141 + extensions: + cli-flatten-origin: *ref_141 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + cliKey: disks + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_142 + - *ref_143 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_144 + - *ref_145 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_146 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_147 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_146 + - *ref_147 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_148 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_149 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_148 + - *ref_149 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_150 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_151 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_150 + - *ref_151 + responses: + - schema: *ref_152 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependencies_endpoints + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_153 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_154 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_153 + - *ref_154 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_155 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_156 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_155 + - *ref_156 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + - apiVersions: *ref_157 + parameters: + - *ref_108 + - *ref_113 + - &ref_172 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_158 + - &ref_173 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_159 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_160 + - &ref_161 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + protocol: + style: json + http: + in: body + - &ref_164 + schema: *ref_59 + implementation: Method + originalParameter: *ref_161 + pathToProperty: &ref_162 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + protocol: {} + - &ref_165 + schema: *ref_60 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_166 + schema: *ref_61 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + protocol: {} + - &ref_167 + schema: *ref_87 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + protocol: {} + - &ref_168 + schema: *ref_88 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + protocol: {} + - &ref_169 + schema: *ref_65 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + protocol: {} + - &ref_170 + schema: *ref_89 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_163 + signatureParameters: + - *ref_164 + - *ref_165 + - *ref_166 + - *ref_167 + - *ref_168 + - *ref_169 + - *ref_170 + language: + default: + name: '' + description: '' + protocol: + http: *ref_171 + signatureParameters: + - *ref_172 + - *ref_173 + responses: *ref_174 + exceptions: *ref_175 + extensions: + cli-split-operation-original-operation: *ref_176 + x-ms-examples: *ref_177 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_178 + language: + default: + name: Create + description: Create Disk pool. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: disk_pools + description: '' + cli: + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_179 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_179 + responses: + - schema: *ref_180 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: disk_pool_zones + description: '' + cli: + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_181 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_182 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_181 + - *ref_182 + responses: + - schema: *ref_183 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - &ref_231 + apiVersions: &ref_213 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_194 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_214 + in: path + - &ref_195 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_215 + in: path + - &ref_196 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: &ref_216 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_217 + in: header + - &ref_184 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_190 + schema: *ref_28 + implementation: Method + originalParameter: *ref_184 + pathToProperty: &ref_186 [] + required: true + targetProperty: *ref_185 + extensions: + cli-flatten-origin: *ref_185 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + protocol: {} + - &ref_191 + schema: *ref_38 + implementation: Method + originalParameter: *ref_184 + pathToProperty: *ref_186 + required: false + targetProperty: *ref_187 + extensions: + cli-flatten-origin: *ref_187 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + protocol: {} + - &ref_192 + schema: *ref_102 + implementation: Method + originalParameter: *ref_184 + pathToProperty: *ref_186 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_193 + schema: *ref_103 + implementation: Method + originalParameter: *ref_184 + pathToProperty: *ref_186 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_220 + in: header + signatureParameters: + - *ref_190 + - *ref_191 + - *ref_192 + - *ref_193 + language: + default: + name: '' + description: '' + protocol: + http: &ref_225 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_194 + - *ref_195 + - *ref_196 + responses: &ref_229 + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_230 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_232 + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_233 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + split-operation-names: *ref_197 + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_204 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_205 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_206 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_198 + schema: *ref_43 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_202 + schema: *ref_104 + implementation: Method + originalParameter: *ref_198 + pathToProperty: &ref_200 [] + targetProperty: *ref_199 + extensions: + cli-flatten-origin: *ref_199 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_203 + schema: *ref_105 + implementation: Method + originalParameter: *ref_198 + pathToProperty: *ref_200 + targetProperty: *ref_201 + extensions: + cli-flatten-origin: *ref_201 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_202 + - *ref_203 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_204 + - *ref_205 + - *ref_206 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_207 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_208 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_209 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_207 + - *ref_208 + - *ref_209 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_210 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_211 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_212 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_210 + - *ref_211 + - *ref_212 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + - apiVersions: *ref_213 + parameters: + - *ref_108 + - *ref_113 + - &ref_226 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_214 + - &ref_227 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_215 + - &ref_228 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + protocol: + http: *ref_216 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_217 + - &ref_218 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + protocol: + style: json + http: + in: body + - &ref_221 + schema: *ref_28 + implementation: Method + originalParameter: *ref_218 + pathToProperty: &ref_219 [] + required: true + targetProperty: *ref_185 + extensions: + cli-flatten-origin: *ref_185 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + protocol: {} + - &ref_222 + schema: *ref_38 + implementation: Method + originalParameter: *ref_218 + pathToProperty: *ref_219 + required: false + targetProperty: *ref_187 + extensions: + cli-flatten-origin: *ref_187 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + protocol: {} + - &ref_223 + schema: *ref_102 + implementation: Method + originalParameter: *ref_218 + pathToProperty: *ref_219 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_224 + schema: *ref_103 + implementation: Method + originalParameter: *ref_218 + pathToProperty: *ref_219 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_220 + signatureParameters: + - *ref_221 + - *ref_222 + - *ref_223 + - *ref_224 + language: + default: + name: '' + description: '' + protocol: + http: *ref_225 + signatureParameters: + - *ref_226 + - *ref_227 + - *ref_228 + responses: *ref_229 + exceptions: *ref_230 + extensions: + cli-split-operation-original-operation: *ref_231 + x-ms-examples: *ref_232 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_233 + language: + default: + name: Create + description: Create an iSCSI Target. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: iscsi_targets + description: '' + cli: + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +language: + default: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000190-flatten-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000190-flatten-pre-simplified.yaml new file mode 100644 index 00000000000..a66db9bc97d --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000190-flatten-pre-simplified.yaml @@ -0,0 +1,1570 @@ +operationGroups: + all: + - operationGroupName: operations + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pools + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: disk_pool_create + - parameterName[0]: sku(sku^object) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + - parameterName[0]: tags(disk_pool_create_tags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + - parameterName[0]: location(disk_pool_create_location^string) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + - parameterName[0]: disks(disk_pool_create_properties_disks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + bodySchema: disk_pool_update + - parameterName[0]: tags(disk_pool_update_tags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['tags'] + cliKey: tags + - parameterName[0]: disks(disk_pool_update_properties_disks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['disks'] + cliKey: disks + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependencies_endpoints + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + bodySchema: disk_pool_create + - parameterName[0]: sku(sku^object) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + - parameterName[0]: tags(disk_pool_create_tags^dictionary) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + - parameterName[0]: location(disk_pool_create_location^string) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + - parameterName[0]: disks(disk_pool_create_properties_disks^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationGroupName: disk_pool_zones + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: location(string^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: iscsi_targets + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: iscsi_target_create + - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + - parameterName[0]: luns(iscsi_target_create_properties_luns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + bodySchema: iscsi_target_update + - parameterName[0]: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + cliKey: staticAcls + - parameterName[0]: luns(iscsi_target_update_properties_luns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + cliKey: luns + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + bodySchema: iscsi_target_create + - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + - parameterName[0]: luns(iscsi_target_create_properties_luns^array) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept +schemas: + objects: + all: + - schemaName: storage_pool_operation_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + properties: + - propertyName: value(storage_pool_operation_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(storage_pool_operation_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: storage_pool_RP_operation + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + properties: + - propertyName: name(storage_pool_RP_operation_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(storage_pool_RP_operation_action_type^string) + cli: + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(storage_pool_operation_display^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(storage_pool_RP_operation_origin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: storage_pool_operation_display + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + properties: + - propertyName: provider(storage_pool_operation_display_provider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(storage_pool_operation_display_resource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(storage_pool_operation_display_operation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(storage_pool_operation_display_description^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: error + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: schemas$$objects['Error'] + properties: + - propertyName: error(error_response^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + - schemaName: error_response + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + properties: + - propertyName: code(error_response_code^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(error_response_message^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(error_response_target^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(error_response_details^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(error_response_additional_info^array) + cli: + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: error_additional_info + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + properties: + - propertyName: type(error_additional_info_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: disk_pool_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + properties: + - propertyName: value(disk_pool_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(disk_pool_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: disk_pool + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(disk_pool_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(disk_pool_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(disk_pool_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: sku + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + properties: + - propertyName: name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + - schemaName: disk + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + properties: + - propertyName: id(disk_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + - schemaName: system_metadata + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + properties: + - propertyName: created_by(system_metadata_created_by^string) + cli: + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(created_by_type^choice) + cli: + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(system_metadata_last_modified_by^string) + cli: + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(created_by_type^choice) + cli: + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: tracked_resource + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + properties: + - propertyName: tags(tracked_resource_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(tracked_resource_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + properties: + - propertyName: id(resource_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(resource_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(resource_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: disk_pool_create + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + properties: + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(disk_pool_create_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(disk_pool_create_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(disk_pool_create_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(disk_pool_create_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(disk_pool_create_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(disk_pool_create_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: disk_pool_update + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + properties: + - propertyName: tags(disk_pool_update_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(disk_pool_update_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: disk_pool_zone_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + properties: + - propertyName: value(disk_pool_zone_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(disk_pool_zone_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: disk_pool_zone_info + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + properties: + - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: outbound_environment_endpoint_list + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + properties: + - propertyName: value(outbound_environment_endpoint_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: outbound_environment_endpoint + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + properties: + - propertyName: category(outbound_environment_endpoint_category^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: endpoint_dependency + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + properties: + - propertyName: domain_name(endpoint_dependency_domain_name^string) + cli: + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) + cli: + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: endpoint_detail + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + properties: + - propertyName: ip_address(endpoint_detail_ip_address^string) + cli: + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: iscsi_target_list + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + properties: + - propertyName: value(iscsi_target_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(iscsi_target_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: iscsi_target + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(iscsi_target_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(iscsi_target_properties_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: acl + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + properties: + - propertyName: initiator_iqn(acl_initiator_iqn^string) + cli: + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(acl_mapped_luns^array) + cli: + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: iscsi_lun + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + properties: + - propertyName: name(iscsi_lun_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: iscsi_target_create + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + properties: + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_create_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: iscsi_target_update + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + properties: + - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_update_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: proxy_resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + choices: + all: + - choiceName: provisioning_states + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: operational_status + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated_ + cli: + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: created_by_type + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: iscsi_target_acl_mode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: disk_pool_tier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000190-flatten-pre.yaml b/src/diskpool/_az_debug/clicommon-000190-flatten-pre.yaml new file mode 100644 index 00000000000..32925fb7812 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000190-flatten-pre.yaml @@ -0,0 +1,6821 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: string + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_name + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_action_type + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_provider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_resource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_code + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_message + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_target + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_additional_info_type + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: string + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_name + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_tier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: availability_zone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_id + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: additional_capability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_by + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_by + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: string + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: tracked_resource_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_name + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: string + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_create_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: disk_pool_create_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_name + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_zone_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_dependency_domain_name + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_detail_ip_address + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_list_next_link + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_mapped_luns_item + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_name + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_endpoints_item + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_list_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_create_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: provisioning_states + description: Provisioning state of the iSCSI Target. + cli: + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated_ + description: '' + cli: + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: operational_status + description: Operational status of the resource. + cli: + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: iscsi_target_acl_mode + description: ACL mode for iSCSI Target. + cli: + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: disk_pool_tier + description: SKU of the VM host part of the Disk Pool deployment + cli: + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: tracked_resource_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_create_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_update_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_display + description: Metadata about an operation. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_RP_operation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: storage_pool_operation_list_result_value + description: An array of operations supported by the StoragePool RP. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_list_result + description: List of operations supported by the RP. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: error_response_details + description: The error details. + cli: + cli-complexity: array_complex + cli-in-circle: true + cli-mark: checked + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_additional_info + description: The resource management error additional info. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: error_response_additional_info + description: The error additional info. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_response + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: system_metadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: acl_mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: iscsi_target_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_lun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: iscsi_target_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: iscsi_target_properties_endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_target + description: Response for iSCSI Target requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_185 + schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - &ref_187 + schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - &ref_188 + schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_create_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_189 + schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_create_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_create + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_199 + schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_update_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_201 + schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_update_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_update + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: proxy_resource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: resource + description: ARM resource model definition. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: tracked_resource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: disk_pool_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_properties_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk_pool + description: Response for Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: disk_pool_list_result_value + description: An array of Disk pool objects. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_list_result + description: List of Disk Pools + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: sku + description: Sku for ARM resource + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_120 + schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - &ref_122 + schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - &ref_123 + schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - &ref_124 + schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_create_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - &ref_125 + schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_create_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - &ref_126 + schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - &ref_127 + schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_create_properties_additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: disk_pool_create + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_137 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_139 + schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - &ref_141 + schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_update_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: disk_pool_update + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_180 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_zone_info_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_zone_info_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_info + description: Disk Pool Sku Details + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: disk_pool_zone_list_result_value + description: The list of Disk Pool Skus. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_list_result + description: List Disk Pool skus operation response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_152 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_detail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: endpoint_dependency_endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_dependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_list_value + description: Collection of resources. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint_list + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_183 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: iscsi_target_list_value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: iscsi_target_list + description: List of iSCSI Targets. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + protocol: {} + language: + default: + name: operations + description: '' + cli: + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - &ref_176 + apiVersions: &ref_157 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_158 + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_159 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_160 + in: header + - &ref_119 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_128 + schema: *ref_59 + implementation: Method + originalParameter: *ref_119 + pathToProperty: &ref_121 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + protocol: {} + - &ref_129 + schema: *ref_60 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_130 + schema: *ref_61 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + protocol: {} + - &ref_131 + schema: *ref_87 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + protocol: {} + - &ref_132 + schema: *ref_88 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + protocol: {} + - &ref_133 + schema: *ref_65 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + protocol: {} + - &ref_134 + schema: *ref_89 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_163 + in: header + signatureParameters: + - *ref_128 + - *ref_129 + - *ref_130 + - *ref_131 + - *ref_132 + - *ref_133 + - *ref_134 + language: + default: + name: '' + description: '' + protocol: + http: &ref_171 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: &ref_174 + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_175 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_177 + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_178 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + split-operation-names: &ref_197 + - Create + - Update + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_144 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_145 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_138 + schema: *ref_137 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_142 + schema: *ref_66 + implementation: Method + originalParameter: *ref_138 + pathToProperty: &ref_140 [] + required: false + targetProperty: *ref_139 + extensions: + cli-flatten-origin: *ref_139 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_143 + schema: *ref_90 + implementation: Method + originalParameter: *ref_138 + pathToProperty: *ref_140 + targetProperty: *ref_141 + extensions: + cli-flatten-origin: *ref_141 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + cliKey: disks + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_142 + - *ref_143 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_144 + - *ref_145 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_146 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_147 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_146 + - *ref_147 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_148 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_149 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_148 + - *ref_149 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_150 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_151 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_150 + - *ref_151 + responses: + - schema: *ref_152 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependencies_endpoints + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_153 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_154 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_153 + - *ref_154 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_155 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_156 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_155 + - *ref_156 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + - apiVersions: *ref_157 + parameters: + - *ref_108 + - *ref_113 + - &ref_172 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_158 + - &ref_173 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_159 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_160 + - &ref_161 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + protocol: + style: json + http: + in: body + - &ref_164 + schema: *ref_59 + implementation: Method + originalParameter: *ref_161 + pathToProperty: &ref_162 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + protocol: {} + - &ref_165 + schema: *ref_60 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_166 + schema: *ref_61 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + protocol: {} + - &ref_167 + schema: *ref_87 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + protocol: {} + - &ref_168 + schema: *ref_88 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + protocol: {} + - &ref_169 + schema: *ref_65 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + protocol: {} + - &ref_170 + schema: *ref_89 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_163 + signatureParameters: + - *ref_164 + - *ref_165 + - *ref_166 + - *ref_167 + - *ref_168 + - *ref_169 + - *ref_170 + language: + default: + name: '' + description: '' + protocol: + http: *ref_171 + signatureParameters: + - *ref_172 + - *ref_173 + responses: *ref_174 + exceptions: *ref_175 + extensions: + cli-split-operation-original-operation: *ref_176 + x-ms-examples: *ref_177 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_178 + language: + default: + name: Create + description: Create Disk pool. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: disk_pools + description: '' + cli: + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_179 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_179 + responses: + - schema: *ref_180 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: disk_pool_zones + description: '' + cli: + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_181 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_182 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_181 + - *ref_182 + responses: + - schema: *ref_183 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - &ref_231 + apiVersions: &ref_213 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_194 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_214 + in: path + - &ref_195 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_215 + in: path + - &ref_196 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: &ref_216 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_217 + in: header + - &ref_184 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_190 + schema: *ref_28 + implementation: Method + originalParameter: *ref_184 + pathToProperty: &ref_186 [] + required: true + targetProperty: *ref_185 + extensions: + cli-flatten-origin: *ref_185 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + protocol: {} + - &ref_191 + schema: *ref_38 + implementation: Method + originalParameter: *ref_184 + pathToProperty: *ref_186 + required: false + targetProperty: *ref_187 + extensions: + cli-flatten-origin: *ref_187 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + protocol: {} + - &ref_192 + schema: *ref_102 + implementation: Method + originalParameter: *ref_184 + pathToProperty: *ref_186 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_193 + schema: *ref_103 + implementation: Method + originalParameter: *ref_184 + pathToProperty: *ref_186 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_220 + in: header + signatureParameters: + - *ref_190 + - *ref_191 + - *ref_192 + - *ref_193 + language: + default: + name: '' + description: '' + protocol: + http: &ref_225 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_194 + - *ref_195 + - *ref_196 + responses: &ref_229 + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_230 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_232 + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_233 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + split-operation-names: *ref_197 + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_204 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_205 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_206 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_198 + schema: *ref_43 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_202 + schema: *ref_104 + implementation: Method + originalParameter: *ref_198 + pathToProperty: &ref_200 [] + targetProperty: *ref_199 + extensions: + cli-flatten-origin: *ref_199 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_203 + schema: *ref_105 + implementation: Method + originalParameter: *ref_198 + pathToProperty: *ref_200 + targetProperty: *ref_201 + extensions: + cli-flatten-origin: *ref_201 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_202 + - *ref_203 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_204 + - *ref_205 + - *ref_206 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_207 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_208 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_209 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_207 + - *ref_208 + - *ref_209 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_210 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_211 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_212 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_210 + - *ref_211 + - *ref_212 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + - apiVersions: *ref_213 + parameters: + - *ref_108 + - *ref_113 + - &ref_226 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_214 + - &ref_227 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_215 + - &ref_228 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + protocol: + http: *ref_216 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_217 + - &ref_218 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + protocol: + style: json + http: + in: body + - &ref_221 + schema: *ref_28 + implementation: Method + originalParameter: *ref_218 + pathToProperty: &ref_219 [] + required: true + targetProperty: *ref_185 + extensions: + cli-flatten-origin: *ref_185 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + protocol: {} + - &ref_222 + schema: *ref_38 + implementation: Method + originalParameter: *ref_218 + pathToProperty: *ref_219 + required: false + targetProperty: *ref_187 + extensions: + cli-flatten-origin: *ref_187 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + protocol: {} + - &ref_223 + schema: *ref_102 + implementation: Method + originalParameter: *ref_218 + pathToProperty: *ref_219 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_224 + schema: *ref_103 + implementation: Method + originalParameter: *ref_218 + pathToProperty: *ref_219 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_220 + signatureParameters: + - *ref_221 + - *ref_222 + - *ref_223 + - *ref_224 + language: + default: + name: '' + description: '' + protocol: + http: *ref_225 + signatureParameters: + - *ref_226 + - *ref_227 + - *ref_228 + responses: *ref_229 + exceptions: *ref_230 + extensions: + cli-split-operation-original-operation: *ref_231 + x-ms-examples: *ref_232 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_233 + language: + default: + name: Create + description: Create an iSCSI Target. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: iscsi_targets + description: '' + cli: + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +language: + default: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000200-flatten-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000200-flatten-post-simplified.yaml new file mode 100644 index 00000000000..a66db9bc97d --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000200-flatten-post-simplified.yaml @@ -0,0 +1,1570 @@ +operationGroups: + all: + - operationGroupName: operations + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pools + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: disk_pool_create + - parameterName[0]: sku(sku^object) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + - parameterName[0]: tags(disk_pool_create_tags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + - parameterName[0]: location(disk_pool_create_location^string) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + - parameterName[0]: disks(disk_pool_create_properties_disks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + bodySchema: disk_pool_update + - parameterName[0]: tags(disk_pool_update_tags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['tags'] + cliKey: tags + - parameterName[0]: disks(disk_pool_update_properties_disks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['disks'] + cliKey: disks + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependencies_endpoints + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + bodySchema: disk_pool_create + - parameterName[0]: sku(sku^object) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + - parameterName[0]: tags(disk_pool_create_tags^dictionary) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + - parameterName[0]: location(disk_pool_create_location^string) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + - parameterName[0]: disks(disk_pool_create_properties_disks^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationGroupName: disk_pool_zones + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: location(string^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: iscsi_targets + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: iscsi_target_create + - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + - parameterName[0]: luns(iscsi_target_create_properties_luns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + bodySchema: iscsi_target_update + - parameterName[0]: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + cliKey: staticAcls + - parameterName[0]: luns(iscsi_target_update_properties_luns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + cliKey: luns + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + bodySchema: iscsi_target_create + - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + - parameterName[0]: luns(iscsi_target_create_properties_luns^array) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept +schemas: + objects: + all: + - schemaName: storage_pool_operation_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + properties: + - propertyName: value(storage_pool_operation_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(storage_pool_operation_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: storage_pool_RP_operation + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + properties: + - propertyName: name(storage_pool_RP_operation_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(storage_pool_RP_operation_action_type^string) + cli: + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(storage_pool_operation_display^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(storage_pool_RP_operation_origin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: storage_pool_operation_display + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + properties: + - propertyName: provider(storage_pool_operation_display_provider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(storage_pool_operation_display_resource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(storage_pool_operation_display_operation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(storage_pool_operation_display_description^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: error + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: schemas$$objects['Error'] + properties: + - propertyName: error(error_response^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + - schemaName: error_response + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + properties: + - propertyName: code(error_response_code^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(error_response_message^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(error_response_target^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(error_response_details^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(error_response_additional_info^array) + cli: + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: error_additional_info + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + properties: + - propertyName: type(error_additional_info_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: disk_pool_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + properties: + - propertyName: value(disk_pool_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(disk_pool_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: disk_pool + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(disk_pool_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(disk_pool_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(disk_pool_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: sku + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + properties: + - propertyName: name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + - schemaName: disk + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + properties: + - propertyName: id(disk_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + - schemaName: system_metadata + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + properties: + - propertyName: created_by(system_metadata_created_by^string) + cli: + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(created_by_type^choice) + cli: + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(system_metadata_last_modified_by^string) + cli: + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(created_by_type^choice) + cli: + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: tracked_resource + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + properties: + - propertyName: tags(tracked_resource_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(tracked_resource_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + properties: + - propertyName: id(resource_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(resource_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(resource_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: disk_pool_create + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + properties: + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(disk_pool_create_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(disk_pool_create_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(disk_pool_create_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(disk_pool_create_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(disk_pool_create_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(disk_pool_create_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: disk_pool_update + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + properties: + - propertyName: tags(disk_pool_update_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(disk_pool_update_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: disk_pool_zone_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + properties: + - propertyName: value(disk_pool_zone_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(disk_pool_zone_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: disk_pool_zone_info + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + properties: + - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: outbound_environment_endpoint_list + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + properties: + - propertyName: value(outbound_environment_endpoint_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: outbound_environment_endpoint + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + properties: + - propertyName: category(outbound_environment_endpoint_category^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: endpoint_dependency + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + properties: + - propertyName: domain_name(endpoint_dependency_domain_name^string) + cli: + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) + cli: + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: endpoint_detail + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + properties: + - propertyName: ip_address(endpoint_detail_ip_address^string) + cli: + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: iscsi_target_list + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + properties: + - propertyName: value(iscsi_target_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(iscsi_target_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: iscsi_target + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(iscsi_target_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(iscsi_target_properties_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: acl + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + properties: + - propertyName: initiator_iqn(acl_initiator_iqn^string) + cli: + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(acl_mapped_luns^array) + cli: + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: iscsi_lun + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + properties: + - propertyName: name(iscsi_lun_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: iscsi_target_create + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + properties: + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_create_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: iscsi_target_update + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + properties: + - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_update_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: proxy_resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + choices: + all: + - choiceName: provisioning_states + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: operational_status + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated_ + cli: + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: created_by_type + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: iscsi_target_acl_mode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: disk_pool_tier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000200-flatten-post.yaml b/src/diskpool/_az_debug/clicommon-000200-flatten-post.yaml new file mode 100644 index 00000000000..32925fb7812 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000200-flatten-post.yaml @@ -0,0 +1,6821 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: string + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_name + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_action_type + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_provider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_resource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_code + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_message + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_target + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_additional_info_type + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: string + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_name + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_tier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: availability_zone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_id + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: additional_capability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_by + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_by + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: string + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: tracked_resource_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_name + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: string + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_create_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: disk_pool_create_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_name + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_zone_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_dependency_domain_name + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_detail_ip_address + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_list_next_link + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_mapped_luns_item + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_name + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_endpoints_item + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_list_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_create_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: provisioning_states + description: Provisioning state of the iSCSI Target. + cli: + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated_ + description: '' + cli: + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: operational_status + description: Operational status of the resource. + cli: + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: iscsi_target_acl_mode + description: ACL mode for iSCSI Target. + cli: + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: disk_pool_tier + description: SKU of the VM host part of the Disk Pool deployment + cli: + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: tracked_resource_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_create_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_update_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_display + description: Metadata about an operation. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_RP_operation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: storage_pool_operation_list_result_value + description: An array of operations supported by the StoragePool RP. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_list_result + description: List of operations supported by the RP. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: error_response_details + description: The error details. + cli: + cli-complexity: array_complex + cli-in-circle: true + cli-mark: checked + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_additional_info + description: The resource management error additional info. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: error_response_additional_info + description: The error additional info. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_response + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: system_metadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: acl_mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: iscsi_target_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_lun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: iscsi_target_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: iscsi_target_properties_endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_target + description: Response for iSCSI Target requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_185 + schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - &ref_187 + schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - &ref_188 + schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_create_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_189 + schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_create_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_create + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_199 + schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_update_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_201 + schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_update_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_update + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: proxy_resource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: resource + description: ARM resource model definition. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: tracked_resource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: disk_pool_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_properties_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk_pool + description: Response for Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: disk_pool_list_result_value + description: An array of Disk pool objects. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_list_result + description: List of Disk Pools + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: sku + description: Sku for ARM resource + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_120 + schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - &ref_122 + schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - &ref_123 + schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - &ref_124 + schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_create_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - &ref_125 + schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_create_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - &ref_126 + schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - &ref_127 + schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_create_properties_additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: disk_pool_create + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_137 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_139 + schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - &ref_141 + schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_update_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: disk_pool_update + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_180 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_zone_info_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_zone_info_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_info + description: Disk Pool Sku Details + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: disk_pool_zone_list_result_value + description: The list of Disk Pool Skus. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_list_result + description: List Disk Pool skus operation response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_152 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_detail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: endpoint_dependency_endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_dependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_list_value + description: Collection of resources. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint_list + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_183 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: iscsi_target_list_value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: iscsi_target_list + description: List of iSCSI Targets. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + protocol: {} + language: + default: + name: operations + description: '' + cli: + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - &ref_176 + apiVersions: &ref_157 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_158 + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_159 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_160 + in: header + - &ref_119 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_128 + schema: *ref_59 + implementation: Method + originalParameter: *ref_119 + pathToProperty: &ref_121 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + protocol: {} + - &ref_129 + schema: *ref_60 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_130 + schema: *ref_61 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + protocol: {} + - &ref_131 + schema: *ref_87 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + protocol: {} + - &ref_132 + schema: *ref_88 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + protocol: {} + - &ref_133 + schema: *ref_65 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + protocol: {} + - &ref_134 + schema: *ref_89 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_163 + in: header + signatureParameters: + - *ref_128 + - *ref_129 + - *ref_130 + - *ref_131 + - *ref_132 + - *ref_133 + - *ref_134 + language: + default: + name: '' + description: '' + protocol: + http: &ref_171 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: &ref_174 + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_175 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_177 + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_178 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + split-operation-names: &ref_197 + - Create + - Update + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_144 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_145 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_138 + schema: *ref_137 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_142 + schema: *ref_66 + implementation: Method + originalParameter: *ref_138 + pathToProperty: &ref_140 [] + required: false + targetProperty: *ref_139 + extensions: + cli-flatten-origin: *ref_139 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_143 + schema: *ref_90 + implementation: Method + originalParameter: *ref_138 + pathToProperty: *ref_140 + targetProperty: *ref_141 + extensions: + cli-flatten-origin: *ref_141 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + cliKey: disks + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_142 + - *ref_143 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_144 + - *ref_145 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_146 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_147 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_146 + - *ref_147 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_148 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_149 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_148 + - *ref_149 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_150 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_151 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_150 + - *ref_151 + responses: + - schema: *ref_152 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependencies_endpoints + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_153 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_154 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_153 + - *ref_154 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_155 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_156 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_155 + - *ref_156 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + - apiVersions: *ref_157 + parameters: + - *ref_108 + - *ref_113 + - &ref_172 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_158 + - &ref_173 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_159 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_160 + - &ref_161 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + protocol: + style: json + http: + in: body + - &ref_164 + schema: *ref_59 + implementation: Method + originalParameter: *ref_161 + pathToProperty: &ref_162 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + protocol: {} + - &ref_165 + schema: *ref_60 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_166 + schema: *ref_61 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + protocol: {} + - &ref_167 + schema: *ref_87 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + protocol: {} + - &ref_168 + schema: *ref_88 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + protocol: {} + - &ref_169 + schema: *ref_65 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + protocol: {} + - &ref_170 + schema: *ref_89 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_163 + signatureParameters: + - *ref_164 + - *ref_165 + - *ref_166 + - *ref_167 + - *ref_168 + - *ref_169 + - *ref_170 + language: + default: + name: '' + description: '' + protocol: + http: *ref_171 + signatureParameters: + - *ref_172 + - *ref_173 + responses: *ref_174 + exceptions: *ref_175 + extensions: + cli-split-operation-original-operation: *ref_176 + x-ms-examples: *ref_177 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_178 + language: + default: + name: Create + description: Create Disk pool. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: disk_pools + description: '' + cli: + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_179 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_179 + responses: + - schema: *ref_180 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: disk_pool_zones + description: '' + cli: + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_181 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_182 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_181 + - *ref_182 + responses: + - schema: *ref_183 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - &ref_231 + apiVersions: &ref_213 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_194 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_214 + in: path + - &ref_195 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_215 + in: path + - &ref_196 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: &ref_216 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_217 + in: header + - &ref_184 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_190 + schema: *ref_28 + implementation: Method + originalParameter: *ref_184 + pathToProperty: &ref_186 [] + required: true + targetProperty: *ref_185 + extensions: + cli-flatten-origin: *ref_185 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + protocol: {} + - &ref_191 + schema: *ref_38 + implementation: Method + originalParameter: *ref_184 + pathToProperty: *ref_186 + required: false + targetProperty: *ref_187 + extensions: + cli-flatten-origin: *ref_187 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + protocol: {} + - &ref_192 + schema: *ref_102 + implementation: Method + originalParameter: *ref_184 + pathToProperty: *ref_186 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_193 + schema: *ref_103 + implementation: Method + originalParameter: *ref_184 + pathToProperty: *ref_186 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_220 + in: header + signatureParameters: + - *ref_190 + - *ref_191 + - *ref_192 + - *ref_193 + language: + default: + name: '' + description: '' + protocol: + http: &ref_225 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_194 + - *ref_195 + - *ref_196 + responses: &ref_229 + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_230 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_232 + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_233 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + split-operation-names: *ref_197 + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_204 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_205 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_206 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_198 + schema: *ref_43 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_202 + schema: *ref_104 + implementation: Method + originalParameter: *ref_198 + pathToProperty: &ref_200 [] + targetProperty: *ref_199 + extensions: + cli-flatten-origin: *ref_199 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_203 + schema: *ref_105 + implementation: Method + originalParameter: *ref_198 + pathToProperty: *ref_200 + targetProperty: *ref_201 + extensions: + cli-flatten-origin: *ref_201 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_202 + - *ref_203 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_204 + - *ref_205 + - *ref_206 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_207 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_208 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_209 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_207 + - *ref_208 + - *ref_209 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_210 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_211 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_212 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_210 + - *ref_211 + - *ref_212 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + - apiVersions: *ref_213 + parameters: + - *ref_108 + - *ref_113 + - &ref_226 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_214 + - &ref_227 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_215 + - &ref_228 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + protocol: + http: *ref_216 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_217 + - &ref_218 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + protocol: + style: json + http: + in: body + - &ref_221 + schema: *ref_28 + implementation: Method + originalParameter: *ref_218 + pathToProperty: &ref_219 [] + required: true + targetProperty: *ref_185 + extensions: + cli-flatten-origin: *ref_185 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + protocol: {} + - &ref_222 + schema: *ref_38 + implementation: Method + originalParameter: *ref_218 + pathToProperty: *ref_219 + required: false + targetProperty: *ref_187 + extensions: + cli-flatten-origin: *ref_187 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + protocol: {} + - &ref_223 + schema: *ref_102 + implementation: Method + originalParameter: *ref_218 + pathToProperty: *ref_219 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_224 + schema: *ref_103 + implementation: Method + originalParameter: *ref_218 + pathToProperty: *ref_219 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_220 + signatureParameters: + - *ref_221 + - *ref_222 + - *ref_223 + - *ref_224 + language: + default: + name: '' + description: '' + protocol: + http: *ref_225 + signatureParameters: + - *ref_226 + - *ref_227 + - *ref_228 + responses: *ref_229 + exceptions: *ref_230 + extensions: + cli-split-operation-original-operation: *ref_231 + x-ms-examples: *ref_232 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_233 + language: + default: + name: Create + description: Create an iSCSI Target. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: iscsi_targets + description: '' + cli: + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +language: + default: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000210-modifier-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000210-modifier-pre-simplified.yaml new file mode 100644 index 00000000000..a66db9bc97d --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000210-modifier-pre-simplified.yaml @@ -0,0 +1,1570 @@ +operationGroups: + all: + - operationGroupName: operations + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pools + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: disk_pool_create + - parameterName[0]: sku(sku^object) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + - parameterName[0]: tags(disk_pool_create_tags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + - parameterName[0]: location(disk_pool_create_location^string) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + - parameterName[0]: disks(disk_pool_create_properties_disks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + bodySchema: disk_pool_update + - parameterName[0]: tags(disk_pool_update_tags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['tags'] + cliKey: tags + - parameterName[0]: disks(disk_pool_update_properties_disks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['disks'] + cliKey: disks + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependencies_endpoints + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + bodySchema: disk_pool_create + - parameterName[0]: sku(sku^object) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + - parameterName[0]: tags(disk_pool_create_tags^dictionary) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + - parameterName[0]: location(disk_pool_create_location^string) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + - parameterName[0]: disks(disk_pool_create_properties_disks^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationGroupName: disk_pool_zones + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: location(string^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: iscsi_targets + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: iscsi_target_create + - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + - parameterName[0]: luns(iscsi_target_create_properties_luns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + bodySchema: iscsi_target_update + - parameterName[0]: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + cliKey: staticAcls + - parameterName[0]: luns(iscsi_target_update_properties_luns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + cliKey: luns + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + bodySchema: iscsi_target_create + - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + - parameterName[0]: luns(iscsi_target_create_properties_luns^array) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept +schemas: + objects: + all: + - schemaName: storage_pool_operation_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + properties: + - propertyName: value(storage_pool_operation_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(storage_pool_operation_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: storage_pool_RP_operation + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + properties: + - propertyName: name(storage_pool_RP_operation_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(storage_pool_RP_operation_action_type^string) + cli: + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(storage_pool_operation_display^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(storage_pool_RP_operation_origin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: storage_pool_operation_display + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + properties: + - propertyName: provider(storage_pool_operation_display_provider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(storage_pool_operation_display_resource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(storage_pool_operation_display_operation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(storage_pool_operation_display_description^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: error + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: schemas$$objects['Error'] + properties: + - propertyName: error(error_response^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + - schemaName: error_response + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + properties: + - propertyName: code(error_response_code^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(error_response_message^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(error_response_target^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(error_response_details^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(error_response_additional_info^array) + cli: + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: error_additional_info + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + properties: + - propertyName: type(error_additional_info_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: disk_pool_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + properties: + - propertyName: value(disk_pool_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(disk_pool_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: disk_pool + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(disk_pool_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(disk_pool_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(disk_pool_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: sku + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + properties: + - propertyName: name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + - schemaName: disk + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + properties: + - propertyName: id(disk_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + - schemaName: system_metadata + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + properties: + - propertyName: created_by(system_metadata_created_by^string) + cli: + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(created_by_type^choice) + cli: + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(system_metadata_last_modified_by^string) + cli: + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(created_by_type^choice) + cli: + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: tracked_resource + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + properties: + - propertyName: tags(tracked_resource_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(tracked_resource_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + properties: + - propertyName: id(resource_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(resource_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(resource_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: disk_pool_create + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + properties: + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(disk_pool_create_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(disk_pool_create_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(disk_pool_create_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(disk_pool_create_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(disk_pool_create_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(disk_pool_create_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: disk_pool_update + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + properties: + - propertyName: tags(disk_pool_update_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(disk_pool_update_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: disk_pool_zone_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + properties: + - propertyName: value(disk_pool_zone_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(disk_pool_zone_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: disk_pool_zone_info + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + properties: + - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: outbound_environment_endpoint_list + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + properties: + - propertyName: value(outbound_environment_endpoint_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: outbound_environment_endpoint + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + properties: + - propertyName: category(outbound_environment_endpoint_category^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: endpoint_dependency + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + properties: + - propertyName: domain_name(endpoint_dependency_domain_name^string) + cli: + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) + cli: + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: endpoint_detail + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + properties: + - propertyName: ip_address(endpoint_detail_ip_address^string) + cli: + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: iscsi_target_list + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + properties: + - propertyName: value(iscsi_target_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(iscsi_target_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: iscsi_target + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(iscsi_target_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(iscsi_target_properties_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: acl + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + properties: + - propertyName: initiator_iqn(acl_initiator_iqn^string) + cli: + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(acl_mapped_luns^array) + cli: + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: iscsi_lun + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + properties: + - propertyName: name(iscsi_lun_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: iscsi_target_create + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + properties: + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_create_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: iscsi_target_update + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + properties: + - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_update_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: proxy_resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + choices: + all: + - choiceName: provisioning_states + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: operational_status + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated_ + cli: + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: created_by_type + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: iscsi_target_acl_mode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: disk_pool_tier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000210-modifier-pre.yaml b/src/diskpool/_az_debug/clicommon-000210-modifier-pre.yaml new file mode 100644 index 00000000000..32925fb7812 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000210-modifier-pre.yaml @@ -0,0 +1,6821 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: string + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_name + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_action_type + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_provider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_resource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_code + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_message + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_target + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_additional_info_type + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: string + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_name + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_tier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: availability_zone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_id + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: additional_capability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_by + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_by + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: string + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: tracked_resource_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_name + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: string + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_create_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: disk_pool_create_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_name + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_zone_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_dependency_domain_name + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_detail_ip_address + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_list_next_link + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_mapped_luns_item + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_name + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_endpoints_item + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_list_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_create_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: provisioning_states + description: Provisioning state of the iSCSI Target. + cli: + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated_ + description: '' + cli: + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: operational_status + description: Operational status of the resource. + cli: + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: iscsi_target_acl_mode + description: ACL mode for iSCSI Target. + cli: + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: disk_pool_tier + description: SKU of the VM host part of the Disk Pool deployment + cli: + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: tracked_resource_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_create_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_update_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_display + description: Metadata about an operation. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_RP_operation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: storage_pool_operation_list_result_value + description: An array of operations supported by the StoragePool RP. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_list_result + description: List of operations supported by the RP. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: error_response_details + description: The error details. + cli: + cli-complexity: array_complex + cli-in-circle: true + cli-mark: checked + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_additional_info + description: The resource management error additional info. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: error_response_additional_info + description: The error additional info. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_response + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: system_metadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: acl_mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: iscsi_target_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_lun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: iscsi_target_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: iscsi_target_properties_endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_target + description: Response for iSCSI Target requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_185 + schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - &ref_187 + schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - &ref_188 + schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_create_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_189 + schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_create_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_create + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_199 + schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_update_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_201 + schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_update_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_update + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: proxy_resource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: resource + description: ARM resource model definition. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: tracked_resource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: disk_pool_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_properties_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk_pool + description: Response for Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: disk_pool_list_result_value + description: An array of Disk pool objects. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_list_result + description: List of Disk Pools + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: sku + description: Sku for ARM resource + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_120 + schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - &ref_122 + schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - &ref_123 + schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - &ref_124 + schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_create_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - &ref_125 + schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_create_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - &ref_126 + schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - &ref_127 + schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_create_properties_additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: disk_pool_create + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_137 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_139 + schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - &ref_141 + schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_update_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: disk_pool_update + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_180 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_zone_info_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_zone_info_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_info + description: Disk Pool Sku Details + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: disk_pool_zone_list_result_value + description: The list of Disk Pool Skus. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_list_result + description: List Disk Pool skus operation response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_152 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_detail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: endpoint_dependency_endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_dependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_list_value + description: Collection of resources. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint_list + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_183 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: iscsi_target_list_value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: iscsi_target_list + description: List of iSCSI Targets. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + protocol: {} + language: + default: + name: operations + description: '' + cli: + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - &ref_176 + apiVersions: &ref_157 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_158 + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_159 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_160 + in: header + - &ref_119 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_128 + schema: *ref_59 + implementation: Method + originalParameter: *ref_119 + pathToProperty: &ref_121 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + protocol: {} + - &ref_129 + schema: *ref_60 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_130 + schema: *ref_61 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + protocol: {} + - &ref_131 + schema: *ref_87 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + protocol: {} + - &ref_132 + schema: *ref_88 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + protocol: {} + - &ref_133 + schema: *ref_65 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + protocol: {} + - &ref_134 + schema: *ref_89 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_163 + in: header + signatureParameters: + - *ref_128 + - *ref_129 + - *ref_130 + - *ref_131 + - *ref_132 + - *ref_133 + - *ref_134 + language: + default: + name: '' + description: '' + protocol: + http: &ref_171 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: &ref_174 + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_175 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_177 + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_178 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + split-operation-names: &ref_197 + - Create + - Update + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_144 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_145 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_138 + schema: *ref_137 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_142 + schema: *ref_66 + implementation: Method + originalParameter: *ref_138 + pathToProperty: &ref_140 [] + required: false + targetProperty: *ref_139 + extensions: + cli-flatten-origin: *ref_139 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_143 + schema: *ref_90 + implementation: Method + originalParameter: *ref_138 + pathToProperty: *ref_140 + targetProperty: *ref_141 + extensions: + cli-flatten-origin: *ref_141 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + cliKey: disks + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_142 + - *ref_143 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_144 + - *ref_145 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_146 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_147 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_146 + - *ref_147 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_148 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_149 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_148 + - *ref_149 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_150 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_151 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_150 + - *ref_151 + responses: + - schema: *ref_152 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependencies_endpoints + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_153 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_154 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_153 + - *ref_154 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_155 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_156 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_155 + - *ref_156 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + - apiVersions: *ref_157 + parameters: + - *ref_108 + - *ref_113 + - &ref_172 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_158 + - &ref_173 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_159 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_160 + - &ref_161 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + protocol: + style: json + http: + in: body + - &ref_164 + schema: *ref_59 + implementation: Method + originalParameter: *ref_161 + pathToProperty: &ref_162 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + protocol: {} + - &ref_165 + schema: *ref_60 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_166 + schema: *ref_61 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + protocol: {} + - &ref_167 + schema: *ref_87 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + protocol: {} + - &ref_168 + schema: *ref_88 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + protocol: {} + - &ref_169 + schema: *ref_65 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + protocol: {} + - &ref_170 + schema: *ref_89 + implementation: Method + originalParameter: *ref_161 + pathToProperty: *ref_162 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_163 + signatureParameters: + - *ref_164 + - *ref_165 + - *ref_166 + - *ref_167 + - *ref_168 + - *ref_169 + - *ref_170 + language: + default: + name: '' + description: '' + protocol: + http: *ref_171 + signatureParameters: + - *ref_172 + - *ref_173 + responses: *ref_174 + exceptions: *ref_175 + extensions: + cli-split-operation-original-operation: *ref_176 + x-ms-examples: *ref_177 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_178 + language: + default: + name: Create + description: Create Disk pool. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: disk_pools + description: '' + cli: + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_179 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_179 + responses: + - schema: *ref_180 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: disk_pool_zones + description: '' + cli: + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_181 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_182 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_181 + - *ref_182 + responses: + - schema: *ref_183 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - &ref_231 + apiVersions: &ref_213 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_194 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_214 + in: path + - &ref_195 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_215 + in: path + - &ref_196 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: &ref_216 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_217 + in: header + - &ref_184 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_190 + schema: *ref_28 + implementation: Method + originalParameter: *ref_184 + pathToProperty: &ref_186 [] + required: true + targetProperty: *ref_185 + extensions: + cli-flatten-origin: *ref_185 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + protocol: {} + - &ref_191 + schema: *ref_38 + implementation: Method + originalParameter: *ref_184 + pathToProperty: *ref_186 + required: false + targetProperty: *ref_187 + extensions: + cli-flatten-origin: *ref_187 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + protocol: {} + - &ref_192 + schema: *ref_102 + implementation: Method + originalParameter: *ref_184 + pathToProperty: *ref_186 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_193 + schema: *ref_103 + implementation: Method + originalParameter: *ref_184 + pathToProperty: *ref_186 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_220 + in: header + signatureParameters: + - *ref_190 + - *ref_191 + - *ref_192 + - *ref_193 + language: + default: + name: '' + description: '' + protocol: + http: &ref_225 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_194 + - *ref_195 + - *ref_196 + responses: &ref_229 + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_230 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_232 + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_233 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + split-operation-names: *ref_197 + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_204 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_205 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_206 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_198 + schema: *ref_43 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_202 + schema: *ref_104 + implementation: Method + originalParameter: *ref_198 + pathToProperty: &ref_200 [] + targetProperty: *ref_199 + extensions: + cli-flatten-origin: *ref_199 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_203 + schema: *ref_105 + implementation: Method + originalParameter: *ref_198 + pathToProperty: *ref_200 + targetProperty: *ref_201 + extensions: + cli-flatten-origin: *ref_201 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_202 + - *ref_203 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_204 + - *ref_205 + - *ref_206 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_207 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_208 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_209 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_207 + - *ref_208 + - *ref_209 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_210 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_211 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_212 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_210 + - *ref_211 + - *ref_212 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + - apiVersions: *ref_213 + parameters: + - *ref_108 + - *ref_113 + - &ref_226 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_214 + - &ref_227 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_215 + - &ref_228 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + protocol: + http: *ref_216 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_217 + - &ref_218 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + protocol: + style: json + http: + in: body + - &ref_221 + schema: *ref_28 + implementation: Method + originalParameter: *ref_218 + pathToProperty: &ref_219 [] + required: true + targetProperty: *ref_185 + extensions: + cli-flatten-origin: *ref_185 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + protocol: {} + - &ref_222 + schema: *ref_38 + implementation: Method + originalParameter: *ref_218 + pathToProperty: *ref_219 + required: false + targetProperty: *ref_187 + extensions: + cli-flatten-origin: *ref_187 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + protocol: {} + - &ref_223 + schema: *ref_102 + implementation: Method + originalParameter: *ref_218 + pathToProperty: *ref_219 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_224 + schema: *ref_103 + implementation: Method + originalParameter: *ref_218 + pathToProperty: *ref_219 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_220 + signatureParameters: + - *ref_221 + - *ref_222 + - *ref_223 + - *ref_224 + language: + default: + name: '' + description: '' + protocol: + http: *ref_225 + signatureParameters: + - *ref_226 + - *ref_227 + - *ref_228 + responses: *ref_229 + exceptions: *ref_230 + extensions: + cli-split-operation-original-operation: *ref_231 + x-ms-examples: *ref_232 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_233 + language: + default: + name: Create + description: Create an iSCSI Target. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: iscsi_targets + description: '' + cli: + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +language: + default: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000220-modifier-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000220-modifier-post-simplified.yaml new file mode 100644 index 00000000000..d93e72a92aa --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000220-modifier-post-simplified.yaml @@ -0,0 +1,1580 @@ +operationGroups: + all: + - operationGroupName: operations + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + hidden: true + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pools + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: disk_pool_create + - parameterName[0]: sku(sku^object) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + - parameterName[0]: tags(disk_pool_create_tags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + - parameterName[0]: location(disk_pool_create_location^string) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + - parameterName[0]: disks(disk_pool_create_properties_disks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + positional: true + positionalKeys: + - id + - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + bodySchema: disk_pool_update + - parameterName[0]: tags(disk_pool_update_tags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['tags'] + cliKey: tags + - parameterName[0]: disks(disk_pool_update_properties_disks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['disks'] + cliKey: disks + positional: true + positionalKeys: + - id + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependencies_endpoints + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + bodySchema: disk_pool_create + - parameterName[0]: sku(sku^object) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + - parameterName[0]: tags(disk_pool_create_tags^dictionary) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + - parameterName[0]: location(disk_pool_create_location^string) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + - parameterName[0]: disks(disk_pool_create_properties_disks^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + positional: true + positionalKeys: + - id + - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationGroupName: disk_pool_zones + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: location(string^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: iscsi_targets + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: iscsi_target_create + - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + - parameterName[0]: luns(iscsi_target_create_properties_luns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + bodySchema: iscsi_target_update + - parameterName[0]: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + cliKey: staticAcls + - parameterName[0]: luns(iscsi_target_update_properties_luns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + cliKey: luns + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + bodySchema: iscsi_target_create + - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + - parameterName[0]: luns(iscsi_target_create_properties_luns^array) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept +schemas: + objects: + all: + - schemaName: storage_pool_operation_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + properties: + - propertyName: value(storage_pool_operation_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(storage_pool_operation_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: storage_pool_RP_operation + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + properties: + - propertyName: name(storage_pool_RP_operation_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(storage_pool_RP_operation_action_type^string) + cli: + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(storage_pool_operation_display^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(storage_pool_RP_operation_origin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: storage_pool_operation_display + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + properties: + - propertyName: provider(storage_pool_operation_display_provider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(storage_pool_operation_display_resource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(storage_pool_operation_display_operation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(storage_pool_operation_display_description^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: error + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: schemas$$objects['Error'] + properties: + - propertyName: error(error_response^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + - schemaName: error_response + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + properties: + - propertyName: code(error_response_code^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(error_response_message^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(error_response_target^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(error_response_details^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(error_response_additional_info^array) + cli: + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: error_additional_info + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + properties: + - propertyName: type(error_additional_info_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: disk_pool_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + properties: + - propertyName: value(disk_pool_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(disk_pool_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: disk_pool + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(disk_pool_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(disk_pool_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(disk_pool_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: sku + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + properties: + - propertyName: name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + - schemaName: disk + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + properties: + - propertyName: id(disk_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + - schemaName: system_metadata + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + properties: + - propertyName: created_by(system_metadata_created_by^string) + cli: + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(created_by_type^choice) + cli: + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(system_metadata_last_modified_by^string) + cli: + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(created_by_type^choice) + cli: + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: tracked_resource + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + properties: + - propertyName: tags(tracked_resource_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(tracked_resource_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + properties: + - propertyName: id(resource_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(resource_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(resource_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: disk_pool_create + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + properties: + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(disk_pool_create_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(disk_pool_create_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(disk_pool_create_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(disk_pool_create_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(disk_pool_create_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(disk_pool_create_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: disk_pool_update + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + properties: + - propertyName: tags(disk_pool_update_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(disk_pool_update_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: disk_pool_zone_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + properties: + - propertyName: value(disk_pool_zone_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(disk_pool_zone_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: disk_pool_zone_info + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + properties: + - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: outbound_environment_endpoint_list + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + properties: + - propertyName: value(outbound_environment_endpoint_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: outbound_environment_endpoint + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + properties: + - propertyName: category(outbound_environment_endpoint_category^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: endpoint_dependency + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + properties: + - propertyName: domain_name(endpoint_dependency_domain_name^string) + cli: + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) + cli: + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: endpoint_detail + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + properties: + - propertyName: ip_address(endpoint_detail_ip_address^string) + cli: + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: iscsi_target_list + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + properties: + - propertyName: value(iscsi_target_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(iscsi_target_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: iscsi_target + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(iscsi_target_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(iscsi_target_properties_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: acl + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + properties: + - propertyName: initiator_iqn(acl_initiator_iqn^string) + cli: + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(acl_mapped_luns^array) + cli: + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: iscsi_lun + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + properties: + - propertyName: name(iscsi_lun_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: iscsi_target_create + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + properties: + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_create_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: iscsi_target_update + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + properties: + - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_update_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: proxy_resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + choices: + all: + - choiceName: provisioning_states + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: operational_status + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated_ + cli: + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: created_by_type + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: iscsi_target_acl_mode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: disk_pool_tier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000220-modifier-post.yaml b/src/diskpool/_az_debug/clicommon-000220-modifier-post.yaml new file mode 100644 index 00000000000..827d4ad76fc --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000220-modifier-post.yaml @@ -0,0 +1,6829 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: string + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_name + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_action_type + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_provider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_resource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_code + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_message + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_target + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_additional_info_type + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: string + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_name + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_tier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: availability_zone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_id + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: additional_capability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_by + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_by + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: string + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: tracked_resource_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_name + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: string + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_create_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: disk_pool_create_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_name + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_zone_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_dependency_domain_name + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_detail_ip_address + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_list_next_link + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_mapped_luns_item + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_name + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_endpoints_item + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_list_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_create_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: provisioning_states + description: Provisioning state of the iSCSI Target. + cli: + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated_ + description: '' + cli: + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: operational_status + description: Operational status of the resource. + cli: + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: iscsi_target_acl_mode + description: ACL mode for iSCSI Target. + cli: + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: disk_pool_tier + description: SKU of the VM host part of the Disk Pool deployment + cli: + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: tracked_resource_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_create_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_update_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_display + description: Metadata about an operation. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_RP_operation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: storage_pool_operation_list_result_value + description: An array of operations supported by the StoragePool RP. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_list_result + description: List of operations supported by the RP. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: error_response_details + description: The error details. + cli: + cli-complexity: array_complex + cli-in-circle: true + cli-mark: checked + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_additional_info + description: The resource management error additional info. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: error_response_additional_info + description: The error additional info. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_response + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: system_metadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: acl_mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: iscsi_target_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_lun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: iscsi_target_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: iscsi_target_properties_endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_target + description: Response for iSCSI Target requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_186 + schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - &ref_188 + schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - &ref_189 + schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_create_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_190 + schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_create_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_create + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_200 + schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_update_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_202 + schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_update_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_update + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: proxy_resource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: resource + description: ARM resource model definition. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: tracked_resource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: disk_pool_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_properties_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk_pool + description: Response for Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: disk_pool_list_result_value + description: An array of Disk pool objects. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_list_result + description: List of Disk Pools + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: sku + description: Sku for ARM resource + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_120 + schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - &ref_122 + schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - &ref_123 + schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - &ref_124 + schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_create_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - &ref_125 + schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_create_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - &ref_126 + schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - &ref_127 + schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_create_properties_additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: disk_pool_create + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_137 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_139 + schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - &ref_141 + schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_update_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: disk_pool_update + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_181 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_zone_info_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_zone_info_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_info + description: Disk Pool Sku Details + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: disk_pool_zone_list_result_value + description: The list of Disk Pool Skus. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_list_result + description: List Disk Pool skus operation response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_153 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_detail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: endpoint_dependency_endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_dependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_list_value + description: Collection of resources. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint_list + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_184 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: iscsi_target_list_value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: iscsi_target_list + description: List of iSCSI Targets. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + hidden: true + protocol: {} + language: + default: + name: operations + description: '' + cli: + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - &ref_177 + apiVersions: &ref_158 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_159 + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_160 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_161 + in: header + - &ref_119 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_128 + schema: *ref_59 + implementation: Method + originalParameter: *ref_119 + pathToProperty: &ref_121 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + protocol: {} + - &ref_129 + schema: *ref_60 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_130 + schema: *ref_61 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + protocol: {} + - &ref_131 + schema: *ref_87 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + protocol: {} + - &ref_132 + schema: *ref_88 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + positional: true + positionalKeys: &ref_142 + - id + protocol: {} + - &ref_133 + schema: *ref_65 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + protocol: {} + - &ref_134 + schema: *ref_89 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_164 + in: header + signatureParameters: + - *ref_128 + - *ref_129 + - *ref_130 + - *ref_131 + - *ref_132 + - *ref_133 + - *ref_134 + language: + default: + name: '' + description: '' + protocol: + http: &ref_172 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: &ref_175 + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_176 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_178 + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_179 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + split-operation-names: &ref_198 + - Create + - Update + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_145 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_146 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_138 + schema: *ref_137 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_143 + schema: *ref_66 + implementation: Method + originalParameter: *ref_138 + pathToProperty: &ref_140 [] + required: false + targetProperty: *ref_139 + extensions: + cli-flatten-origin: *ref_139 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_144 + schema: *ref_90 + implementation: Method + originalParameter: *ref_138 + pathToProperty: *ref_140 + targetProperty: *ref_141 + extensions: + cli-flatten-origin: *ref_141 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + cliKey: disks + positional: true + positionalKeys: *ref_142 + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_143 + - *ref_144 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_145 + - *ref_146 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_147 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_148 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_147 + - *ref_148 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_149 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_150 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_149 + - *ref_150 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_151 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_152 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_151 + - *ref_152 + responses: + - schema: *ref_153 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependencies_endpoints + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_154 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_155 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_154 + - *ref_155 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_156 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_157 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_156 + - *ref_157 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + - apiVersions: *ref_158 + parameters: + - *ref_108 + - *ref_113 + - &ref_173 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_159 + - &ref_174 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_160 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_161 + - &ref_162 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + protocol: + style: json + http: + in: body + - &ref_165 + schema: *ref_59 + implementation: Method + originalParameter: *ref_162 + pathToProperty: &ref_163 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + protocol: {} + - &ref_166 + schema: *ref_60 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_167 + schema: *ref_61 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + protocol: {} + - &ref_168 + schema: *ref_87 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + protocol: {} + - &ref_169 + schema: *ref_88 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + positional: true + positionalKeys: *ref_142 + protocol: {} + - &ref_170 + schema: *ref_65 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + protocol: {} + - &ref_171 + schema: *ref_89 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_164 + signatureParameters: + - *ref_165 + - *ref_166 + - *ref_167 + - *ref_168 + - *ref_169 + - *ref_170 + - *ref_171 + language: + default: + name: '' + description: '' + protocol: + http: *ref_172 + signatureParameters: + - *ref_173 + - *ref_174 + responses: *ref_175 + exceptions: *ref_176 + extensions: + cli-split-operation-original-operation: *ref_177 + x-ms-examples: *ref_178 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_179 + language: + default: + name: Create + description: Create Disk pool. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: disk_pools + description: '' + cli: + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_180 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_180 + responses: + - schema: *ref_181 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: disk_pool_zones + description: '' + cli: + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_182 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_183 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_182 + - *ref_183 + responses: + - schema: *ref_184 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - &ref_232 + apiVersions: &ref_214 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_195 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_215 + in: path + - &ref_196 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_216 + in: path + - &ref_197 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: &ref_217 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_218 + in: header + - &ref_185 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_191 + schema: *ref_28 + implementation: Method + originalParameter: *ref_185 + pathToProperty: &ref_187 [] + required: true + targetProperty: *ref_186 + extensions: + cli-flatten-origin: *ref_186 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + protocol: {} + - &ref_192 + schema: *ref_38 + implementation: Method + originalParameter: *ref_185 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + protocol: {} + - &ref_193 + schema: *ref_102 + implementation: Method + originalParameter: *ref_185 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_194 + schema: *ref_103 + implementation: Method + originalParameter: *ref_185 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_190 + extensions: + cli-flatten-origin: *ref_190 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_221 + in: header + signatureParameters: + - *ref_191 + - *ref_192 + - *ref_193 + - *ref_194 + language: + default: + name: '' + description: '' + protocol: + http: &ref_226 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_195 + - *ref_196 + - *ref_197 + responses: &ref_230 + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_231 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_233 + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_234 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + split-operation-names: *ref_198 + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_205 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_206 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_207 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_199 + schema: *ref_43 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_203 + schema: *ref_104 + implementation: Method + originalParameter: *ref_199 + pathToProperty: &ref_201 [] + targetProperty: *ref_200 + extensions: + cli-flatten-origin: *ref_200 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_204 + schema: *ref_105 + implementation: Method + originalParameter: *ref_199 + pathToProperty: *ref_201 + targetProperty: *ref_202 + extensions: + cli-flatten-origin: *ref_202 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_203 + - *ref_204 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_205 + - *ref_206 + - *ref_207 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_208 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_209 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_210 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_208 + - *ref_209 + - *ref_210 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_211 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_212 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_213 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_211 + - *ref_212 + - *ref_213 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + - apiVersions: *ref_214 + parameters: + - *ref_108 + - *ref_113 + - &ref_227 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_215 + - &ref_228 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_216 + - &ref_229 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + protocol: + http: *ref_217 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_218 + - &ref_219 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + protocol: + style: json + http: + in: body + - &ref_222 + schema: *ref_28 + implementation: Method + originalParameter: *ref_219 + pathToProperty: &ref_220 [] + required: true + targetProperty: *ref_186 + extensions: + cli-flatten-origin: *ref_186 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + protocol: {} + - &ref_223 + schema: *ref_38 + implementation: Method + originalParameter: *ref_219 + pathToProperty: *ref_220 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + protocol: {} + - &ref_224 + schema: *ref_102 + implementation: Method + originalParameter: *ref_219 + pathToProperty: *ref_220 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_225 + schema: *ref_103 + implementation: Method + originalParameter: *ref_219 + pathToProperty: *ref_220 + required: false + targetProperty: *ref_190 + extensions: + cli-flatten-origin: *ref_190 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_221 + signatureParameters: + - *ref_222 + - *ref_223 + - *ref_224 + - *ref_225 + language: + default: + name: '' + description: '' + protocol: + http: *ref_226 + signatureParameters: + - *ref_227 + - *ref_228 + - *ref_229 + responses: *ref_230 + exceptions: *ref_231 + extensions: + cli-split-operation-original-operation: *ref_232 + x-ms-examples: *ref_233 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_234 + language: + default: + name: Create + description: Create an iSCSI Target. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: iscsi_targets + description: '' + cli: + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +language: + default: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000230-namer-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000230-namer-pre-simplified.yaml new file mode 100644 index 00000000000..d93e72a92aa --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000230-namer-pre-simplified.yaml @@ -0,0 +1,1580 @@ +operationGroups: + all: + - operationGroupName: operations + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + hidden: true + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: disk_pools + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: disk_pool_create + - parameterName[0]: sku(sku^object) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + - parameterName[0]: tags(disk_pool_create_tags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + - parameterName[0]: location(disk_pool_create_location^string) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + - parameterName[0]: disks(disk_pool_create_properties_disks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + positional: true + positionalKeys: + - id + - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + bodySchema: disk_pool_update + - parameterName[0]: tags(disk_pool_update_tags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['tags'] + cliKey: tags + - parameterName[0]: disks(disk_pool_update_properties_disks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['disks'] + cliKey: disks + positional: true + positionalKeys: + - id + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependencies_endpoints + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + bodySchema: disk_pool_create + - parameterName[0]: sku(sku^object) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + - parameterName[0]: tags(disk_pool_create_tags^dictionary) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + - parameterName[0]: location(disk_pool_create_location^string) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + - parameterName[0]: disks(disk_pool_create_properties_disks^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + positional: true + positionalKeys: + - id + - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + - operationGroupName: disk_pool_zones + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: location(string^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: iscsi_targets + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: iscsi_target_create + - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + - parameterName[0]: luns(iscsi_target_create_properties_luns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + bodySchema: iscsi_target_update + - parameterName[0]: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + cliKey: staticAcls + - parameterName[0]: luns(iscsi_target_update_properties_luns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + cliKey: luns + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: Create + cli: + cliKey: CreateOrUpdate#Create + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(string^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + - parameterName: subscription_id(string^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + - parameterName: resource_group_name(string^string) + cli: + cliKey: resourceGroupName + - parameterName: disk_pool_name(string^string) + cli: + cliKey: diskPoolName + - parameterName: iscsi_target_name(string^string) + cli: + cliKey: iscsiTargetName + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + bodySchema: iscsi_target_create + - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + - parameterName[0]: luns(iscsi_target_create_properties_luns^array) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept +schemas: + objects: + all: + - schemaName: storage_pool_operation_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + properties: + - propertyName: value(storage_pool_operation_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(storage_pool_operation_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: storage_pool_RP_operation + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + properties: + - propertyName: name(storage_pool_RP_operation_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(storage_pool_RP_operation_action_type^string) + cli: + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(storage_pool_operation_display^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(storage_pool_RP_operation_origin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: storage_pool_operation_display + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + properties: + - propertyName: provider(storage_pool_operation_display_provider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(storage_pool_operation_display_resource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(storage_pool_operation_display_operation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(storage_pool_operation_display_description^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: error + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: schemas$$objects['Error'] + properties: + - propertyName: error(error_response^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + - schemaName: error_response + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + properties: + - propertyName: code(error_response_code^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(error_response_message^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(error_response_target^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(error_response_details^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(error_response_additional_info^array) + cli: + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: error_additional_info + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + properties: + - propertyName: type(error_additional_info_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: disk_pool_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + properties: + - propertyName: value(disk_pool_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(disk_pool_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: disk_pool + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(disk_pool_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(disk_pool_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(disk_pool_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: sku + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + properties: + - propertyName: name(sku_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(sku_tier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + - schemaName: disk + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + properties: + - propertyName: id(disk_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + - schemaName: system_metadata + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + properties: + - propertyName: created_by(system_metadata_created_by^string) + cli: + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(created_by_type^choice) + cli: + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(system_metadata_last_modified_by^string) + cli: + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(created_by_type^choice) + cli: + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: tracked_resource + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + properties: + - propertyName: tags(tracked_resource_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(tracked_resource_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + properties: + - propertyName: id(resource_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(resource_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(resource_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: disk_pool_create + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + properties: + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(disk_pool_create_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(disk_pool_create_location^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(disk_pool_create_id^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(disk_pool_create_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(disk_pool_create_type^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(disk_pool_create_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: disk_pool_update + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + properties: + - propertyName: tags(disk_pool_update_tags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(disk_pool_update_properties_disks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: disk_pool_zone_list_result + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + properties: + - propertyName: value(disk_pool_zone_list_result_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(disk_pool_zone_list_result_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: disk_pool_zone_info + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + properties: + - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: outbound_environment_endpoint_list + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + properties: + - propertyName: value(outbound_environment_endpoint_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: outbound_environment_endpoint + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + properties: + - propertyName: category(outbound_environment_endpoint_category^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: endpoint_dependency + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + properties: + - propertyName: domain_name(endpoint_dependency_domain_name^string) + cli: + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) + cli: + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: endpoint_detail + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + properties: + - propertyName: ip_address(endpoint_detail_ip_address^string) + cli: + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: iscsi_target_list + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + properties: + - propertyName: value(iscsi_target_list_value^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(iscsi_target_list_next_link^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: iscsi_target + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + properties: + - propertyName: system_data(system_metadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(iscsi_target_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(provisioning_states^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(operational_status^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(iscsi_target_properties_endpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: acl + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + properties: + - propertyName: initiator_iqn(acl_initiator_iqn^string) + cli: + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(acl_mapped_luns^array) + cli: + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: iscsi_lun + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + properties: + - propertyName: name(iscsi_lun_name^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: iscsi_target_create + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + properties: + - propertyName: acl_mode(iscsi_target_acl_mode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_create_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: iscsi_target_update + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + properties: + - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(iscsi_target_update_properties_luns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: proxy_resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + choices: + all: + - choiceName: provisioning_states + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: operational_status + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated_ + cli: + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: created_by_type + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: iscsi_target_acl_mode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: disk_pool_tier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000230-namer-pre.yaml b/src/diskpool/_az_debug/clicommon-000230-namer-pre.yaml new file mode 100644 index 00000000000..827d4ad76fc --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000230-namer-pre.yaml @@ -0,0 +1,6829 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: string + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_name + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_action_type + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_provider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_resource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_display_description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_RP_operation_origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: storage_pool_operation_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_code + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_message + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_response_target + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: error_additional_info_type + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: string + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_name + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: sku_tier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: availability_zone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_id + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: additional_capability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_by + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_by + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: string + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: tracked_resource_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_name + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: resource_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: string + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: disk_pool_create_properties_subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: disk_pool_create_location + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_name + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_create_type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: disk_pool_zone_list_result_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_dependency_domain_name + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: endpoint_detail_ip_address + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: outbound_environment_endpoint_list_next_link + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: acl_mapped_luns_item + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_name + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_lun_managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_properties_endpoints_item + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_list_next_link + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: iscsi_target_create_properties_target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: provisioning_states + description: Provisioning state of the iSCSI Target. + cli: + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated_ + description: '' + cli: + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: operational_status + description: Operational status of the resource. + cli: + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: iscsi_target_acl_mode + description: ACL mode for iSCSI Target. + cli: + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: disk_pool_tier + description: SKU of the VM host part of the Disk Pool deployment + cli: + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: tracked_resource_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_create_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: disk_pool_update_tags + description: Resource tags. + cli: + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_display + description: Metadata about an operation. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_RP_operation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: storage_pool_operation_list_result_value + description: An array of operations supported by the StoragePool RP. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: storage_pool_operation_list_result + description: List of operations supported by the RP. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: error_response_details + description: The error details. + cli: + cli-complexity: array_complex + cli-in-circle: true + cli-mark: checked + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_additional_info + description: The resource management error additional info. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: error_response_additional_info + description: The error additional info. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error_response + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: error + description: The resource management error response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: system_metadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: acl_mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: iscsi_target_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_lun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: iscsi_target_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: iscsi_target_properties_endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: iscsi_target + description: Response for iSCSI Target requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_186 + schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - &ref_188 + schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - &ref_189 + schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_create_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_190 + schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_create_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_create + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_200 + schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: iscsi_target_update_properties_static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_202 + schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: iscsi_target_update_properties_luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: iscsi_target_update + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: proxy_resource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: resource + description: ARM resource model definition. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: tracked_resource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: disk_pool_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_properties_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: disk_pool + description: Response for Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: disk_pool_list_result_value + description: An array of Disk pool objects. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_list_result + description: List of Disk Pools + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: sku + description: Sku for ARM resource + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_120 + schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - &ref_122 + schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - &ref_123 + schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - &ref_124 + schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_create_properties_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - &ref_125 + schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_create_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - &ref_126 + schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - &ref_127 + schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_create_properties_additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: disk_pool_create + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_137 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_139 + schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - &ref_141 + schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: disk_pool_update_properties_disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: disk_pool_update + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_181 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: disk_pool_zone_info_availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: disk_pool_zone_info_additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_info + description: Disk Pool Sku Details + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: disk_pool_zone_list_result_value + description: The list of Disk Pool Skus. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: disk_pool_zone_list_result + description: List Disk Pool skus operation response. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_153 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_detail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: endpoint_dependency_endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: endpoint_dependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: outbound_environment_endpoint_list_value + description: Collection of resources. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: outbound_environment_endpoint_list + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_184 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: iscsi_target_list_value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: iscsi_target_list + description: List of iSCSI Targets. + namespace: '' + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + hidden: true + protocol: {} + language: + default: + name: operations + description: '' + cli: + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - &ref_177 + apiVersions: &ref_158 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_159 + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_160 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_161 + in: header + - &ref_119 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_128 + schema: *ref_59 + implementation: Method + originalParameter: *ref_119 + pathToProperty: &ref_121 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + protocol: {} + - &ref_129 + schema: *ref_60 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_130 + schema: *ref_61 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + protocol: {} + - &ref_131 + schema: *ref_87 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + protocol: {} + - &ref_132 + schema: *ref_88 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + positional: true + positionalKeys: &ref_142 + - id + protocol: {} + - &ref_133 + schema: *ref_65 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + protocol: {} + - &ref_134 + schema: *ref_89 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_164 + in: header + signatureParameters: + - *ref_128 + - *ref_129 + - *ref_130 + - *ref_131 + - *ref_132 + - *ref_133 + - *ref_134 + language: + default: + name: '' + description: '' + protocol: + http: &ref_172 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: &ref_175 + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_176 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_178 + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_179 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + split-operation-names: &ref_198 + - Create + - Update + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_145 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_146 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_138 + schema: *ref_137 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_143 + schema: *ref_66 + implementation: Method + originalParameter: *ref_138 + pathToProperty: &ref_140 [] + required: false + targetProperty: *ref_139 + extensions: + cli-flatten-origin: *ref_139 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_144 + schema: *ref_90 + implementation: Method + originalParameter: *ref_138 + pathToProperty: *ref_140 + targetProperty: *ref_141 + extensions: + cli-flatten-origin: *ref_141 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + cliKey: disks + positional: true + positionalKeys: *ref_142 + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_143 + - *ref_144 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_145 + - *ref_146 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_147 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_148 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_147 + - *ref_148 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_149 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_150 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_149 + - *ref_150 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_151 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_152 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_151 + - *ref_152 + responses: + - schema: *ref_153 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependencies_endpoints + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_154 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_155 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_154 + - *ref_155 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_156 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_157 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_156 + - *ref_157 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + - apiVersions: *ref_158 + parameters: + - *ref_108 + - *ref_113 + - &ref_173 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_159 + - &ref_174 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_160 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_161 + - &ref_162 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + protocol: + style: json + http: + in: body + - &ref_165 + schema: *ref_59 + implementation: Method + originalParameter: *ref_162 + pathToProperty: &ref_163 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + protocol: {} + - &ref_166 + schema: *ref_60 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + protocol: {} + - &ref_167 + schema: *ref_61 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + protocol: {} + - &ref_168 + schema: *ref_87 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + protocol: {} + - &ref_169 + schema: *ref_88 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + positional: true + positionalKeys: *ref_142 + protocol: {} + - &ref_170 + schema: *ref_65 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + protocol: {} + - &ref_171 + schema: *ref_89 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_164 + signatureParameters: + - *ref_165 + - *ref_166 + - *ref_167 + - *ref_168 + - *ref_169 + - *ref_170 + - *ref_171 + language: + default: + name: '' + description: '' + protocol: + http: *ref_172 + signatureParameters: + - *ref_173 + - *ref_174 + responses: *ref_175 + exceptions: *ref_176 + extensions: + cli-split-operation-original-operation: *ref_177 + x-ms-examples: *ref_178 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_179 + language: + default: + name: Create + description: Create Disk pool. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: disk_pools + description: '' + cli: + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_180 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_180 + responses: + - schema: *ref_181 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: disk_pool_zones + description: '' + cli: + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_182 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_183 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_182 + - *ref_183 + responses: + - schema: *ref_184 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - &ref_232 + apiVersions: &ref_214 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_195 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_215 + in: path + - &ref_196 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_216 + in: path + - &ref_197 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: &ref_217 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_218 + in: header + - &ref_185 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_191 + schema: *ref_28 + implementation: Method + originalParameter: *ref_185 + pathToProperty: &ref_187 [] + required: true + targetProperty: *ref_186 + extensions: + cli-flatten-origin: *ref_186 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + protocol: {} + - &ref_192 + schema: *ref_38 + implementation: Method + originalParameter: *ref_185 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + protocol: {} + - &ref_193 + schema: *ref_102 + implementation: Method + originalParameter: *ref_185 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_194 + schema: *ref_103 + implementation: Method + originalParameter: *ref_185 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_190 + extensions: + cli-flatten-origin: *ref_190 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_221 + in: header + signatureParameters: + - *ref_191 + - *ref_192 + - *ref_193 + - *ref_194 + language: + default: + name: '' + description: '' + protocol: + http: &ref_226 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_195 + - *ref_196 + - *ref_197 + responses: &ref_230 + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_231 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_233 + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_234 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + split-operation-names: *ref_198 + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_205 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_206 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_207 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_199 + schema: *ref_43 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_203 + schema: *ref_104 + implementation: Method + originalParameter: *ref_199 + pathToProperty: &ref_201 [] + targetProperty: *ref_200 + extensions: + cli-flatten-origin: *ref_200 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_204 + schema: *ref_105 + implementation: Method + originalParameter: *ref_199 + pathToProperty: *ref_201 + targetProperty: *ref_202 + extensions: + cli-flatten-origin: *ref_202 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_203 + - *ref_204 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_205 + - *ref_206 + - *ref_207 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_208 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_209 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_210 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_208 + - *ref_209 + - *ref_210 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_211 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_212 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_213 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_211 + - *ref_212 + - *ref_213 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + - apiVersions: *ref_214 + parameters: + - *ref_108 + - *ref_113 + - &ref_227 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + cliKey: resourceGroupName + protocol: + http: *ref_215 + - &ref_228 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + cliKey: diskPoolName + protocol: + http: *ref_216 + - &ref_229 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + cliKey: iscsiTargetName + protocol: + http: *ref_217 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + cliKey: content-type + protocol: + http: *ref_218 + - &ref_219 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + protocol: + style: json + http: + in: body + - &ref_222 + schema: *ref_28 + implementation: Method + originalParameter: *ref_219 + pathToProperty: &ref_220 [] + required: true + targetProperty: *ref_186 + extensions: + cli-flatten-origin: *ref_186 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + protocol: {} + - &ref_223 + schema: *ref_38 + implementation: Method + originalParameter: *ref_219 + pathToProperty: *ref_220 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + protocol: {} + - &ref_224 + schema: *ref_102 + implementation: Method + originalParameter: *ref_219 + pathToProperty: *ref_220 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + protocol: {} + - &ref_225 + schema: *ref_103 + implementation: Method + originalParameter: *ref_219 + pathToProperty: *ref_220 + required: false + targetProperty: *ref_190 + extensions: + cli-flatten-origin: *ref_190 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + cliKey: accept + protocol: + http: *ref_221 + signatureParameters: + - *ref_222 + - *ref_223 + - *ref_224 + - *ref_225 + language: + default: + name: '' + description: '' + protocol: + http: *ref_226 + signatureParameters: + - *ref_227 + - *ref_228 + - *ref_229 + responses: *ref_230 + exceptions: *ref_231 + extensions: + cli-split-operation-original-operation: *ref_232 + x-ms-examples: *ref_233 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_234 + language: + default: + name: Create + description: Create an iSCSI Target. + cli: + cliKey: 'CreateOrUpdate#Create' + protocol: {} + language: + default: + name: iscsi_targets + description: '' + cli: + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +language: + default: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000240-namer-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000240-namer-post-simplified.yaml new file mode 100644 index 00000000000..bfe0e3f9c30 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000240-namer-post-simplified.yaml @@ -0,0 +1,2086 @@ +operationGroups: + all: + - operationGroupName: Operation + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + cliPath: operationGroups['Operations'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + hidden: true + name: List + cliPath: operationGroups['Operations']$$operations['List'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + name: ApiVersion + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + name: Accept + cliPath: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: DiskPool + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + cliPath: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + name: ListBySubscription + cliPath: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + name: subscriptionId + cliPath: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + name: ApiVersion + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + name: Accept + cliPath: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + name: ListByResourceGroup + cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + name: subscriptionId + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + name: resourceGroupName + cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + name: ApiVersion + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + name: Accept + cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + name: CreateOrUpdate + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + name: subscriptionId + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + name: resourceGroupName + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + name: diskPoolName + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + name: ApiVersion + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + name: ContentType + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(DiskPoolCreate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: DiskPoolCreate + - parameterName[0]: sku(Sku^object) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['sku'] + - parameterName[0]: tags(DiskPoolCreateTags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['tags'] + - parameterName[0]: location(DiskPoolCreateLocation^string) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['location'] + - parameterName[0]: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + name: availabilityZones + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['availabilityZones'] + - parameterName[0]: disks(DiskPoolCreatePropertiesDisks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + positional: true + positionalKeys: + - id + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['disks'] + - parameterName[0]: subnet_id(DiskPoolCreatePropertiesSubnetId^string) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + name: subnetId + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['subnetId'] + - parameterName[0]: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + name: additionalCapabilities + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['additionalCapabilities'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + name: Accept + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + name: Update + cliPath: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + name: subscriptionId + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + name: resourceGroupName + cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + name: diskPoolName + cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + name: ApiVersion + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + name: ContentType + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(DiskPoolUpdate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + bodySchema: DiskPoolUpdate + - parameterName[0]: tags(DiskPoolUpdateTags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['tags'] + cliKey: tags + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['tags'] + - parameterName[0]: disks(DiskPoolUpdatePropertiesDisks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['disks'] + cliKey: disks + positional: true + positionalKeys: + - id + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['disks'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + name: Accept + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + name: Delete + cliPath: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + name: subscriptionId + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + name: resourceGroupName + cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + name: diskPoolName + cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + name: ApiVersion + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + name: Accept + cliPath: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + name: Get + cliPath: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + name: subscriptionId + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + name: resourceGroupName + cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + name: diskPoolName + cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + name: ApiVersion + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + name: Accept + cliPath: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependency_endpoint + cli: + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + name: ListOutboundNetworkDependencyEndpoint + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + name: subscriptionId + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + name: resourceGroupName + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + name: diskPoolName + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + name: ApiVersion + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + name: Accept + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + name: Start + cliPath: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + name: subscriptionId + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + name: resourceGroupName + cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + name: diskPoolName + cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + name: ApiVersion + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + name: Accept + cliPath: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + name: Deallocate + cliPath: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + name: subscriptionId + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + name: resourceGroupName + cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + name: diskPoolName + cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + name: ApiVersion + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + name: Accept + cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationName: create + cli: + cliKey: CreateOrUpdate#Create + name: Create + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create'] + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + name: subscriptionId + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + name: resourceGroupName + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + name: diskPoolName + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + name: ApiVersion + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + name: ContentType + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(DiskPoolCreate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: DiskPoolCreate + - parameterName[0]: sku(Sku^object) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['sku'] + - parameterName[0]: tags(DiskPoolCreateTags^dictionary) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['tags'] + - parameterName[0]: location(DiskPoolCreateLocation^string) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['location'] + - parameterName[0]: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + name: availabilityZones + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['availabilityZones'] + - parameterName[0]: disks(DiskPoolCreatePropertiesDisks^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + positional: true + positionalKeys: + - id + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['disks'] + - parameterName[0]: subnet_id(DiskPoolCreatePropertiesSubnetId^string) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + name: subnetId + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['subnetId'] + - parameterName[0]: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + name: additionalCapabilities + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['additionalCapabilities'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + name: Accept + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['accept'] + - operationGroupName: DiskPoolZone + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + cliPath: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + name: List + cliPath: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + name: ApiVersion + cliPath: globalParameters['ApiVersion'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + name: subscriptionId + cliPath: globalParameters['subscriptionId'] + - parameterName: location(String^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + cliPath: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + name: Accept + cliPath: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: IscsiTarget + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + cliPath: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + name: ListByDiskPool + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + name: subscriptionId + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + name: resourceGroupName + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + name: diskPoolName + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + name: ApiVersion + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + name: Accept + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + name: CreateOrUpdate + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + name: subscriptionId + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + name: resourceGroupName + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + name: diskPoolName + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + name: iscsiTargetName + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + name: ApiVersion + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + name: ContentType + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(IscsiTargetCreate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: IscsiTargetCreate + - parameterName[0]: acl_mode(IscsiTargetAclMode^choice) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + name: aclMode + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['aclMode'] + - parameterName[0]: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + name: targetIqn + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['targetIqn'] + - parameterName[0]: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + name: staticAcls + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['staticAcls'] + - parameterName[0]: luns(IscsiTargetCreatePropertiesLuns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['luns'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + name: Accept + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + name: Update + cliPath: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + name: subscriptionId + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + name: resourceGroupName + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + name: diskPoolName + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + name: iscsiTargetName + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + name: ApiVersion + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + name: ContentType + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(IscsiTargetUpdate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + bodySchema: IscsiTargetUpdate + - parameterName[0]: static_acls(IscsiTargetUpdatePropertiesStaticAcls^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + cliKey: staticAcls + name: staticAcls + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['staticAcls'] + - parameterName[0]: luns(IscsiTargetUpdatePropertiesLuns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + cliKey: luns + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['luns'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + name: Accept + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + name: Delete + cliPath: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + name: subscriptionId + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + name: resourceGroupName + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + name: diskPoolName + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + name: iscsiTargetName + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + name: ApiVersion + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + name: Accept + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + name: Get + cliPath: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + name: subscriptionId + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + name: resourceGroupName + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + name: diskPoolName + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + name: iscsiTargetName + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + name: ApiVersion + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + name: Accept + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: create + cli: + cliKey: CreateOrUpdate#Create + name: Create + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create'] + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + name: subscriptionId + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + cliKey: resourceGroupName + name: resourceGroupName + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + cliKey: diskPoolName + name: diskPoolName + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + cliKey: iscsiTargetName + name: iscsiTargetName + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + name: ApiVersion + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + cliKey: content-type + name: ContentType + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(IscsiTargetCreate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: IscsiTargetCreate + - parameterName[0]: acl_mode(IscsiTargetAclMode^choice) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + name: aclMode + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['aclMode'] + - parameterName[0]: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + name: targetIqn + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['targetIqn'] + - parameterName[0]: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + name: staticAcls + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['staticAcls'] + - parameterName[0]: luns(IscsiTargetCreatePropertiesLuns^array) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['luns'] + - parameterName[0]: accept(accept^constant) + cli: + cliKey: accept + name: Accept + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['accept'] +schemas: + objects: + all: + - schemaName: StoragePoolOperationListResult + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + cliPath: schemas$$objects['StoragePoolOperationListResult'] + properties: + - propertyName: value(StoragePoolOperationListResultValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(StoragePoolOperationListResultNextLink^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + name: nextLink + cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: StoragePoolRPOperation + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + cliPath: schemas$$objects['StoragePoolRPOperation'] + properties: + - propertyName: name(StoragePoolRPOperationName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + name: isDataAction + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(StoragePoolRPOperationActionType^string) + cli: + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + name: actionType + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(StoragePoolOperationDisplay^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(StoragePoolRPOperationOrigin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: StoragePoolOperationDisplay + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + cliPath: schemas$$objects['StoragePoolOperationDisplay'] + properties: + - propertyName: provider(StoragePoolOperationDisplayProvider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(StoragePoolOperationDisplayResource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(StoragePoolOperationDisplayOperation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(StoragePoolOperationDisplayDescription^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: Error + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: schemas$$objects['Error'] + cliPath: schemas$$objects['Error'] + properties: + - propertyName: error(ErrorResponse^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + cliPath: schemas$$objects['Error']$$properties['error'] + - schemaName: ErrorResponse + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + cliPath: schemas$$objects['ErrorResponse'] + properties: + - propertyName: code(ErrorResponseCode^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + cliPath: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(ErrorResponseMessage^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + cliPath: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(ErrorResponseTarget^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + cliPath: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(ErrorResponseDetails^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + cliPath: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(ErrorResponseAdditionalInfo^array) + cli: + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + name: additionalInfo + cliPath: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: ErrorAdditionalInfo + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + cliPath: schemas$$objects['ErrorAdditionalInfo'] + properties: + - propertyName: type(ErrorAdditionalInfoType^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: DiskPoolListResult + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + cliPath: schemas$$objects['DiskPoolListResult'] + properties: + - propertyName: value(DiskPoolListResultValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + cliPath: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(DiskPoolListResultNextLink^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + name: nextLink + cliPath: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: DiskPool + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + cliPath: schemas$$objects['DiskPool'] + properties: + - propertyName: system_data(SystemMetadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + name: systemData + cliPath: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(ProvisioningStates^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + name: provisioningState + cliPath: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(DiskPoolPropertiesAvailabilityZones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + name: availabilityZones + cliPath: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(OperationalStatus^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + cliPath: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(DiskPoolPropertiesDisks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + cliPath: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(DiskPoolPropertiesSubnetId^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + name: subnetId + cliPath: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(DiskPoolPropertiesAdditionalCapabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + name: additionalCapabilities + cliPath: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(SkuName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + name: nameSkuName + cliPath: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(SkuTier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + cliPath: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: Sku + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + cliPath: schemas$$objects['Sku'] + properties: + - propertyName: name(SkuName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + cliPath: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(SkuTier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + cliPath: schemas$$objects['Sku']$$properties['tier'] + - schemaName: Disk + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + cliPath: schemas$$objects['Disk'] + properties: + - propertyName: id(DiskId^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + cliPath: schemas$$objects['Disk']$$properties['id'] + - schemaName: SystemMetadata + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + cliPath: schemas$$objects['SystemMetadata'] + properties: + - propertyName: created_by(SystemMetadataCreatedBy^string) + cli: + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + name: createdBy + cliPath: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(CreatedByType^choice) + cli: + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + name: createdByType + cliPath: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + name: createdAt + cliPath: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(SystemMetadataLastModifiedBy^string) + cli: + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + name: lastModifiedBy + cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(CreatedByType^choice) + cli: + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + name: lastModifiedByType + cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + name: lastModifiedAt + cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: TrackedResource + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + cliPath: schemas$$objects['TrackedResource'] + properties: + - propertyName: tags(TrackedResourceTags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + cliPath: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(TrackedResourceLocation^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + cliPath: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: Resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + cliPath: schemas$$objects['Resource'] + properties: + - propertyName: id(ResourceId^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + cliPath: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(ResourceName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + cliPath: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(ResourceType^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + cliPath: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: DiskPoolCreate + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + cliPath: schemas$$objects['DiskPoolCreate'] + properties: + - propertyName: sku(Sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(DiskPoolCreateTags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(DiskPoolCreateLocation^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(DiskPoolCreateId^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(DiskPoolCreateName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(DiskPoolCreateType^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + name: availabilityZones + cliPath: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(DiskPoolCreatePropertiesDisks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(DiskPoolCreatePropertiesSubnetId^string) + cli: + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + name: subnetId + cliPath: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + name: additionalCapabilities + cliPath: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: DiskPoolUpdate + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + cliPath: schemas$$objects['DiskPoolUpdate'] + properties: + - propertyName: tags(DiskPoolUpdateTags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + cliPath: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(DiskPoolUpdatePropertiesDisks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + cliPath: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: DiskPoolZoneListResult + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + cliPath: schemas$$objects['DiskPoolZoneListResult'] + properties: + - propertyName: value(DiskPoolZoneListResultValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(DiskPoolZoneListResultNextLink^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + name: nextLink + cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: DiskPoolZoneInfo + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + cliPath: schemas$$objects['DiskPoolZoneInfo'] + properties: + - propertyName: availability_zones(DiskPoolZoneInfoAvailabilityZones^array) + cli: + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + name: availabilityZones + cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(DiskPoolZoneInfoAdditionalCapabilities^array) + cli: + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + name: additionalCapabilities + cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(Sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: OutboundEnvironmentEndpointList + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + cliPath: schemas$$objects['OutboundEnvironmentEndpointList'] + properties: + - propertyName: value(OutboundEnvironmentEndpointListValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(OutboundEnvironmentEndpointListNextLink^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + name: nextLink + cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: OutboundEnvironmentEndpoint + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + cliPath: schemas$$objects['OutboundEnvironmentEndpoint'] + properties: + - propertyName: category(OutboundEnvironmentEndpointCategory^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(OutboundEnvironmentEndpointEndpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: EndpointDependency + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + cliPath: schemas$$objects['EndpointDependency'] + properties: + - propertyName: domain_name(EndpointDependencyDomainName^string) + cli: + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + name: domainName + cliPath: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(EndpointDependencyEndpointDetails^array) + cli: + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + name: endpointDetails + cliPath: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: EndpointDetail + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + cliPath: schemas$$objects['EndpointDetail'] + properties: + - propertyName: ip_address(EndpointDetailIpAddress^string) + cli: + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + name: ipAddress + cliPath: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(Integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + cliPath: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(Number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + cliPath: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + name: isAccessible + cliPath: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: IscsiTargetList + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + cliPath: schemas$$objects['IscsiTargetList'] + properties: + - propertyName: value(IscsiTargetListValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + cliPath: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(IscsiTargetListNextLink^string) + cli: + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + name: nextLink + cliPath: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: IscsiTarget + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + cliPath: schemas$$objects['IscsiTarget'] + properties: + - propertyName: system_data(SystemMetadata^object) + cli: + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + name: systemData + cliPath: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(IscsiTargetAclMode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + name: aclMode + cliPath: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(IscsiTargetPropertiesStaticAcls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + name: staticAcls + cliPath: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(IscsiTargetPropertiesLuns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + cliPath: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(IscsiTargetPropertiesTargetIqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + name: targetIqn + cliPath: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(ProvisioningStates^choice) + cli: + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + name: provisioningState + cliPath: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(OperationalStatus^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + cliPath: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(IscsiTargetPropertiesEndpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + cliPath: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(Integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + cliPath: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: Acl + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + cliPath: schemas$$objects['Acl'] + properties: + - propertyName: initiator_iqn(AclInitiatorIqn^string) + cli: + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + name: initiatorIqn + cliPath: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(AclMappedLuns^array) + cli: + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + name: mappedLuns + cliPath: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: IscsiLun + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + cliPath: schemas$$objects['IscsiLun'] + properties: + - propertyName: name(IscsiLunName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + cliPath: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(IscsiLunManagedDiskAzureResourceId^string) + cli: + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + name: managedDiskAzureResourceId + cliPath: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: IscsiTargetCreate + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + cliPath: schemas$$objects['IscsiTargetCreate'] + properties: + - propertyName: acl_mode(IscsiTargetAclMode^choice) + cli: + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + name: aclMode + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) + cli: + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + name: targetIqn + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + name: staticAcls + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(IscsiTargetCreatePropertiesLuns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: IscsiTargetUpdate + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + cliPath: schemas$$objects['IscsiTargetUpdate'] + properties: + - propertyName: static_acls(IscsiTargetUpdatePropertiesStaticAcls^array) + cli: + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + name: staticAcls + cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(IscsiTargetUpdatePropertiesLuns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: ProxyResource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + cliPath: schemas$$objects['ProxyResource'] + choices: + all: + - choiceName: ProvisioningStates + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + cliPath: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + name: Invalid + cliPath: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + name: Succeeded + cliPath: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + name: Failed + cliPath: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + name: Canceled + cliPath: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + name: Pending + cliPath: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + name: Creating + cliPath: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + name: Updating + cliPath: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + name: Deleting + cliPath: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: OperationalStatus + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + cliPath: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + name: Invalid + cliPath: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + name: Unknown + cliPath: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + name: Healthy + cliPath: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + name: Unhealthy + cliPath: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + name: Updating + cliPath: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + name: Running + cliPath: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + name: Stopped + cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated__ + cli: + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + name: StoppedDeallocated_ + cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: CreatedByType + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + cliPath: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + name: User + cliPath: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + name: Application + cliPath: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + name: ManagedIdentity + cliPath: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + name: Key + cliPath: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: IscsiTargetAclMode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + cliPath: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + name: Dynamic + cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + name: Static + cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: DiskPoolTier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + cliPath: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + name: Basic + cliPath: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + name: Standard + cliPath: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' + name: Premium + cliPath: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000240-namer-post.yaml b/src/diskpool/_az_debug/clicommon-000240-namer-post.yaml new file mode 100644 index 00000000000..08e9fa85efc --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000240-namer-post.yaml @@ -0,0 +1,7847 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: Integer + description: The port an endpoint is connected to. + cli: + name: Integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: Number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + name: Number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: Integer + description: The port used by iSCSI Target portal group. + cli: + name: Integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: String + description: simple string + cli: + name: String + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRPOperationName + description: The name of the operation being performed on this particular object + cli: + name: StoragePoolRPOperationName + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRPOperationActionType + description: Indicates the action type. + cli: + name: StoragePoolRPOperationActionType + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayProvider + description: Localized friendly form of the resource provider name. + cli: + name: StoragePoolOperationDisplayProvider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayResource + description: Localized friendly form of the resource type related to this action/operation. + cli: + name: StoragePoolOperationDisplayResource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayOperation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + name: StoragePoolOperationDisplayOperation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayDescription + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + name: StoragePoolOperationDisplayDescription + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRPOperationOrigin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + name: StoragePoolRPOperationOrigin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationListResultNextLink + description: URI to fetch the next section of the paginated response. + cli: + name: StoragePoolOperationListResultNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponseCode + description: The error code. + cli: + name: ErrorResponseCode + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponseMessage + description: The error message. + cli: + name: ErrorResponseMessage + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponseTarget + description: The error target. + cli: + name: ErrorResponseTarget + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorAdditionalInfoType + description: The additional info type. + cli: + name: ErrorAdditionalInfoType + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: String + description: '' + cli: + name: String + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SkuName + description: Sku name + cli: + name: SkuName + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SkuTier + description: Sku tier + cli: + name: SkuTier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AvailabilityZone + description: Availability zone. + cli: + name: AvailabilityZone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskId + description: Unique Azure Resource ID of the Managed Disk. + cli: + name: DiskId + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: DiskPoolPropertiesSubnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: DiskPoolPropertiesSubnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AdditionalCapability + description: Special capability that can be set on the Disk Pool. + cli: + name: AdditionalCapability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SystemMetadataCreatedBy + description: The identity that created the resource. + cli: + name: SystemMetadataCreatedBy + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SystemMetadataLastModifiedBy + description: The identity that last modified the resource. + cli: + name: SystemMetadataLastModifiedBy + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: String + description: '' + cli: + name: String + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: TrackedResourceLocation + description: The geo-location where the resource lives. + cli: + name: TrackedResourceLocation + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ResourceId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + name: ResourceId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ResourceName + description: The name of the resource + cli: + name: ResourceName + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ResourceType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + name: ResourceType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolListResultNextLink + description: URI to fetch the next section of the paginated response. + cli: + name: DiskPoolListResultNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: String + description: '' + cli: + name: String + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: DiskPoolCreatePropertiesSubnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: DiskPoolCreatePropertiesSubnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: DiskPoolCreateLocation + description: The geo-location where the resource lives. + cli: + name: DiskPoolCreateLocation + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreateId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + name: DiskPoolCreateId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreateName + description: The name of the resource + cli: + name: DiskPoolCreateName + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreateType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + name: DiskPoolCreateType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolZoneListResultNextLink + description: URI to fetch the next section of the paginated response. + cli: + name: DiskPoolZoneListResultNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: OutboundEnvironmentEndpointCategory + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + name: OutboundEnvironmentEndpointCategory + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: EndpointDependencyDomainName + description: The domain name of the dependency. + cli: + name: EndpointDependencyDomainName + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: EndpointDetailIpAddress + description: An IP Address that Domain Name currently resolves to. + cli: + name: EndpointDetailIpAddress + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: OutboundEnvironmentEndpointListNextLink + description: Link to next page of resources. + cli: + name: OutboundEnvironmentEndpointListNextLink + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AclInitiatorIqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + name: AclInitiatorIqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AclMappedLunsItem + description: '' + cli: + name: AclMappedLunsItem + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiLunName + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + name: IscsiLunName + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiLunManagedDiskAzureResourceId + description: Azure Resource ID of the Managed Disk. + cli: + name: IscsiLunManagedDiskAzureResourceId + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetPropertiesTargetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: IscsiTargetPropertiesTargetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetPropertiesEndpointsItem + description: '' + cli: + name: IscsiTargetPropertiesEndpointsItem + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetListNextLink + description: URI to fetch the next section of the paginated response. + cli: + name: IscsiTargetListNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetCreatePropertiesTargetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: IscsiTargetCreatePropertiesTargetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + name: Invalid + description: '' + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + name: Succeeded + description: '' + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + name: Failed + description: '' + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + name: Canceled + description: '' + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + name: Pending + description: '' + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + name: Creating + description: '' + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + name: Updating + description: '' + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + name: Deleting + description: '' + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: ProvisioningStates + description: Provisioning state of the iSCSI Target. + cli: + name: ProvisioningStates + description: Provisioning state of the iSCSI Target. + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + cliPath: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + name: Invalid + description: '' + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + name: Unknown + description: '' + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + name: Healthy + description: '' + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + name: Unhealthy + description: '' + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + name: Updating + description: '' + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + name: Running + description: '' + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + name: Stopped + description: '' + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated__ + description: '' + cli: + name: StoppedDeallocated_ + description: '' + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: OperationalStatus + description: Operational status of the resource. + cli: + name: OperationalStatus + description: Operational status of the resource. + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + cliPath: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + name: User + description: '' + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + name: Application + description: '' + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + name: ManagedIdentity + description: '' + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + name: Key + description: '' + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: CreatedByType + description: The type of identity that created the resource. + cli: + name: CreatedByType + description: The type of identity that created the resource. + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + cliPath: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + name: Dynamic + description: '' + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + name: Static + description: '' + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: IscsiTargetAclMode + description: ACL mode for iSCSI Target. + cli: + name: IscsiTargetAclMode + description: ACL mode for iSCSI Target. + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + cliPath: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + name: Basic + description: '' + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + name: Standard + description: '' + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + name: Premium + description: '' + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: DiskPoolTier + description: SKU of the VM host part of the Disk Pool deployment + cli: + name: DiskPoolTier + description: SKU of the VM host part of the Disk Pool deployment + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + cliPath: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + cli: + name: ApiVersion20210401Preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + cli: + name: Accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + cli: + name: ApplicationJson + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: TrackedResourceTags + description: Resource tags. + cli: + name: TrackedResourceTags + description: Resource tags. + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: DiskPoolCreateTags + description: Resource tags. + cli: + name: DiskPoolCreateTags + description: Resource tags. + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: DiskPoolUpdateTags + description: Resource tags. + cli: + name: DiskPoolUpdateTags + description: Resource tags. + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + name: name + description: The name of the operation being performed on this particular object + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + name: isDataAction + description: Indicates whether the operation applies to data-plane. + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + name: actionType + description: Indicates the action type. + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + name: provider + description: Localized friendly form of the resource provider name. + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolOperationDisplay + description: Metadata about an operation. + namespace: '' + cli: + name: StoragePoolOperationDisplay + description: Metadata about an operation. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + name: display + description: Additional metadata about RP operation. + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolRPOperation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + name: StoragePoolRPOperation + description: Description of a StoragePool RP Operation + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: StoragePoolOperationListResultValue + description: An array of operations supported by the StoragePool RP. + cli: + name: StoragePoolOperationListResultValue + description: An array of operations supported by the StoragePool RP. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + name: value + description: An array of operations supported by the StoragePool RP. + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + name: nextLink + description: URI to fetch the next section of the paginated response. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolOperationListResult + description: List of operations supported by the RP. + namespace: '' + cli: + name: StoragePoolOperationListResult + description: List of operations supported by the RP. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + name: code + description: The error code. + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + name: message + description: The error message. + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + name: target + description: The error target. + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: ErrorResponseDetails + description: The error details. + cli: + name: ErrorResponseDetails + description: The error details. + cli-complexity: array_complex + cli-in-circle: true + cli-mark: checked + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + name: details + description: The error details. + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + name: type + description: The additional info type. + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + name: info + description: The additional info. + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: ErrorAdditionalInfo + description: The resource management error additional info. + namespace: '' + cli: + name: ErrorAdditionalInfo + description: The resource management error additional info. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: ErrorResponseAdditionalInfo + description: The error additional info. + cli: + name: ErrorResponseAdditionalInfo + description: The error additional info. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + name: additionalInfo + description: The error additional info. + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: ErrorResponse + description: The resource management error response. + namespace: '' + cli: + name: ErrorResponse + description: The resource management error response. + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + cliPath: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + name: error + description: RP error response. + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + cliPath: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: Error + description: The resource management error response. + namespace: '' + cli: + name: Error + description: The resource management error response. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + cliPath: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + name: createdBy + description: The identity that created the resource. + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + name: createdByType + description: The type of identity that created the resource. + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + name: createdAt + description: The timestamp of resource creation (UTC). + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + name: lastModifiedBy + description: The identity that last modified the resource. + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + name: lastModifiedByType + description: The type of identity that last modified the resource. + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + name: lastModifiedAt + description: The type of identity that last modified the resource. + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: SystemMetadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + name: SystemMetadata + description: Metadata pertaining to creation and last modification of the resource. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + cliPath: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + name: systemData + description: Resource metadata required by ARM RPC + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + name: aclMode + description: Mode for Target connectivity. + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + name: initiatorIqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + cliPath: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: AclMappedLuns + description: List of LUN names mapped to the ACL. + cli: + name: AclMappedLuns + description: List of LUN names mapped to the ACL. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + name: mappedLuns + description: List of LUN names mapped to the ACL. + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + cliPath: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: Acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + name: Acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + cliPath: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: IscsiTargetPropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: IscsiTargetPropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + name: managedDiskAzureResourceId + description: Azure Resource ID of the Managed Disk. + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: IscsiLun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + name: IscsiLun + description: LUN to expose the Azure Managed Disk. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + cliPath: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: IscsiTargetPropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: IscsiTargetPropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + name: provisioningState + description: State of the operation on the resource. + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + name: status + description: Operational status of the iSCSI Target. + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: IscsiTargetPropertiesEndpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + name: IscsiTargetPropertiesEndpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + name: port + description: The port used by iSCSI Target portal group. + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: IscsiTarget + description: Response for iSCSI Target requests. + namespace: '' + cli: + name: IscsiTarget + description: Response for iSCSI Target requests. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + cliPath: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_186 + schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + name: aclMode + description: Mode for Target connectivity. + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - &ref_188 + schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - &ref_189 + schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: IscsiTargetCreatePropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: IscsiTargetCreatePropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_190 + schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: IscsiTargetCreatePropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: IscsiTargetCreatePropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: IscsiTargetCreate + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + name: IscsiTargetCreate + description: Payload for iSCSI Target create or update requests. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_200 + schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: IscsiTargetUpdatePropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: IscsiTargetUpdatePropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_202 + schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: IscsiTargetUpdatePropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: IscsiTargetUpdatePropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: IscsiTargetUpdate + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + name: IscsiTargetUpdate + description: Payload for iSCSI Target update requests. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + cliPath: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: ProxyResource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + name: ProxyResource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + cliPath: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + cliPath: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + name: name + description: The name of the resource + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + cliPath: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + cliPath: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: Resource + description: ARM resource model definition. + namespace: '' + cli: + name: Resource + description: ARM resource model definition. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + cliPath: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + name: location + description: The geo-location where the resource lives. + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: TrackedResource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + name: TrackedResource + description: The resource model definition for a ARM tracked top level resource. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + cliPath: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + name: systemData + description: Resource metadata required by ARM RPC + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + name: provisioningState + description: State of the operation on the resource. + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: DiskPoolPropertiesAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: DiskPoolPropertiesAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + name: status + description: Operational status of the Disk Pool. + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + cliPath: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: Disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + name: Disk + description: Azure Managed Disk to attach to the Disk Pool. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + cliPath: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: DiskPoolPropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: DiskPoolPropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: DiskPoolPropertiesAdditionalCapabilities + description: List of additional capabilities for Disk Pool. + cli: + name: DiskPoolPropertiesAdditionalCapabilities + description: List of additional capabilities for Disk Pool. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for Disk Pool. + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + name: nameSkuName + description: Sku name + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + name: tier + description: Sku tier + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: DiskPool + description: Response for Disk Pool request. + namespace: '' + cli: + name: DiskPool + description: Response for Disk Pool request. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + cliPath: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: DiskPoolListResultValue + description: An array of Disk pool objects. + cli: + name: DiskPoolListResultValue + description: An array of Disk pool objects. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + name: value + description: An array of Disk pool objects. + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + name: nextLink + description: URI to fetch the next section of the paginated response. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolListResult + description: List of Disk Pools + namespace: '' + cli: + name: DiskPoolListResult + description: List of Disk Pools + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + cliPath: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + name: name + description: Sku name + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + cliPath: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + name: tier + description: Sku tier + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + cliPath: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: Sku + description: Sku for ARM resource + namespace: '' + cli: + name: Sku + description: Sku for ARM resource + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + cliPath: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_120 + schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + name: sku + description: Determines the SKU of the Disk Pool + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - &ref_122 + schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - &ref_123 + schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + name: location + description: The geo-location where the resource lives. + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + name: name + description: The name of the resource + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - &ref_124 + schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: DiskPoolCreatePropertiesAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: DiskPoolCreatePropertiesAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - &ref_125 + schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: DiskPoolCreatePropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: DiskPoolCreatePropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - &ref_126 + schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - &ref_127 + schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: DiskPoolCreatePropertiesAdditionalCapabilities + description: List of additional capabilities for a Disk Pool. + cli: + name: DiskPoolCreatePropertiesAdditionalCapabilities + description: List of additional capabilities for a Disk Pool. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for a Disk Pool. + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: DiskPoolCreate + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + name: DiskPoolCreate + description: Request payload for create or update Disk Pool request. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_137 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_139 + schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - &ref_141 + schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: DiskPoolUpdatePropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: DiskPoolUpdatePropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: DiskPoolUpdate + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + name: DiskPoolUpdate + description: Request payload for Update Disk Pool request. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + cliPath: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_181 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: DiskPoolZoneInfoAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: DiskPoolZoneInfoAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: DiskPoolZoneInfoAdditionalCapabilities + description: List of additional capabilities for Disk Pool. + cli: + name: DiskPoolZoneInfoAdditionalCapabilities + description: List of additional capabilities for Disk Pool. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for Disk Pool. + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolZoneInfo + description: Disk Pool Sku Details + namespace: '' + cli: + name: DiskPoolZoneInfo + description: Disk Pool Sku Details + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: DiskPoolZoneListResultValue + description: The list of Disk Pool Skus. + cli: + name: DiskPoolZoneListResultValue + description: The list of Disk Pool Skus. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + name: value + description: The list of Disk Pool Skus. + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + name: nextLink + description: URI to fetch the next section of the paginated response. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolZoneListResult + description: List Disk Pool skus operation response. + namespace: '' + cli: + name: DiskPoolZoneListResult + description: List Disk Pool skus operation response. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_153 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + name: domainName + description: The domain name of the dependency. + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + name: ipAddress + description: An IP Address that Domain Name currently resolves to. + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + name: port + description: The port an endpoint is connected to. + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + name: isAccessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: EndpointDetail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + name: EndpointDetail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + cliPath: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: EndpointDependencyEndpointDetails + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + name: EndpointDependencyEndpointDetails + description: The IP Addresses and Ports used when connecting to DomainName. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + name: endpointDetails + description: The IP Addresses and Ports used when connecting to DomainName. + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: EndpointDependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + name: EndpointDependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + cliPath: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: OutboundEnvironmentEndpointEndpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + name: OutboundEnvironmentEndpointEndpoints + description: The endpoints that the App Service Environment reaches the service at. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: OutboundEnvironmentEndpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + name: OutboundEnvironmentEndpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: OutboundEnvironmentEndpointListValue + description: Collection of resources. + cli: + name: OutboundEnvironmentEndpointListValue + description: Collection of resources. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + name: value + description: Collection of resources. + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + name: nextLink + description: Link to next page of resources. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: OutboundEnvironmentEndpointList + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + name: OutboundEnvironmentEndpointList + description: Collection of Outbound Environment Endpoints + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_184 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: IscsiTargetListValue + description: An array of iSCSI Targets in a Disk Pool. + cli: + name: IscsiTargetListValue + description: An array of iSCSI Targets in a Disk Pool. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + name: nextLink + description: URI to fetch the next section of the paginated response. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: IscsiTargetList + description: List of iSCSI Targets. + namespace: '' + cli: + name: IscsiTargetList + description: List of iSCSI Targets. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + cliPath: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + name: subscriptionId + description: The ID of the target subscription. + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + cliPath: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + name: $host + description: server parameter + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + cliPath: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + name: ApiVersion + description: Api Version + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + cliPath: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + name: List + description: Gets a list of StoragePool operations. + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + cliPath: 'operationGroups[''Operations'']$$operations[''List'']' + hidden: true + protocol: {} + language: + default: + name: Operation + description: '' + cli: + name: Operation + description: '' + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + cliPath: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + name: ListBySubscription + description: Gets a list of Disk Pools in a subscription + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + name: ListByResourceGroup + description: Gets a list of DiskPools in a resource group. + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - &ref_177 + apiVersions: &ref_158 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_159 + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_160 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_161 + in: header + - &ref_119 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_128 + schema: *ref_59 + implementation: Method + originalParameter: *ref_119 + pathToProperty: &ref_121 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + name: sku + description: Determines the SKU of the Disk Pool + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''sku'']' + protocol: {} + - &ref_129 + schema: *ref_60 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''tags'']' + protocol: {} + - &ref_130 + schema: *ref_61 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + name: location + description: The geo-location where the resource lives. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''location'']' + protocol: {} + - &ref_131 + schema: *ref_87 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''availabilityZones'']' + protocol: {} + - &ref_132 + schema: *ref_88 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''disks'']' + positional: true + positionalKeys: &ref_142 + - id + protocol: {} + - &ref_133 + schema: *ref_65 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''subnetId'']' + protocol: {} + - &ref_134 + schema: *ref_89 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for a Disk Pool. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''additionalCapabilities'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_164 + in: header + signatureParameters: + - *ref_128 + - *ref_129 + - *ref_130 + - *ref_131 + - *ref_132 + - *ref_133 + - *ref_134 + language: + default: + name: '' + description: '' + protocol: + http: &ref_172 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: &ref_175 + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_176 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_178 + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_179 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + name: CreateOrUpdate + description: Create or Update Disk pool. + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + split-operation-names: &ref_198 + - Create + - Update + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_145 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_146 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_138 + schema: *ref_137 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_143 + schema: *ref_66 + implementation: Method + originalParameter: *ref_138 + pathToProperty: &ref_140 [] + required: false + targetProperty: *ref_139 + extensions: + cli-flatten-origin: *ref_139 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + cliKey: tags + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''tags'']' + protocol: {} + - &ref_144 + schema: *ref_90 + implementation: Method + originalParameter: *ref_138 + pathToProperty: *ref_140 + targetProperty: *ref_141 + extensions: + cli-flatten-origin: *ref_141 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + cliKey: disks + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''disks'']' + positional: true + positionalKeys: *ref_142 + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_143 + - *ref_144 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_145 + - *ref_146 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + name: Update + description: Update a Disk pool. + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_147 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_148 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_147 + - *ref_148 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + name: Delete + description: Delete a Disk pool. + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_149 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_150 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_149 + - *ref_150 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + name: Get + description: Get a Disk pool. + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_151 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_152 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_151 + - *ref_152 + responses: + - schema: *ref_153 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependency_endpoint + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + name: ListOutboundNetworkDependencyEndpoint + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_154 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_155 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_154 + - *ref_155 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + name: Start + description: The operation to start a Disk Pool. + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_156 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_157 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_156 + - *ref_157 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + name: Deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + - apiVersions: *ref_158 + parameters: + - *ref_108 + - *ref_113 + - &ref_173 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$parameters[''resourceGroupName'']' + protocol: + http: *ref_159 + - &ref_174 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$parameters[''diskPoolName'']' + protocol: + http: *ref_160 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: *ref_161 + - &ref_162 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_165 + schema: *ref_59 + implementation: Method + originalParameter: *ref_162 + pathToProperty: &ref_163 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + name: sku + description: Determines the SKU of the Disk Pool + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''sku'']' + protocol: {} + - &ref_166 + schema: *ref_60 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''tags'']' + protocol: {} + - &ref_167 + schema: *ref_61 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + name: location + description: The geo-location where the resource lives. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''location'']' + protocol: {} + - &ref_168 + schema: *ref_87 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''availabilityZones'']' + protocol: {} + - &ref_169 + schema: *ref_88 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''disks'']' + positional: true + positionalKeys: *ref_142 + protocol: {} + - &ref_170 + schema: *ref_65 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''subnetId'']' + protocol: {} + - &ref_171 + schema: *ref_89 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for a Disk Pool. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''additionalCapabilities'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''accept'']' + protocol: + http: *ref_164 + signatureParameters: + - *ref_165 + - *ref_166 + - *ref_167 + - *ref_168 + - *ref_169 + - *ref_170 + - *ref_171 + language: + default: + name: '' + description: '' + protocol: + http: *ref_172 + signatureParameters: + - *ref_173 + - *ref_174 + responses: *ref_175 + exceptions: *ref_176 + extensions: + cli-split-operation-original-operation: *ref_177 + x-ms-examples: *ref_178 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_179 + language: + default: + name: create + description: Create Disk pool. + cli: + name: Create + description: Create Disk pool. + cliKey: 'CreateOrUpdate#Create' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']' + protocol: {} + language: + default: + name: DiskPool + description: '' + cli: + name: DiskPool + description: '' + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + cliPath: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_180 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + name: location + description: The location of the resource. + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_180 + responses: + - schema: *ref_181 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + name: List + description: Lists available Disk Pool Skus in an Azure location. + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: DiskPoolZone + description: '' + cli: + name: DiskPoolZone + description: '' + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + cliPath: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_182 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_183 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_182 + - *ref_183 + responses: + - schema: *ref_184 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + name: ListByDiskPool + description: Get iSCSI Targets in a Disk pool. + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - &ref_232 + apiVersions: &ref_214 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_195 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_215 + in: path + - &ref_196 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_216 + in: path + - &ref_197 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: &ref_217 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_218 + in: header + - &ref_185 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_191 + schema: *ref_28 + implementation: Method + originalParameter: *ref_185 + pathToProperty: &ref_187 [] + required: true + targetProperty: *ref_186 + extensions: + cli-flatten-origin: *ref_186 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + name: aclMode + description: Mode for Target connectivity. + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''aclMode'']' + protocol: {} + - &ref_192 + schema: *ref_38 + implementation: Method + originalParameter: *ref_185 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''targetIqn'']' + protocol: {} + - &ref_193 + schema: *ref_102 + implementation: Method + originalParameter: *ref_185 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''staticAcls'']' + protocol: {} + - &ref_194 + schema: *ref_103 + implementation: Method + originalParameter: *ref_185 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_190 + extensions: + cli-flatten-origin: *ref_190 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''luns'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_221 + in: header + signatureParameters: + - *ref_191 + - *ref_192 + - *ref_193 + - *ref_194 + language: + default: + name: '' + description: '' + protocol: + http: &ref_226 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_195 + - *ref_196 + - *ref_197 + responses: &ref_230 + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_231 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_233 + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_234 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + name: CreateOrUpdate + description: Create or Update an iSCSI Target. + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + split-operation-names: *ref_198 + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_205 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_206 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_207 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_199 + schema: *ref_43 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_203 + schema: *ref_104 + implementation: Method + originalParameter: *ref_199 + pathToProperty: &ref_201 [] + targetProperty: *ref_200 + extensions: + cli-flatten-origin: *ref_200 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + cliKey: staticAcls + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''staticAcls'']' + protocol: {} + - &ref_204 + schema: *ref_105 + implementation: Method + originalParameter: *ref_199 + pathToProperty: *ref_201 + targetProperty: *ref_202 + extensions: + cli-flatten-origin: *ref_202 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + cliKey: luns + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''luns'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_203 + - *ref_204 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_205 + - *ref_206 + - *ref_207 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + name: Update + description: Update an iSCSI Target. + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_208 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_209 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_210 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_208 + - *ref_209 + - *ref_210 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + name: Delete + description: Delete an iSCSI Target. + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_211 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_212 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_213 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_211 + - *ref_212 + - *ref_213 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + name: Get + description: Get an iSCSI Target. + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + - apiVersions: *ref_214 + parameters: + - *ref_108 + - *ref_113 + - &ref_227 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''resourceGroupName'']' + protocol: + http: *ref_215 + - &ref_228 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''diskPoolName'']' + protocol: + http: *ref_216 + - &ref_229 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''iscsiTargetName'']' + protocol: + http: *ref_217 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: *ref_218 + - &ref_219 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_222 + schema: *ref_28 + implementation: Method + originalParameter: *ref_219 + pathToProperty: &ref_220 [] + required: true + targetProperty: *ref_186 + extensions: + cli-flatten-origin: *ref_186 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + name: aclMode + description: Mode for Target connectivity. + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''aclMode'']' + protocol: {} + - &ref_223 + schema: *ref_38 + implementation: Method + originalParameter: *ref_219 + pathToProperty: *ref_220 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''targetIqn'']' + protocol: {} + - &ref_224 + schema: *ref_102 + implementation: Method + originalParameter: *ref_219 + pathToProperty: *ref_220 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''staticAcls'']' + protocol: {} + - &ref_225 + schema: *ref_103 + implementation: Method + originalParameter: *ref_219 + pathToProperty: *ref_220 + required: false + targetProperty: *ref_190 + extensions: + cli-flatten-origin: *ref_190 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''luns'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''accept'']' + protocol: + http: *ref_221 + signatureParameters: + - *ref_222 + - *ref_223 + - *ref_224 + - *ref_225 + language: + default: + name: '' + description: '' + protocol: + http: *ref_226 + signatureParameters: + - *ref_227 + - *ref_228 + - *ref_229 + responses: *ref_230 + exceptions: *ref_231 + extensions: + cli-split-operation-original-operation: *ref_232 + x-ms-examples: *ref_233 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_234 + language: + default: + name: create + description: Create an iSCSI Target. + cli: + name: Create + description: Create an iSCSI Target. + cliKey: 'CreateOrUpdate#Create' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']' + protocol: {} + language: + default: + name: IscsiTarget + description: '' + cli: + name: IscsiTarget + description: '' + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + cliPath: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +language: + default: + name: StoragePoolManagement + description: '' + cli: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000250-test-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000250-test-pre-simplified.yaml new file mode 100644 index 00000000000..9631897f4ec --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000250-test-pre-simplified.yaml @@ -0,0 +1,2086 @@ +operationGroups: + all: + - operationGroupName: Operation + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + cliPath: operationGroups['Operations'] + operations: + - operationName: list + cli: + name: List + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + cliPath: operationGroups['Operations']$$operations['List'] + hidden: true + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: DiskPool + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + cliPath: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + name: ListBySubscription + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + cliPath: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + name: ListByResourceGroup + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + name: CreateOrUpdate + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(DiskPoolCreate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: DiskPoolCreate + - parameterName[0]: sku(Sku^object) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['sku'] + - parameterName[0]: tags(DiskPoolCreateTags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['tags'] + - parameterName[0]: location(DiskPoolCreateLocation^string) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['location'] + - parameterName[0]: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) + cli: + name: availabilityZones + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['availabilityZones'] + - parameterName[0]: disks(DiskPoolCreatePropertiesDisks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['disks'] + positional: true + positionalKeys: + - id + - parameterName[0]: subnet_id(DiskPoolCreatePropertiesSubnetId^string) + cli: + name: subnetId + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['subnetId'] + - parameterName[0]: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) + cli: + name: additionalCapabilities + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['additionalCapabilities'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + name: Update + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + cliPath: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(DiskPoolUpdate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + bodySchema: DiskPoolUpdate + - parameterName[0]: tags(DiskPoolUpdateTags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['tags'] + cliKey: tags + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['tags'] + - parameterName[0]: disks(DiskPoolUpdatePropertiesDisks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['disks'] + cliKey: disks + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['disks'] + positional: true + positionalKeys: + - id + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + name: Delete + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + cliPath: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + name: Get + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + cliPath: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependency_endpoint + cli: + name: ListOutboundNetworkDependencyEndpoint + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + name: Start + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + cliPath: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + name: Deallocate + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + cliPath: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationName: create + cli: + name: Create + cliKey: CreateOrUpdate#Create + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create'] + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(DiskPoolCreate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: DiskPoolCreate + - parameterName[0]: sku(Sku^object) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['sku'] + - parameterName[0]: tags(DiskPoolCreateTags^dictionary) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['tags'] + - parameterName[0]: location(DiskPoolCreateLocation^string) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['location'] + - parameterName[0]: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) + cli: + name: availabilityZones + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['availabilityZones'] + - parameterName[0]: disks(DiskPoolCreatePropertiesDisks^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['disks'] + positional: true + positionalKeys: + - id + - parameterName[0]: subnet_id(DiskPoolCreatePropertiesSubnetId^string) + cli: + name: subnetId + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['subnetId'] + - parameterName[0]: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) + cli: + name: additionalCapabilities + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['additionalCapabilities'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['accept'] + - operationGroupName: DiskPoolZone + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + cliPath: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + name: List + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + cliPath: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: location(String^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + cliPath: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: IscsiTarget + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + cliPath: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + name: ListByDiskPool + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + name: CreateOrUpdate + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + name: iscsiTargetName + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(IscsiTargetCreate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: IscsiTargetCreate + - parameterName[0]: acl_mode(IscsiTargetAclMode^choice) + cli: + name: aclMode + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['aclMode'] + - parameterName[0]: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) + cli: + name: targetIqn + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['targetIqn'] + - parameterName[0]: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) + cli: + name: staticAcls + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['staticAcls'] + - parameterName[0]: luns(IscsiTargetCreatePropertiesLuns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['luns'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + name: Update + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + cliPath: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + name: iscsiTargetName + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(IscsiTargetUpdate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + bodySchema: IscsiTargetUpdate + - parameterName[0]: static_acls(IscsiTargetUpdatePropertiesStaticAcls^array) + cli: + name: staticAcls + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + cliKey: staticAcls + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['staticAcls'] + - parameterName[0]: luns(IscsiTargetUpdatePropertiesLuns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + cliKey: luns + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['luns'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + name: Delete + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + name: iscsiTargetName + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + name: Get + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + cliPath: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + name: iscsiTargetName + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: create + cli: + name: Create + cliKey: CreateOrUpdate#Create + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create'] + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + name: iscsiTargetName + cliKey: iscsiTargetName + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(IscsiTargetCreate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: IscsiTargetCreate + - parameterName[0]: acl_mode(IscsiTargetAclMode^choice) + cli: + name: aclMode + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['aclMode'] + - parameterName[0]: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) + cli: + name: targetIqn + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['targetIqn'] + - parameterName[0]: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) + cli: + name: staticAcls + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['staticAcls'] + - parameterName[0]: luns(IscsiTargetCreatePropertiesLuns^array) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['luns'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['accept'] +schemas: + objects: + all: + - schemaName: StoragePoolOperationListResult + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + cliPath: schemas$$objects['StoragePoolOperationListResult'] + properties: + - propertyName: value(StoragePoolOperationListResultValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(StoragePoolOperationListResultNextLink^string) + cli: + name: nextLink + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: StoragePoolRPOperation + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + cliPath: schemas$$objects['StoragePoolRPOperation'] + properties: + - propertyName: name(StoragePoolRPOperationName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + name: isDataAction + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(StoragePoolRPOperationActionType^string) + cli: + name: actionType + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(StoragePoolOperationDisplay^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(StoragePoolRPOperationOrigin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: StoragePoolOperationDisplay + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + cliPath: schemas$$objects['StoragePoolOperationDisplay'] + properties: + - propertyName: provider(StoragePoolOperationDisplayProvider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(StoragePoolOperationDisplayResource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(StoragePoolOperationDisplayOperation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(StoragePoolOperationDisplayDescription^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: Error + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: schemas$$objects['Error'] + cliPath: schemas$$objects['Error'] + properties: + - propertyName: error(ErrorResponse^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + cliPath: schemas$$objects['Error']$$properties['error'] + - schemaName: ErrorResponse + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + cliPath: schemas$$objects['ErrorResponse'] + properties: + - propertyName: code(ErrorResponseCode^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + cliPath: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(ErrorResponseMessage^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + cliPath: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(ErrorResponseTarget^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + cliPath: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(ErrorResponseDetails^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + cliPath: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(ErrorResponseAdditionalInfo^array) + cli: + name: additionalInfo + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + cliPath: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: ErrorAdditionalInfo + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + cliPath: schemas$$objects['ErrorAdditionalInfo'] + properties: + - propertyName: type(ErrorAdditionalInfoType^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: DiskPoolListResult + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + cliPath: schemas$$objects['DiskPoolListResult'] + properties: + - propertyName: value(DiskPoolListResultValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + cliPath: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(DiskPoolListResultNextLink^string) + cli: + name: nextLink + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + cliPath: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: DiskPool + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + cliPath: schemas$$objects['DiskPool'] + properties: + - propertyName: system_data(SystemMetadata^object) + cli: + name: systemData + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + cliPath: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(ProvisioningStates^choice) + cli: + name: provisioningState + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + cliPath: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(DiskPoolPropertiesAvailabilityZones^array) + cli: + name: availabilityZones + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + cliPath: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(OperationalStatus^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + cliPath: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(DiskPoolPropertiesDisks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + cliPath: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(DiskPoolPropertiesSubnetId^string) + cli: + name: subnetId + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + cliPath: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(DiskPoolPropertiesAdditionalCapabilities^array) + cli: + name: additionalCapabilities + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + cliPath: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(SkuName^string) + cli: + name: nameSkuName + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + cliPath: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(SkuTier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + cliPath: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: Sku + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + cliPath: schemas$$objects['Sku'] + properties: + - propertyName: name(SkuName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + cliPath: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(SkuTier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + cliPath: schemas$$objects['Sku']$$properties['tier'] + - schemaName: Disk + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + cliPath: schemas$$objects['Disk'] + properties: + - propertyName: id(DiskId^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + cliPath: schemas$$objects['Disk']$$properties['id'] + - schemaName: SystemMetadata + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + cliPath: schemas$$objects['SystemMetadata'] + properties: + - propertyName: created_by(SystemMetadataCreatedBy^string) + cli: + name: createdBy + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + cliPath: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(CreatedByType^choice) + cli: + name: createdByType + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + cliPath: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + name: createdAt + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + cliPath: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(SystemMetadataLastModifiedBy^string) + cli: + name: lastModifiedBy + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(CreatedByType^choice) + cli: + name: lastModifiedByType + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + name: lastModifiedAt + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: TrackedResource + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + cliPath: schemas$$objects['TrackedResource'] + properties: + - propertyName: tags(TrackedResourceTags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + cliPath: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(TrackedResourceLocation^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + cliPath: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: Resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + cliPath: schemas$$objects['Resource'] + properties: + - propertyName: id(ResourceId^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + cliPath: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(ResourceName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + cliPath: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(ResourceType^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + cliPath: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: DiskPoolCreate + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + cliPath: schemas$$objects['DiskPoolCreate'] + properties: + - propertyName: sku(Sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(DiskPoolCreateTags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(DiskPoolCreateLocation^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(DiskPoolCreateId^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(DiskPoolCreateName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(DiskPoolCreateType^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) + cli: + name: availabilityZones + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(DiskPoolCreatePropertiesDisks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(DiskPoolCreatePropertiesSubnetId^string) + cli: + name: subnetId + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) + cli: + name: additionalCapabilities + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: DiskPoolUpdate + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + cliPath: schemas$$objects['DiskPoolUpdate'] + properties: + - propertyName: tags(DiskPoolUpdateTags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + cliPath: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(DiskPoolUpdatePropertiesDisks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + cliPath: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: DiskPoolZoneListResult + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + cliPath: schemas$$objects['DiskPoolZoneListResult'] + properties: + - propertyName: value(DiskPoolZoneListResultValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(DiskPoolZoneListResultNextLink^string) + cli: + name: nextLink + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: DiskPoolZoneInfo + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + cliPath: schemas$$objects['DiskPoolZoneInfo'] + properties: + - propertyName: availability_zones(DiskPoolZoneInfoAvailabilityZones^array) + cli: + name: availabilityZones + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(DiskPoolZoneInfoAdditionalCapabilities^array) + cli: + name: additionalCapabilities + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(Sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: OutboundEnvironmentEndpointList + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + cliPath: schemas$$objects['OutboundEnvironmentEndpointList'] + properties: + - propertyName: value(OutboundEnvironmentEndpointListValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(OutboundEnvironmentEndpointListNextLink^string) + cli: + name: nextLink + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: OutboundEnvironmentEndpoint + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + cliPath: schemas$$objects['OutboundEnvironmentEndpoint'] + properties: + - propertyName: category(OutboundEnvironmentEndpointCategory^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(OutboundEnvironmentEndpointEndpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: EndpointDependency + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + cliPath: schemas$$objects['EndpointDependency'] + properties: + - propertyName: domain_name(EndpointDependencyDomainName^string) + cli: + name: domainName + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + cliPath: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(EndpointDependencyEndpointDetails^array) + cli: + name: endpointDetails + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + cliPath: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: EndpointDetail + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + cliPath: schemas$$objects['EndpointDetail'] + properties: + - propertyName: ip_address(EndpointDetailIpAddress^string) + cli: + name: ipAddress + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + cliPath: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(Integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + cliPath: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(Number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + cliPath: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + name: isAccessible + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + cliPath: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: IscsiTargetList + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + cliPath: schemas$$objects['IscsiTargetList'] + properties: + - propertyName: value(IscsiTargetListValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + cliPath: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(IscsiTargetListNextLink^string) + cli: + name: nextLink + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + cliPath: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: IscsiTarget + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + cliPath: schemas$$objects['IscsiTarget'] + properties: + - propertyName: system_data(SystemMetadata^object) + cli: + name: systemData + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + cliPath: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(IscsiTargetAclMode^choice) + cli: + name: aclMode + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + cliPath: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(IscsiTargetPropertiesStaticAcls^array) + cli: + name: staticAcls + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + cliPath: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(IscsiTargetPropertiesLuns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + cliPath: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(IscsiTargetPropertiesTargetIqn^string) + cli: + name: targetIqn + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + cliPath: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(ProvisioningStates^choice) + cli: + name: provisioningState + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + cliPath: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(OperationalStatus^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + cliPath: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(IscsiTargetPropertiesEndpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + cliPath: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(Integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + cliPath: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: Acl + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + cliPath: schemas$$objects['Acl'] + properties: + - propertyName: initiator_iqn(AclInitiatorIqn^string) + cli: + name: initiatorIqn + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + cliPath: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(AclMappedLuns^array) + cli: + name: mappedLuns + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + cliPath: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: IscsiLun + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + cliPath: schemas$$objects['IscsiLun'] + properties: + - propertyName: name(IscsiLunName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + cliPath: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(IscsiLunManagedDiskAzureResourceId^string) + cli: + name: managedDiskAzureResourceId + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + cliPath: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: IscsiTargetCreate + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + cliPath: schemas$$objects['IscsiTargetCreate'] + properties: + - propertyName: acl_mode(IscsiTargetAclMode^choice) + cli: + name: aclMode + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) + cli: + name: targetIqn + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) + cli: + name: staticAcls + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(IscsiTargetCreatePropertiesLuns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: IscsiTargetUpdate + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + cliPath: schemas$$objects['IscsiTargetUpdate'] + properties: + - propertyName: static_acls(IscsiTargetUpdatePropertiesStaticAcls^array) + cli: + name: staticAcls + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(IscsiTargetUpdatePropertiesLuns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: ProxyResource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + cliPath: schemas$$objects['ProxyResource'] + choices: + all: + - choiceName: ProvisioningStates + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + cliPath: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + name: Invalid + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + name: Succeeded + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + name: Failed + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + name: Canceled + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + name: Pending + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + name: Creating + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + name: Updating + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + name: Deleting + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: OperationalStatus + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + cliPath: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + name: Invalid + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + name: Unknown + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + name: Healthy + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + name: Unhealthy + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + name: Updating + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + name: Running + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + name: Stopped + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated__ + cli: + name: StoppedDeallocated_ + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: CreatedByType + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + cliPath: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + name: User + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + cliPath: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + name: Application + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + cliPath: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + name: ManagedIdentity + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + cliPath: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + name: Key + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + cliPath: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: IscsiTargetAclMode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + cliPath: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + name: Dynamic + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + name: Static + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: DiskPoolTier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + cliPath: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + name: Basic + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + cliPath: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + name: Standard + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + cliPath: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + name: Premium + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' + cliPath: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000250-test-pre.yaml b/src/diskpool/_az_debug/clicommon-000250-test-pre.yaml new file mode 100644 index 00000000000..08e9fa85efc --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000250-test-pre.yaml @@ -0,0 +1,7847 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: Integer + description: The port an endpoint is connected to. + cli: + name: Integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: Number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + name: Number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: Integer + description: The port used by iSCSI Target portal group. + cli: + name: Integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: String + description: simple string + cli: + name: String + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRPOperationName + description: The name of the operation being performed on this particular object + cli: + name: StoragePoolRPOperationName + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRPOperationActionType + description: Indicates the action type. + cli: + name: StoragePoolRPOperationActionType + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayProvider + description: Localized friendly form of the resource provider name. + cli: + name: StoragePoolOperationDisplayProvider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayResource + description: Localized friendly form of the resource type related to this action/operation. + cli: + name: StoragePoolOperationDisplayResource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayOperation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + name: StoragePoolOperationDisplayOperation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayDescription + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + name: StoragePoolOperationDisplayDescription + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRPOperationOrigin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + name: StoragePoolRPOperationOrigin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationListResultNextLink + description: URI to fetch the next section of the paginated response. + cli: + name: StoragePoolOperationListResultNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponseCode + description: The error code. + cli: + name: ErrorResponseCode + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponseMessage + description: The error message. + cli: + name: ErrorResponseMessage + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponseTarget + description: The error target. + cli: + name: ErrorResponseTarget + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorAdditionalInfoType + description: The additional info type. + cli: + name: ErrorAdditionalInfoType + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: String + description: '' + cli: + name: String + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SkuName + description: Sku name + cli: + name: SkuName + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SkuTier + description: Sku tier + cli: + name: SkuTier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AvailabilityZone + description: Availability zone. + cli: + name: AvailabilityZone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskId + description: Unique Azure Resource ID of the Managed Disk. + cli: + name: DiskId + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: DiskPoolPropertiesSubnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: DiskPoolPropertiesSubnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AdditionalCapability + description: Special capability that can be set on the Disk Pool. + cli: + name: AdditionalCapability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SystemMetadataCreatedBy + description: The identity that created the resource. + cli: + name: SystemMetadataCreatedBy + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SystemMetadataLastModifiedBy + description: The identity that last modified the resource. + cli: + name: SystemMetadataLastModifiedBy + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: String + description: '' + cli: + name: String + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: TrackedResourceLocation + description: The geo-location where the resource lives. + cli: + name: TrackedResourceLocation + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ResourceId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + name: ResourceId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ResourceName + description: The name of the resource + cli: + name: ResourceName + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ResourceType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + name: ResourceType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolListResultNextLink + description: URI to fetch the next section of the paginated response. + cli: + name: DiskPoolListResultNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: String + description: '' + cli: + name: String + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: DiskPoolCreatePropertiesSubnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: DiskPoolCreatePropertiesSubnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: DiskPoolCreateLocation + description: The geo-location where the resource lives. + cli: + name: DiskPoolCreateLocation + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreateId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + name: DiskPoolCreateId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreateName + description: The name of the resource + cli: + name: DiskPoolCreateName + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreateType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + name: DiskPoolCreateType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolZoneListResultNextLink + description: URI to fetch the next section of the paginated response. + cli: + name: DiskPoolZoneListResultNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: OutboundEnvironmentEndpointCategory + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + name: OutboundEnvironmentEndpointCategory + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: EndpointDependencyDomainName + description: The domain name of the dependency. + cli: + name: EndpointDependencyDomainName + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: EndpointDetailIpAddress + description: An IP Address that Domain Name currently resolves to. + cli: + name: EndpointDetailIpAddress + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: OutboundEnvironmentEndpointListNextLink + description: Link to next page of resources. + cli: + name: OutboundEnvironmentEndpointListNextLink + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AclInitiatorIqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + name: AclInitiatorIqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AclMappedLunsItem + description: '' + cli: + name: AclMappedLunsItem + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiLunName + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + name: IscsiLunName + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiLunManagedDiskAzureResourceId + description: Azure Resource ID of the Managed Disk. + cli: + name: IscsiLunManagedDiskAzureResourceId + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetPropertiesTargetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: IscsiTargetPropertiesTargetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetPropertiesEndpointsItem + description: '' + cli: + name: IscsiTargetPropertiesEndpointsItem + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetListNextLink + description: URI to fetch the next section of the paginated response. + cli: + name: IscsiTargetListNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetCreatePropertiesTargetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: IscsiTargetCreatePropertiesTargetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + name: Invalid + description: '' + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + name: Succeeded + description: '' + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + name: Failed + description: '' + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + name: Canceled + description: '' + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + name: Pending + description: '' + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + name: Creating + description: '' + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + name: Updating + description: '' + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + name: Deleting + description: '' + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: ProvisioningStates + description: Provisioning state of the iSCSI Target. + cli: + name: ProvisioningStates + description: Provisioning state of the iSCSI Target. + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + cliPath: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + name: Invalid + description: '' + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + name: Unknown + description: '' + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + name: Healthy + description: '' + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + name: Unhealthy + description: '' + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + name: Updating + description: '' + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + name: Running + description: '' + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + name: Stopped + description: '' + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated__ + description: '' + cli: + name: StoppedDeallocated_ + description: '' + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: OperationalStatus + description: Operational status of the resource. + cli: + name: OperationalStatus + description: Operational status of the resource. + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + cliPath: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + name: User + description: '' + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + name: Application + description: '' + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + name: ManagedIdentity + description: '' + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + name: Key + description: '' + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: CreatedByType + description: The type of identity that created the resource. + cli: + name: CreatedByType + description: The type of identity that created the resource. + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + cliPath: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + name: Dynamic + description: '' + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + name: Static + description: '' + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: IscsiTargetAclMode + description: ACL mode for iSCSI Target. + cli: + name: IscsiTargetAclMode + description: ACL mode for iSCSI Target. + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + cliPath: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + name: Basic + description: '' + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + name: Standard + description: '' + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + name: Premium + description: '' + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: DiskPoolTier + description: SKU of the VM host part of the Disk Pool deployment + cli: + name: DiskPoolTier + description: SKU of the VM host part of the Disk Pool deployment + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + cliPath: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + cli: + name: ApiVersion20210401Preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + cli: + name: Accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + cli: + name: ApplicationJson + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: TrackedResourceTags + description: Resource tags. + cli: + name: TrackedResourceTags + description: Resource tags. + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: DiskPoolCreateTags + description: Resource tags. + cli: + name: DiskPoolCreateTags + description: Resource tags. + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: DiskPoolUpdateTags + description: Resource tags. + cli: + name: DiskPoolUpdateTags + description: Resource tags. + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + name: name + description: The name of the operation being performed on this particular object + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + name: isDataAction + description: Indicates whether the operation applies to data-plane. + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + name: actionType + description: Indicates the action type. + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + name: provider + description: Localized friendly form of the resource provider name. + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolOperationDisplay + description: Metadata about an operation. + namespace: '' + cli: + name: StoragePoolOperationDisplay + description: Metadata about an operation. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + name: display + description: Additional metadata about RP operation. + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolRPOperation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + name: StoragePoolRPOperation + description: Description of a StoragePool RP Operation + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: StoragePoolOperationListResultValue + description: An array of operations supported by the StoragePool RP. + cli: + name: StoragePoolOperationListResultValue + description: An array of operations supported by the StoragePool RP. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + name: value + description: An array of operations supported by the StoragePool RP. + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + name: nextLink + description: URI to fetch the next section of the paginated response. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolOperationListResult + description: List of operations supported by the RP. + namespace: '' + cli: + name: StoragePoolOperationListResult + description: List of operations supported by the RP. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + name: code + description: The error code. + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + name: message + description: The error message. + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + name: target + description: The error target. + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: ErrorResponseDetails + description: The error details. + cli: + name: ErrorResponseDetails + description: The error details. + cli-complexity: array_complex + cli-in-circle: true + cli-mark: checked + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + name: details + description: The error details. + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + name: type + description: The additional info type. + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + name: info + description: The additional info. + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: ErrorAdditionalInfo + description: The resource management error additional info. + namespace: '' + cli: + name: ErrorAdditionalInfo + description: The resource management error additional info. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: ErrorResponseAdditionalInfo + description: The error additional info. + cli: + name: ErrorResponseAdditionalInfo + description: The error additional info. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + name: additionalInfo + description: The error additional info. + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: ErrorResponse + description: The resource management error response. + namespace: '' + cli: + name: ErrorResponse + description: The resource management error response. + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + cliPath: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + name: error + description: RP error response. + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + cliPath: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: Error + description: The resource management error response. + namespace: '' + cli: + name: Error + description: The resource management error response. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + cliPath: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + name: createdBy + description: The identity that created the resource. + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + name: createdByType + description: The type of identity that created the resource. + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + name: createdAt + description: The timestamp of resource creation (UTC). + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + name: lastModifiedBy + description: The identity that last modified the resource. + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + name: lastModifiedByType + description: The type of identity that last modified the resource. + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + name: lastModifiedAt + description: The type of identity that last modified the resource. + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: SystemMetadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + name: SystemMetadata + description: Metadata pertaining to creation and last modification of the resource. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + cliPath: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + name: systemData + description: Resource metadata required by ARM RPC + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + name: aclMode + description: Mode for Target connectivity. + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + name: initiatorIqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + cliPath: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: AclMappedLuns + description: List of LUN names mapped to the ACL. + cli: + name: AclMappedLuns + description: List of LUN names mapped to the ACL. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + name: mappedLuns + description: List of LUN names mapped to the ACL. + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + cliPath: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: Acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + name: Acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + cliPath: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: IscsiTargetPropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: IscsiTargetPropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + name: managedDiskAzureResourceId + description: Azure Resource ID of the Managed Disk. + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: IscsiLun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + name: IscsiLun + description: LUN to expose the Azure Managed Disk. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + cliPath: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: IscsiTargetPropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: IscsiTargetPropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + name: provisioningState + description: State of the operation on the resource. + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + name: status + description: Operational status of the iSCSI Target. + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: IscsiTargetPropertiesEndpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + name: IscsiTargetPropertiesEndpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + name: port + description: The port used by iSCSI Target portal group. + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: IscsiTarget + description: Response for iSCSI Target requests. + namespace: '' + cli: + name: IscsiTarget + description: Response for iSCSI Target requests. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + cliPath: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_186 + schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + name: aclMode + description: Mode for Target connectivity. + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - &ref_188 + schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - &ref_189 + schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: IscsiTargetCreatePropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: IscsiTargetCreatePropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_190 + schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: IscsiTargetCreatePropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: IscsiTargetCreatePropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: IscsiTargetCreate + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + name: IscsiTargetCreate + description: Payload for iSCSI Target create or update requests. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_200 + schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: IscsiTargetUpdatePropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: IscsiTargetUpdatePropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_202 + schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: IscsiTargetUpdatePropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: IscsiTargetUpdatePropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: IscsiTargetUpdate + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + name: IscsiTargetUpdate + description: Payload for iSCSI Target update requests. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + cliPath: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: ProxyResource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + name: ProxyResource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + cliPath: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + cliPath: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + name: name + description: The name of the resource + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + cliPath: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + cliPath: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: Resource + description: ARM resource model definition. + namespace: '' + cli: + name: Resource + description: ARM resource model definition. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + cliPath: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + name: location + description: The geo-location where the resource lives. + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: TrackedResource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + name: TrackedResource + description: The resource model definition for a ARM tracked top level resource. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + cliPath: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + name: systemData + description: Resource metadata required by ARM RPC + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + name: provisioningState + description: State of the operation on the resource. + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: DiskPoolPropertiesAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: DiskPoolPropertiesAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + name: status + description: Operational status of the Disk Pool. + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + cliPath: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: Disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + name: Disk + description: Azure Managed Disk to attach to the Disk Pool. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + cliPath: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: DiskPoolPropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: DiskPoolPropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: DiskPoolPropertiesAdditionalCapabilities + description: List of additional capabilities for Disk Pool. + cli: + name: DiskPoolPropertiesAdditionalCapabilities + description: List of additional capabilities for Disk Pool. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for Disk Pool. + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + name: nameSkuName + description: Sku name + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + name: tier + description: Sku tier + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: DiskPool + description: Response for Disk Pool request. + namespace: '' + cli: + name: DiskPool + description: Response for Disk Pool request. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + cliPath: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: DiskPoolListResultValue + description: An array of Disk pool objects. + cli: + name: DiskPoolListResultValue + description: An array of Disk pool objects. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + name: value + description: An array of Disk pool objects. + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + name: nextLink + description: URI to fetch the next section of the paginated response. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolListResult + description: List of Disk Pools + namespace: '' + cli: + name: DiskPoolListResult + description: List of Disk Pools + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + cliPath: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + name: name + description: Sku name + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + cliPath: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + name: tier + description: Sku tier + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + cliPath: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: Sku + description: Sku for ARM resource + namespace: '' + cli: + name: Sku + description: Sku for ARM resource + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + cliPath: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_120 + schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + name: sku + description: Determines the SKU of the Disk Pool + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - &ref_122 + schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - &ref_123 + schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + name: location + description: The geo-location where the resource lives. + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + name: name + description: The name of the resource + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - &ref_124 + schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: DiskPoolCreatePropertiesAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: DiskPoolCreatePropertiesAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - &ref_125 + schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: DiskPoolCreatePropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: DiskPoolCreatePropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - &ref_126 + schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - &ref_127 + schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: DiskPoolCreatePropertiesAdditionalCapabilities + description: List of additional capabilities for a Disk Pool. + cli: + name: DiskPoolCreatePropertiesAdditionalCapabilities + description: List of additional capabilities for a Disk Pool. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for a Disk Pool. + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: DiskPoolCreate + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + name: DiskPoolCreate + description: Request payload for create or update Disk Pool request. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_137 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_139 + schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - &ref_141 + schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: DiskPoolUpdatePropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: DiskPoolUpdatePropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: DiskPoolUpdate + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + name: DiskPoolUpdate + description: Request payload for Update Disk Pool request. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + cliPath: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_181 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: DiskPoolZoneInfoAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: DiskPoolZoneInfoAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: DiskPoolZoneInfoAdditionalCapabilities + description: List of additional capabilities for Disk Pool. + cli: + name: DiskPoolZoneInfoAdditionalCapabilities + description: List of additional capabilities for Disk Pool. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for Disk Pool. + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolZoneInfo + description: Disk Pool Sku Details + namespace: '' + cli: + name: DiskPoolZoneInfo + description: Disk Pool Sku Details + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: DiskPoolZoneListResultValue + description: The list of Disk Pool Skus. + cli: + name: DiskPoolZoneListResultValue + description: The list of Disk Pool Skus. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + name: value + description: The list of Disk Pool Skus. + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + name: nextLink + description: URI to fetch the next section of the paginated response. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolZoneListResult + description: List Disk Pool skus operation response. + namespace: '' + cli: + name: DiskPoolZoneListResult + description: List Disk Pool skus operation response. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_153 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + name: domainName + description: The domain name of the dependency. + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + name: ipAddress + description: An IP Address that Domain Name currently resolves to. + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + name: port + description: The port an endpoint is connected to. + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + name: isAccessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: EndpointDetail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + name: EndpointDetail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + cliPath: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: EndpointDependencyEndpointDetails + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + name: EndpointDependencyEndpointDetails + description: The IP Addresses and Ports used when connecting to DomainName. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + name: endpointDetails + description: The IP Addresses and Ports used when connecting to DomainName. + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: EndpointDependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + name: EndpointDependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + cliPath: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: OutboundEnvironmentEndpointEndpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + name: OutboundEnvironmentEndpointEndpoints + description: The endpoints that the App Service Environment reaches the service at. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: OutboundEnvironmentEndpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + name: OutboundEnvironmentEndpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: OutboundEnvironmentEndpointListValue + description: Collection of resources. + cli: + name: OutboundEnvironmentEndpointListValue + description: Collection of resources. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + name: value + description: Collection of resources. + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + name: nextLink + description: Link to next page of resources. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: OutboundEnvironmentEndpointList + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + name: OutboundEnvironmentEndpointList + description: Collection of Outbound Environment Endpoints + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_184 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: IscsiTargetListValue + description: An array of iSCSI Targets in a Disk Pool. + cli: + name: IscsiTargetListValue + description: An array of iSCSI Targets in a Disk Pool. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + name: nextLink + description: URI to fetch the next section of the paginated response. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: IscsiTargetList + description: List of iSCSI Targets. + namespace: '' + cli: + name: IscsiTargetList + description: List of iSCSI Targets. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + cliPath: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + name: subscriptionId + description: The ID of the target subscription. + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + cliPath: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + name: $host + description: server parameter + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + cliPath: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + name: ApiVersion + description: Api Version + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + cliPath: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + name: List + description: Gets a list of StoragePool operations. + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + cliPath: 'operationGroups[''Operations'']$$operations[''List'']' + hidden: true + protocol: {} + language: + default: + name: Operation + description: '' + cli: + name: Operation + description: '' + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + cliPath: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + name: ListBySubscription + description: Gets a list of Disk Pools in a subscription + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + name: ListByResourceGroup + description: Gets a list of DiskPools in a resource group. + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - &ref_177 + apiVersions: &ref_158 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_159 + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_160 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_161 + in: header + - &ref_119 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_128 + schema: *ref_59 + implementation: Method + originalParameter: *ref_119 + pathToProperty: &ref_121 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + name: sku + description: Determines the SKU of the Disk Pool + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''sku'']' + protocol: {} + - &ref_129 + schema: *ref_60 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''tags'']' + protocol: {} + - &ref_130 + schema: *ref_61 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + name: location + description: The geo-location where the resource lives. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''location'']' + protocol: {} + - &ref_131 + schema: *ref_87 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''availabilityZones'']' + protocol: {} + - &ref_132 + schema: *ref_88 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''disks'']' + positional: true + positionalKeys: &ref_142 + - id + protocol: {} + - &ref_133 + schema: *ref_65 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''subnetId'']' + protocol: {} + - &ref_134 + schema: *ref_89 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for a Disk Pool. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''additionalCapabilities'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_164 + in: header + signatureParameters: + - *ref_128 + - *ref_129 + - *ref_130 + - *ref_131 + - *ref_132 + - *ref_133 + - *ref_134 + language: + default: + name: '' + description: '' + protocol: + http: &ref_172 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: &ref_175 + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_176 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_178 + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_179 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + name: CreateOrUpdate + description: Create or Update Disk pool. + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + split-operation-names: &ref_198 + - Create + - Update + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_145 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_146 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_138 + schema: *ref_137 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_143 + schema: *ref_66 + implementation: Method + originalParameter: *ref_138 + pathToProperty: &ref_140 [] + required: false + targetProperty: *ref_139 + extensions: + cli-flatten-origin: *ref_139 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + cliKey: tags + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''tags'']' + protocol: {} + - &ref_144 + schema: *ref_90 + implementation: Method + originalParameter: *ref_138 + pathToProperty: *ref_140 + targetProperty: *ref_141 + extensions: + cli-flatten-origin: *ref_141 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + cliKey: disks + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''disks'']' + positional: true + positionalKeys: *ref_142 + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_143 + - *ref_144 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_145 + - *ref_146 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + name: Update + description: Update a Disk pool. + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_147 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_148 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_147 + - *ref_148 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + name: Delete + description: Delete a Disk pool. + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_149 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_150 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_149 + - *ref_150 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + name: Get + description: Get a Disk pool. + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_151 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_152 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_151 + - *ref_152 + responses: + - schema: *ref_153 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependency_endpoint + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + name: ListOutboundNetworkDependencyEndpoint + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_154 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_155 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_154 + - *ref_155 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + name: Start + description: The operation to start a Disk Pool. + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_156 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_157 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_156 + - *ref_157 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + name: Deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + - apiVersions: *ref_158 + parameters: + - *ref_108 + - *ref_113 + - &ref_173 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$parameters[''resourceGroupName'']' + protocol: + http: *ref_159 + - &ref_174 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$parameters[''diskPoolName'']' + protocol: + http: *ref_160 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: *ref_161 + - &ref_162 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_165 + schema: *ref_59 + implementation: Method + originalParameter: *ref_162 + pathToProperty: &ref_163 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + name: sku + description: Determines the SKU of the Disk Pool + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''sku'']' + protocol: {} + - &ref_166 + schema: *ref_60 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''tags'']' + protocol: {} + - &ref_167 + schema: *ref_61 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + name: location + description: The geo-location where the resource lives. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''location'']' + protocol: {} + - &ref_168 + schema: *ref_87 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''availabilityZones'']' + protocol: {} + - &ref_169 + schema: *ref_88 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''disks'']' + positional: true + positionalKeys: *ref_142 + protocol: {} + - &ref_170 + schema: *ref_65 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''subnetId'']' + protocol: {} + - &ref_171 + schema: *ref_89 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for a Disk Pool. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''additionalCapabilities'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''accept'']' + protocol: + http: *ref_164 + signatureParameters: + - *ref_165 + - *ref_166 + - *ref_167 + - *ref_168 + - *ref_169 + - *ref_170 + - *ref_171 + language: + default: + name: '' + description: '' + protocol: + http: *ref_172 + signatureParameters: + - *ref_173 + - *ref_174 + responses: *ref_175 + exceptions: *ref_176 + extensions: + cli-split-operation-original-operation: *ref_177 + x-ms-examples: *ref_178 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_179 + language: + default: + name: create + description: Create Disk pool. + cli: + name: Create + description: Create Disk pool. + cliKey: 'CreateOrUpdate#Create' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']' + protocol: {} + language: + default: + name: DiskPool + description: '' + cli: + name: DiskPool + description: '' + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + cliPath: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_180 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + name: location + description: The location of the resource. + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_180 + responses: + - schema: *ref_181 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + name: List + description: Lists available Disk Pool Skus in an Azure location. + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: DiskPoolZone + description: '' + cli: + name: DiskPoolZone + description: '' + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + cliPath: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_182 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_183 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_182 + - *ref_183 + responses: + - schema: *ref_184 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + name: ListByDiskPool + description: Get iSCSI Targets in a Disk pool. + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - &ref_232 + apiVersions: &ref_214 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_195 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_215 + in: path + - &ref_196 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_216 + in: path + - &ref_197 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: &ref_217 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_218 + in: header + - &ref_185 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_191 + schema: *ref_28 + implementation: Method + originalParameter: *ref_185 + pathToProperty: &ref_187 [] + required: true + targetProperty: *ref_186 + extensions: + cli-flatten-origin: *ref_186 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + name: aclMode + description: Mode for Target connectivity. + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''aclMode'']' + protocol: {} + - &ref_192 + schema: *ref_38 + implementation: Method + originalParameter: *ref_185 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''targetIqn'']' + protocol: {} + - &ref_193 + schema: *ref_102 + implementation: Method + originalParameter: *ref_185 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''staticAcls'']' + protocol: {} + - &ref_194 + schema: *ref_103 + implementation: Method + originalParameter: *ref_185 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_190 + extensions: + cli-flatten-origin: *ref_190 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''luns'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_221 + in: header + signatureParameters: + - *ref_191 + - *ref_192 + - *ref_193 + - *ref_194 + language: + default: + name: '' + description: '' + protocol: + http: &ref_226 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_195 + - *ref_196 + - *ref_197 + responses: &ref_230 + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_231 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_233 + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_234 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + name: CreateOrUpdate + description: Create or Update an iSCSI Target. + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + split-operation-names: *ref_198 + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_205 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_206 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_207 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_199 + schema: *ref_43 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_203 + schema: *ref_104 + implementation: Method + originalParameter: *ref_199 + pathToProperty: &ref_201 [] + targetProperty: *ref_200 + extensions: + cli-flatten-origin: *ref_200 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + cliKey: staticAcls + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''staticAcls'']' + protocol: {} + - &ref_204 + schema: *ref_105 + implementation: Method + originalParameter: *ref_199 + pathToProperty: *ref_201 + targetProperty: *ref_202 + extensions: + cli-flatten-origin: *ref_202 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + cliKey: luns + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''luns'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_203 + - *ref_204 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_205 + - *ref_206 + - *ref_207 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + name: Update + description: Update an iSCSI Target. + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_208 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_209 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_210 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_208 + - *ref_209 + - *ref_210 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + name: Delete + description: Delete an iSCSI Target. + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_211 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_212 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_213 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_211 + - *ref_212 + - *ref_213 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + name: Get + description: Get an iSCSI Target. + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + - apiVersions: *ref_214 + parameters: + - *ref_108 + - *ref_113 + - &ref_227 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''resourceGroupName'']' + protocol: + http: *ref_215 + - &ref_228 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''diskPoolName'']' + protocol: + http: *ref_216 + - &ref_229 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''iscsiTargetName'']' + protocol: + http: *ref_217 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: *ref_218 + - &ref_219 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_222 + schema: *ref_28 + implementation: Method + originalParameter: *ref_219 + pathToProperty: &ref_220 [] + required: true + targetProperty: *ref_186 + extensions: + cli-flatten-origin: *ref_186 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + name: aclMode + description: Mode for Target connectivity. + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''aclMode'']' + protocol: {} + - &ref_223 + schema: *ref_38 + implementation: Method + originalParameter: *ref_219 + pathToProperty: *ref_220 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''targetIqn'']' + protocol: {} + - &ref_224 + schema: *ref_102 + implementation: Method + originalParameter: *ref_219 + pathToProperty: *ref_220 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''staticAcls'']' + protocol: {} + - &ref_225 + schema: *ref_103 + implementation: Method + originalParameter: *ref_219 + pathToProperty: *ref_220 + required: false + targetProperty: *ref_190 + extensions: + cli-flatten-origin: *ref_190 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''luns'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''accept'']' + protocol: + http: *ref_221 + signatureParameters: + - *ref_222 + - *ref_223 + - *ref_224 + - *ref_225 + language: + default: + name: '' + description: '' + protocol: + http: *ref_226 + signatureParameters: + - *ref_227 + - *ref_228 + - *ref_229 + responses: *ref_230 + exceptions: *ref_231 + extensions: + cli-split-operation-original-operation: *ref_232 + x-ms-examples: *ref_233 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_234 + language: + default: + name: create + description: Create an iSCSI Target. + cli: + name: Create + description: Create an iSCSI Target. + cliKey: 'CreateOrUpdate#Create' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']' + protocol: {} + language: + default: + name: IscsiTarget + description: '' + cli: + name: IscsiTarget + description: '' + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + cliPath: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +language: + default: + name: StoragePoolManagement + description: '' + cli: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000260-test-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000260-test-post-simplified.yaml new file mode 100644 index 00000000000..9631897f4ec --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000260-test-post-simplified.yaml @@ -0,0 +1,2086 @@ +operationGroups: + all: + - operationGroupName: Operation + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + cliPath: operationGroups['Operations'] + operations: + - operationName: list + cli: + name: List + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + cliPath: operationGroups['Operations']$$operations['List'] + hidden: true + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: DiskPool + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + cliPath: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + name: ListBySubscription + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + cliPath: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + name: ListByResourceGroup + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + name: CreateOrUpdate + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(DiskPoolCreate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: DiskPoolCreate + - parameterName[0]: sku(Sku^object) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['sku'] + - parameterName[0]: tags(DiskPoolCreateTags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['tags'] + - parameterName[0]: location(DiskPoolCreateLocation^string) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['location'] + - parameterName[0]: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) + cli: + name: availabilityZones + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['availabilityZones'] + - parameterName[0]: disks(DiskPoolCreatePropertiesDisks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['disks'] + positional: true + positionalKeys: + - id + - parameterName[0]: subnet_id(DiskPoolCreatePropertiesSubnetId^string) + cli: + name: subnetId + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['subnetId'] + - parameterName[0]: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) + cli: + name: additionalCapabilities + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['additionalCapabilities'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + name: Update + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + cliPath: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(DiskPoolUpdate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + bodySchema: DiskPoolUpdate + - parameterName[0]: tags(DiskPoolUpdateTags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['tags'] + cliKey: tags + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['tags'] + - parameterName[0]: disks(DiskPoolUpdatePropertiesDisks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['disks'] + cliKey: disks + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['disks'] + positional: true + positionalKeys: + - id + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + name: Delete + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + cliPath: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + name: Get + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + cliPath: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependency_endpoint + cli: + name: ListOutboundNetworkDependencyEndpoint + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + name: Start + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + cliPath: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + name: Deallocate + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + cliPath: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationName: create + cli: + name: Create + cliKey: CreateOrUpdate#Create + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create'] + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(DiskPoolCreate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: DiskPoolCreate + - parameterName[0]: sku(Sku^object) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['sku'] + - parameterName[0]: tags(DiskPoolCreateTags^dictionary) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['tags'] + - parameterName[0]: location(DiskPoolCreateLocation^string) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['location'] + - parameterName[0]: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) + cli: + name: availabilityZones + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['availabilityZones'] + - parameterName[0]: disks(DiskPoolCreatePropertiesDisks^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['disks'] + positional: true + positionalKeys: + - id + - parameterName[0]: subnet_id(DiskPoolCreatePropertiesSubnetId^string) + cli: + name: subnetId + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['subnetId'] + - parameterName[0]: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) + cli: + name: additionalCapabilities + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['additionalCapabilities'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['accept'] + - operationGroupName: DiskPoolZone + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + cliPath: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + name: List + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + cliPath: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: location(String^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + cliPath: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: IscsiTarget + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + cliPath: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + name: ListByDiskPool + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + name: CreateOrUpdate + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + name: iscsiTargetName + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(IscsiTargetCreate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: IscsiTargetCreate + - parameterName[0]: acl_mode(IscsiTargetAclMode^choice) + cli: + name: aclMode + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['aclMode'] + - parameterName[0]: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) + cli: + name: targetIqn + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['targetIqn'] + - parameterName[0]: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) + cli: + name: staticAcls + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['staticAcls'] + - parameterName[0]: luns(IscsiTargetCreatePropertiesLuns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['luns'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + name: Update + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + cliPath: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + name: iscsiTargetName + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(IscsiTargetUpdate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + bodySchema: IscsiTargetUpdate + - parameterName[0]: static_acls(IscsiTargetUpdatePropertiesStaticAcls^array) + cli: + name: staticAcls + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + cliKey: staticAcls + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['staticAcls'] + - parameterName[0]: luns(IscsiTargetUpdatePropertiesLuns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + cliKey: luns + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['luns'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + name: Delete + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + name: iscsiTargetName + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + name: Get + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + cliPath: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + name: iscsiTargetName + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: create + cli: + name: Create + cliKey: CreateOrUpdate#Create + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create'] + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + name: iscsiTargetName + cliKey: iscsiTargetName + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(IscsiTargetCreate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: IscsiTargetCreate + - parameterName[0]: acl_mode(IscsiTargetAclMode^choice) + cli: + name: aclMode + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['aclMode'] + - parameterName[0]: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) + cli: + name: targetIqn + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['targetIqn'] + - parameterName[0]: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) + cli: + name: staticAcls + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['staticAcls'] + - parameterName[0]: luns(IscsiTargetCreatePropertiesLuns^array) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['luns'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['accept'] +schemas: + objects: + all: + - schemaName: StoragePoolOperationListResult + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + cliPath: schemas$$objects['StoragePoolOperationListResult'] + properties: + - propertyName: value(StoragePoolOperationListResultValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(StoragePoolOperationListResultNextLink^string) + cli: + name: nextLink + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: StoragePoolRPOperation + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + cliPath: schemas$$objects['StoragePoolRPOperation'] + properties: + - propertyName: name(StoragePoolRPOperationName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + name: isDataAction + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(StoragePoolRPOperationActionType^string) + cli: + name: actionType + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(StoragePoolOperationDisplay^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(StoragePoolRPOperationOrigin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: StoragePoolOperationDisplay + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + cliPath: schemas$$objects['StoragePoolOperationDisplay'] + properties: + - propertyName: provider(StoragePoolOperationDisplayProvider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(StoragePoolOperationDisplayResource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(StoragePoolOperationDisplayOperation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(StoragePoolOperationDisplayDescription^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: Error + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: schemas$$objects['Error'] + cliPath: schemas$$objects['Error'] + properties: + - propertyName: error(ErrorResponse^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + cliPath: schemas$$objects['Error']$$properties['error'] + - schemaName: ErrorResponse + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + cliPath: schemas$$objects['ErrorResponse'] + properties: + - propertyName: code(ErrorResponseCode^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + cliPath: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(ErrorResponseMessage^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + cliPath: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(ErrorResponseTarget^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + cliPath: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(ErrorResponseDetails^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + cliPath: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(ErrorResponseAdditionalInfo^array) + cli: + name: additionalInfo + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + cliPath: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: ErrorAdditionalInfo + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + cliPath: schemas$$objects['ErrorAdditionalInfo'] + properties: + - propertyName: type(ErrorAdditionalInfoType^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: DiskPoolListResult + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + cliPath: schemas$$objects['DiskPoolListResult'] + properties: + - propertyName: value(DiskPoolListResultValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + cliPath: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(DiskPoolListResultNextLink^string) + cli: + name: nextLink + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + cliPath: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: DiskPool + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + cliPath: schemas$$objects['DiskPool'] + properties: + - propertyName: system_data(SystemMetadata^object) + cli: + name: systemData + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + cliPath: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(ProvisioningStates^choice) + cli: + name: provisioningState + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + cliPath: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(DiskPoolPropertiesAvailabilityZones^array) + cli: + name: availabilityZones + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + cliPath: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(OperationalStatus^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + cliPath: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(DiskPoolPropertiesDisks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + cliPath: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(DiskPoolPropertiesSubnetId^string) + cli: + name: subnetId + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + cliPath: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(DiskPoolPropertiesAdditionalCapabilities^array) + cli: + name: additionalCapabilities + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + cliPath: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(SkuName^string) + cli: + name: nameSkuName + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + cliPath: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(SkuTier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + cliPath: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: Sku + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + cliPath: schemas$$objects['Sku'] + properties: + - propertyName: name(SkuName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + cliPath: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(SkuTier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + cliPath: schemas$$objects['Sku']$$properties['tier'] + - schemaName: Disk + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + cliPath: schemas$$objects['Disk'] + properties: + - propertyName: id(DiskId^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + cliPath: schemas$$objects['Disk']$$properties['id'] + - schemaName: SystemMetadata + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + cliPath: schemas$$objects['SystemMetadata'] + properties: + - propertyName: created_by(SystemMetadataCreatedBy^string) + cli: + name: createdBy + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + cliPath: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(CreatedByType^choice) + cli: + name: createdByType + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + cliPath: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + name: createdAt + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + cliPath: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(SystemMetadataLastModifiedBy^string) + cli: + name: lastModifiedBy + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(CreatedByType^choice) + cli: + name: lastModifiedByType + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + name: lastModifiedAt + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: TrackedResource + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + cliPath: schemas$$objects['TrackedResource'] + properties: + - propertyName: tags(TrackedResourceTags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + cliPath: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(TrackedResourceLocation^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + cliPath: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: Resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + cliPath: schemas$$objects['Resource'] + properties: + - propertyName: id(ResourceId^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + cliPath: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(ResourceName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + cliPath: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(ResourceType^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + cliPath: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: DiskPoolCreate + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + cliPath: schemas$$objects['DiskPoolCreate'] + properties: + - propertyName: sku(Sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(DiskPoolCreateTags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(DiskPoolCreateLocation^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(DiskPoolCreateId^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(DiskPoolCreateName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(DiskPoolCreateType^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) + cli: + name: availabilityZones + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(DiskPoolCreatePropertiesDisks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(DiskPoolCreatePropertiesSubnetId^string) + cli: + name: subnetId + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) + cli: + name: additionalCapabilities + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: DiskPoolUpdate + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + cliPath: schemas$$objects['DiskPoolUpdate'] + properties: + - propertyName: tags(DiskPoolUpdateTags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + cliPath: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(DiskPoolUpdatePropertiesDisks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + cliPath: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: DiskPoolZoneListResult + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + cliPath: schemas$$objects['DiskPoolZoneListResult'] + properties: + - propertyName: value(DiskPoolZoneListResultValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(DiskPoolZoneListResultNextLink^string) + cli: + name: nextLink + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: DiskPoolZoneInfo + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + cliPath: schemas$$objects['DiskPoolZoneInfo'] + properties: + - propertyName: availability_zones(DiskPoolZoneInfoAvailabilityZones^array) + cli: + name: availabilityZones + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(DiskPoolZoneInfoAdditionalCapabilities^array) + cli: + name: additionalCapabilities + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(Sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: OutboundEnvironmentEndpointList + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + cliPath: schemas$$objects['OutboundEnvironmentEndpointList'] + properties: + - propertyName: value(OutboundEnvironmentEndpointListValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(OutboundEnvironmentEndpointListNextLink^string) + cli: + name: nextLink + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: OutboundEnvironmentEndpoint + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + cliPath: schemas$$objects['OutboundEnvironmentEndpoint'] + properties: + - propertyName: category(OutboundEnvironmentEndpointCategory^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(OutboundEnvironmentEndpointEndpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: EndpointDependency + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + cliPath: schemas$$objects['EndpointDependency'] + properties: + - propertyName: domain_name(EndpointDependencyDomainName^string) + cli: + name: domainName + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + cliPath: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(EndpointDependencyEndpointDetails^array) + cli: + name: endpointDetails + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + cliPath: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: EndpointDetail + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + cliPath: schemas$$objects['EndpointDetail'] + properties: + - propertyName: ip_address(EndpointDetailIpAddress^string) + cli: + name: ipAddress + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + cliPath: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(Integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + cliPath: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(Number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + cliPath: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + name: isAccessible + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + cliPath: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: IscsiTargetList + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + cliPath: schemas$$objects['IscsiTargetList'] + properties: + - propertyName: value(IscsiTargetListValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + cliPath: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(IscsiTargetListNextLink^string) + cli: + name: nextLink + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + cliPath: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: IscsiTarget + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + cliPath: schemas$$objects['IscsiTarget'] + properties: + - propertyName: system_data(SystemMetadata^object) + cli: + name: systemData + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + cliPath: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(IscsiTargetAclMode^choice) + cli: + name: aclMode + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + cliPath: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(IscsiTargetPropertiesStaticAcls^array) + cli: + name: staticAcls + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + cliPath: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(IscsiTargetPropertiesLuns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + cliPath: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(IscsiTargetPropertiesTargetIqn^string) + cli: + name: targetIqn + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + cliPath: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(ProvisioningStates^choice) + cli: + name: provisioningState + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + cliPath: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(OperationalStatus^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + cliPath: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(IscsiTargetPropertiesEndpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + cliPath: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(Integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + cliPath: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: Acl + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + cliPath: schemas$$objects['Acl'] + properties: + - propertyName: initiator_iqn(AclInitiatorIqn^string) + cli: + name: initiatorIqn + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + cliPath: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(AclMappedLuns^array) + cli: + name: mappedLuns + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + cliPath: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: IscsiLun + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + cliPath: schemas$$objects['IscsiLun'] + properties: + - propertyName: name(IscsiLunName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + cliPath: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(IscsiLunManagedDiskAzureResourceId^string) + cli: + name: managedDiskAzureResourceId + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + cliPath: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: IscsiTargetCreate + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + cliPath: schemas$$objects['IscsiTargetCreate'] + properties: + - propertyName: acl_mode(IscsiTargetAclMode^choice) + cli: + name: aclMode + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) + cli: + name: targetIqn + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) + cli: + name: staticAcls + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(IscsiTargetCreatePropertiesLuns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: IscsiTargetUpdate + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + cliPath: schemas$$objects['IscsiTargetUpdate'] + properties: + - propertyName: static_acls(IscsiTargetUpdatePropertiesStaticAcls^array) + cli: + name: staticAcls + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(IscsiTargetUpdatePropertiesLuns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: ProxyResource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + cliPath: schemas$$objects['ProxyResource'] + choices: + all: + - choiceName: ProvisioningStates + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + cliPath: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + name: Invalid + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + name: Succeeded + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + name: Failed + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + name: Canceled + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + name: Pending + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + name: Creating + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + name: Updating + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + name: Deleting + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: OperationalStatus + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + cliPath: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + name: Invalid + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + name: Unknown + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + name: Healthy + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + name: Unhealthy + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + name: Updating + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + name: Running + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + name: Stopped + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated__ + cli: + name: StoppedDeallocated_ + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: CreatedByType + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + cliPath: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + name: User + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + cliPath: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + name: Application + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + cliPath: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + name: ManagedIdentity + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + cliPath: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + name: Key + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + cliPath: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: IscsiTargetAclMode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + cliPath: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + name: Dynamic + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + name: Static + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: DiskPoolTier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + cliPath: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + name: Basic + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + cliPath: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + name: Standard + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + cliPath: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + name: Premium + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' + cliPath: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000260-test-post.yaml b/src/diskpool/_az_debug/clicommon-000260-test-post.yaml new file mode 100644 index 00000000000..3f9f3356cb6 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000260-test-post.yaml @@ -0,0 +1,7849 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: Integer + description: The port an endpoint is connected to. + cli: + name: Integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: Number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + name: Number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: Integer + description: The port used by iSCSI Target portal group. + cli: + name: Integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: String + description: simple string + cli: + name: String + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRPOperationName + description: The name of the operation being performed on this particular object + cli: + name: StoragePoolRPOperationName + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRPOperationActionType + description: Indicates the action type. + cli: + name: StoragePoolRPOperationActionType + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayProvider + description: Localized friendly form of the resource provider name. + cli: + name: StoragePoolOperationDisplayProvider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayResource + description: Localized friendly form of the resource type related to this action/operation. + cli: + name: StoragePoolOperationDisplayResource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayOperation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + name: StoragePoolOperationDisplayOperation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayDescription + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + name: StoragePoolOperationDisplayDescription + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRPOperationOrigin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + name: StoragePoolRPOperationOrigin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationListResultNextLink + description: URI to fetch the next section of the paginated response. + cli: + name: StoragePoolOperationListResultNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponseCode + description: The error code. + cli: + name: ErrorResponseCode + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponseMessage + description: The error message. + cli: + name: ErrorResponseMessage + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponseTarget + description: The error target. + cli: + name: ErrorResponseTarget + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorAdditionalInfoType + description: The additional info type. + cli: + name: ErrorAdditionalInfoType + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: String + description: '' + cli: + name: String + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SkuName + description: Sku name + cli: + name: SkuName + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SkuTier + description: Sku tier + cli: + name: SkuTier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AvailabilityZone + description: Availability zone. + cli: + name: AvailabilityZone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskId + description: Unique Azure Resource ID of the Managed Disk. + cli: + name: DiskId + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: DiskPoolPropertiesSubnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: DiskPoolPropertiesSubnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AdditionalCapability + description: Special capability that can be set on the Disk Pool. + cli: + name: AdditionalCapability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SystemMetadataCreatedBy + description: The identity that created the resource. + cli: + name: SystemMetadataCreatedBy + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SystemMetadataLastModifiedBy + description: The identity that last modified the resource. + cli: + name: SystemMetadataLastModifiedBy + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: String + description: '' + cli: + name: String + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: TrackedResourceLocation + description: The geo-location where the resource lives. + cli: + name: TrackedResourceLocation + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ResourceId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + name: ResourceId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ResourceName + description: The name of the resource + cli: + name: ResourceName + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ResourceType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + name: ResourceType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolListResultNextLink + description: URI to fetch the next section of the paginated response. + cli: + name: DiskPoolListResultNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: String + description: '' + cli: + name: String + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: DiskPoolCreatePropertiesSubnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: DiskPoolCreatePropertiesSubnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: DiskPoolCreateLocation + description: The geo-location where the resource lives. + cli: + name: DiskPoolCreateLocation + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreateId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + name: DiskPoolCreateId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreateName + description: The name of the resource + cli: + name: DiskPoolCreateName + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreateType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + name: DiskPoolCreateType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolZoneListResultNextLink + description: URI to fetch the next section of the paginated response. + cli: + name: DiskPoolZoneListResultNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: OutboundEnvironmentEndpointCategory + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + name: OutboundEnvironmentEndpointCategory + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: EndpointDependencyDomainName + description: The domain name of the dependency. + cli: + name: EndpointDependencyDomainName + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: EndpointDetailIpAddress + description: An IP Address that Domain Name currently resolves to. + cli: + name: EndpointDetailIpAddress + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: OutboundEnvironmentEndpointListNextLink + description: Link to next page of resources. + cli: + name: OutboundEnvironmentEndpointListNextLink + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AclInitiatorIqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + name: AclInitiatorIqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AclMappedLunsItem + description: '' + cli: + name: AclMappedLunsItem + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiLunName + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + name: IscsiLunName + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiLunManagedDiskAzureResourceId + description: Azure Resource ID of the Managed Disk. + cli: + name: IscsiLunManagedDiskAzureResourceId + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetPropertiesTargetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: IscsiTargetPropertiesTargetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetPropertiesEndpointsItem + description: '' + cli: + name: IscsiTargetPropertiesEndpointsItem + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetListNextLink + description: URI to fetch the next section of the paginated response. + cli: + name: IscsiTargetListNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetCreatePropertiesTargetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: IscsiTargetCreatePropertiesTargetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + name: Invalid + description: '' + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + name: Succeeded + description: '' + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + name: Failed + description: '' + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + name: Canceled + description: '' + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + name: Pending + description: '' + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + name: Creating + description: '' + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + name: Updating + description: '' + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + name: Deleting + description: '' + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: ProvisioningStates + description: Provisioning state of the iSCSI Target. + cli: + name: ProvisioningStates + description: Provisioning state of the iSCSI Target. + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + cliPath: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + name: Invalid + description: '' + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + name: Unknown + description: '' + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + name: Healthy + description: '' + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + name: Unhealthy + description: '' + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + name: Updating + description: '' + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + name: Running + description: '' + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + name: Stopped + description: '' + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated__ + description: '' + cli: + name: StoppedDeallocated_ + description: '' + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: OperationalStatus + description: Operational status of the resource. + cli: + name: OperationalStatus + description: Operational status of the resource. + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + cliPath: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + name: User + description: '' + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + name: Application + description: '' + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + name: ManagedIdentity + description: '' + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + name: Key + description: '' + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: CreatedByType + description: The type of identity that created the resource. + cli: + name: CreatedByType + description: The type of identity that created the resource. + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + cliPath: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + name: Dynamic + description: '' + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + name: Static + description: '' + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: IscsiTargetAclMode + description: ACL mode for iSCSI Target. + cli: + name: IscsiTargetAclMode + description: ACL mode for iSCSI Target. + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + cliPath: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + name: Basic + description: '' + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + name: Standard + description: '' + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + name: Premium + description: '' + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: DiskPoolTier + description: SKU of the VM host part of the Disk Pool deployment + cli: + name: DiskPoolTier + description: SKU of the VM host part of the Disk Pool deployment + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + cliPath: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + cli: + name: ApiVersion20210401Preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + cli: + name: Accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + cli: + name: ApplicationJson + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: TrackedResourceTags + description: Resource tags. + cli: + name: TrackedResourceTags + description: Resource tags. + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: DiskPoolCreateTags + description: Resource tags. + cli: + name: DiskPoolCreateTags + description: Resource tags. + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: DiskPoolUpdateTags + description: Resource tags. + cli: + name: DiskPoolUpdateTags + description: Resource tags. + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + name: name + description: The name of the operation being performed on this particular object + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + name: isDataAction + description: Indicates whether the operation applies to data-plane. + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + name: actionType + description: Indicates the action type. + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + name: provider + description: Localized friendly form of the resource provider name. + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolOperationDisplay + description: Metadata about an operation. + namespace: '' + cli: + name: StoragePoolOperationDisplay + description: Metadata about an operation. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + name: display + description: Additional metadata about RP operation. + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolRPOperation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + name: StoragePoolRPOperation + description: Description of a StoragePool RP Operation + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: StoragePoolOperationListResultValue + description: An array of operations supported by the StoragePool RP. + cli: + name: StoragePoolOperationListResultValue + description: An array of operations supported by the StoragePool RP. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + name: value + description: An array of operations supported by the StoragePool RP. + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + name: nextLink + description: URI to fetch the next section of the paginated response. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolOperationListResult + description: List of operations supported by the RP. + namespace: '' + cli: + name: StoragePoolOperationListResult + description: List of operations supported by the RP. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + name: code + description: The error code. + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + name: message + description: The error message. + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + name: target + description: The error target. + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: ErrorResponseDetails + description: The error details. + cli: + name: ErrorResponseDetails + description: The error details. + cli-complexity: array_complex + cli-in-circle: true + cli-mark: checked + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + name: details + description: The error details. + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + name: type + description: The additional info type. + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + name: info + description: The additional info. + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: ErrorAdditionalInfo + description: The resource management error additional info. + namespace: '' + cli: + name: ErrorAdditionalInfo + description: The resource management error additional info. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: ErrorResponseAdditionalInfo + description: The error additional info. + cli: + name: ErrorResponseAdditionalInfo + description: The error additional info. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + name: additionalInfo + description: The error additional info. + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: ErrorResponse + description: The resource management error response. + namespace: '' + cli: + name: ErrorResponse + description: The resource management error response. + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + cliPath: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + name: error + description: RP error response. + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + cliPath: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: Error + description: The resource management error response. + namespace: '' + cli: + name: Error + description: The resource management error response. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + cliPath: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + name: createdBy + description: The identity that created the resource. + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + name: createdByType + description: The type of identity that created the resource. + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + name: createdAt + description: The timestamp of resource creation (UTC). + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + name: lastModifiedBy + description: The identity that last modified the resource. + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + name: lastModifiedByType + description: The type of identity that last modified the resource. + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + name: lastModifiedAt + description: The type of identity that last modified the resource. + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: SystemMetadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + name: SystemMetadata + description: Metadata pertaining to creation and last modification of the resource. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + cliPath: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + name: systemData + description: Resource metadata required by ARM RPC + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + name: aclMode + description: Mode for Target connectivity. + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + name: initiatorIqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + cliPath: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: AclMappedLuns + description: List of LUN names mapped to the ACL. + cli: + name: AclMappedLuns + description: List of LUN names mapped to the ACL. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + name: mappedLuns + description: List of LUN names mapped to the ACL. + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + cliPath: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: Acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + name: Acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + cliPath: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: IscsiTargetPropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: IscsiTargetPropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + name: managedDiskAzureResourceId + description: Azure Resource ID of the Managed Disk. + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: IscsiLun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + name: IscsiLun + description: LUN to expose the Azure Managed Disk. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + cliPath: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: IscsiTargetPropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: IscsiTargetPropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + name: provisioningState + description: State of the operation on the resource. + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + name: status + description: Operational status of the iSCSI Target. + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: IscsiTargetPropertiesEndpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + name: IscsiTargetPropertiesEndpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + name: port + description: The port used by iSCSI Target portal group. + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: IscsiTarget + description: Response for iSCSI Target requests. + namespace: '' + cli: + name: IscsiTarget + description: Response for iSCSI Target requests. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + cliPath: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_186 + schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + name: aclMode + description: Mode for Target connectivity. + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - &ref_188 + schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - &ref_189 + schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: IscsiTargetCreatePropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: IscsiTargetCreatePropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_190 + schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: IscsiTargetCreatePropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: IscsiTargetCreatePropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: IscsiTargetCreate + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + name: IscsiTargetCreate + description: Payload for iSCSI Target create or update requests. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_200 + schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: IscsiTargetUpdatePropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: IscsiTargetUpdatePropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_202 + schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: IscsiTargetUpdatePropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: IscsiTargetUpdatePropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: IscsiTargetUpdate + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + name: IscsiTargetUpdate + description: Payload for iSCSI Target update requests. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + cliPath: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: ProxyResource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + name: ProxyResource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + cliPath: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + cliPath: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + name: name + description: The name of the resource + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + cliPath: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + cliPath: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: Resource + description: ARM resource model definition. + namespace: '' + cli: + name: Resource + description: ARM resource model definition. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + cliPath: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + name: location + description: The geo-location where the resource lives. + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: TrackedResource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + name: TrackedResource + description: The resource model definition for a ARM tracked top level resource. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + cliPath: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + name: systemData + description: Resource metadata required by ARM RPC + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + name: provisioningState + description: State of the operation on the resource. + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: DiskPoolPropertiesAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: DiskPoolPropertiesAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + name: status + description: Operational status of the Disk Pool. + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + cliPath: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: Disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + name: Disk + description: Azure Managed Disk to attach to the Disk Pool. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + cliPath: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: DiskPoolPropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: DiskPoolPropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: DiskPoolPropertiesAdditionalCapabilities + description: List of additional capabilities for Disk Pool. + cli: + name: DiskPoolPropertiesAdditionalCapabilities + description: List of additional capabilities for Disk Pool. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for Disk Pool. + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + name: nameSkuName + description: Sku name + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + name: tier + description: Sku tier + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: DiskPool + description: Response for Disk Pool request. + namespace: '' + cli: + name: DiskPool + description: Response for Disk Pool request. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + cliPath: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: DiskPoolListResultValue + description: An array of Disk pool objects. + cli: + name: DiskPoolListResultValue + description: An array of Disk pool objects. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + name: value + description: An array of Disk pool objects. + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + name: nextLink + description: URI to fetch the next section of the paginated response. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolListResult + description: List of Disk Pools + namespace: '' + cli: + name: DiskPoolListResult + description: List of Disk Pools + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + cliPath: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + name: name + description: Sku name + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + cliPath: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + name: tier + description: Sku tier + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + cliPath: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: Sku + description: Sku for ARM resource + namespace: '' + cli: + name: Sku + description: Sku for ARM resource + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + cliPath: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_120 + schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + name: sku + description: Determines the SKU of the Disk Pool + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - &ref_122 + schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - &ref_123 + schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + name: location + description: The geo-location where the resource lives. + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + name: name + description: The name of the resource + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - &ref_124 + schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: DiskPoolCreatePropertiesAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: DiskPoolCreatePropertiesAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - &ref_125 + schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: DiskPoolCreatePropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: DiskPoolCreatePropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - &ref_126 + schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - &ref_127 + schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: DiskPoolCreatePropertiesAdditionalCapabilities + description: List of additional capabilities for a Disk Pool. + cli: + name: DiskPoolCreatePropertiesAdditionalCapabilities + description: List of additional capabilities for a Disk Pool. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for a Disk Pool. + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: DiskPoolCreate + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + name: DiskPoolCreate + description: Request payload for create or update Disk Pool request. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_137 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_139 + schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - &ref_141 + schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: DiskPoolUpdatePropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: DiskPoolUpdatePropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: DiskPoolUpdate + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + name: DiskPoolUpdate + description: Request payload for Update Disk Pool request. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + cliPath: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_181 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: DiskPoolZoneInfoAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: DiskPoolZoneInfoAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: DiskPoolZoneInfoAdditionalCapabilities + description: List of additional capabilities for Disk Pool. + cli: + name: DiskPoolZoneInfoAdditionalCapabilities + description: List of additional capabilities for Disk Pool. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for Disk Pool. + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolZoneInfo + description: Disk Pool Sku Details + namespace: '' + cli: + name: DiskPoolZoneInfo + description: Disk Pool Sku Details + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: DiskPoolZoneListResultValue + description: The list of Disk Pool Skus. + cli: + name: DiskPoolZoneListResultValue + description: The list of Disk Pool Skus. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + name: value + description: The list of Disk Pool Skus. + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + name: nextLink + description: URI to fetch the next section of the paginated response. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolZoneListResult + description: List Disk Pool skus operation response. + namespace: '' + cli: + name: DiskPoolZoneListResult + description: List Disk Pool skus operation response. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_153 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + name: domainName + description: The domain name of the dependency. + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + name: ipAddress + description: An IP Address that Domain Name currently resolves to. + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + name: port + description: The port an endpoint is connected to. + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + name: isAccessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: EndpointDetail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + name: EndpointDetail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + cliPath: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: EndpointDependencyEndpointDetails + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + name: EndpointDependencyEndpointDetails + description: The IP Addresses and Ports used when connecting to DomainName. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + name: endpointDetails + description: The IP Addresses and Ports used when connecting to DomainName. + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: EndpointDependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + name: EndpointDependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + cliPath: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: OutboundEnvironmentEndpointEndpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + name: OutboundEnvironmentEndpointEndpoints + description: The endpoints that the App Service Environment reaches the service at. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: OutboundEnvironmentEndpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + name: OutboundEnvironmentEndpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: OutboundEnvironmentEndpointListValue + description: Collection of resources. + cli: + name: OutboundEnvironmentEndpointListValue + description: Collection of resources. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + name: value + description: Collection of resources. + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + name: nextLink + description: Link to next page of resources. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: OutboundEnvironmentEndpointList + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + name: OutboundEnvironmentEndpointList + description: Collection of Outbound Environment Endpoints + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_184 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: IscsiTargetListValue + description: An array of iSCSI Targets in a Disk Pool. + cli: + name: IscsiTargetListValue + description: An array of iSCSI Targets in a Disk Pool. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + name: nextLink + description: URI to fetch the next section of the paginated response. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: IscsiTargetList + description: List of iSCSI Targets. + namespace: '' + cli: + name: IscsiTargetList + description: List of iSCSI Targets. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + cliPath: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + name: subscriptionId + description: The ID of the target subscription. + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + cliPath: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + name: $host + description: server parameter + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + cliPath: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + name: ApiVersion + description: Api Version + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + cliPath: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + name: List + description: Gets a list of StoragePool operations. + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + cliPath: 'operationGroups[''Operations'']$$operations[''List'']' + hidden: true + protocol: {} + language: + default: + name: Operation + description: '' + cli: + name: Operation + description: '' + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + cliPath: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + name: ListBySubscription + description: Gets a list of Disk Pools in a subscription + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + name: ListByResourceGroup + description: Gets a list of DiskPools in a resource group. + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - &ref_177 + apiVersions: &ref_158 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_159 + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_160 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_161 + in: header + - &ref_119 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_128 + schema: *ref_59 + implementation: Method + originalParameter: *ref_119 + pathToProperty: &ref_121 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + name: sku + description: Determines the SKU of the Disk Pool + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''sku'']' + protocol: {} + - &ref_129 + schema: *ref_60 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''tags'']' + protocol: {} + - &ref_130 + schema: *ref_61 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + name: location + description: The geo-location where the resource lives. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''location'']' + protocol: {} + - &ref_131 + schema: *ref_87 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''availabilityZones'']' + protocol: {} + - &ref_132 + schema: *ref_88 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''disks'']' + positional: true + positionalKeys: &ref_142 + - id + protocol: {} + - &ref_133 + schema: *ref_65 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''subnetId'']' + protocol: {} + - &ref_134 + schema: *ref_89 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for a Disk Pool. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''additionalCapabilities'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_164 + in: header + signatureParameters: + - *ref_128 + - *ref_129 + - *ref_130 + - *ref_131 + - *ref_132 + - *ref_133 + - *ref_134 + language: + default: + name: '' + description: '' + protocol: + http: &ref_172 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: &ref_175 + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_176 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_178 + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_179 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + name: CreateOrUpdate + description: Create or Update Disk pool. + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + split-operation-names: &ref_198 + - Create + - Update + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_145 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_146 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_138 + schema: *ref_137 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_143 + schema: *ref_66 + implementation: Method + originalParameter: *ref_138 + pathToProperty: &ref_140 [] + required: false + targetProperty: *ref_139 + extensions: + cli-flatten-origin: *ref_139 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + cliKey: tags + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''tags'']' + protocol: {} + - &ref_144 + schema: *ref_90 + implementation: Method + originalParameter: *ref_138 + pathToProperty: *ref_140 + targetProperty: *ref_141 + extensions: + cli-flatten-origin: *ref_141 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + cliKey: disks + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''disks'']' + positional: true + positionalKeys: *ref_142 + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_143 + - *ref_144 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_145 + - *ref_146 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + name: Update + description: Update a Disk pool. + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_147 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_148 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_147 + - *ref_148 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + name: Delete + description: Delete a Disk pool. + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_149 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_150 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_149 + - *ref_150 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + name: Get + description: Get a Disk pool. + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_151 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_152 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_151 + - *ref_152 + responses: + - schema: *ref_153 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependency_endpoint + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + name: ListOutboundNetworkDependencyEndpoint + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_154 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_155 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_154 + - *ref_155 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + name: Start + description: The operation to start a Disk Pool. + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_156 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_157 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_156 + - *ref_157 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + name: Deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + - apiVersions: *ref_158 + parameters: + - *ref_108 + - *ref_113 + - &ref_173 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$parameters[''resourceGroupName'']' + protocol: + http: *ref_159 + - &ref_174 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$parameters[''diskPoolName'']' + protocol: + http: *ref_160 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: *ref_161 + - &ref_162 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_165 + schema: *ref_59 + implementation: Method + originalParameter: *ref_162 + pathToProperty: &ref_163 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + name: sku + description: Determines the SKU of the Disk Pool + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''sku'']' + protocol: {} + - &ref_166 + schema: *ref_60 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''tags'']' + protocol: {} + - &ref_167 + schema: *ref_61 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + name: location + description: The geo-location where the resource lives. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''location'']' + protocol: {} + - &ref_168 + schema: *ref_87 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''availabilityZones'']' + protocol: {} + - &ref_169 + schema: *ref_88 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''disks'']' + positional: true + positionalKeys: *ref_142 + protocol: {} + - &ref_170 + schema: *ref_65 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''subnetId'']' + protocol: {} + - &ref_171 + schema: *ref_89 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for a Disk Pool. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''additionalCapabilities'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''accept'']' + protocol: + http: *ref_164 + signatureParameters: + - *ref_165 + - *ref_166 + - *ref_167 + - *ref_168 + - *ref_169 + - *ref_170 + - *ref_171 + language: + default: + name: '' + description: '' + protocol: + http: *ref_172 + signatureParameters: + - *ref_173 + - *ref_174 + responses: *ref_175 + exceptions: *ref_176 + extensions: + cli-split-operation-original-operation: *ref_177 + x-ms-examples: *ref_178 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_179 + language: + default: + name: create + description: Create Disk pool. + cli: + name: Create + description: Create Disk pool. + cliKey: 'CreateOrUpdate#Create' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']' + protocol: {} + language: + default: + name: DiskPool + description: '' + cli: + name: DiskPool + description: '' + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + cliPath: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_180 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + name: location + description: The location of the resource. + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_180 + responses: + - schema: *ref_181 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + name: List + description: Lists available Disk Pool Skus in an Azure location. + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: DiskPoolZone + description: '' + cli: + name: DiskPoolZone + description: '' + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + cliPath: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_182 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_183 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_182 + - *ref_183 + responses: + - schema: *ref_184 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + name: ListByDiskPool + description: Get iSCSI Targets in a Disk pool. + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - &ref_232 + apiVersions: &ref_214 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_195 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_215 + in: path + - &ref_196 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_216 + in: path + - &ref_197 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: &ref_217 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_218 + in: header + - &ref_185 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_191 + schema: *ref_28 + implementation: Method + originalParameter: *ref_185 + pathToProperty: &ref_187 [] + required: true + targetProperty: *ref_186 + extensions: + cli-flatten-origin: *ref_186 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + name: aclMode + description: Mode for Target connectivity. + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''aclMode'']' + protocol: {} + - &ref_192 + schema: *ref_38 + implementation: Method + originalParameter: *ref_185 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''targetIqn'']' + protocol: {} + - &ref_193 + schema: *ref_102 + implementation: Method + originalParameter: *ref_185 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''staticAcls'']' + protocol: {} + - &ref_194 + schema: *ref_103 + implementation: Method + originalParameter: *ref_185 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_190 + extensions: + cli-flatten-origin: *ref_190 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''luns'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_221 + in: header + signatureParameters: + - *ref_191 + - *ref_192 + - *ref_193 + - *ref_194 + language: + default: + name: '' + description: '' + protocol: + http: &ref_226 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_195 + - *ref_196 + - *ref_197 + responses: &ref_230 + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_231 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_233 + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_234 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + name: CreateOrUpdate + description: Create or Update an iSCSI Target. + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + split-operation-names: *ref_198 + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_205 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_206 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_207 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_199 + schema: *ref_43 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_203 + schema: *ref_104 + implementation: Method + originalParameter: *ref_199 + pathToProperty: &ref_201 [] + targetProperty: *ref_200 + extensions: + cli-flatten-origin: *ref_200 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + cliKey: staticAcls + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''staticAcls'']' + protocol: {} + - &ref_204 + schema: *ref_105 + implementation: Method + originalParameter: *ref_199 + pathToProperty: *ref_201 + targetProperty: *ref_202 + extensions: + cli-flatten-origin: *ref_202 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + cliKey: luns + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''luns'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_203 + - *ref_204 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_205 + - *ref_206 + - *ref_207 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + name: Update + description: Update an iSCSI Target. + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_208 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_209 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_210 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_208 + - *ref_209 + - *ref_210 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + name: Delete + description: Delete an iSCSI Target. + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_211 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_212 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_213 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_211 + - *ref_212 + - *ref_213 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + name: Get + description: Get an iSCSI Target. + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + - apiVersions: *ref_214 + parameters: + - *ref_108 + - *ref_113 + - &ref_227 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''resourceGroupName'']' + protocol: + http: *ref_215 + - &ref_228 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''diskPoolName'']' + protocol: + http: *ref_216 + - &ref_229 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''iscsiTargetName'']' + protocol: + http: *ref_217 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: *ref_218 + - &ref_219 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_222 + schema: *ref_28 + implementation: Method + originalParameter: *ref_219 + pathToProperty: &ref_220 [] + required: true + targetProperty: *ref_186 + extensions: + cli-flatten-origin: *ref_186 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + name: aclMode + description: Mode for Target connectivity. + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''aclMode'']' + protocol: {} + - &ref_223 + schema: *ref_38 + implementation: Method + originalParameter: *ref_219 + pathToProperty: *ref_220 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''targetIqn'']' + protocol: {} + - &ref_224 + schema: *ref_102 + implementation: Method + originalParameter: *ref_219 + pathToProperty: *ref_220 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''staticAcls'']' + protocol: {} + - &ref_225 + schema: *ref_103 + implementation: Method + originalParameter: *ref_219 + pathToProperty: *ref_220 + required: false + targetProperty: *ref_190 + extensions: + cli-flatten-origin: *ref_190 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''luns'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''accept'']' + protocol: + http: *ref_221 + signatureParameters: + - *ref_222 + - *ref_223 + - *ref_224 + - *ref_225 + language: + default: + name: '' + description: '' + protocol: + http: *ref_226 + signatureParameters: + - *ref_227 + - *ref_228 + - *ref_229 + responses: *ref_230 + exceptions: *ref_231 + extensions: + cli-split-operation-original-operation: *ref_232 + x-ms-examples: *ref_233 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_234 + language: + default: + name: create + description: Create an iSCSI Target. + cli: + name: Create + description: Create an iSCSI Target. + cliKey: 'CreateOrUpdate#Create' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']' + protocol: {} + language: + default: + name: IscsiTarget + description: '' + cli: + name: IscsiTarget + description: '' + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + cliPath: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +test-scenario: + - name: /DiskPools/put/Createxxx +language: + default: + name: StoragePoolManagement + description: '' + cli: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000270-complex-marker-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000270-complex-marker-pre-simplified.yaml new file mode 100644 index 00000000000..9631897f4ec --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000270-complex-marker-pre-simplified.yaml @@ -0,0 +1,2086 @@ +operationGroups: + all: + - operationGroupName: Operation + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + cliPath: operationGroups['Operations'] + operations: + - operationName: list + cli: + name: List + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + cliPath: operationGroups['Operations']$$operations['List'] + hidden: true + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: DiskPool + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + cliPath: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + name: ListBySubscription + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + cliPath: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + name: ListByResourceGroup + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + name: CreateOrUpdate + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(DiskPoolCreate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: DiskPoolCreate + - parameterName[0]: sku(Sku^object) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['sku'] + - parameterName[0]: tags(DiskPoolCreateTags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['tags'] + - parameterName[0]: location(DiskPoolCreateLocation^string) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['location'] + - parameterName[0]: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) + cli: + name: availabilityZones + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['availabilityZones'] + - parameterName[0]: disks(DiskPoolCreatePropertiesDisks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['disks'] + positional: true + positionalKeys: + - id + - parameterName[0]: subnet_id(DiskPoolCreatePropertiesSubnetId^string) + cli: + name: subnetId + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['subnetId'] + - parameterName[0]: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) + cli: + name: additionalCapabilities + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['additionalCapabilities'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + name: Update + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + cliPath: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(DiskPoolUpdate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + bodySchema: DiskPoolUpdate + - parameterName[0]: tags(DiskPoolUpdateTags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['tags'] + cliKey: tags + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['tags'] + - parameterName[0]: disks(DiskPoolUpdatePropertiesDisks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['disks'] + cliKey: disks + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['disks'] + positional: true + positionalKeys: + - id + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + name: Delete + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + cliPath: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + name: Get + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + cliPath: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependency_endpoint + cli: + name: ListOutboundNetworkDependencyEndpoint + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + name: Start + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + cliPath: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + name: Deallocate + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + cliPath: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationName: create + cli: + name: Create + cliKey: CreateOrUpdate#Create + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create'] + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(DiskPoolCreate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: DiskPoolCreate + - parameterName[0]: sku(Sku^object) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['sku'] + - parameterName[0]: tags(DiskPoolCreateTags^dictionary) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['tags'] + - parameterName[0]: location(DiskPoolCreateLocation^string) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['location'] + - parameterName[0]: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) + cli: + name: availabilityZones + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['availabilityZones'] + - parameterName[0]: disks(DiskPoolCreatePropertiesDisks^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['disks'] + positional: true + positionalKeys: + - id + - parameterName[0]: subnet_id(DiskPoolCreatePropertiesSubnetId^string) + cli: + name: subnetId + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['subnetId'] + - parameterName[0]: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) + cli: + name: additionalCapabilities + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['additionalCapabilities'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['accept'] + - operationGroupName: DiskPoolZone + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + cliPath: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + name: List + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + cliPath: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: location(String^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + cliPath: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: IscsiTarget + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + cliPath: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + name: ListByDiskPool + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + name: CreateOrUpdate + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + name: iscsiTargetName + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(IscsiTargetCreate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: IscsiTargetCreate + - parameterName[0]: acl_mode(IscsiTargetAclMode^choice) + cli: + name: aclMode + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['aclMode'] + - parameterName[0]: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) + cli: + name: targetIqn + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['targetIqn'] + - parameterName[0]: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) + cli: + name: staticAcls + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['staticAcls'] + - parameterName[0]: luns(IscsiTargetCreatePropertiesLuns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['luns'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + name: Update + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + cliPath: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + name: iscsiTargetName + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(IscsiTargetUpdate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + bodySchema: IscsiTargetUpdate + - parameterName[0]: static_acls(IscsiTargetUpdatePropertiesStaticAcls^array) + cli: + name: staticAcls + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + cliKey: staticAcls + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['staticAcls'] + - parameterName[0]: luns(IscsiTargetUpdatePropertiesLuns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + cliKey: luns + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['luns'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + name: Delete + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + name: iscsiTargetName + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + name: Get + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + cliPath: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + name: iscsiTargetName + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: create + cli: + name: Create + cliKey: CreateOrUpdate#Create + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create'] + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + name: iscsiTargetName + cliKey: iscsiTargetName + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(IscsiTargetCreate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: IscsiTargetCreate + - parameterName[0]: acl_mode(IscsiTargetAclMode^choice) + cli: + name: aclMode + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['aclMode'] + - parameterName[0]: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) + cli: + name: targetIqn + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['targetIqn'] + - parameterName[0]: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) + cli: + name: staticAcls + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['staticAcls'] + - parameterName[0]: luns(IscsiTargetCreatePropertiesLuns^array) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['luns'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['accept'] +schemas: + objects: + all: + - schemaName: StoragePoolOperationListResult + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + cliPath: schemas$$objects['StoragePoolOperationListResult'] + properties: + - propertyName: value(StoragePoolOperationListResultValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(StoragePoolOperationListResultNextLink^string) + cli: + name: nextLink + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: StoragePoolRPOperation + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + cliPath: schemas$$objects['StoragePoolRPOperation'] + properties: + - propertyName: name(StoragePoolRPOperationName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + name: isDataAction + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(StoragePoolRPOperationActionType^string) + cli: + name: actionType + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(StoragePoolOperationDisplay^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(StoragePoolRPOperationOrigin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: StoragePoolOperationDisplay + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + cliPath: schemas$$objects['StoragePoolOperationDisplay'] + properties: + - propertyName: provider(StoragePoolOperationDisplayProvider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(StoragePoolOperationDisplayResource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(StoragePoolOperationDisplayOperation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(StoragePoolOperationDisplayDescription^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: Error + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: schemas$$objects['Error'] + cliPath: schemas$$objects['Error'] + properties: + - propertyName: error(ErrorResponse^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + cliPath: schemas$$objects['Error']$$properties['error'] + - schemaName: ErrorResponse + cli: + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + cliPath: schemas$$objects['ErrorResponse'] + properties: + - propertyName: code(ErrorResponseCode^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + cliPath: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(ErrorResponseMessage^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + cliPath: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(ErrorResponseTarget^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + cliPath: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(ErrorResponseDetails^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + cliPath: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(ErrorResponseAdditionalInfo^array) + cli: + name: additionalInfo + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + cliPath: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: ErrorAdditionalInfo + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + cliPath: schemas$$objects['ErrorAdditionalInfo'] + properties: + - propertyName: type(ErrorAdditionalInfoType^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: DiskPoolListResult + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + cliPath: schemas$$objects['DiskPoolListResult'] + properties: + - propertyName: value(DiskPoolListResultValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + cliPath: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(DiskPoolListResultNextLink^string) + cli: + name: nextLink + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + cliPath: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: DiskPool + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + cliPath: schemas$$objects['DiskPool'] + properties: + - propertyName: system_data(SystemMetadata^object) + cli: + name: systemData + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + cliPath: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(ProvisioningStates^choice) + cli: + name: provisioningState + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + cliPath: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(DiskPoolPropertiesAvailabilityZones^array) + cli: + name: availabilityZones + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + cliPath: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(OperationalStatus^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + cliPath: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(DiskPoolPropertiesDisks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + cliPath: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(DiskPoolPropertiesSubnetId^string) + cli: + name: subnetId + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + cliPath: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(DiskPoolPropertiesAdditionalCapabilities^array) + cli: + name: additionalCapabilities + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + cliPath: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(SkuName^string) + cli: + name: nameSkuName + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + cliPath: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(SkuTier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + cliPath: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: Sku + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + cliPath: schemas$$objects['Sku'] + properties: + - propertyName: name(SkuName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + cliPath: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(SkuTier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + cliPath: schemas$$objects['Sku']$$properties['tier'] + - schemaName: Disk + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + cliPath: schemas$$objects['Disk'] + properties: + - propertyName: id(DiskId^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + cliPath: schemas$$objects['Disk']$$properties['id'] + - schemaName: SystemMetadata + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + cliPath: schemas$$objects['SystemMetadata'] + properties: + - propertyName: created_by(SystemMetadataCreatedBy^string) + cli: + name: createdBy + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + cliPath: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(CreatedByType^choice) + cli: + name: createdByType + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + cliPath: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + name: createdAt + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + cliPath: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(SystemMetadataLastModifiedBy^string) + cli: + name: lastModifiedBy + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(CreatedByType^choice) + cli: + name: lastModifiedByType + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + name: lastModifiedAt + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: TrackedResource + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + cliPath: schemas$$objects['TrackedResource'] + properties: + - propertyName: tags(TrackedResourceTags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + cliPath: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(TrackedResourceLocation^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + cliPath: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: Resource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + cliPath: schemas$$objects['Resource'] + properties: + - propertyName: id(ResourceId^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + cliPath: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(ResourceName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + cliPath: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(ResourceType^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + cliPath: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: DiskPoolCreate + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + cliPath: schemas$$objects['DiskPoolCreate'] + properties: + - propertyName: sku(Sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(DiskPoolCreateTags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(DiskPoolCreateLocation^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(DiskPoolCreateId^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(DiskPoolCreateName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(DiskPoolCreateType^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) + cli: + name: availabilityZones + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(DiskPoolCreatePropertiesDisks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(DiskPoolCreatePropertiesSubnetId^string) + cli: + name: subnetId + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) + cli: + name: additionalCapabilities + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: DiskPoolUpdate + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + cliPath: schemas$$objects['DiskPoolUpdate'] + properties: + - propertyName: tags(DiskPoolUpdateTags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + cliPath: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(DiskPoolUpdatePropertiesDisks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + cliPath: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: DiskPoolZoneListResult + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + cliPath: schemas$$objects['DiskPoolZoneListResult'] + properties: + - propertyName: value(DiskPoolZoneListResultValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(DiskPoolZoneListResultNextLink^string) + cli: + name: nextLink + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: DiskPoolZoneInfo + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + cliPath: schemas$$objects['DiskPoolZoneInfo'] + properties: + - propertyName: availability_zones(DiskPoolZoneInfoAvailabilityZones^array) + cli: + name: availabilityZones + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(DiskPoolZoneInfoAdditionalCapabilities^array) + cli: + name: additionalCapabilities + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(Sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: OutboundEnvironmentEndpointList + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + cliPath: schemas$$objects['OutboundEnvironmentEndpointList'] + properties: + - propertyName: value(OutboundEnvironmentEndpointListValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(OutboundEnvironmentEndpointListNextLink^string) + cli: + name: nextLink + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: OutboundEnvironmentEndpoint + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + cliPath: schemas$$objects['OutboundEnvironmentEndpoint'] + properties: + - propertyName: category(OutboundEnvironmentEndpointCategory^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(OutboundEnvironmentEndpointEndpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: EndpointDependency + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + cliPath: schemas$$objects['EndpointDependency'] + properties: + - propertyName: domain_name(EndpointDependencyDomainName^string) + cli: + name: domainName + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + cliPath: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(EndpointDependencyEndpointDetails^array) + cli: + name: endpointDetails + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + cliPath: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: EndpointDetail + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + cliPath: schemas$$objects['EndpointDetail'] + properties: + - propertyName: ip_address(EndpointDetailIpAddress^string) + cli: + name: ipAddress + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + cliPath: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(Integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + cliPath: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(Number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + cliPath: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + name: isAccessible + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + cliPath: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: IscsiTargetList + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + cliPath: schemas$$objects['IscsiTargetList'] + properties: + - propertyName: value(IscsiTargetListValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + cliPath: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(IscsiTargetListNextLink^string) + cli: + name: nextLink + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + cliPath: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: IscsiTarget + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + cliPath: schemas$$objects['IscsiTarget'] + properties: + - propertyName: system_data(SystemMetadata^object) + cli: + name: systemData + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + cliPath: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(IscsiTargetAclMode^choice) + cli: + name: aclMode + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + cliPath: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(IscsiTargetPropertiesStaticAcls^array) + cli: + name: staticAcls + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + cliPath: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(IscsiTargetPropertiesLuns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + cliPath: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(IscsiTargetPropertiesTargetIqn^string) + cli: + name: targetIqn + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + cliPath: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(ProvisioningStates^choice) + cli: + name: provisioningState + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + cliPath: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(OperationalStatus^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + cliPath: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(IscsiTargetPropertiesEndpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + cliPath: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(Integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + cliPath: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: Acl + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + cliPath: schemas$$objects['Acl'] + properties: + - propertyName: initiator_iqn(AclInitiatorIqn^string) + cli: + name: initiatorIqn + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + cliPath: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(AclMappedLuns^array) + cli: + name: mappedLuns + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + cliPath: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: IscsiLun + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + cliPath: schemas$$objects['IscsiLun'] + properties: + - propertyName: name(IscsiLunName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + cliPath: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(IscsiLunManagedDiskAzureResourceId^string) + cli: + name: managedDiskAzureResourceId + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + cliPath: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: IscsiTargetCreate + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + cliPath: schemas$$objects['IscsiTargetCreate'] + properties: + - propertyName: acl_mode(IscsiTargetAclMode^choice) + cli: + name: aclMode + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) + cli: + name: targetIqn + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) + cli: + name: staticAcls + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(IscsiTargetCreatePropertiesLuns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: IscsiTargetUpdate + cli: + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + cliPath: schemas$$objects['IscsiTargetUpdate'] + properties: + - propertyName: static_acls(IscsiTargetUpdatePropertiesStaticAcls^array) + cli: + name: staticAcls + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(IscsiTargetUpdatePropertiesLuns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: ProxyResource + cli: + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + cliPath: schemas$$objects['ProxyResource'] + choices: + all: + - choiceName: ProvisioningStates + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + cliPath: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + name: Invalid + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + name: Succeeded + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + name: Failed + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + name: Canceled + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + name: Pending + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + name: Creating + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + name: Updating + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + name: Deleting + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: OperationalStatus + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + cliPath: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + name: Invalid + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + name: Unknown + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + name: Healthy + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + name: Unhealthy + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + name: Updating + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + name: Running + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + name: Stopped + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated__ + cli: + name: StoppedDeallocated_ + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: CreatedByType + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + cliPath: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + name: User + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + cliPath: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + name: Application + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + cliPath: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + name: ManagedIdentity + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + cliPath: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + name: Key + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + cliPath: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: IscsiTargetAclMode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + cliPath: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + name: Dynamic + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + name: Static + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: DiskPoolTier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + cliPath: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + name: Basic + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + cliPath: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + name: Standard + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + cliPath: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + name: Premium + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' + cliPath: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000270-complex-marker-pre.yaml b/src/diskpool/_az_debug/clicommon-000270-complex-marker-pre.yaml new file mode 100644 index 00000000000..3f9f3356cb6 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000270-complex-marker-pre.yaml @@ -0,0 +1,7849 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: Integer + description: The port an endpoint is connected to. + cli: + name: Integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: Number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + name: Number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: Integer + description: The port used by iSCSI Target portal group. + cli: + name: Integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: String + description: simple string + cli: + name: String + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRPOperationName + description: The name of the operation being performed on this particular object + cli: + name: StoragePoolRPOperationName + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRPOperationActionType + description: Indicates the action type. + cli: + name: StoragePoolRPOperationActionType + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayProvider + description: Localized friendly form of the resource provider name. + cli: + name: StoragePoolOperationDisplayProvider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayResource + description: Localized friendly form of the resource type related to this action/operation. + cli: + name: StoragePoolOperationDisplayResource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayOperation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + name: StoragePoolOperationDisplayOperation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayDescription + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + name: StoragePoolOperationDisplayDescription + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRPOperationOrigin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + name: StoragePoolRPOperationOrigin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationListResultNextLink + description: URI to fetch the next section of the paginated response. + cli: + name: StoragePoolOperationListResultNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponseCode + description: The error code. + cli: + name: ErrorResponseCode + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponseMessage + description: The error message. + cli: + name: ErrorResponseMessage + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponseTarget + description: The error target. + cli: + name: ErrorResponseTarget + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorAdditionalInfoType + description: The additional info type. + cli: + name: ErrorAdditionalInfoType + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: String + description: '' + cli: + name: String + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SkuName + description: Sku name + cli: + name: SkuName + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SkuTier + description: Sku tier + cli: + name: SkuTier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AvailabilityZone + description: Availability zone. + cli: + name: AvailabilityZone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskId + description: Unique Azure Resource ID of the Managed Disk. + cli: + name: DiskId + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: DiskPoolPropertiesSubnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: DiskPoolPropertiesSubnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AdditionalCapability + description: Special capability that can be set on the Disk Pool. + cli: + name: AdditionalCapability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SystemMetadataCreatedBy + description: The identity that created the resource. + cli: + name: SystemMetadataCreatedBy + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SystemMetadataLastModifiedBy + description: The identity that last modified the resource. + cli: + name: SystemMetadataLastModifiedBy + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: String + description: '' + cli: + name: String + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: TrackedResourceLocation + description: The geo-location where the resource lives. + cli: + name: TrackedResourceLocation + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ResourceId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + name: ResourceId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ResourceName + description: The name of the resource + cli: + name: ResourceName + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ResourceType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + name: ResourceType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolListResultNextLink + description: URI to fetch the next section of the paginated response. + cli: + name: DiskPoolListResultNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: String + description: '' + cli: + name: String + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: DiskPoolCreatePropertiesSubnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: DiskPoolCreatePropertiesSubnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: DiskPoolCreateLocation + description: The geo-location where the resource lives. + cli: + name: DiskPoolCreateLocation + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreateId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + name: DiskPoolCreateId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreateName + description: The name of the resource + cli: + name: DiskPoolCreateName + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreateType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + name: DiskPoolCreateType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolZoneListResultNextLink + description: URI to fetch the next section of the paginated response. + cli: + name: DiskPoolZoneListResultNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: OutboundEnvironmentEndpointCategory + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + name: OutboundEnvironmentEndpointCategory + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: EndpointDependencyDomainName + description: The domain name of the dependency. + cli: + name: EndpointDependencyDomainName + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: EndpointDetailIpAddress + description: An IP Address that Domain Name currently resolves to. + cli: + name: EndpointDetailIpAddress + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: OutboundEnvironmentEndpointListNextLink + description: Link to next page of resources. + cli: + name: OutboundEnvironmentEndpointListNextLink + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AclInitiatorIqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + name: AclInitiatorIqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AclMappedLunsItem + description: '' + cli: + name: AclMappedLunsItem + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiLunName + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + name: IscsiLunName + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiLunManagedDiskAzureResourceId + description: Azure Resource ID of the Managed Disk. + cli: + name: IscsiLunManagedDiskAzureResourceId + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetPropertiesTargetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: IscsiTargetPropertiesTargetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetPropertiesEndpointsItem + description: '' + cli: + name: IscsiTargetPropertiesEndpointsItem + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetListNextLink + description: URI to fetch the next section of the paginated response. + cli: + name: IscsiTargetListNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetCreatePropertiesTargetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: IscsiTargetCreatePropertiesTargetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + name: Invalid + description: '' + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + name: Succeeded + description: '' + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + name: Failed + description: '' + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + name: Canceled + description: '' + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + name: Pending + description: '' + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + name: Creating + description: '' + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + name: Updating + description: '' + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + name: Deleting + description: '' + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: ProvisioningStates + description: Provisioning state of the iSCSI Target. + cli: + name: ProvisioningStates + description: Provisioning state of the iSCSI Target. + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + cliPath: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + name: Invalid + description: '' + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + name: Unknown + description: '' + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + name: Healthy + description: '' + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + name: Unhealthy + description: '' + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + name: Updating + description: '' + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + name: Running + description: '' + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + name: Stopped + description: '' + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated__ + description: '' + cli: + name: StoppedDeallocated_ + description: '' + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: OperationalStatus + description: Operational status of the resource. + cli: + name: OperationalStatus + description: Operational status of the resource. + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + cliPath: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + name: User + description: '' + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + name: Application + description: '' + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + name: ManagedIdentity + description: '' + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + name: Key + description: '' + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: CreatedByType + description: The type of identity that created the resource. + cli: + name: CreatedByType + description: The type of identity that created the resource. + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + cliPath: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + name: Dynamic + description: '' + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + name: Static + description: '' + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: IscsiTargetAclMode + description: ACL mode for iSCSI Target. + cli: + name: IscsiTargetAclMode + description: ACL mode for iSCSI Target. + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + cliPath: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + name: Basic + description: '' + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + name: Standard + description: '' + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + name: Premium + description: '' + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: DiskPoolTier + description: SKU of the VM host part of the Disk Pool deployment + cli: + name: DiskPoolTier + description: SKU of the VM host part of the Disk Pool deployment + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + cliPath: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + cli: + name: ApiVersion20210401Preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + cli: + name: Accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + cli: + name: ApplicationJson + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: TrackedResourceTags + description: Resource tags. + cli: + name: TrackedResourceTags + description: Resource tags. + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: DiskPoolCreateTags + description: Resource tags. + cli: + name: DiskPoolCreateTags + description: Resource tags. + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: DiskPoolUpdateTags + description: Resource tags. + cli: + name: DiskPoolUpdateTags + description: Resource tags. + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + name: name + description: The name of the operation being performed on this particular object + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + name: isDataAction + description: Indicates whether the operation applies to data-plane. + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + name: actionType + description: Indicates the action type. + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + name: provider + description: Localized friendly form of the resource provider name. + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolOperationDisplay + description: Metadata about an operation. + namespace: '' + cli: + name: StoragePoolOperationDisplay + description: Metadata about an operation. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + name: display + description: Additional metadata about RP operation. + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolRPOperation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + name: StoragePoolRPOperation + description: Description of a StoragePool RP Operation + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: StoragePoolOperationListResultValue + description: An array of operations supported by the StoragePool RP. + cli: + name: StoragePoolOperationListResultValue + description: An array of operations supported by the StoragePool RP. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + name: value + description: An array of operations supported by the StoragePool RP. + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + name: nextLink + description: URI to fetch the next section of the paginated response. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolOperationListResult + description: List of operations supported by the RP. + namespace: '' + cli: + name: StoragePoolOperationListResult + description: List of operations supported by the RP. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + name: code + description: The error code. + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + name: message + description: The error message. + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + name: target + description: The error target. + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: ErrorResponseDetails + description: The error details. + cli: + name: ErrorResponseDetails + description: The error details. + cli-complexity: array_complex + cli-in-circle: true + cli-mark: checked + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + name: details + description: The error details. + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + name: type + description: The additional info type. + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + name: info + description: The additional info. + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: ErrorAdditionalInfo + description: The resource management error additional info. + namespace: '' + cli: + name: ErrorAdditionalInfo + description: The resource management error additional info. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: ErrorResponseAdditionalInfo + description: The error additional info. + cli: + name: ErrorResponseAdditionalInfo + description: The error additional info. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + name: additionalInfo + description: The error additional info. + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: ErrorResponse + description: The resource management error response. + namespace: '' + cli: + name: ErrorResponse + description: The resource management error response. + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + cliPath: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + name: error + description: RP error response. + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + cliPath: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: Error + description: The resource management error response. + namespace: '' + cli: + name: Error + description: The resource management error response. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + cliPath: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + name: createdBy + description: The identity that created the resource. + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + name: createdByType + description: The type of identity that created the resource. + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + name: createdAt + description: The timestamp of resource creation (UTC). + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + name: lastModifiedBy + description: The identity that last modified the resource. + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + name: lastModifiedByType + description: The type of identity that last modified the resource. + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + name: lastModifiedAt + description: The type of identity that last modified the resource. + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: SystemMetadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + name: SystemMetadata + description: Metadata pertaining to creation and last modification of the resource. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + cliPath: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + name: systemData + description: Resource metadata required by ARM RPC + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + name: aclMode + description: Mode for Target connectivity. + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + name: initiatorIqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + cliPath: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: AclMappedLuns + description: List of LUN names mapped to the ACL. + cli: + name: AclMappedLuns + description: List of LUN names mapped to the ACL. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + name: mappedLuns + description: List of LUN names mapped to the ACL. + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + cliPath: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: Acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + name: Acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + cliPath: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: IscsiTargetPropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: IscsiTargetPropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + name: managedDiskAzureResourceId + description: Azure Resource ID of the Managed Disk. + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: IscsiLun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + name: IscsiLun + description: LUN to expose the Azure Managed Disk. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + cliPath: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: IscsiTargetPropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: IscsiTargetPropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + name: provisioningState + description: State of the operation on the resource. + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + name: status + description: Operational status of the iSCSI Target. + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: IscsiTargetPropertiesEndpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + name: IscsiTargetPropertiesEndpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + name: port + description: The port used by iSCSI Target portal group. + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: IscsiTarget + description: Response for iSCSI Target requests. + namespace: '' + cli: + name: IscsiTarget + description: Response for iSCSI Target requests. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + cliPath: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_186 + schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + name: aclMode + description: Mode for Target connectivity. + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - &ref_188 + schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - &ref_189 + schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: IscsiTargetCreatePropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: IscsiTargetCreatePropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_190 + schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: IscsiTargetCreatePropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: IscsiTargetCreatePropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: IscsiTargetCreate + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + name: IscsiTargetCreate + description: Payload for iSCSI Target create or update requests. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_200 + schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: IscsiTargetUpdatePropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: IscsiTargetUpdatePropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_202 + schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: IscsiTargetUpdatePropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: IscsiTargetUpdatePropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: IscsiTargetUpdate + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + name: IscsiTargetUpdate + description: Payload for iSCSI Target update requests. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + cliPath: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: ProxyResource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + name: ProxyResource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + cliPath: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + cliPath: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + name: name + description: The name of the resource + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + cliPath: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + cliPath: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: Resource + description: ARM resource model definition. + namespace: '' + cli: + name: Resource + description: ARM resource model definition. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + cliPath: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + name: location + description: The geo-location where the resource lives. + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: TrackedResource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + name: TrackedResource + description: The resource model definition for a ARM tracked top level resource. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + cliPath: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + name: systemData + description: Resource metadata required by ARM RPC + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + name: provisioningState + description: State of the operation on the resource. + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: DiskPoolPropertiesAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: DiskPoolPropertiesAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + name: status + description: Operational status of the Disk Pool. + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + cliPath: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: Disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + name: Disk + description: Azure Managed Disk to attach to the Disk Pool. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + cliPath: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: DiskPoolPropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: DiskPoolPropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: DiskPoolPropertiesAdditionalCapabilities + description: List of additional capabilities for Disk Pool. + cli: + name: DiskPoolPropertiesAdditionalCapabilities + description: List of additional capabilities for Disk Pool. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for Disk Pool. + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + name: nameSkuName + description: Sku name + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + name: tier + description: Sku tier + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: DiskPool + description: Response for Disk Pool request. + namespace: '' + cli: + name: DiskPool + description: Response for Disk Pool request. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + cliPath: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: DiskPoolListResultValue + description: An array of Disk pool objects. + cli: + name: DiskPoolListResultValue + description: An array of Disk pool objects. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + name: value + description: An array of Disk pool objects. + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + name: nextLink + description: URI to fetch the next section of the paginated response. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolListResult + description: List of Disk Pools + namespace: '' + cli: + name: DiskPoolListResult + description: List of Disk Pools + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + cliPath: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + name: name + description: Sku name + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + cliPath: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + name: tier + description: Sku tier + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + cliPath: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: Sku + description: Sku for ARM resource + namespace: '' + cli: + name: Sku + description: Sku for ARM resource + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + cliPath: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_120 + schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + name: sku + description: Determines the SKU of the Disk Pool + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - &ref_122 + schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - &ref_123 + schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + name: location + description: The geo-location where the resource lives. + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + name: name + description: The name of the resource + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - &ref_124 + schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: DiskPoolCreatePropertiesAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: DiskPoolCreatePropertiesAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - &ref_125 + schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: DiskPoolCreatePropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: DiskPoolCreatePropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - &ref_126 + schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - &ref_127 + schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: DiskPoolCreatePropertiesAdditionalCapabilities + description: List of additional capabilities for a Disk Pool. + cli: + name: DiskPoolCreatePropertiesAdditionalCapabilities + description: List of additional capabilities for a Disk Pool. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for a Disk Pool. + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: DiskPoolCreate + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + name: DiskPoolCreate + description: Request payload for create or update Disk Pool request. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_137 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_139 + schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - &ref_141 + schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: DiskPoolUpdatePropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: DiskPoolUpdatePropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: DiskPoolUpdate + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + name: DiskPoolUpdate + description: Request payload for Update Disk Pool request. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + cliPath: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_181 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: DiskPoolZoneInfoAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: DiskPoolZoneInfoAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: DiskPoolZoneInfoAdditionalCapabilities + description: List of additional capabilities for Disk Pool. + cli: + name: DiskPoolZoneInfoAdditionalCapabilities + description: List of additional capabilities for Disk Pool. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for Disk Pool. + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolZoneInfo + description: Disk Pool Sku Details + namespace: '' + cli: + name: DiskPoolZoneInfo + description: Disk Pool Sku Details + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: DiskPoolZoneListResultValue + description: The list of Disk Pool Skus. + cli: + name: DiskPoolZoneListResultValue + description: The list of Disk Pool Skus. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + name: value + description: The list of Disk Pool Skus. + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + name: nextLink + description: URI to fetch the next section of the paginated response. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolZoneListResult + description: List Disk Pool skus operation response. + namespace: '' + cli: + name: DiskPoolZoneListResult + description: List Disk Pool skus operation response. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_153 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + name: domainName + description: The domain name of the dependency. + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + name: ipAddress + description: An IP Address that Domain Name currently resolves to. + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + name: port + description: The port an endpoint is connected to. + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + name: isAccessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: EndpointDetail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + name: EndpointDetail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + cliPath: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: EndpointDependencyEndpointDetails + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + name: EndpointDependencyEndpointDetails + description: The IP Addresses and Ports used when connecting to DomainName. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + name: endpointDetails + description: The IP Addresses and Ports used when connecting to DomainName. + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: EndpointDependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + name: EndpointDependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + cliPath: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: OutboundEnvironmentEndpointEndpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + name: OutboundEnvironmentEndpointEndpoints + description: The endpoints that the App Service Environment reaches the service at. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: OutboundEnvironmentEndpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + name: OutboundEnvironmentEndpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: OutboundEnvironmentEndpointListValue + description: Collection of resources. + cli: + name: OutboundEnvironmentEndpointListValue + description: Collection of resources. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + name: value + description: Collection of resources. + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + name: nextLink + description: Link to next page of resources. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: OutboundEnvironmentEndpointList + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + name: OutboundEnvironmentEndpointList + description: Collection of Outbound Environment Endpoints + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_184 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: IscsiTargetListValue + description: An array of iSCSI Targets in a Disk Pool. + cli: + name: IscsiTargetListValue + description: An array of iSCSI Targets in a Disk Pool. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + name: nextLink + description: URI to fetch the next section of the paginated response. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: IscsiTargetList + description: List of iSCSI Targets. + namespace: '' + cli: + name: IscsiTargetList + description: List of iSCSI Targets. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + cliPath: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + name: subscriptionId + description: The ID of the target subscription. + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + cliPath: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + name: $host + description: server parameter + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + cliPath: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + name: ApiVersion + description: Api Version + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + cliPath: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + name: List + description: Gets a list of StoragePool operations. + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + cliPath: 'operationGroups[''Operations'']$$operations[''List'']' + hidden: true + protocol: {} + language: + default: + name: Operation + description: '' + cli: + name: Operation + description: '' + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + cliPath: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + name: ListBySubscription + description: Gets a list of Disk Pools in a subscription + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + name: ListByResourceGroup + description: Gets a list of DiskPools in a resource group. + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - &ref_177 + apiVersions: &ref_158 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_159 + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_160 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_161 + in: header + - &ref_119 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_128 + schema: *ref_59 + implementation: Method + originalParameter: *ref_119 + pathToProperty: &ref_121 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + name: sku + description: Determines the SKU of the Disk Pool + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''sku'']' + protocol: {} + - &ref_129 + schema: *ref_60 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''tags'']' + protocol: {} + - &ref_130 + schema: *ref_61 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + name: location + description: The geo-location where the resource lives. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''location'']' + protocol: {} + - &ref_131 + schema: *ref_87 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''availabilityZones'']' + protocol: {} + - &ref_132 + schema: *ref_88 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''disks'']' + positional: true + positionalKeys: &ref_142 + - id + protocol: {} + - &ref_133 + schema: *ref_65 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''subnetId'']' + protocol: {} + - &ref_134 + schema: *ref_89 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for a Disk Pool. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''additionalCapabilities'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_164 + in: header + signatureParameters: + - *ref_128 + - *ref_129 + - *ref_130 + - *ref_131 + - *ref_132 + - *ref_133 + - *ref_134 + language: + default: + name: '' + description: '' + protocol: + http: &ref_172 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: &ref_175 + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_176 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_178 + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_179 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + name: CreateOrUpdate + description: Create or Update Disk pool. + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + split-operation-names: &ref_198 + - Create + - Update + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_145 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_146 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_138 + schema: *ref_137 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_143 + schema: *ref_66 + implementation: Method + originalParameter: *ref_138 + pathToProperty: &ref_140 [] + required: false + targetProperty: *ref_139 + extensions: + cli-flatten-origin: *ref_139 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + cliKey: tags + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''tags'']' + protocol: {} + - &ref_144 + schema: *ref_90 + implementation: Method + originalParameter: *ref_138 + pathToProperty: *ref_140 + targetProperty: *ref_141 + extensions: + cli-flatten-origin: *ref_141 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + cliKey: disks + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''disks'']' + positional: true + positionalKeys: *ref_142 + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_143 + - *ref_144 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_145 + - *ref_146 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + name: Update + description: Update a Disk pool. + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_147 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_148 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_147 + - *ref_148 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + name: Delete + description: Delete a Disk pool. + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_149 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_150 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_149 + - *ref_150 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + name: Get + description: Get a Disk pool. + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_151 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_152 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_151 + - *ref_152 + responses: + - schema: *ref_153 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependency_endpoint + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + name: ListOutboundNetworkDependencyEndpoint + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_154 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_155 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_154 + - *ref_155 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + name: Start + description: The operation to start a Disk Pool. + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_156 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_157 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_156 + - *ref_157 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + name: Deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + - apiVersions: *ref_158 + parameters: + - *ref_108 + - *ref_113 + - &ref_173 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$parameters[''resourceGroupName'']' + protocol: + http: *ref_159 + - &ref_174 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$parameters[''diskPoolName'']' + protocol: + http: *ref_160 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: *ref_161 + - &ref_162 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_165 + schema: *ref_59 + implementation: Method + originalParameter: *ref_162 + pathToProperty: &ref_163 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + name: sku + description: Determines the SKU of the Disk Pool + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''sku'']' + protocol: {} + - &ref_166 + schema: *ref_60 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''tags'']' + protocol: {} + - &ref_167 + schema: *ref_61 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + name: location + description: The geo-location where the resource lives. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''location'']' + protocol: {} + - &ref_168 + schema: *ref_87 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''availabilityZones'']' + protocol: {} + - &ref_169 + schema: *ref_88 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''disks'']' + positional: true + positionalKeys: *ref_142 + protocol: {} + - &ref_170 + schema: *ref_65 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''subnetId'']' + protocol: {} + - &ref_171 + schema: *ref_89 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for a Disk Pool. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''additionalCapabilities'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''accept'']' + protocol: + http: *ref_164 + signatureParameters: + - *ref_165 + - *ref_166 + - *ref_167 + - *ref_168 + - *ref_169 + - *ref_170 + - *ref_171 + language: + default: + name: '' + description: '' + protocol: + http: *ref_172 + signatureParameters: + - *ref_173 + - *ref_174 + responses: *ref_175 + exceptions: *ref_176 + extensions: + cli-split-operation-original-operation: *ref_177 + x-ms-examples: *ref_178 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_179 + language: + default: + name: create + description: Create Disk pool. + cli: + name: Create + description: Create Disk pool. + cliKey: 'CreateOrUpdate#Create' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']' + protocol: {} + language: + default: + name: DiskPool + description: '' + cli: + name: DiskPool + description: '' + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + cliPath: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_180 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + name: location + description: The location of the resource. + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_180 + responses: + - schema: *ref_181 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + name: List + description: Lists available Disk Pool Skus in an Azure location. + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: DiskPoolZone + description: '' + cli: + name: DiskPoolZone + description: '' + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + cliPath: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_182 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_183 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_182 + - *ref_183 + responses: + - schema: *ref_184 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + name: ListByDiskPool + description: Get iSCSI Targets in a Disk pool. + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - &ref_232 + apiVersions: &ref_214 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_195 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_215 + in: path + - &ref_196 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_216 + in: path + - &ref_197 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: &ref_217 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_218 + in: header + - &ref_185 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_191 + schema: *ref_28 + implementation: Method + originalParameter: *ref_185 + pathToProperty: &ref_187 [] + required: true + targetProperty: *ref_186 + extensions: + cli-flatten-origin: *ref_186 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + name: aclMode + description: Mode for Target connectivity. + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''aclMode'']' + protocol: {} + - &ref_192 + schema: *ref_38 + implementation: Method + originalParameter: *ref_185 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''targetIqn'']' + protocol: {} + - &ref_193 + schema: *ref_102 + implementation: Method + originalParameter: *ref_185 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''staticAcls'']' + protocol: {} + - &ref_194 + schema: *ref_103 + implementation: Method + originalParameter: *ref_185 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_190 + extensions: + cli-flatten-origin: *ref_190 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''luns'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_221 + in: header + signatureParameters: + - *ref_191 + - *ref_192 + - *ref_193 + - *ref_194 + language: + default: + name: '' + description: '' + protocol: + http: &ref_226 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_195 + - *ref_196 + - *ref_197 + responses: &ref_230 + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_231 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_233 + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_234 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + name: CreateOrUpdate + description: Create or Update an iSCSI Target. + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + split-operation-names: *ref_198 + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_205 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_206 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_207 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_199 + schema: *ref_43 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_203 + schema: *ref_104 + implementation: Method + originalParameter: *ref_199 + pathToProperty: &ref_201 [] + targetProperty: *ref_200 + extensions: + cli-flatten-origin: *ref_200 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + cliKey: staticAcls + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''staticAcls'']' + protocol: {} + - &ref_204 + schema: *ref_105 + implementation: Method + originalParameter: *ref_199 + pathToProperty: *ref_201 + targetProperty: *ref_202 + extensions: + cli-flatten-origin: *ref_202 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + cliKey: luns + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''luns'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_203 + - *ref_204 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_205 + - *ref_206 + - *ref_207 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + name: Update + description: Update an iSCSI Target. + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_208 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_209 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_210 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_208 + - *ref_209 + - *ref_210 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + name: Delete + description: Delete an iSCSI Target. + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_211 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_212 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_213 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_211 + - *ref_212 + - *ref_213 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + name: Get + description: Get an iSCSI Target. + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + - apiVersions: *ref_214 + parameters: + - *ref_108 + - *ref_113 + - &ref_227 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''resourceGroupName'']' + protocol: + http: *ref_215 + - &ref_228 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''diskPoolName'']' + protocol: + http: *ref_216 + - &ref_229 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''iscsiTargetName'']' + protocol: + http: *ref_217 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: *ref_218 + - &ref_219 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_222 + schema: *ref_28 + implementation: Method + originalParameter: *ref_219 + pathToProperty: &ref_220 [] + required: true + targetProperty: *ref_186 + extensions: + cli-flatten-origin: *ref_186 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + name: aclMode + description: Mode for Target connectivity. + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''aclMode'']' + protocol: {} + - &ref_223 + schema: *ref_38 + implementation: Method + originalParameter: *ref_219 + pathToProperty: *ref_220 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''targetIqn'']' + protocol: {} + - &ref_224 + schema: *ref_102 + implementation: Method + originalParameter: *ref_219 + pathToProperty: *ref_220 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''staticAcls'']' + protocol: {} + - &ref_225 + schema: *ref_103 + implementation: Method + originalParameter: *ref_219 + pathToProperty: *ref_220 + required: false + targetProperty: *ref_190 + extensions: + cli-flatten-origin: *ref_190 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''luns'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''accept'']' + protocol: + http: *ref_221 + signatureParameters: + - *ref_222 + - *ref_223 + - *ref_224 + - *ref_225 + language: + default: + name: '' + description: '' + protocol: + http: *ref_226 + signatureParameters: + - *ref_227 + - *ref_228 + - *ref_229 + responses: *ref_230 + exceptions: *ref_231 + extensions: + cli-split-operation-original-operation: *ref_232 + x-ms-examples: *ref_233 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_234 + language: + default: + name: create + description: Create an iSCSI Target. + cli: + name: Create + description: Create an iSCSI Target. + cliKey: 'CreateOrUpdate#Create' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']' + protocol: {} + language: + default: + name: IscsiTarget + description: '' + cli: + name: IscsiTarget + description: '' + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + cliPath: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +test-scenario: + - name: /DiskPools/put/Createxxx +language: + default: + name: StoragePoolManagement + description: '' + cli: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-000280-complex-marker-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000280-complex-marker-post-simplified.yaml new file mode 100644 index 00000000000..d809808d8ee --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000280-complex-marker-post-simplified.yaml @@ -0,0 +1,2086 @@ +operationGroups: + all: + - operationGroupName: Operation + cli: + cliKey: Operations + cliM4Path: operationGroups['Operations'] + cliPath: operationGroups['Operations'] + operations: + - operationName: list + cli: + name: List + cliKey: List + cliM4Path: operationGroups['Operations']$$operations['List'] + cliPath: operationGroups['Operations']$$operations['List'] + hidden: true + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: DiskPool + cli: + cliKey: DiskPools + cliM4Path: operationGroups['DiskPools'] + cliPath: operationGroups['DiskPools'] + operations: + - operationName: list_by_subscription + cli: + name: ListBySubscription + cliKey: ListBySubscription + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] + cliPath: operationGroups['DiskPools']$$operations['ListBySubscription'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] + - operationName: list_by_resource_group + cli: + name: ListByResourceGroup + cliKey: ListByResourceGroup + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + name: CreateOrUpdate + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(DiskPoolCreate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: DiskPoolCreate + - parameterName[0]: sku(Sku^object) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['sku'] + - parameterName[0]: tags(DiskPoolCreateTags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['tags'] + - parameterName[0]: location(DiskPoolCreateLocation^string) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['location'] + - parameterName[0]: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) + cli: + name: availabilityZones + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['availabilityZones'] + - parameterName[0]: disks(DiskPoolCreatePropertiesDisks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['disks'] + positional: true + positionalKeys: + - id + - parameterName[0]: subnet_id(DiskPoolCreatePropertiesSubnetId^string) + cli: + name: subnetId + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['subnetId'] + - parameterName[0]: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) + cli: + name: additionalCapabilities + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['additionalCapabilities'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + name: Update + cliKey: Update + cliM4Path: operationGroups['DiskPools']$$operations['Update'] + cliPath: operationGroups['DiskPools']$$operations['Update'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_update_payload(DiskPoolUpdate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + bodySchema: DiskPoolUpdate + - parameterName[0]: tags(DiskPoolUpdateTags^dictionary) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['tags'] + cliKey: tags + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['tags'] + - parameterName[0]: disks(DiskPoolUpdatePropertiesDisks^array) + cli: + cliFlattenTrace: + - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] + - schemas$$objects['DiskPoolUpdate']$$properties['disks'] + cliKey: disks + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['disks'] + positional: true + positionalKeys: + - id + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + name: Delete + cliKey: Delete + cliM4Path: operationGroups['DiskPools']$$operations['Delete'] + cliPath: operationGroups['DiskPools']$$operations['Delete'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + name: Get + cliKey: Get + cliM4Path: operationGroups['DiskPools']$$operations['Get'] + cliPath: operationGroups['DiskPools']$$operations['Get'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: list_outbound_network_dependency_endpoint + cli: + name: ListOutboundNetworkDependencyEndpoint + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] + - operationName: start + cli: + name: Start + cliKey: Start + cliM4Path: operationGroups['DiskPools']$$operations['Start'] + cliPath: operationGroups['DiskPools']$$operations['Start'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] + - operationName: deallocate + cli: + name: Deallocate + cliKey: Deallocate + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] + cliPath: operationGroups['DiskPools']$$operations['Deallocate'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] + - operationName: create + cli: + name: Create + cliKey: CreateOrUpdate#Create + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create'] + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['content-type'] + - parameterName[0]: disk_pool_create_payload(DiskPoolCreate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['diskPoolCreatePayload'] + bodySchema: DiskPoolCreate + - parameterName[0]: sku(Sku^object) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliKey: sku + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['sku'] + - parameterName[0]: tags(DiskPoolCreateTags^dictionary) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliKey: tags + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['tags'] + - parameterName[0]: location(DiskPoolCreateLocation^string) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['location'] + cliKey: location + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['location'] + - parameterName[0]: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) + cli: + name: availabilityZones + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliKey: availabilityZones + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['availabilityZones'] + - parameterName[0]: disks(DiskPoolCreatePropertiesDisks^array) + cli: + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliKey: disks + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['disks'] + positional: true + positionalKeys: + - id + - parameterName[0]: subnet_id(DiskPoolCreatePropertiesSubnetId^string) + cli: + name: subnetId + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliKey: subnetId + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['subnetId'] + - parameterName[0]: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) + cli: + name: additionalCapabilities + cliFlattenTrace: + - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliKey: additionalCapabilities + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['additionalCapabilities'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['accept'] + - operationGroupName: DiskPoolZone + cli: + cliKey: DiskPoolZones + cliM4Path: operationGroups['DiskPoolZones'] + cliPath: operationGroups['DiskPoolZones'] + operations: + - operationName: list + cli: + name: List + cliKey: List + cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] + cliPath: operationGroups['DiskPoolZones']$$operations['List'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: location(String^string) + cli: + cliKey: location + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + cliPath: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] + - operationGroupName: IscsiTarget + cli: + cliKey: IscsiTargets + cliM4Path: operationGroups['IscsiTargets'] + cliPath: operationGroups['IscsiTargets'] + operations: + - operationName: list_by_disk_pool + cli: + name: ListByDiskPool + cliKey: ListByDiskPool + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] + - operationName: create_or_update + cli: + name: CreateOrUpdate + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] + split-operation-names: + - Create + - Update + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + name: iscsiTargetName + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(IscsiTargetCreate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: IscsiTargetCreate + - parameterName[0]: acl_mode(IscsiTargetAclMode^choice) + cli: + name: aclMode + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['aclMode'] + - parameterName[0]: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) + cli: + name: targetIqn + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['targetIqn'] + - parameterName[0]: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) + cli: + name: staticAcls + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['staticAcls'] + - parameterName[0]: luns(IscsiTargetCreatePropertiesLuns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['luns'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] + - operationName: update + cli: + name: Update + cliKey: Update + cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] + cliPath: operationGroups['IscsiTargets']$$operations['Update'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + name: iscsiTargetName + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_update_payload(IscsiTargetUpdate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + bodySchema: IscsiTargetUpdate + - parameterName[0]: static_acls(IscsiTargetUpdatePropertiesStaticAcls^array) + cli: + name: staticAcls + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + cliKey: staticAcls + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['staticAcls'] + - parameterName[0]: luns(IscsiTargetUpdatePropertiesLuns^array) + cli: + cliFlattenTrace: + - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] + - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + cliKey: luns + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['luns'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] + - operationName: delete + cli: + name: Delete + cliKey: Delete + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + name: iscsiTargetName + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] + - operationName: get + cli: + name: Get + cliKey: Get + cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] + cliPath: operationGroups['IscsiTargets']$$operations['Get'] + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + name: iscsiTargetName + cliKey: iscsiTargetName + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + cliPath: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] + - operationName: create + cli: + name: Create + cliKey: CreateOrUpdate#Create + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create'] + cli-split-operation-original-operation: CreateOrUpdate + parameters: + - parameterName: $host(String^string) + cli: + cliKey: $host + cliM4Path: globalParameters['$host'] + cliPath: globalParameters['$host'] + - parameterName: subscription_id(String^string) + cli: + name: subscriptionId + cliKey: subscriptionId + cliM4Path: globalParameters['subscriptionId'] + cliPath: globalParameters['subscriptionId'] + - parameterName: resource_group_name(String^string) + cli: + name: resourceGroupName + cliKey: resourceGroupName + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['resourceGroupName'] + - parameterName: disk_pool_name(String^string) + cli: + name: diskPoolName + cliKey: diskPoolName + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['diskPoolName'] + - parameterName: iscsi_target_name(String^string) + cli: + name: iscsiTargetName + cliKey: iscsiTargetName + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['iscsiTargetName'] + - parameterName: api_version(api_version2021_04_01_preview^constant) + cli: + name: ApiVersion + cliKey: ApiVersion + cliM4Path: globalParameters['ApiVersion'] + cliPath: globalParameters['ApiVersion'] + - parameterName[0]: content_type(application_json^constant) + cli: + name: ContentType + cliKey: content-type + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['content-type'] + - parameterName[0]: iscsi_target_create_payload(IscsiTargetCreate^object) + cli: + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['iscsiTargetCreatePayload'] + bodySchema: IscsiTargetCreate + - parameterName[0]: acl_mode(IscsiTargetAclMode^choice) + cli: + name: aclMode + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliKey: aclMode + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['aclMode'] + - parameterName[0]: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) + cli: + name: targetIqn + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliKey: targetIqn + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['targetIqn'] + - parameterName[0]: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) + cli: + name: staticAcls + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliKey: staticAcls + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['staticAcls'] + - parameterName[0]: luns(IscsiTargetCreatePropertiesLuns^array) + cli: + cliFlattenTrace: + - schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliKey: luns + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['luns'] + - parameterName[0]: accept(accept^constant) + cli: + name: Accept + cliKey: accept + cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['accept'] +schemas: + objects: + all: + - schemaName: StoragePoolOperationListResult + cli: + cliKey: StoragePoolOperationListResult + cliM4Path: schemas$$objects['StoragePoolOperationListResult'] + cliPath: schemas$$objects['StoragePoolOperationListResult'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: value(StoragePoolOperationListResultValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] + - propertyName: next_link(StoragePoolOperationListResultNextLink^string) + cli: + name: nextLink + cliKey: nextLink + cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] + - schemaName: StoragePoolRPOperation + cli: + cliKey: StoragePoolRPOperation + cliM4Path: schemas$$objects['StoragePoolRPOperation'] + cliPath: schemas$$objects['StoragePoolRPOperation'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + cli-mark: checked + properties: + - propertyName: name(StoragePoolRPOperationName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['name'] + - propertyName: is_data_action(boolean^boolean) + cli: + name: isDataAction + cliKey: isDataAction + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] + - propertyName: action_type(StoragePoolRPOperationActionType^string) + cli: + name: actionType + cliKey: actionType + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] + - propertyName: display(StoragePoolOperationDisplay^object) + cli: + cliKey: display + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['display'] + - propertyName: origin(StoragePoolRPOperationOrigin^string) + cli: + cliKey: origin + cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] + - schemaName: StoragePoolOperationDisplay + cli: + cliKey: StoragePoolOperationDisplay + cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] + cliPath: schemas$$objects['StoragePoolOperationDisplay'] + cli-complexity: object_simple + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + cli-mark: checked + properties: + - propertyName: provider(StoragePoolOperationDisplayProvider^string) + cli: + cliKey: provider + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] + - propertyName: resource(StoragePoolOperationDisplayResource^string) + cli: + cliKey: resource + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] + - propertyName: operation(StoragePoolOperationDisplayOperation^string) + cli: + cliKey: operation + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] + - propertyName: description(StoragePoolOperationDisplayDescription^string) + cli: + cliKey: description + cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] + - schemaName: Error + cli: + cliKey: Error + cliM4Path: schemas$$objects['Error'] + cliPath: schemas$$objects['Error'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + cli-mark: checked + properties: + - propertyName: error(ErrorResponse^object) + cli: + cliKey: error + cliM4Path: schemas$$objects['Error']$$properties['error'] + cliPath: schemas$$objects['Error']$$properties['error'] + - schemaName: ErrorResponse + cli: + cli-in-circle: true + cliKey: ErrorResponse + cliM4Path: schemas$$objects['ErrorResponse'] + cliPath: schemas$$objects['ErrorResponse'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + cli-mark: checked + properties: + - propertyName: code(ErrorResponseCode^string) + cli: + cliKey: code + cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] + cliPath: schemas$$objects['ErrorResponse']$$properties['code'] + readOnly: true + - propertyName: message(ErrorResponseMessage^string) + cli: + cliKey: message + cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] + cliPath: schemas$$objects['ErrorResponse']$$properties['message'] + readOnly: true + - propertyName: target(ErrorResponseTarget^string) + cli: + cliKey: target + cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] + cliPath: schemas$$objects['ErrorResponse']$$properties['target'] + readOnly: true + - propertyName: details(ErrorResponseDetails^array) + cli: + cliKey: details + cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] + cliPath: schemas$$objects['ErrorResponse']$$properties['details'] + readOnly: true + - propertyName: additional_info(ErrorResponseAdditionalInfo^array) + cli: + name: additionalInfo + cliKey: additionalInfo + cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + cliPath: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] + readOnly: true + - schemaName: ErrorAdditionalInfo + cli: + cliKey: ErrorAdditionalInfo + cliM4Path: schemas$$objects['ErrorAdditionalInfo'] + cliPath: schemas$$objects['ErrorAdditionalInfo'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + cli-mark: checked + properties: + - propertyName: type(ErrorAdditionalInfoType^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] + readOnly: true + - propertyName: info(any^any) + cli: + cliKey: info + cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] + readOnly: true + - schemaName: DiskPoolListResult + cli: + cliKey: DiskPoolListResult + cliM4Path: schemas$$objects['DiskPoolListResult'] + cliPath: schemas$$objects['DiskPoolListResult'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: value(DiskPoolListResultValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] + cliPath: schemas$$objects['DiskPoolListResult']$$properties['value'] + - propertyName: next_link(DiskPoolListResultNextLink^string) + cli: + name: nextLink + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + cliPath: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] + readOnly: true + - schemaName: DiskPool + cli: + cliKey: DiskPool + cliM4Path: schemas$$objects['DiskPool'] + cliPath: schemas$$objects['DiskPool'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: system_data(SystemMetadata^object) + cli: + name: systemData + cliKey: systemData + cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] + cliPath: schemas$$objects['DiskPool']$$properties['systemData'] + readOnly: true + - propertyName: provisioning_state(ProvisioningStates^choice) + cli: + name: provisioningState + cliKey: provisioningState + cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] + cliPath: schemas$$objects['DiskPool']$$properties['provisioningState'] + readOnly: true + - propertyName: availability_zones(DiskPoolPropertiesAvailabilityZones^array) + cli: + name: availabilityZones + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] + cliPath: schemas$$objects['DiskPool']$$properties['availabilityZones'] + - propertyName: status(OperationalStatus^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['DiskPool']$$properties['status'] + cliPath: schemas$$objects['DiskPool']$$properties['status'] + - propertyName: disks(DiskPoolPropertiesDisks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] + cliPath: schemas$$objects['DiskPool']$$properties['disks'] + - propertyName: subnet_id(DiskPoolPropertiesSubnetId^string) + cli: + name: subnetId + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] + cliPath: schemas$$objects['DiskPool']$$properties['subnetId'] + - propertyName: additional_capabilities(DiskPoolPropertiesAdditionalCapabilities^array) + cli: + name: additionalCapabilities + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + cliPath: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] + - propertyName: name_sku_name(SkuName^string) + cli: + name: nameSkuName + cliKey: name + cliM4Path: schemas$$objects['DiskPool']$$properties['name'] + cliPath: schemas$$objects['DiskPool']$$properties['name'] + - propertyName: tier(SkuTier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] + cliPath: schemas$$objects['DiskPool']$$properties['tier'] + - schemaName: Sku + cli: + cliKey: Sku + cliM4Path: schemas$$objects['Sku'] + cliPath: schemas$$objects['Sku'] + cli-complexity: object_simple + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + cli-mark: checked + properties: + - propertyName: name(SkuName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Sku']$$properties['name'] + cliPath: schemas$$objects['Sku']$$properties['name'] + - propertyName: tier(SkuTier^string) + cli: + cliKey: tier + cliM4Path: schemas$$objects['Sku']$$properties['tier'] + cliPath: schemas$$objects['Sku']$$properties['tier'] + - schemaName: Disk + cli: + cliKey: Disk + cliM4Path: schemas$$objects['Disk'] + cliPath: schemas$$objects['Disk'] + cli-complexity: object_simple + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + cli-mark: checked + properties: + - propertyName: id(DiskId^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Disk']$$properties['id'] + cliPath: schemas$$objects['Disk']$$properties['id'] + - schemaName: SystemMetadata + cli: + cliKey: SystemMetadata + cliM4Path: schemas$$objects['SystemMetadata'] + cliPath: schemas$$objects['SystemMetadata'] + cli-complexity: object_simple + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + cli-mark: checked + properties: + - propertyName: created_by(SystemMetadataCreatedBy^string) + cli: + name: createdBy + cliKey: createdBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] + cliPath: schemas$$objects['SystemMetadata']$$properties['createdBy'] + - propertyName: created_by_type(CreatedByType^choice) + cli: + name: createdByType + cliKey: createdByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] + cliPath: schemas$$objects['SystemMetadata']$$properties['createdByType'] + - propertyName: created_at(system_metadata_created_at^date-time) + cli: + name: createdAt + cliKey: createdAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] + cliPath: schemas$$objects['SystemMetadata']$$properties['createdAt'] + - propertyName: last_modified_by(SystemMetadataLastModifiedBy^string) + cli: + name: lastModifiedBy + cliKey: lastModifiedBy + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] + - propertyName: last_modified_by_type(CreatedByType^choice) + cli: + name: lastModifiedByType + cliKey: lastModifiedByType + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] + - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) + cli: + name: lastModifiedAt + cliKey: lastModifiedAt + cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] + - schemaName: TrackedResource + cli: + cliKey: TrackedResource + cliM4Path: schemas$$objects['TrackedResource'] + cliPath: schemas$$objects['TrackedResource'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: tags(TrackedResourceTags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] + cliPath: schemas$$objects['TrackedResource']$$properties['tags'] + - propertyName: location(TrackedResourceLocation^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] + cliPath: schemas$$objects['TrackedResource']$$properties['location'] + - schemaName: Resource + cli: + cliKey: Resource + cliM4Path: schemas$$objects['Resource'] + cliPath: schemas$$objects['Resource'] + cli-complexity: object_simple + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + cli-mark: checked + properties: + - propertyName: id(ResourceId^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['Resource']$$properties['id'] + cliPath: schemas$$objects['Resource']$$properties['id'] + readOnly: true + - propertyName: name(ResourceName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['Resource']$$properties['name'] + cliPath: schemas$$objects['Resource']$$properties['name'] + readOnly: true + - propertyName: type(ResourceType^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['Resource']$$properties['type'] + cliPath: schemas$$objects['Resource']$$properties['type'] + readOnly: true + - schemaName: DiskPoolCreate + cli: + cliKey: DiskPoolCreate + cliM4Path: schemas$$objects['DiskPoolCreate'] + cliPath: schemas$$objects['DiskPoolCreate'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: sku(Sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['sku'] + - propertyName: tags(DiskPoolCreateTags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['tags'] + - propertyName: location(DiskPoolCreateLocation^string) + cli: + cliKey: location + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['location'] + - propertyName: id(DiskPoolCreateId^string) + cli: + cliKey: id + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['id'] + readOnly: true + - propertyName: name(DiskPoolCreateName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['name'] + readOnly: true + - propertyName: type(DiskPoolCreateType^string) + cli: + cliKey: type + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['type'] + readOnly: true + - propertyName: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) + cli: + name: availabilityZones + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] + - propertyName: disks(DiskPoolCreatePropertiesDisks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['disks'] + - propertyName: subnet_id(DiskPoolCreatePropertiesSubnetId^string) + cli: + name: subnetId + cliKey: subnetId + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] + - propertyName: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) + cli: + name: additionalCapabilities + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + cliPath: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] + - schemaName: DiskPoolUpdate + cli: + cliKey: DiskPoolUpdate + cliM4Path: schemas$$objects['DiskPoolUpdate'] + cliPath: schemas$$objects['DiskPoolUpdate'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: tags(DiskPoolUpdateTags^dictionary) + cli: + cliKey: tags + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + cliPath: schemas$$objects['DiskPoolUpdate']$$properties['tags'] + - propertyName: disks(DiskPoolUpdatePropertiesDisks^array) + cli: + cliKey: disks + cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + cliPath: schemas$$objects['DiskPoolUpdate']$$properties['disks'] + - schemaName: DiskPoolZoneListResult + cli: + cliKey: DiskPoolZoneListResult + cliM4Path: schemas$$objects['DiskPoolZoneListResult'] + cliPath: schemas$$objects['DiskPoolZoneListResult'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: value(DiskPoolZoneListResultValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] + - propertyName: next_link(DiskPoolZoneListResultNextLink^string) + cli: + name: nextLink + cliKey: nextLink + cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] + - schemaName: DiskPoolZoneInfo + cli: + cliKey: DiskPoolZoneInfo + cliM4Path: schemas$$objects['DiskPoolZoneInfo'] + cliPath: schemas$$objects['DiskPoolZoneInfo'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: availability_zones(DiskPoolZoneInfoAvailabilityZones^array) + cli: + name: availabilityZones + cliKey: availabilityZones + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] + - propertyName: additional_capabilities(DiskPoolZoneInfoAdditionalCapabilities^array) + cli: + name: additionalCapabilities + cliKey: additionalCapabilities + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] + - propertyName: sku(Sku^object) + cli: + cliKey: sku + cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] + - schemaName: OutboundEnvironmentEndpointList + cli: + cliKey: OutboundEnvironmentEndpointList + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] + cliPath: schemas$$objects['OutboundEnvironmentEndpointList'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: value(OutboundEnvironmentEndpointListValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] + - propertyName: next_link(OutboundEnvironmentEndpointListNextLink^string) + cli: + name: nextLink + cliKey: nextLink + cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] + readOnly: true + - schemaName: OutboundEnvironmentEndpoint + cli: + cliKey: OutboundEnvironmentEndpoint + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] + cliPath: schemas$$objects['OutboundEnvironmentEndpoint'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: category(OutboundEnvironmentEndpointCategory^string) + cli: + cliKey: category + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] + - propertyName: endpoints(OutboundEnvironmentEndpointEndpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] + - schemaName: EndpointDependency + cli: + cliKey: EndpointDependency + cliM4Path: schemas$$objects['EndpointDependency'] + cliPath: schemas$$objects['EndpointDependency'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: domain_name(EndpointDependencyDomainName^string) + cli: + name: domainName + cliKey: domainName + cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] + cliPath: schemas$$objects['EndpointDependency']$$properties['domainName'] + - propertyName: endpoint_details(EndpointDependencyEndpointDetails^array) + cli: + name: endpointDetails + cliKey: endpointDetails + cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + cliPath: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] + - schemaName: EndpointDetail + cli: + cliKey: EndpointDetail + cliM4Path: schemas$$objects['EndpointDetail'] + cliPath: schemas$$objects['EndpointDetail'] + cli-complexity: object_simple + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + cli-mark: checked + properties: + - propertyName: ip_address(EndpointDetailIpAddress^string) + cli: + name: ipAddress + cliKey: ipAddress + cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + cliPath: schemas$$objects['EndpointDetail']$$properties['ipAddress'] + - propertyName: port(Integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] + cliPath: schemas$$objects['EndpointDetail']$$properties['port'] + - propertyName: latency(Number^number) + cli: + cliKey: latency + cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] + cliPath: schemas$$objects['EndpointDetail']$$properties['latency'] + - propertyName: is_accessible(boolean^boolean) + cli: + name: isAccessible + cliKey: isAccessible + cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + cliPath: schemas$$objects['EndpointDetail']$$properties['isAccessible'] + - schemaName: IscsiTargetList + cli: + cliKey: IscsiTargetList + cliM4Path: schemas$$objects['IscsiTargetList'] + cliPath: schemas$$objects['IscsiTargetList'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: value(IscsiTargetListValue^array) + cli: + cliKey: value + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] + cliPath: schemas$$objects['IscsiTargetList']$$properties['value'] + - propertyName: next_link(IscsiTargetListNextLink^string) + cli: + name: nextLink + cliKey: nextLink + cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + cliPath: schemas$$objects['IscsiTargetList']$$properties['nextLink'] + readOnly: true + - schemaName: IscsiTarget + cli: + cliKey: IscsiTarget + cliM4Path: schemas$$objects['IscsiTarget'] + cliPath: schemas$$objects['IscsiTarget'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: system_data(SystemMetadata^object) + cli: + name: systemData + cliKey: systemData + cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] + cliPath: schemas$$objects['IscsiTarget']$$properties['systemData'] + readOnly: true + - propertyName: acl_mode(IscsiTargetAclMode^choice) + cli: + name: aclMode + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] + cliPath: schemas$$objects['IscsiTarget']$$properties['aclMode'] + - propertyName: static_acls(IscsiTargetPropertiesStaticAcls^array) + cli: + name: staticAcls + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + cliPath: schemas$$objects['IscsiTarget']$$properties['staticAcls'] + - propertyName: luns(IscsiTargetPropertiesLuns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] + cliPath: schemas$$objects['IscsiTarget']$$properties['luns'] + - propertyName: target_iqn(IscsiTargetPropertiesTargetIqn^string) + cli: + name: targetIqn + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + cliPath: schemas$$objects['IscsiTarget']$$properties['targetIqn'] + - propertyName: provisioning_state(ProvisioningStates^choice) + cli: + name: provisioningState + cliKey: provisioningState + cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + cliPath: schemas$$objects['IscsiTarget']$$properties['provisioningState'] + readOnly: true + - propertyName: status(OperationalStatus^choice) + cli: + cliKey: status + cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] + cliPath: schemas$$objects['IscsiTarget']$$properties['status'] + - propertyName: endpoints(IscsiTargetPropertiesEndpoints^array) + cli: + cliKey: endpoints + cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] + cliPath: schemas$$objects['IscsiTarget']$$properties['endpoints'] + - propertyName: port(Integer^integer) + cli: + cliKey: port + cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] + cliPath: schemas$$objects['IscsiTarget']$$properties['port'] + - schemaName: Acl + cli: + cliKey: Acl + cliM4Path: schemas$$objects['Acl'] + cliPath: schemas$$objects['Acl'] + cli-complexity: object_simple + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: initiator_iqn(AclInitiatorIqn^string) + cli: + name: initiatorIqn + cliKey: initiatorIqn + cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] + cliPath: schemas$$objects['Acl']$$properties['initiatorIqn'] + - propertyName: mapped_luns(AclMappedLuns^array) + cli: + name: mappedLuns + cliKey: mappedLuns + cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] + cliPath: schemas$$objects['Acl']$$properties['mappedLuns'] + - schemaName: IscsiLun + cli: + cliKey: IscsiLun + cliM4Path: schemas$$objects['IscsiLun'] + cliPath: schemas$$objects['IscsiLun'] + cli-complexity: object_simple + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + cli-mark: checked + properties: + - propertyName: name(IscsiLunName^string) + cli: + cliKey: name + cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] + cliPath: schemas$$objects['IscsiLun']$$properties['name'] + - propertyName: managed_disk_azure_resource_id(IscsiLunManagedDiskAzureResourceId^string) + cli: + name: managedDiskAzureResourceId + cliKey: managedDiskAzureResourceId + cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + cliPath: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] + - schemaName: IscsiTargetCreate + cli: + cliKey: IscsiTargetCreate + cliM4Path: schemas$$objects['IscsiTargetCreate'] + cliPath: schemas$$objects['IscsiTargetCreate'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: acl_mode(IscsiTargetAclMode^choice) + cli: + name: aclMode + cliKey: aclMode + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] + - propertyName: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) + cli: + name: targetIqn + cliKey: targetIqn + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] + - propertyName: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) + cli: + name: staticAcls + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] + - propertyName: luns(IscsiTargetCreatePropertiesLuns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + cliPath: schemas$$objects['IscsiTargetCreate']$$properties['luns'] + - schemaName: IscsiTargetUpdate + cli: + cliKey: IscsiTargetUpdate + cliM4Path: schemas$$objects['IscsiTargetUpdate'] + cliPath: schemas$$objects['IscsiTargetUpdate'] + cli-complexity: object_complex + cli-simplify-indicator: + simplifiable: false + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + cli-mark: checked + properties: + - propertyName: static_acls(IscsiTargetUpdatePropertiesStaticAcls^array) + cli: + name: staticAcls + cliKey: staticAcls + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] + - propertyName: luns(IscsiTargetUpdatePropertiesLuns^array) + cli: + cliKey: luns + cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] + - schemaName: ProxyResource + cli: + cliKey: ProxyResource + cliM4Path: schemas$$objects['ProxyResource'] + cliPath: schemas$$objects['ProxyResource'] + cli-complexity: object_simple + cli-simplify-indicator: + simplifiable: true + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + cli-mark: checked + choices: + all: + - choiceName: ProvisioningStates + cli: + cliKey: ProvisioningStates + cliM4Path: schemas$$choices['ProvisioningStates'] + cliPath: schemas$$choices['ProvisioningStates'] + choiceValues: + - choiceValue: invalid + cli: + name: Invalid + cliKey: Invalid + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Invalid]' + - choiceValue: succeeded + cli: + name: Succeeded + cliKey: Succeeded + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' + - choiceValue: failed + cli: + name: Failed + cliKey: Failed + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Failed]' + - choiceValue: canceled + cli: + name: Canceled + cliKey: Canceled + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Canceled]' + - choiceValue: pending + cli: + name: Pending + cliKey: Pending + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Pending]' + - choiceValue: creating + cli: + name: Creating + cliKey: Creating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Creating]' + - choiceValue: updating + cli: + name: Updating + cliKey: Updating + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Updating]' + - choiceValue: deleting + cli: + name: Deleting + cliKey: Deleting + cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + cliPath: schemas$$choices['ProvisioningStates']$$choices['Deleting]' + - choiceName: OperationalStatus + cli: + cliKey: OperationalStatus + cliM4Path: schemas$$choices['OperationalStatus'] + cliPath: schemas$$choices['OperationalStatus'] + choiceValues: + - choiceValue: invalid + cli: + name: Invalid + cliKey: Invalid + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Invalid]' + - choiceValue: unknown + cli: + name: Unknown + cliKey: Unknown + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Unknown]' + - choiceValue: healthy + cli: + name: Healthy + cliKey: Healthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Healthy]' + - choiceValue: unhealthy + cli: + name: Unhealthy + cliKey: Unhealthy + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' + - choiceValue: updating + cli: + name: Updating + cliKey: Updating + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Updating]' + - choiceValue: running + cli: + name: Running + cliKey: Running + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Running]' + - choiceValue: stopped + cli: + name: Stopped + cliKey: Stopped + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped]' + - choiceValue: stopped_deallocated__ + cli: + name: StoppedDeallocated_ + cliKey: Stopped (deallocated) + cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' + - choiceName: CreatedByType + cli: + cliKey: createdByType + cliM4Path: schemas$$choices['createdByType'] + cliPath: schemas$$choices['createdByType'] + choiceValues: + - choiceValue: user + cli: + name: User + cliKey: User + cliM4Path: schemas$$choices['createdByType']$$choices['User]' + cliPath: schemas$$choices['createdByType']$$choices['User]' + - choiceValue: application + cli: + name: Application + cliKey: Application + cliM4Path: schemas$$choices['createdByType']$$choices['Application]' + cliPath: schemas$$choices['createdByType']$$choices['Application]' + - choiceValue: managed_identity + cli: + name: ManagedIdentity + cliKey: ManagedIdentity + cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + cliPath: schemas$$choices['createdByType']$$choices['ManagedIdentity]' + - choiceValue: key + cli: + name: Key + cliKey: Key + cliM4Path: schemas$$choices['createdByType']$$choices['Key]' + cliPath: schemas$$choices['createdByType']$$choices['Key]' + - choiceName: IscsiTargetAclMode + cli: + cliKey: IscsiTargetAclMode + cliM4Path: schemas$$choices['IscsiTargetAclMode'] + cliPath: schemas$$choices['IscsiTargetAclMode'] + choiceValues: + - choiceValue: dynamic + cli: + name: Dynamic + cliKey: Dynamic + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' + - choiceValue: static + cli: + name: Static + cliKey: Static + cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' + - choiceName: DiskPoolTier + cli: + cliKey: DiskPoolTier + cliM4Path: schemas$$choices['DiskPoolTier'] + cliPath: schemas$$choices['DiskPoolTier'] + choiceValues: + - choiceValue: basic + cli: + name: Basic + cliKey: Basic + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' + cliPath: schemas$$choices['DiskPoolTier']$$choices['Basic]' + - choiceValue: standard + cli: + name: Standard + cliKey: Standard + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' + cliPath: schemas$$choices['DiskPoolTier']$$choices['Standard]' + - choiceValue: premium + cli: + name: Premium + cliKey: Premium + cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' + cliPath: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000280-complex-marker-post.yaml b/src/diskpool/_az_debug/clicommon-000280-complex-marker-post.yaml new file mode 100644 index 00000000000..3f9f3356cb6 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-000280-complex-marker-post.yaml @@ -0,0 +1,7849 @@ +info: + title: StoragePoolManagement + extensions: + cli-dump-index: 30 +schemas: + booleans: + - &ref_3 + type: boolean + language: + default: + name: boolean + description: Indicates whether the operation applies to data-plane. + protocol: {} + - &ref_74 + type: boolean + language: + default: + name: boolean + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + protocol: {} + numbers: + - &ref_72 + type: integer + precision: 32 + language: + default: + name: Integer + description: The port an endpoint is connected to. + cli: + name: Integer + description: The port an endpoint is connected to. + protocol: {} + - &ref_73 + type: number + precision: 64 + language: + default: + name: Number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + name: Number + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + protocol: {} + - &ref_37 + type: integer + precision: 32 + language: + default: + name: Integer + description: The port used by iSCSI Target portal group. + cli: + name: Integer + description: The port used by iSCSI Target portal group. + protocol: {} + strings: + - &ref_0 + type: string + language: + default: + name: String + description: simple string + cli: + name: String + description: simple string + protocol: {} + - &ref_2 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRPOperationName + description: The name of the operation being performed on this particular object + cli: + name: StoragePoolRPOperationName + description: The name of the operation being performed on this particular object + protocol: {} + - &ref_4 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRPOperationActionType + description: Indicates the action type. + cli: + name: StoragePoolRPOperationActionType + description: Indicates the action type. + protocol: {} + - &ref_5 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayProvider + description: Localized friendly form of the resource provider name. + cli: + name: StoragePoolOperationDisplayProvider + description: Localized friendly form of the resource provider name. + protocol: {} + - &ref_6 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayResource + description: Localized friendly form of the resource type related to this action/operation. + cli: + name: StoragePoolOperationDisplayResource + description: Localized friendly form of the resource type related to this action/operation. + protocol: {} + - &ref_7 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayOperation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + name: StoragePoolOperationDisplayOperation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + protocol: {} + - &ref_8 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationDisplayDescription + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + name: StoragePoolOperationDisplayDescription + description: 'Localized friendly description for the operation, as it should be shown to the user.' + protocol: {} + - &ref_9 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolRPOperationOrigin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + name: StoragePoolRPOperationOrigin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + protocol: {} + - &ref_10 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: StoragePoolOperationListResultNextLink + description: URI to fetch the next section of the paginated response. + cli: + name: StoragePoolOperationListResultNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_13 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponseCode + description: The error code. + cli: + name: ErrorResponseCode + description: The error code. + protocol: {} + - &ref_14 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponseMessage + description: The error message. + cli: + name: ErrorResponseMessage + description: The error message. + protocol: {} + - &ref_15 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorResponseTarget + description: The error target. + cli: + name: ErrorResponseTarget + description: The error target. + protocol: {} + - &ref_17 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ErrorAdditionalInfoType + description: The additional info type. + cli: + name: ErrorAdditionalInfoType + description: The additional info type. + protocol: {} + - &ref_106 + type: string + apiVersions: + - version: 2021-04-01-preview + minLength: 1 + language: + default: + name: String + description: '' + cli: + name: String + description: '' + protocol: {} + - &ref_55 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SkuName + description: Sku name + cli: + name: SkuName + description: Sku name + protocol: {} + - &ref_56 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SkuTier + description: Sku tier + cli: + name: SkuTier + description: Sku tier + protocol: {} + - &ref_51 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AvailabilityZone + description: Availability zone. + cli: + name: AvailabilityZone + description: Availability zone. + protocol: {} + - &ref_52 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskId + description: Unique Azure Resource ID of the Managed Disk. + cli: + name: DiskId + description: Unique Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_53 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: DiskPoolPropertiesSubnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: DiskPoolPropertiesSubnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_54 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AdditionalCapability + description: Special capability that can be set on the Disk Pool. + cli: + name: AdditionalCapability + description: Special capability that can be set on the Disk Pool. + protocol: {} + - &ref_23 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SystemMetadataCreatedBy + description: The identity that created the resource. + cli: + name: SystemMetadataCreatedBy + description: The identity that created the resource. + protocol: {} + - &ref_26 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: SystemMetadataLastModifiedBy + description: The identity that last modified the resource. + cli: + name: SystemMetadataLastModifiedBy + description: The identity that last modified the resource. + protocol: {} + - &ref_1 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: String + description: '' + cli: + name: String + description: '' + protocol: {} + - &ref_49 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: TrackedResourceLocation + description: The geo-location where the resource lives. + cli: + name: TrackedResourceLocation + description: The geo-location where the resource lives. + protocol: {} + - &ref_45 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ResourceId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + name: ResourceId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_46 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ResourceName + description: The name of the resource + cli: + name: ResourceName + description: The name of the resource + protocol: {} + - &ref_47 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: ResourceType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + name: ResourceType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_57 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolListResultNextLink + description: URI to fetch the next section of the paginated response. + cli: + name: DiskPoolListResultNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_115 + type: string + apiVersions: + - version: 2021-04-01-preview + maxLength: 90 + minLength: 1 + pattern: '^[-\w\._]*[0-9A-Za-z]$' + language: + default: + name: String + description: '' + cli: + name: String + description: '' + protocol: {} + - &ref_65 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - create + - read + language: + default: + name: DiskPoolCreatePropertiesSubnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: DiskPoolCreatePropertiesSubnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + protocol: {} + - &ref_61 + type: string + apiVersions: + - version: 2021-04-01-preview + extensions: + x-ms-mutability: + - read + - create + language: + default: + name: DiskPoolCreateLocation + description: The geo-location where the resource lives. + cli: + name: DiskPoolCreateLocation + description: The geo-location where the resource lives. + protocol: {} + - &ref_62 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreateId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + name: DiskPoolCreateId + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + protocol: {} + - &ref_63 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreateName + description: The name of the resource + cli: + name: DiskPoolCreateName + description: The name of the resource + protocol: {} + - &ref_64 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolCreateType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + name: DiskPoolCreateType + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + protocol: {} + - &ref_67 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: DiskPoolZoneListResultNextLink + description: URI to fetch the next section of the paginated response. + cli: + name: DiskPoolZoneListResultNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_69 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: OutboundEnvironmentEndpointCategory + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + name: OutboundEnvironmentEndpointCategory + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + protocol: {} + - &ref_70 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: EndpointDependencyDomainName + description: The domain name of the dependency. + cli: + name: EndpointDependencyDomainName + description: The domain name of the dependency. + protocol: {} + - &ref_71 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: EndpointDetailIpAddress + description: An IP Address that Domain Name currently resolves to. + cli: + name: EndpointDetailIpAddress + description: An IP Address that Domain Name currently resolves to. + protocol: {} + - &ref_75 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: OutboundEnvironmentEndpointListNextLink + description: Link to next page of resources. + cli: + name: OutboundEnvironmentEndpointListNextLink + description: Link to next page of resources. + protocol: {} + - &ref_29 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AclInitiatorIqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + name: AclInitiatorIqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + protocol: {} + - &ref_30 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: AclMappedLunsItem + description: '' + cli: + name: AclMappedLunsItem + description: '' + protocol: {} + - &ref_31 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiLunName + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + name: IscsiLunName + description: 'User defined name for iSCSI LUN; example: "lun0"' + protocol: {} + - &ref_32 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiLunManagedDiskAzureResourceId + description: Azure Resource ID of the Managed Disk. + cli: + name: IscsiLunManagedDiskAzureResourceId + description: Azure Resource ID of the Managed Disk. + protocol: {} + - &ref_33 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetPropertiesTargetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: IscsiTargetPropertiesTargetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + - &ref_36 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetPropertiesEndpointsItem + description: '' + cli: + name: IscsiTargetPropertiesEndpointsItem + description: '' + protocol: {} + - &ref_79 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetListNextLink + description: URI to fetch the next section of the paginated response. + cli: + name: IscsiTargetListNextLink + description: URI to fetch the next section of the paginated response. + protocol: {} + - &ref_38 + type: string + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: IscsiTargetCreatePropertiesTargetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: IscsiTargetCreatePropertiesTargetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + protocol: {} + choices: + - &ref_34 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + name: Invalid + description: '' + cliKey: Invalid + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' + - value: Succeeded + language: + default: + name: succeeded + description: '' + cli: + name: Succeeded + description: '' + cliKey: Succeeded + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' + - value: Failed + language: + default: + name: failed + description: '' + cli: + name: Failed + description: '' + cliKey: Failed + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' + - value: Canceled + language: + default: + name: canceled + description: '' + cli: + name: Canceled + description: '' + cliKey: Canceled + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' + - value: Pending + language: + default: + name: pending + description: '' + cli: + name: Pending + description: '' + cliKey: Pending + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' + - value: Creating + language: + default: + name: creating + description: '' + cli: + name: Creating + description: '' + cliKey: Creating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + name: Updating + description: '' + cliKey: Updating + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' + - value: Deleting + language: + default: + name: deleting + description: '' + cli: + name: Deleting + description: '' + cliKey: Deleting + cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: ProvisioningStates + description: Provisioning state of the iSCSI Target. + cli: + name: ProvisioningStates + description: Provisioning state of the iSCSI Target. + cliKey: ProvisioningStates + cliM4Path: 'schemas$$choices[''ProvisioningStates'']' + cliPath: 'schemas$$choices[''ProvisioningStates'']' + protocol: {} + - &ref_35 + choices: + - value: Invalid + language: + default: + name: invalid + description: '' + cli: + name: Invalid + description: '' + cliKey: Invalid + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' + - value: Unknown + language: + default: + name: unknown + description: '' + cli: + name: Unknown + description: '' + cliKey: Unknown + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' + - value: Healthy + language: + default: + name: healthy + description: '' + cli: + name: Healthy + description: '' + cliKey: Healthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' + - value: Unhealthy + language: + default: + name: unhealthy + description: '' + cli: + name: Unhealthy + description: '' + cliKey: Unhealthy + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' + - value: Updating + language: + default: + name: updating + description: '' + cli: + name: Updating + description: '' + cliKey: Updating + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' + - value: Running + language: + default: + name: running + description: '' + cli: + name: Running + description: '' + cliKey: Running + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' + - value: Stopped + language: + default: + name: stopped + description: '' + cli: + name: Stopped + description: '' + cliKey: Stopped + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' + - value: Stopped (deallocated) + language: + default: + name: stopped_deallocated__ + description: '' + cli: + name: StoppedDeallocated_ + description: '' + cliKey: Stopped (deallocated) + cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: OperationalStatus + description: Operational status of the resource. + cli: + name: OperationalStatus + description: Operational status of the resource. + cliKey: OperationalStatus + cliM4Path: 'schemas$$choices[''OperationalStatus'']' + cliPath: 'schemas$$choices[''OperationalStatus'']' + protocol: {} + - &ref_24 + choices: + - value: User + language: + default: + name: user + description: '' + cli: + name: User + description: '' + cliKey: User + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''User]''' + - value: Application + language: + default: + name: application + description: '' + cli: + name: Application + description: '' + cliKey: Application + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''Application]''' + - value: ManagedIdentity + language: + default: + name: managed_identity + description: '' + cli: + name: ManagedIdentity + description: '' + cliKey: ManagedIdentity + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' + - value: Key + language: + default: + name: key + description: '' + cli: + name: Key + description: '' + cliKey: Key + cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + cliPath: 'schemas$$choices[''createdByType'']$$choices[''Key]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: CreatedByType + description: The type of identity that created the resource. + cli: + name: CreatedByType + description: The type of identity that created the resource. + cliKey: createdByType + cliM4Path: 'schemas$$choices[''createdByType'']' + cliPath: 'schemas$$choices[''createdByType'']' + protocol: {} + - &ref_28 + choices: + - value: Dynamic + language: + default: + name: dynamic + description: '' + cli: + name: Dynamic + description: '' + cliKey: Dynamic + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' + - value: Static + language: + default: + name: static + description: '' + cli: + name: Static + description: '' + cliKey: Static + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: IscsiTargetAclMode + description: ACL mode for iSCSI Target. + cli: + name: IscsiTargetAclMode + description: ACL mode for iSCSI Target. + cliKey: IscsiTargetAclMode + cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' + cliPath: 'schemas$$choices[''IscsiTargetAclMode'']' + protocol: {} + - choices: + - value: Basic + language: + default: + name: basic + description: '' + cli: + name: Basic + description: '' + cliKey: Basic + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' + - value: Standard + language: + default: + name: standard + description: '' + cli: + name: Standard + description: '' + cliKey: Standard + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' + - value: Premium + language: + default: + name: premium + description: '' + cli: + name: Premium + description: '' + cliKey: Premium + cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' + type: choice + apiVersions: + - version: 2021-04-01-preview + choiceType: *ref_0 + language: + default: + name: DiskPoolTier + description: SKU of the VM host part of the Disk Pool deployment + cli: + name: DiskPoolTier + description: SKU of the VM host part of the Disk Pool deployment + cliKey: DiskPoolTier + cliM4Path: 'schemas$$choices[''DiskPoolTier'']' + cliPath: 'schemas$$choices[''DiskPoolTier'']' + protocol: {} + constants: + - &ref_107 + type: constant + value: + value: 2021-04-01-preview + valueType: *ref_0 + language: + default: + name: api_version2021_04_01_preview + description: Api Version (2021-04-01-preview) + cli: + name: ApiVersion20210401Preview + description: Api Version (2021-04-01-preview) + protocol: {} + - &ref_110 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: accept + description: 'Accept: application/json' + cli: + name: Accept + description: 'Accept: application/json' + protocol: {} + - &ref_117 + type: constant + value: + value: application/json + valueType: *ref_0 + language: + default: + name: application_json + description: Content Type 'application/json' + cli: + name: ApplicationJson + description: Content Type 'application/json' + protocol: {} + dictionaries: + - &ref_48 + type: dictionary + elementType: *ref_1 + language: + default: + name: TrackedResourceTags + description: Resource tags. + cli: + name: TrackedResourceTags + description: Resource tags. + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_60 + type: dictionary + elementType: *ref_1 + language: + default: + name: DiskPoolCreateTags + description: Resource tags. + cli: + name: DiskPoolCreateTags + description: Resource tags. + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + - &ref_66 + type: dictionary + elementType: *ref_1 + language: + default: + name: DiskPoolUpdateTags + description: Resource tags. + cli: + name: DiskPoolUpdateTags + description: Resource tags. + cli-complexity: dictionary_simple + cli-mark: checked + protocol: {} + any: + - &ref_18 + type: any + language: + default: + name: any + description: Any object + protocol: {} + dateTimes: + - &ref_25 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_created_at + description: The timestamp of resource creation (UTC). + protocol: {} + - &ref_27 + type: date-time + format: date-time + apiVersions: + - version: 2021-04-01-preview + language: + default: + name: system_metadata_last_modified_at + description: The type of identity that last modified the resource. + protocol: {} + objects: + - &ref_111 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_80 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_11 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_2 + required: true + serializedName: name + language: + default: + name: name + description: The name of the operation being performed on this particular object + cli: + name: name + description: The name of the operation being performed on this particular object + cliKey: name + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' + protocol: {} + - schema: *ref_3 + required: true + serializedName: isDataAction + language: + default: + name: is_data_action + description: Indicates whether the operation applies to data-plane. + cli: + name: isDataAction + description: Indicates whether the operation applies to data-plane. + cliKey: isDataAction + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' + protocol: {} + - schema: *ref_4 + required: false + serializedName: actionType + language: + default: + name: action_type + description: Indicates the action type. + cli: + name: actionType + description: Indicates the action type. + cliKey: actionType + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' + protocol: {} + - schema: &ref_12 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_5 + required: true + serializedName: provider + language: + default: + name: provider + description: Localized friendly form of the resource provider name. + cli: + name: provider + description: Localized friendly form of the resource provider name. + cliKey: provider + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' + protocol: {} + - schema: *ref_6 + required: true + serializedName: resource + language: + default: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cli: + name: resource + description: Localized friendly form of the resource type related to this action/operation. + cliKey: resource + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' + protocol: {} + - schema: *ref_7 + required: true + serializedName: operation + language: + default: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cli: + name: operation + description: 'Localized friendly name for the operation, as it should be shown to the user.' + cliKey: operation + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' + protocol: {} + - schema: *ref_8 + required: true + serializedName: description + language: + default: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cli: + name: description + description: 'Localized friendly description for the operation, as it should be shown to the user.' + cliKey: description + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolOperationDisplay + description: Metadata about an operation. + namespace: '' + cli: + name: StoragePoolOperationDisplay + description: Metadata about an operation. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: StoragePoolOperationDisplay + cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' + cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']' + protocol: {} + required: true + serializedName: display + language: + default: + name: display + description: Additional metadata about RP operation. + cli: + name: display + description: Additional metadata about RP operation. + cliKey: display + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' + protocol: {} + - schema: *ref_9 + required: false + serializedName: origin + language: + default: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cli: + name: origin + description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. + cliKey: origin + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolRPOperation + description: Description of a StoragePool RP Operation + namespace: '' + cli: + name: StoragePoolRPOperation + description: Description of a StoragePool RP Operation + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 8 + propertyCountIfSimplifyWithoutSimpleObject: 5 + simplifiable: true + cliKey: StoragePoolRPOperation + cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' + cliPath: 'schemas$$objects[''StoragePoolRPOperation'']' + protocol: {} + language: + default: + name: StoragePoolOperationListResultValue + description: An array of operations supported by the StoragePool RP. + cli: + name: StoragePoolOperationListResultValue + description: An array of operations supported by the StoragePool RP. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of operations supported by the StoragePool RP. + cli: + name: value + description: An array of operations supported by the StoragePool RP. + cliKey: value + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_10 + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + name: nextLink + description: URI to fetch the next section of the paginated response. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: StoragePoolOperationListResult + description: List of operations supported by the RP. + namespace: '' + cli: + name: StoragePoolOperationListResult + description: List of operations supported by the RP. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: StoragePoolOperationListResult + cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' + cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']' + protocol: {} + - *ref_11 + - *ref_12 + - &ref_112 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_16 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_13 + readOnly: true + serializedName: code + language: + default: + name: code + description: The error code. + cli: + name: code + description: The error code. + cliKey: code + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' + protocol: {} + - schema: *ref_14 + readOnly: true + serializedName: message + language: + default: + name: message + description: The error message. + cli: + name: message + description: The error message. + cliKey: message + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' + protocol: {} + - schema: *ref_15 + readOnly: true + serializedName: target + language: + default: + name: target + description: The error target. + cli: + name: target + description: The error target. + cliKey: target + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' + protocol: {} + - schema: &ref_81 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_16 + language: + default: + name: ErrorResponseDetails + description: The error details. + cli: + name: ErrorResponseDetails + description: The error details. + cli-complexity: array_complex + cli-in-circle: true + cli-mark: checked + protocol: {} + readOnly: true + serializedName: details + language: + default: + name: details + description: The error details. + cli: + name: details + description: The error details. + cliKey: details + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' + protocol: {} + - schema: &ref_82 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_19 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_17 + readOnly: true + serializedName: type + language: + default: + name: type + description: The additional info type. + cli: + name: type + description: The additional info type. + cliKey: type + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' + protocol: {} + - schema: *ref_18 + readOnly: true + serializedName: info + language: + default: + name: info + description: The additional info. + cli: + name: info + description: The additional info. + cliKey: info + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: ErrorAdditionalInfo + description: The resource management error additional info. + namespace: '' + cli: + name: ErrorAdditionalInfo + description: The resource management error additional info. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorAdditionalInfo + cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' + cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']' + protocol: {} + language: + default: + name: ErrorResponseAdditionalInfo + description: The error additional info. + cli: + name: ErrorResponseAdditionalInfo + description: The error additional info. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + readOnly: true + serializedName: additionalInfo + language: + default: + name: additional_info + description: The error additional info. + cli: + name: additionalInfo + description: The error additional info. + cliKey: additionalInfo + cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: ErrorResponse + description: The resource management error response. + namespace: '' + cli: + name: ErrorResponse + description: The resource management error response. + cli-complexity: object_complex + cli-in-circle: true + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ErrorResponse + cliM4Path: 'schemas$$objects[''ErrorResponse'']' + cliPath: 'schemas$$objects[''ErrorResponse'']' + protocol: {} + serializedName: error + language: + default: + name: error + description: RP error response. + cli: + name: error + description: RP error response. + cliKey: error + cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' + cliPath: 'schemas$$objects[''Error'']$$properties[''error'']' + protocol: {} + serializationFormats: + - json + usage: + - exception + language: + default: + name: Error + description: The resource management error response. + namespace: '' + cli: + name: Error + description: The resource management error response. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Error + cliM4Path: 'schemas$$objects[''Error'']' + cliPath: 'schemas$$objects[''Error'']' + protocol: {} + - *ref_16 + - *ref_19 + - &ref_114 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_86 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_20 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - &ref_21 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_20 + immediate: + - *ref_20 + parents: + all: + - &ref_22 + type: object + apiVersions: + - version: 2021-04-01-preview + children: + all: + - *ref_21 + - *ref_20 + - &ref_41 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - schema: &ref_50 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_23 + serializedName: createdBy + language: + default: + name: created_by + description: The identity that created the resource. + cli: + name: createdBy + description: The identity that created the resource. + cliKey: createdBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' + protocol: {} + - schema: *ref_24 + serializedName: createdByType + language: + default: + name: created_by_type + description: The type of identity that created the resource. + cli: + name: createdByType + description: The type of identity that created the resource. + cliKey: createdByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' + protocol: {} + - schema: *ref_25 + serializedName: createdAt + language: + default: + name: created_at + description: The timestamp of resource creation (UTC). + cli: + name: createdAt + description: The timestamp of resource creation (UTC). + cliKey: createdAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' + protocol: {} + - schema: *ref_26 + serializedName: lastModifiedBy + language: + default: + name: last_modified_by + description: The identity that last modified the resource. + cli: + name: lastModifiedBy + description: The identity that last modified the resource. + cliKey: lastModifiedBy + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' + protocol: {} + - schema: *ref_24 + serializedName: lastModifiedByType + language: + default: + name: last_modified_by_type + description: The type of identity that last modified the resource. + cli: + name: lastModifiedByType + description: The type of identity that last modified the resource. + cliKey: lastModifiedByType + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' + protocol: {} + - schema: *ref_27 + serializedName: lastModifiedAt + language: + default: + name: last_modified_at + description: The type of identity that last modified the resource. + cli: + name: lastModifiedAt + description: The type of identity that last modified the resource. + cliKey: lastModifiedAt + cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: SystemMetadata + description: Metadata pertaining to creation and last modification of the resource. + namespace: '' + cli: + name: SystemMetadata + description: Metadata pertaining to creation and last modification of the resource. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 6 + propertyCountIfSimplifyWithoutSimpleObject: 6 + simplifiable: true + cliKey: SystemMetadata + cliM4Path: 'schemas$$objects[''SystemMetadata'']' + cliPath: 'schemas$$objects[''SystemMetadata'']' + protocol: {} + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + name: systemData + description: Resource metadata required by ARM RPC + cliKey: systemData + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + name: aclMode + description: Mode for Target connectivity. + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' + protocol: {} + - schema: &ref_98 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_39 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_29 + required: true + serializedName: initiatorIqn + language: + default: + name: initiator_iqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cli: + name: initiatorIqn + description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' + cliKey: initiatorIqn + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + cliPath: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' + protocol: {} + - schema: &ref_97 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_30 + language: + default: + name: AclMappedLuns + description: List of LUN names mapped to the ACL. + cli: + name: AclMappedLuns + description: List of LUN names mapped to the ACL. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + required: true + serializedName: mappedLuns + language: + default: + name: mapped_luns + description: List of LUN names mapped to the ACL. + cli: + name: mappedLuns + description: List of LUN names mapped to the ACL. + cliKey: mappedLuns + cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + cliPath: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: Acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + namespace: '' + cli: + name: Acl + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: Acl + cliM4Path: 'schemas$$objects[''Acl'']' + cliPath: 'schemas$$objects[''Acl'']' + protocol: {} + language: + default: + name: IscsiTargetPropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: IscsiTargetPropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' + protocol: {} + - schema: &ref_99 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_40 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_31 + required: true + serializedName: name + language: + default: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cli: + name: name + description: 'User defined name for iSCSI LUN; example: "lun0"' + cliKey: name + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' + protocol: {} + - schema: *ref_32 + required: true + serializedName: managedDiskAzureResourceId + language: + default: + name: managed_disk_azure_resource_id + description: Azure Resource ID of the Managed Disk. + cli: + name: managedDiskAzureResourceId + description: Azure Resource ID of the Managed Disk. + cliKey: managedDiskAzureResourceId + cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: IscsiLun + description: LUN to expose the Azure Managed Disk. + namespace: '' + cli: + name: IscsiLun + description: LUN to expose the Azure Managed Disk. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: IscsiLun + cliM4Path: 'schemas$$objects[''IscsiLun'']' + cliPath: 'schemas$$objects[''IscsiLun'']' + protocol: {} + language: + default: + name: IscsiTargetPropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: IscsiTargetPropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' + protocol: {} + - schema: *ref_33 + flattenedNames: + - properties + - targetIqn + required: true + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + name: provisioningState + description: State of the operation on the resource. + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the iSCSI Target. + cli: + name: status + description: Operational status of the iSCSI Target. + cliKey: status + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' + protocol: {} + - schema: &ref_100 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_36 + language: + default: + name: IscsiTargetPropertiesEndpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + name: IscsiTargetPropertiesEndpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - endpoints + required: false + serializedName: endpoints + language: + default: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cli: + name: endpoints + description: List of private IPv4 addresses to connect to the iSCSI Target. + cliKey: endpoints + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' + protocol: {} + - schema: *ref_37 + flattenedNames: + - properties + - port + required: false + serializedName: port + language: + default: + name: port + description: The port used by iSCSI Target portal group. + cli: + name: port + description: The port used by iSCSI Target portal group. + cliKey: port + cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: IscsiTarget + description: Response for iSCSI Target requests. + namespace: '' + cli: + name: IscsiTarget + description: Response for iSCSI Target requests. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTarget + cliM4Path: 'schemas$$objects[''IscsiTarget'']' + cliPath: 'schemas$$objects[''IscsiTarget'']' + protocol: {} + - &ref_42 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_186 + schema: *ref_28 + flattenedNames: + - properties + - aclMode + required: true + serializedName: aclMode + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + name: aclMode + description: Mode for Target connectivity. + cliKey: aclMode + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + protocol: {} + - &ref_188 + schema: *ref_38 + flattenedNames: + - properties + - targetIqn + required: false + serializedName: targetIqn + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cliKey: targetIqn + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + protocol: {} + - &ref_189 + schema: &ref_102 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: IscsiTargetCreatePropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: IscsiTargetCreatePropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + required: false + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_190 + schema: &ref_103 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: IscsiTargetCreatePropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: IscsiTargetCreatePropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + required: false + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: IscsiTargetCreate + description: Payload for iSCSI Target create or update requests. + namespace: '' + cli: + name: IscsiTargetCreate + description: Payload for iSCSI Target create or update requests. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetCreate + cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' + cliPath: 'schemas$$objects[''IscsiTargetCreate'']' + protocol: {} + - &ref_43 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + properties: + - &ref_200 + schema: &ref_104 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_39 + language: + default: + name: IscsiTargetUpdatePropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: IscsiTargetUpdatePropertiesStaticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - staticAcls + serializedName: staticAcls + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliKey: staticAcls + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + protocol: {} + - &ref_202 + schema: &ref_105 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_40 + language: + default: + name: IscsiTargetUpdatePropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: IscsiTargetUpdatePropertiesLuns + description: List of LUNs to be exposed through iSCSI Target. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - luns + serializedName: luns + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliKey: luns + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + protocol: {} + serializationFormats: + - json + usage: + - input + - output + language: + default: + name: IscsiTargetUpdate + description: Payload for iSCSI Target update requests. + namespace: '' + cli: + name: IscsiTargetUpdate + description: Payload for iSCSI Target update requests. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetUpdate + cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' + cliPath: 'schemas$$objects[''IscsiTargetUpdate'']' + protocol: {} + - &ref_44 + type: object + apiVersions: + - version: 2021-04-01-preview + parents: + all: + - *ref_22 + immediate: + - *ref_22 + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: ProxyResource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + namespace: '' + cli: + name: ProxyResource + description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: ProxyResource + cliM4Path: 'schemas$$objects[''ProxyResource'']' + cliPath: 'schemas$$objects[''ProxyResource'']' + protocol: {} + immediate: + - *ref_21 + - *ref_41 + - *ref_42 + - *ref_43 + - *ref_44 + properties: + - schema: *ref_45 + readOnly: true + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cliKey: id + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' + cliPath: 'schemas$$objects[''Resource'']$$properties[''id'']' + protocol: {} + - schema: *ref_46 + readOnly: true + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + name: name + description: The name of the resource + cliKey: name + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' + cliPath: 'schemas$$objects[''Resource'']$$properties[''name'']' + protocol: {} + - schema: *ref_47 + readOnly: true + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cliKey: type + cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' + cliPath: 'schemas$$objects[''Resource'']$$properties[''type'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: Resource + description: ARM resource model definition. + namespace: '' + cli: + name: Resource + description: ARM resource model definition. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 0 + propertyCountIfSimplifyWithoutSimpleObject: 0 + simplifiable: true + cliKey: Resource + cliM4Path: 'schemas$$objects[''Resource'']' + cliPath: 'schemas$$objects[''Resource'']' + protocol: {} + immediate: + - *ref_22 + properties: + - schema: *ref_48 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliKey: tags + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' + protocol: {} + - schema: *ref_49 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + name: location + description: The geo-location where the resource lives. + cliKey: location + cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: TrackedResource + description: The resource model definition for a ARM tracked top level resource. + namespace: '' + cli: + name: TrackedResource + description: The resource model definition for a ARM tracked top level resource. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: TrackedResource + cliM4Path: 'schemas$$objects[''TrackedResource'']' + cliPath: 'schemas$$objects[''TrackedResource'']' + protocol: {} + - *ref_22 + immediate: + - *ref_21 + properties: + - schema: *ref_50 + readOnly: true + required: false + serializedName: systemData + language: + default: + name: system_data + description: Resource metadata required by ARM RPC + cli: + name: systemData + description: Resource metadata required by ARM RPC + cliKey: systemData + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' + protocol: {} + - schema: *ref_34 + flattenedNames: + - properties + - provisioningState + readOnly: true + required: true + serializedName: provisioningState + language: + default: + name: provisioning_state + description: State of the operation on the resource. + cli: + name: provisioningState + description: State of the operation on the resource. + cliKey: provisioningState + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' + protocol: {} + - schema: &ref_83 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: DiskPoolPropertiesAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: DiskPoolPropertiesAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: true + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' + protocol: {} + - schema: *ref_35 + flattenedNames: + - properties + - status + required: true + serializedName: status + language: + default: + name: status + description: Operational status of the Disk Pool. + cli: + name: status + description: Operational status of the Disk Pool. + cliKey: status + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''status'']' + protocol: {} + - schema: &ref_84 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_58 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_52 + required: true + serializedName: id + language: + default: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cli: + name: id + description: Unique Azure Resource ID of the Managed Disk. + cliKey: id + cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' + cliPath: 'schemas$$objects[''Disk'']$$properties[''id'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: Disk + description: Azure Managed Disk to attach to the Disk Pool. + namespace: '' + cli: + name: Disk + description: Azure Managed Disk to attach to the Disk Pool. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 1 + propertyCountIfSimplifyWithoutSimpleObject: 1 + simplifiable: true + cliKey: Disk + cliM4Path: 'schemas$$objects[''Disk'']' + cliPath: 'schemas$$objects[''Disk'']' + protocol: {} + language: + default: + name: DiskPoolPropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: DiskPoolPropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' + protocol: {} + - schema: *ref_53 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' + protocol: {} + - schema: &ref_85 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: DiskPoolPropertiesAdditionalCapabilities + description: List of additional capabilities for Disk Pool. + cli: + name: DiskPoolPropertiesAdditionalCapabilities + description: List of additional capabilities for Disk Pool. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for Disk Pool. + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_55 + flattenedNames: + - sku + - name + required: false + serializedName: name + language: + default: + name: name_sku_name + description: Sku name + cli: + name: nameSkuName + description: Sku name + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + flattenedNames: + - sku + - tier + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + name: tier + description: Sku tier + cliKey: tier + cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + cliPath: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + language: + default: + name: DiskPool + description: Response for Disk Pool request. + namespace: '' + cli: + name: DiskPool + description: Response for Disk Pool request. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPool + cliM4Path: 'schemas$$objects[''DiskPool'']' + cliPath: 'schemas$$objects[''DiskPool'']' + protocol: {} + language: + default: + name: DiskPoolListResultValue + description: An array of Disk pool objects. + cli: + name: DiskPoolListResultValue + description: An array of Disk pool objects. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of Disk pool objects. + cli: + name: value + description: An array of Disk pool objects. + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_57 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + name: nextLink + description: URI to fetch the next section of the paginated response. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolListResult + description: List of Disk Pools + namespace: '' + cli: + name: DiskPoolListResult + description: List of Disk Pools + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolListResult + cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' + cliPath: 'schemas$$objects[''DiskPoolListResult'']' + protocol: {} + - *ref_20 + - &ref_59 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_55 + required: true + serializedName: name + language: + default: + name: name + description: Sku name + cli: + name: name + description: Sku name + cliKey: name + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' + cliPath: 'schemas$$objects[''Sku'']$$properties[''name'']' + protocol: {} + - schema: *ref_56 + required: false + serializedName: tier + language: + default: + name: tier + description: Sku tier + cli: + name: tier + description: Sku tier + cliKey: tier + cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' + cliPath: 'schemas$$objects[''Sku'']$$properties[''tier'']' + protocol: {} + serializationFormats: + - json + usage: + - output + - input + extensions: + x-ms-flattened: true + language: + default: + name: Sku + description: Sku for ARM resource + namespace: '' + cli: + name: Sku + description: Sku for ARM resource + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 2 + propertyCountIfSimplifyWithoutSimpleObject: 2 + simplifiable: true + cliKey: Sku + cliM4Path: 'schemas$$objects[''Sku'']' + cliPath: 'schemas$$objects[''Sku'']' + protocol: {} + - *ref_58 + - *ref_50 + - *ref_21 + - *ref_22 + - &ref_118 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_120 + schema: *ref_59 + required: true + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + name: sku + description: Determines the SKU of the Disk Pool + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + protocol: {} + - &ref_122 + schema: *ref_60 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + protocol: {} + - &ref_123 + schema: *ref_61 + required: true + serializedName: location + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + name: location + description: The geo-location where the resource lives. + cliKey: location + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + protocol: {} + - schema: *ref_62 + readOnly: true + required: false + serializedName: id + language: + default: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cli: + name: id + description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' + cliKey: id + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' + protocol: {} + - schema: *ref_63 + readOnly: true + required: false + serializedName: name + language: + default: + name: name + description: The name of the resource + cli: + name: name + description: The name of the resource + cliKey: name + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' + protocol: {} + - schema: *ref_64 + readOnly: true + required: false + serializedName: type + language: + default: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cli: + name: type + description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + cliKey: type + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' + protocol: {} + - &ref_124 + schema: &ref_87 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: DiskPoolCreatePropertiesAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: DiskPoolCreatePropertiesAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - availabilityZones + required: false + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + protocol: {} + - &ref_125 + schema: &ref_88 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: DiskPoolCreatePropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: DiskPoolCreatePropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + required: false + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + protocol: {} + - &ref_126 + schema: *ref_65 + flattenedNames: + - properties + - subnetId + required: true + serializedName: subnetId + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cliKey: subnetId + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + protocol: {} + - &ref_127 + schema: &ref_89 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: DiskPoolCreatePropertiesAdditionalCapabilities + description: List of additional capabilities for a Disk Pool. + cli: + name: DiskPoolCreatePropertiesAdditionalCapabilities + description: List of additional capabilities for a Disk Pool. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - additionalCapabilities + required: false + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for a Disk Pool. + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + protocol: {} + serializationFormats: + - json + usage: + - input + extensions: + x-ms-azure-resource: true + language: + default: + name: DiskPoolCreate + description: Request payload for create or update Disk Pool request. + namespace: '' + cli: + name: DiskPoolCreate + description: Request payload for create or update Disk Pool request. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolCreate + cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' + cliPath: 'schemas$$objects[''DiskPoolCreate'']' + protocol: {} + - &ref_137 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - &ref_139 + schema: *ref_66 + required: false + serializedName: tags + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliKey: tags + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + protocol: {} + - &ref_141 + schema: &ref_90 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_58 + language: + default: + name: DiskPoolUpdatePropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: DiskPoolUpdatePropertiesDisks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + flattenedNames: + - properties + - disks + serializedName: disks + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliKey: disks + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + protocol: {} + serializationFormats: + - json + usage: + - input + language: + default: + name: DiskPoolUpdate + description: Request payload for Update Disk Pool request. + namespace: '' + cli: + name: DiskPoolUpdate + description: Request payload for Update Disk Pool request. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolUpdate + cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' + cliPath: 'schemas$$objects[''DiskPoolUpdate'']' + protocol: {} + - &ref_181 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_93 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_68 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_91 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_51 + language: + default: + name: DiskPoolZoneInfoAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: DiskPoolZoneInfoAvailabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: availabilityZones + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliKey: availabilityZones + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' + protocol: {} + - schema: &ref_92 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_54 + language: + default: + name: DiskPoolZoneInfoAdditionalCapabilities + description: List of additional capabilities for Disk Pool. + cli: + name: DiskPoolZoneInfoAdditionalCapabilities + description: List of additional capabilities for Disk Pool. + cli-complexity: array_simple + cli-mark: checked + protocol: {} + serializedName: additionalCapabilities + language: + default: + name: additional_capabilities + description: List of additional capabilities for Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for Disk Pool. + cliKey: additionalCapabilities + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' + protocol: {} + - schema: *ref_59 + serializedName: sku + language: + default: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cli: + name: sku + description: Determines the SKU of VM deployed for Disk Pool + cliKey: sku + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolZoneInfo + description: Disk Pool Sku Details + namespace: '' + cli: + name: DiskPoolZoneInfo + description: Disk Pool Sku Details + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneInfo + cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' + cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']' + protocol: {} + language: + default: + name: DiskPoolZoneListResultValue + description: The list of Disk Pool Skus. + cli: + name: DiskPoolZoneListResultValue + description: The list of Disk Pool Skus. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: value + language: + default: + name: value + description: The list of Disk Pool Skus. + cli: + name: value + description: The list of Disk Pool Skus. + cliKey: value + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' + protocol: {} + - schema: *ref_67 + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + name: nextLink + description: URI to fetch the next section of the paginated response. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: DiskPoolZoneListResult + description: List Disk Pool skus operation response. + namespace: '' + cli: + name: DiskPoolZoneListResult + description: List Disk Pool skus operation response. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: DiskPoolZoneListResult + cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' + cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']' + protocol: {} + - *ref_68 + - &ref_153 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_96 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_76 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_69 + serializedName: category + language: + default: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cli: + name: category + description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' + cliKey: category + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' + protocol: {} + - schema: &ref_95 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_77 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_70 + serializedName: domainName + language: + default: + name: domain_name + description: The domain name of the dependency. + cli: + name: domainName + description: The domain name of the dependency. + cliKey: domainName + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' + protocol: {} + - schema: &ref_94 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: &ref_78 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: *ref_71 + serializedName: ipAddress + language: + default: + name: ip_address + description: An IP Address that Domain Name currently resolves to. + cli: + name: ipAddress + description: An IP Address that Domain Name currently resolves to. + cliKey: ipAddress + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' + protocol: {} + - schema: *ref_72 + serializedName: port + language: + default: + name: port + description: The port an endpoint is connected to. + cli: + name: port + description: The port an endpoint is connected to. + cliKey: port + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' + protocol: {} + - schema: *ref_73 + serializedName: latency + language: + default: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cli: + name: latency + description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. + cliKey: latency + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' + protocol: {} + - schema: *ref_74 + serializedName: isAccessible + language: + default: + name: is_accessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cli: + name: isAccessible + description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. + cliKey: isAccessible + cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: EndpointDetail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + namespace: '' + cli: + name: EndpointDetail + description: Current TCP connectivity information from the App Service Environment to a single endpoint. + cli-complexity: object_simple + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 4 + propertyCountIfSimplifyWithoutSimpleObject: 4 + simplifiable: true + cliKey: EndpointDetail + cliM4Path: 'schemas$$objects[''EndpointDetail'']' + cliPath: 'schemas$$objects[''EndpointDetail'']' + protocol: {} + language: + default: + name: EndpointDependencyEndpointDetails + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + name: EndpointDependencyEndpointDetails + description: The IP Addresses and Ports used when connecting to DomainName. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpointDetails + language: + default: + name: endpoint_details + description: The IP Addresses and Ports used when connecting to DomainName. + cli: + name: endpointDetails + description: The IP Addresses and Ports used when connecting to DomainName. + cliKey: endpointDetails + cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: EndpointDependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + namespace: '' + cli: + name: EndpointDependency + description: 'A domain name that a service is reached at, including details of the current connection status.' + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: EndpointDependency + cliM4Path: 'schemas$$objects[''EndpointDependency'']' + cliPath: 'schemas$$objects[''EndpointDependency'']' + protocol: {} + language: + default: + name: OutboundEnvironmentEndpointEndpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + name: OutboundEnvironmentEndpointEndpoints + description: The endpoints that the App Service Environment reaches the service at. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + serializedName: endpoints + language: + default: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cli: + name: endpoints + description: The endpoints that the App Service Environment reaches the service at. + cliKey: endpoints + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: OutboundEnvironmentEndpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + namespace: '' + cli: + name: OutboundEnvironmentEndpoint + description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpoint + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' + protocol: {} + language: + default: + name: OutboundEnvironmentEndpointListValue + description: Collection of resources. + cli: + name: OutboundEnvironmentEndpointListValue + description: Collection of resources. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: Collection of resources. + cli: + name: value + description: Collection of resources. + cliKey: value + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' + protocol: {} + - schema: *ref_75 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: Link to next page of resources. + cli: + name: nextLink + description: Link to next page of resources. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: OutboundEnvironmentEndpointList + description: Collection of Outbound Environment Endpoints + namespace: '' + cli: + name: OutboundEnvironmentEndpointList + description: Collection of Outbound Environment Endpoints + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: OutboundEnvironmentEndpointList + cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' + protocol: {} + - *ref_76 + - *ref_77 + - *ref_78 + - &ref_184 + type: object + apiVersions: + - version: 2021-04-01-preview + properties: + - schema: &ref_101 + type: array + apiVersions: + - version: 2021-04-01-preview + elementType: *ref_41 + language: + default: + name: IscsiTargetListValue + description: An array of iSCSI Targets in a Disk Pool. + cli: + name: IscsiTargetListValue + description: An array of iSCSI Targets in a Disk Pool. + cli-complexity: array_complex + cli-mark: checked + protocol: {} + required: true + serializedName: value + language: + default: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cli: + name: value + description: An array of iSCSI Targets in a Disk Pool. + cliKey: value + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' + protocol: {} + - schema: *ref_79 + readOnly: true + required: false + serializedName: nextLink + language: + default: + name: next_link + description: URI to fetch the next section of the paginated response. + cli: + name: nextLink + description: URI to fetch the next section of the paginated response. + cliKey: nextLink + cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' + protocol: {} + serializationFormats: + - json + usage: + - output + language: + default: + name: IscsiTargetList + description: List of iSCSI Targets. + namespace: '' + cli: + name: IscsiTargetList + description: List of iSCSI Targets. + cli-complexity: object_complex + cli-mark: checked + cli-simplify-indicator: + propertyCountIfSimplify: 10000 + propertyCountIfSimplifyWithoutSimpleObject: 10000 + simplifiable: false + cliKey: IscsiTargetList + cliM4Path: 'schemas$$objects[''IscsiTargetList'']' + cliPath: 'schemas$$objects[''IscsiTargetList'']' + protocol: {} + - *ref_41 + - *ref_39 + - *ref_40 + - *ref_42 + - *ref_43 + - *ref_44 + arrays: + - *ref_80 + - *ref_81 + - *ref_82 + - *ref_83 + - *ref_84 + - *ref_85 + - *ref_86 + - *ref_87 + - *ref_88 + - *ref_89 + - *ref_90 + - *ref_91 + - *ref_92 + - *ref_93 + - *ref_94 + - *ref_95 + - *ref_96 + - *ref_97 + - *ref_98 + - *ref_99 + - *ref_100 + - *ref_101 + - *ref_102 + - *ref_103 + - *ref_104 + - *ref_105 +globalParameters: + - &ref_113 + schema: *ref_106 + implementation: Client + required: true + extensions: + x-ms-priority: 0 + language: + default: + name: subscription_id + description: The ID of the target subscription. + serializedName: subscriptionId + cli: + name: subscriptionId + description: The ID of the target subscription. + cliKey: subscriptionId + cliM4Path: 'globalParameters[''subscriptionId'']' + cliPath: 'globalParameters[''subscriptionId'']' + protocol: + http: + in: path + - &ref_108 + schema: *ref_0 + clientDefaultValue: 'https://management.azure.com' + implementation: Client + origin: 'modelerfour:synthesized/host' + required: true + extensions: + x-ms-skip-url-encoding: true + language: + default: + name: $host + description: server parameter + serializedName: $host + cli: + name: $host + description: server parameter + cliKey: $host + cliM4Path: 'globalParameters[''$host'']' + cliPath: 'globalParameters[''$host'']' + protocol: + http: + in: uri + - &ref_109 + schema: *ref_107 + implementation: Client + origin: 'modelerfour:synthesized/api-version' + required: true + language: + default: + name: api_version + description: Api Version + serializedName: api-version + cli: + name: ApiVersion + description: Api Version + cliKey: ApiVersion + cliM4Path: 'globalParameters[''ApiVersion'']' + cliPath: 'globalParameters[''ApiVersion'']' + protocol: + http: + in: query +operationGroups: + - $key: Operations + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: /providers/Microsoft.StoragePool/operations + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_111 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List operations: + parameters: + api-version: 2021-04-01-preview + responses: + '200': + body: + value: + - name: Microsoft.StoragePool/diskPools/read + display: + description: Read Disk Pool + operation: Read Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/write + display: + description: Create or Update Disk Pool + operation: Create or Update Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Disk Pool + isDataAction: true + - name: Microsoft.StoragePool/diskPools/delete + display: + description: Delete Disk Pool + operation: Delete Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: true + - name: Microsoft.StoragePool/diskPools/start/action + display: + description: Start Disk Pool + operation: Start Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/deallocate/action + display: + description: Deallocate Disk Pool + operation: Deallocate Microsoft.StoragePool/diskPools + provider: Microsoft.StoragePool + resource: Microsoft.StoragePool/diskPools + isDataAction: false + - name: Microsoft.StoragePool/diskPools/iscsiTargets/read + display: + description: Read iSCSI targets + operation: Read Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/write + display: + description: Create or Update iSCSI targets + operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete + display: + description: Delete iSCSI targets + operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets + provider: Microsoft.StoragePool + resource: iSCSI targets + isDataAction: true + x-ms-pageable: + nextLinkName: null + language: + default: + name: list + description: Gets a list of StoragePool operations. + paging: + nextLinkName: null + cli: + name: List + description: Gets a list of StoragePool operations. + cliKey: List + cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' + cliPath: 'operationGroups[''Operations'']$$operations[''List'']' + hidden: true + protocol: {} + language: + default: + name: Operation + description: '' + cli: + name: Operation + description: '' + cliKey: Operations + cliM4Path: 'operationGroups[''Operations'']' + cliPath: 'operationGroups[''Operations'']' + protocol: {} + - $key: DiskPools + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: [] + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by subscription: + parameters: + api-version: 2021-04-01-preview + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_subscription + description: Gets a list of Disk Pools in a subscription + paging: + nextLinkName: nextLink + cli: + name: ListBySubscription + description: Gets a list of Disk Pools in a subscription + cliKey: ListBySubscription + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_116 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' + method: get + uri: '{$host}' + signatureParameters: + - *ref_116 + responses: + - schema: *ref_114 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools: + parameters: + api-version: 2021-04-01-preview + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + - name: myDiskPool2 + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_resource_group + description: Gets a list of DiskPools in a resource group. + paging: + nextLinkName: nextLink + cli: + name: ListByResourceGroup + description: Gets a list of DiskPools in a resource group. + cliKey: ListByResourceGroup + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' + protocol: {} + - &ref_177 + apiVersions: &ref_158 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_135 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_159 + in: path + - &ref_136 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_160 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_161 + in: header + - &ref_119 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_128 + schema: *ref_59 + implementation: Method + originalParameter: *ref_119 + pathToProperty: &ref_121 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + name: sku + description: Determines the SKU of the Disk Pool + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''sku'']' + protocol: {} + - &ref_129 + schema: *ref_60 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''tags'']' + protocol: {} + - &ref_130 + schema: *ref_61 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + name: location + description: The geo-location where the resource lives. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''location'']' + protocol: {} + - &ref_131 + schema: *ref_87 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''availabilityZones'']' + protocol: {} + - &ref_132 + schema: *ref_88 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''disks'']' + positional: true + positionalKeys: &ref_142 + - id + protocol: {} + - &ref_133 + schema: *ref_65 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''subnetId'']' + protocol: {} + - &ref_134 + schema: *ref_89 + implementation: Method + originalParameter: *ref_119 + pathToProperty: *ref_121 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for a Disk Pool. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''additionalCapabilities'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_164 + in: header + signatureParameters: + - *ref_128 + - *ref_129 + - *ref_130 + - *ref_131 + - *ref_132 + - *ref_133 + - *ref_134 + language: + default: + name: '' + description: '' + protocol: + http: &ref_172 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_135 + - *ref_136 + responses: &ref_175 + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_176 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_178 + Create or Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolCreatePayload: + location: westus + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_V0 + tier: Basic + tags: + key: value + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '201': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_179 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update Disk pool. + cli: + name: CreateOrUpdate + description: Create or Update Disk pool. + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' + split-operation-names: &ref_198 + - Create + - Update + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_145 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_146 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_138 + schema: *ref_137 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli: + name: disk_pool_update_payload + description: Request payload for Disk Pool update operation. + cli-flatten: true + cli-flattened: true + cliKey: diskPoolUpdatePayload + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_143 + schema: *ref_66 + implementation: Method + originalParameter: *ref_138 + pathToProperty: &ref_140 [] + required: false + targetProperty: *ref_139 + extensions: + cli-flatten-origin: *ref_139 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' + cliKey: tags + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''tags'']' + protocol: {} + - &ref_144 + schema: *ref_90 + implementation: Method + originalParameter: *ref_138 + pathToProperty: *ref_140 + targetProperty: *ref_141 + extensions: + cli-flatten-origin: *ref_141 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliFlattenTrace: + - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' + - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' + cliKey: disks + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''disks'']' + positional: true + positionalKeys: *ref_142 + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_143 + - *ref_144 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_145 + - *ref_146 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + diskPoolUpdatePayload: + properties: + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + tags: + key: value + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 + - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + provisioningState: Pending + status: Unknown + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update a Disk pool. + cli: + name: Update + description: Update a Disk pool. + cliKey: Update + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_147 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_148 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_147 + - *ref_148 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete a Disk pool. + cli: + name: Delete + description: Delete a Disk pool. + cliKey: Delete + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_149 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_150 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_149 + - *ref_150 + responses: + - schema: *ref_20 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myDiskPool + type: Microsoft.StoragePool/diskPools + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool + location: westus2 + properties: + availabilityZones: + - '1' + disks: + - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 + provisioningState: Succeeded + status: Healthy + subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet + sku: + name: Basic_0 + tier: Basic + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + tags: + env: int + language: + default: + name: get + description: Get a Disk pool. + cli: + name: Get + description: Get a Disk pool. + cliKey: Get + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_151 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_152 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' + method: get + uri: '{$host}' + signatureParameters: + - *ref_151 + - *ref_152 + responses: + - schema: *ref_153 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get Disk Pool outbound network dependencies: + parameters: + api-version: 2021-04-01-preview + diskPoolName: SampleAse + resourceGroupName: Sample-WestUSResourceGroup + subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 + responses: + '200': + body: + nextLink: null + value: + - category: Azure Storage + endpoints: + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 42.0469 + port: 80 + - ipAddress: 52.183.104.36 + isAccessible: true + latency: 41.7038 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.326 + port: 80 + - ipAddress: 52.183.104.25 + isAccessible: true + latency: 37.513600000000004 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 32.789 + port: 80 + - ipAddress: 52.183.104.26 + isAccessible: true + latency: 1.8702 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7378 + port: 80 + - ipAddress: 52.183.104.28 + isAccessible: true + latency: 36.7108 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 4.0261000000000005 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.8264 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.8523 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 40.7501 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 1.2071 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 38.2975 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 59.383700000000005 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 60.0775 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.5512 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.6777 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.5204 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.8193 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.2720000000000002 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0147 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2387 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 3.2804 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.025200000000005 + port: 80 + - ipAddress: 13.66.176.16 + isAccessible: true + latency: 43.1683 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.8598 + port: 80 + - ipAddress: 13.66.176.25 + isAccessible: true + latency: 41.9805 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 30.542900000000003 + port: 80 + - ipAddress: 13.66.176.26 + isAccessible: true + latency: 0.9832000000000001 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 35.9562 + port: 80 + - ipAddress: 13.66.176.28 + isAccessible: true + latency: 36.0643 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 3.2829 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.3393 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.4103000000000003 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1032 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1141 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.0247 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.834 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 2.8198000000000003 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.3855000000000002 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 1.0594000000000001 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4717000000000002 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 2.4827 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.395 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 3.1701 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 1.4308 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 22.5866 + port: 443 + - domainName: blob.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.5372 + port: 80 + - ipAddress: 13.77.184.64 + isAccessible: true + latency: 2.4626 + port: 443 + - domainName: queue.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 3.7873 + port: 80 + - ipAddress: 13.77.184.73 + isAccessible: true + latency: 4.1911000000000005 + port: 443 + - domainName: table.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.9162000000000003 + port: 80 + - ipAddress: 13.77.184.74 + isAccessible: true + latency: 2.7896 + port: 443 + - domainName: file.core.windows.net + endpointDetails: + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.723100000000002 + port: 80 + - ipAddress: 13.77.184.76 + isAccessible: true + latency: 26.735200000000003 + port: 443 + - category: Azure SQL Database + endpoints: + - domainName: database.windows.net + endpointDetails: + - ipAddress: 13.66.226.202 + isAccessible: true + latency: 1.5964 + port: 1433 + - category: Azure Management + endpoints: + - domainName: management.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.246 + isAccessible: true + latency: 46.5764 + port: 443 + - domainName: admin.core.windows.net + endpointDetails: + - ipAddress: 23.102.135.247 + isAccessible: true + latency: 47.408 + port: 443 + - domainName: management.azure.com + endpointDetails: + - ipAddress: 52.151.25.45 + isAccessible: true + latency: 3.9529 + port: 443 + - category: Azure Active Directory + endpoints: + - domainName: graph.windows.net + endpointDetails: + - ipAddress: 20.190.133.83 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.81 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 20.190.133.67 + isAccessible: true + latency: 3.2264 + port: 443 + - ipAddress: 40.126.5.34 + isAccessible: true + latency: 3.2264 + port: 443 + - category: Regional Service + endpoints: + - domainName: gr-prod-mwh.cloudapp.net + endpointDetails: + - ipAddress: 13.66.225.188 + isAccessible: true + latency: 3.3826 + port: 443 + - domainName: az-prod.metrics.nsatc.net + endpointDetails: + - ipAddress: 40.77.24.27 + isAccessible: true + latency: 38.5647 + port: 443 + - category: SSL Certificate Verification + endpoints: + - domainName: ocsp.msocsp.com + endpointDetails: + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.25.243 + isAccessible: true + latency: 12.888 + port: 443 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 6.0651 + port: 80 + - ipAddress: 104.18.24.243 + isAccessible: true + latency: 12.888 + port: 443 + - domainName: mscrl.microsoft.com + endpointDetails: + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 6.742900000000001 + port: 80 + - ipAddress: 152.199.4.33 + isAccessible: true + latency: 7.436100000000001 + port: 443 + - domainName: crl.microsoft.com + endpointDetails: + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.10 + isAccessible: true + latency: 25.0085 + port: 443 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.136200000000002 + port: 80 + - ipAddress: 23.215.102.42 + isAccessible: true + latency: 25.0085 + port: 443 + - domainName: www.microsoft.com + endpointDetails: + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 7.9229 + port: 80 + - ipAddress: 23.49.13.56 + isAccessible: true + latency: 8.4871 + port: 443 + - domainName: crl3.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.4074 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.577 + port: 443 + - domainName: ocsp.digicert.com + endpointDetails: + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 6.8989 + port: 80 + - ipAddress: 72.21.91.29 + isAccessible: true + latency: 5.667400000000001 + port: 443 + - domainName: cacerts.digicert.com + endpointDetails: + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.11.39 + isAccessible: true + latency: 10.7705 + port: 443 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.772400000000001 + port: 80 + - ipAddress: 104.18.10.39 + isAccessible: true + latency: 10.7705 + port: 443 + - domainName: www.thawte.com + endpointDetails: + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 54.69.98.161 + isAccessible: true + latency: 48.5362 + port: 443 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 47.532900000000005 + port: 80 + - ipAddress: 35.167.62.148 + isAccessible: true + latency: 48.5362 + port: 443 + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_outbound_network_dependency_endpoint + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + paging: + nextLinkName: nextLink + cli: + name: ListOutboundNetworkDependencyEndpoint + description: Gets the network endpoints of all outbound dependencies of a Disk Pool + cliKey: ListOutboundNetworkDependenciesEndpoints + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_154 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_155 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' + method: post + uri: '{$host}' + signatureParameters: + - *ref_154 + - *ref_155 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Start Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: start + description: The operation to start a Disk Pool. + cli: + name: Start + description: The operation to start a Disk Pool. + cliKey: Start + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_156 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_157 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' + method: post + uri: '{$host}' + signatureParameters: + - *ref_156 + - *ref_157 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Deallocate Disk Pool: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cli: + name: Deallocate + description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. + cliKey: Deallocate + cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' + protocol: {} + - apiVersions: *ref_158 + parameters: + - *ref_108 + - *ref_113 + - &ref_173 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$parameters[''resourceGroupName'']' + protocol: + http: *ref_159 + - &ref_174 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$parameters[''diskPoolName'']' + protocol: + http: *ref_160 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: *ref_161 + - &ref_162 + schema: *ref_118 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli: + name: disk_pool_create_payload + description: Request payload for Disk Pool create operation + cli-flatten: true + cli-flattened: true + cliKey: diskPoolCreatePayload + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_165 + schema: *ref_59 + implementation: Method + originalParameter: *ref_162 + pathToProperty: &ref_163 [] + required: true + targetProperty: *ref_120 + extensions: + cli-flatten-origin: *ref_120 + cli-flatten-prefix: '' + language: + default: + name: sku + description: Determines the SKU of the Disk Pool + cli: + name: sku + description: Determines the SKU of the Disk Pool + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' + cliKey: sku + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''sku'']' + protocol: {} + - &ref_166 + schema: *ref_60 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_122 + extensions: + cli-flatten-origin: *ref_122 + cli-flatten-prefix: '' + language: + default: + name: tags + description: Resource tags. + cli: + name: tags + description: Resource tags. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' + cliKey: tags + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''tags'']' + protocol: {} + - &ref_167 + schema: *ref_61 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: true + targetProperty: *ref_123 + extensions: + cli-flatten-origin: *ref_123 + cli-flatten-prefix: '' + language: + default: + name: location + description: The geo-location where the resource lives. + cli: + name: location + description: The geo-location where the resource lives. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' + cliKey: location + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''location'']' + protocol: {} + - &ref_168 + schema: *ref_87 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_124 + extensions: + cli-flatten-origin: *ref_124 + cli-flatten-prefix: '' + language: + default: + name: availability_zones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cli: + name: availabilityZones + description: 'Logical zone for Disk Pool resource; example: ["1"].' + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' + cliKey: availabilityZones + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''availabilityZones'']' + protocol: {} + - &ref_169 + schema: *ref_88 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_125 + extensions: + cli-flatten-origin: *ref_125 + cli-flatten-prefix: '' + language: + default: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cli: + name: disks + description: List of Azure Managed Disks to attach to a Disk Pool. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' + cliKey: disks + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''disks'']' + positional: true + positionalKeys: *ref_142 + protocol: {} + - &ref_170 + schema: *ref_65 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: true + targetProperty: *ref_126 + extensions: + cli-flatten-origin: *ref_126 + cli-flatten-prefix: '' + language: + default: + name: subnet_id + description: Azure Resource ID of a Subnet for the Disk Pool. + cli: + name: subnetId + description: Azure Resource ID of a Subnet for the Disk Pool. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' + cliKey: subnetId + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''subnetId'']' + protocol: {} + - &ref_171 + schema: *ref_89 + implementation: Method + originalParameter: *ref_162 + pathToProperty: *ref_163 + required: false + targetProperty: *ref_127 + extensions: + cli-flatten-origin: *ref_127 + cli-flatten-prefix: '' + language: + default: + name: additional_capabilities + description: List of additional capabilities for a Disk Pool. + cli: + name: additionalCapabilities + description: List of additional capabilities for a Disk Pool. + cliFlattenTrace: + - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' + cliKey: additionalCapabilities + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''additionalCapabilities'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''accept'']' + protocol: + http: *ref_164 + signatureParameters: + - *ref_165 + - *ref_166 + - *ref_167 + - *ref_168 + - *ref_169 + - *ref_170 + - *ref_171 + language: + default: + name: '' + description: '' + protocol: + http: *ref_172 + signatureParameters: + - *ref_173 + - *ref_174 + responses: *ref_175 + exceptions: *ref_176 + extensions: + cli-split-operation-original-operation: *ref_177 + x-ms-examples: *ref_178 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_179 + language: + default: + name: create + description: Create Disk pool. + cli: + name: Create + description: Create Disk pool. + cliKey: 'CreateOrUpdate#Create' + cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']' + protocol: {} + language: + default: + name: DiskPool + description: '' + cli: + name: DiskPool + description: '' + cliKey: DiskPools + cliM4Path: 'operationGroups[''DiskPools'']' + cliPath: 'operationGroups[''DiskPools'']' + protocol: {} + - $key: DiskPoolZones + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_109 + - *ref_113 + - &ref_180 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: location + description: The location of the resource. + serializedName: location + cli: + name: location + description: The location of the resource. + cliKey: location + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' + protocol: + http: + in: path + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' + method: get + uri: '{$host}' + signatureParameters: + - *ref_180 + responses: + - schema: *ref_181 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pool Skus: + parameters: + api-version: 2021-04-01-preview + location: eastus + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + value: + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + - '3' + sku: + name: Basic + tier: Basic + - additionalCapabilities: [] + availabilityZones: + - '1' + - '2' + sku: + name: Basic + tier: Basic + nextLink: 'null' + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list + description: Lists available Disk Pool Skus in an Azure location. + paging: + nextLinkName: nextLink + cli: + name: List + description: Lists available Disk Pool Skus in an Azure location. + cliKey: List + cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' + protocol: {} + language: + default: + name: DiskPoolZone + description: '' + cli: + name: DiskPoolZone + description: '' + cliKey: DiskPoolZones + cliM4Path: 'operationGroups[''DiskPoolZones'']' + cliPath: 'operationGroups[''DiskPoolZones'']' + protocol: {} + - $key: IscsiTargets + operations: + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_182 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_183 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' + method: get + uri: '{$host}' + signatureParameters: + - *ref_182 + - *ref_183 + responses: + - schema: *ref_184 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + List Disk Pools by Resource Group: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + nextLink: '' + value: + - name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + - name: myIscsiTarget2 + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3261' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 + port: 3261 + provisioningState: Succeeded + staticAcls: [] + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server2' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-pageable: + nextLinkName: nextLink + language: + default: + name: list_by_disk_pool + description: Get iSCSI Targets in a Disk pool. + paging: + nextLinkName: nextLink + cli: + name: ListByDiskPool + description: Get iSCSI Targets in a Disk pool. + cliKey: ListByDiskPool + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' + protocol: {} + - &ref_232 + apiVersions: &ref_214 + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_195 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' + protocol: + http: &ref_215 + in: path + - &ref_196 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' + protocol: + http: &ref_216 + in: path + - &ref_197 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' + protocol: + http: &ref_217 + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: &ref_218 + in: header + - &ref_185 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_191 + schema: *ref_28 + implementation: Method + originalParameter: *ref_185 + pathToProperty: &ref_187 [] + required: true + targetProperty: *ref_186 + extensions: + cli-flatten-origin: *ref_186 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + name: aclMode + description: Mode for Target connectivity. + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''aclMode'']' + protocol: {} + - &ref_192 + schema: *ref_38 + implementation: Method + originalParameter: *ref_185 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''targetIqn'']' + protocol: {} + - &ref_193 + schema: *ref_102 + implementation: Method + originalParameter: *ref_185 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''staticAcls'']' + protocol: {} + - &ref_194 + schema: *ref_103 + implementation: Method + originalParameter: *ref_185 + pathToProperty: *ref_187 + required: false + targetProperty: *ref_190 + extensions: + cli-flatten-origin: *ref_190 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''luns'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' + protocol: + http: &ref_221 + in: header + signatureParameters: + - *ref_191 + - *ref_192 + - *ref_193 + - *ref_194 + language: + default: + name: '' + description: '' + protocol: + http: &ref_226 + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: put + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_195 + - *ref_196 + - *ref_197 + responses: &ref_230 + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '201' + exceptions: &ref_231 + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: &ref_233 + Create or Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetCreatePayload: + properties: + aclMode: Dynamic + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + targetIqn: 'iqn.2005-03.org.iscsi:server1' + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '201': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Dynamic + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + x-ms-long-running-operation: true + x-ms-long-running-operation-options: &ref_234 + final-state-via: azure-async-operation + language: + default: + name: create_or_update + description: Create or Update an iSCSI Target. + cli: + name: CreateOrUpdate + description: Create or Update an iSCSI Target. + cli-operation-splitted: true + cliKey: CreateOrUpdate + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' + split-operation-names: *ref_198 + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_205 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_206 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_207 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: + in: header + - &ref_199 + schema: *ref_43 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli: + name: iscsi_target_update_payload + description: Request payload for iSCSI Target update operation. + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetUpdatePayload + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + protocol: + style: json + http: + in: body + - &ref_203 + schema: *ref_104 + implementation: Method + originalParameter: *ref_199 + pathToProperty: &ref_201 [] + targetProperty: *ref_200 + extensions: + cli-flatten-origin: *ref_200 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' + cliKey: staticAcls + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''staticAcls'']' + protocol: {} + - &ref_204 + schema: *ref_105 + implementation: Method + originalParameter: *ref_199 + pathToProperty: *ref_201 + targetProperty: *ref_202 + extensions: + cli-flatten-origin: *ref_202 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliFlattenTrace: + - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' + - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' + cliKey: luns + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''luns'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: + - *ref_203 + - *ref_204 + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: patch + knownMediaType: json + mediaTypes: + - application/json + uri: '{$host}' + signatureParameters: + - *ref_205 + - *ref_206 + - *ref_207 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Update iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + iscsiTargetUpdatePayload: + properties: + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Pending + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Unknown + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + '202': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: update + description: Update an iSCSI Target. + cli: + name: Update + description: Update an iSCSI Target. + cliKey: Update + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_208 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_209 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_210 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: delete + uri: '{$host}' + signatureParameters: + - *ref_208 + - *ref_209 + - *ref_210 + responses: + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '200' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '202' + - language: + default: + name: '' + description: '' + protocol: + http: + statusCodes: + - '204' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Delete iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': {} + '202': {} + '204': {} + x-ms-long-running-operation: true + x-ms-long-running-operation-options: + final-state-via: azure-async-operation + language: + default: + name: delete + description: Delete an iSCSI Target. + cli: + name: Delete + description: Delete an iSCSI Target. + cliKey: Delete + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' + protocol: {} + - apiVersions: + - version: 2021-04-01-preview + parameters: + - *ref_108 + - *ref_113 + - &ref_211 + schema: *ref_115 + implementation: Method + required: true + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' + protocol: + http: + in: path + - &ref_212 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' + protocol: + http: + in: path + - &ref_213 + schema: *ref_1 + implementation: Method + required: true + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' + protocol: + http: + in: path + - *ref_109 + requests: + - parameters: + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' + protocol: + http: + in: header + signatureParameters: [] + language: + default: + name: '' + description: '' + protocol: + http: + path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' + method: get + uri: '{$host}' + signatureParameters: + - *ref_211 + - *ref_212 + - *ref_213 + responses: + - schema: *ref_41 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - '200' + exceptions: + - schema: *ref_112 + language: + default: + name: '' + description: '' + protocol: + http: + knownMediaType: json + mediaTypes: + - application/json + statusCodes: + - default + extensions: + x-ms-examples: + Get iSCSI Target: + parameters: + api-version: 2021-04-01-preview + diskPoolName: myDiskPool + iscsiTargetName: myIscsiTarget + resourceGroupName: myResourceGroup + subscriptionId: 00000000-0000-0000-0000-000000000000 + responses: + '200': + body: + name: myIscsiTarget + type: Microsoft.StoragePool/diskPools/iscsiTargets + id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget + properties: + aclMode: Static + endpoints: + - '10.0.0.1:3260' + luns: + - name: lun0 + managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 + port: 3260 + provisioningState: Succeeded + staticAcls: + - initiatorIqn: 'iqn.2005-03.org.iscsi:client' + mappedLuns: + - lun0 + status: Healthy + targetIqn: 'iqn.2005-03.org.iscsi:server1' + systemData: + createdAt: '2020-06-24T06:53:57+00:00' + createdBy: alias + createdByType: User + lastModifiedAt: '2020-06-24T06:53:57+00:00' + lastModifiedBy: alias + lastModifiedByType: User + language: + default: + name: get + description: Get an iSCSI Target. + cli: + name: Get + description: Get an iSCSI Target. + cliKey: Get + cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' + protocol: {} + - apiVersions: *ref_214 + parameters: + - *ref_108 + - *ref_113 + - &ref_227 + schema: *ref_115 + implementation: Method + required: true + extensions: {} + language: + default: + name: resource_group_name + description: The name of the resource group. The name is case insensitive. + serializedName: resourceGroupName + cli: + name: resourceGroupName + description: The name of the resource group. The name is case insensitive. + cliKey: resourceGroupName + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''resourceGroupName'']' + protocol: + http: *ref_215 + - &ref_228 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: disk_pool_name + description: The name of the Disk Pool. + serializedName: diskPoolName + cli: + name: diskPoolName + description: The name of the Disk Pool. + cliKey: diskPoolName + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''diskPoolName'']' + protocol: + http: *ref_216 + - &ref_229 + schema: *ref_1 + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_name + description: The name of the iSCSI Target. + serializedName: iscsiTargetName + cli: + name: iscsiTargetName + description: The name of the iSCSI Target. + cliKey: iscsiTargetName + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''iscsiTargetName'']' + protocol: + http: *ref_217 + - *ref_109 + requests: + - parameters: + - schema: *ref_117 + implementation: Method + origin: 'modelerfour:synthesized/content-type' + required: true + extensions: {} + language: + default: + name: content_type + description: Body Parameter content-type + serializedName: Content-Type + cli: + name: ContentType + description: Body Parameter content-type + cliKey: content-type + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''content-type'']' + protocol: + http: *ref_218 + - &ref_219 + schema: *ref_42 + flattened: true + implementation: Method + required: true + extensions: {} + language: + default: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli: + name: iscsi_target_create_payload + description: Request payload for iSCSI Target create operation. + cli-flatten: true + cli-flattened: true + cliKey: iscsiTargetCreatePayload + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' + protocol: + style: json + http: + in: body + - &ref_222 + schema: *ref_28 + implementation: Method + originalParameter: *ref_219 + pathToProperty: &ref_220 [] + required: true + targetProperty: *ref_186 + extensions: + cli-flatten-origin: *ref_186 + cli-flatten-prefix: '' + language: + default: + name: acl_mode + description: Mode for Target connectivity. + cli: + name: aclMode + description: Mode for Target connectivity. + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' + cliKey: aclMode + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''aclMode'']' + protocol: {} + - &ref_223 + schema: *ref_38 + implementation: Method + originalParameter: *ref_219 + pathToProperty: *ref_220 + required: false + targetProperty: *ref_188 + extensions: + cli-flatten-origin: *ref_188 + cli-flatten-prefix: '' + language: + default: + name: target_iqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cli: + name: targetIqn + description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' + cliKey: targetIqn + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''targetIqn'']' + protocol: {} + - &ref_224 + schema: *ref_102 + implementation: Method + originalParameter: *ref_219 + pathToProperty: *ref_220 + required: false + targetProperty: *ref_189 + extensions: + cli-flatten-origin: *ref_189 + cli-flatten-prefix: '' + language: + default: + name: static_acls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cli: + name: staticAcls + description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' + cliKey: staticAcls + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''staticAcls'']' + protocol: {} + - &ref_225 + schema: *ref_103 + implementation: Method + originalParameter: *ref_219 + pathToProperty: *ref_220 + required: false + targetProperty: *ref_190 + extensions: + cli-flatten-origin: *ref_190 + cli-flatten-prefix: '' + language: + default: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cli: + name: luns + description: List of LUNs to be exposed through iSCSI Target. + cliFlattenTrace: + - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' + cliKey: luns + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''luns'']' + protocol: {} + - schema: *ref_110 + implementation: Method + origin: 'modelerfour:synthesized/accept' + required: true + extensions: {} + language: + default: + name: accept + description: Accept header + serializedName: Accept + cli: + name: Accept + description: Accept header + cliKey: accept + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''accept'']' + protocol: + http: *ref_221 + signatureParameters: + - *ref_222 + - *ref_223 + - *ref_224 + - *ref_225 + language: + default: + name: '' + description: '' + protocol: + http: *ref_226 + signatureParameters: + - *ref_227 + - *ref_228 + - *ref_229 + responses: *ref_230 + exceptions: *ref_231 + extensions: + cli-split-operation-original-operation: *ref_232 + x-ms-examples: *ref_233 + x-ms-long-running-operation: true + x-ms-long-running-operation-options: *ref_234 + language: + default: + name: create + description: Create an iSCSI Target. + cli: + name: Create + description: Create an iSCSI Target. + cliKey: 'CreateOrUpdate#Create' + cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']' + protocol: {} + language: + default: + name: IscsiTarget + description: '' + cli: + name: IscsiTarget + description: '' + cliKey: IscsiTargets + cliM4Path: 'operationGroups[''IscsiTargets'']' + cliPath: 'operationGroups[''IscsiTargets'']' + protocol: {} +security: + authenticationRequired: true +test-scenario: + - name: /DiskPools/put/Createxxx +language: + default: + name: StoragePoolManagement + description: '' + cli: + name: StoragePoolManagement + description: '' +protocol: + http: {} diff --git a/src/diskpool/_az_debug/clicommon-flatten-object-map.txt b/src/diskpool/_az_debug/clicommon-flatten-object-map.txt new file mode 100644 index 00000000000..30358832e78 --- /dev/null +++ b/src/diskpool/_az_debug/clicommon-flatten-object-map.txt @@ -0,0 +1,28 @@ +storage_pool_operation_list_result<2> +storage_pool_RP_operation<5>(display:storage_pool_operation_display) +storage_pool_operation_display<4> +error<1>(error:error_response) +error_response<5> +error_additional_info<2> +disk_pool_list_result<2> +disk_pool<9>(system_data:system_metadata) +sku<2> +disk<1> +system_metadata<6> +tracked_resource<2> +resource<3> +disk_pool_create<10>(sku:sku) +disk_pool_update<2> +disk_pool_zone_list_result<2> +disk_pool_zone_info<3>(sku:sku) +outbound_environment_endpoint_list<2> +outbound_environment_endpoint<2> +endpoint_dependency<2> +endpoint_detail<4> +iscsi_target_list<2> +iscsi_target<9>(system_data:system_metadata) +acl<2> +iscsi_lun<2> +iscsi_target_create<4> +iscsi_target_update<2> +proxy_resource<0> \ No newline at end of file diff --git a/src/diskpool/azext_diskpool/_help.py b/src/diskpool/azext_diskpool/_help.py new file mode 100644 index 00000000000..9b93f87a6e9 --- /dev/null +++ b/src/diskpool/azext_diskpool/_help.py @@ -0,0 +1,20 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# pylint: disable=wildcard-import +# pylint: disable=unused-wildcard-import +# pylint: disable=unused-import +from .generated._help import helps # pylint: disable=reimported +try: + from .manual._help import helps # pylint: disable=reimported +except ImportError as e: + if e.name.endswith('manual._help'): + pass + else: + raise e 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..d5460be9100 --- /dev/null +++ b/src/diskpool/azext_diskpool/tests/latest/example_steps.py @@ -0,0 +1,198 @@ +# -------------------------------------------------------------------------- +# 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_V0" 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/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: /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" ' + '--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: /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) + + +# 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) diff --git a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario_coverage.md b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario_coverage.md new file mode 100644 index 00000000000..cb712843009 --- /dev/null +++ b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario_coverage.md @@ -0,0 +1,2 @@ +|Scenario|Result|ErrorMessage|ErrorStack|ErrorNormalized|StartDt|EndDt| +Coverage: 0/0 From 41bcf7105283c0942f6cc607e0f81cd98f74c6fe Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Tue, 25 May 2021 16:10:49 +0800 Subject: [PATCH 26/30] remove --- ...icommon-000010-prename-pre-simplified.yaml | 378 - .../clicommon-000010-prename-pre.yaml | 5156 ----------- ...common-000020-prename-post-simplified.yaml | 942 -- .../clicommon-000020-prename-post.yaml | 5632 ------------ ...modeler-post-processor-pre-simplified.yaml | 896 -- ...mon-000030-modeler-post-processor-pre.yaml | 5543 ------------ ...odeler-post-processor-post-simplified.yaml | 1167 --- ...on-000040-modeler-post-processor-post.yaml | 5772 ------------ ...mmon-000050-m4-flatten-pre-simplified.yaml | 1167 --- .../clicommon-000050-m4-flatten-pre.yaml | 5772 ------------ ...000060-split-operation-pre-simplified.yaml | 1167 --- .../clicommon-000060-split-operation-pre.yaml | 5772 ------------ ...00070-split-operation-post-simplified.yaml | 1244 --- ...clicommon-000070-split-operation-post.yaml | 5997 ------------- ...mon-000080-m4-flatten-post-simplified.yaml | 1167 --- .../clicommon-000080-m4-flatten-post.yaml | 5772 ------------ ...-000090-complex-marker-pre-simplified.yaml | 1244 --- .../clicommon-000090-complex-marker-pre.yaml | 5997 ------------- ...000100-complex-marker-post-simplified.yaml | 1413 --- .../clicommon-000100-complex-marker-post.yaml | 6254 ------------- ...icommon-000110-m4namer-pre-simplified.yaml | 1167 --- .../clicommon-000110-m4namer-pre.yaml | 5772 ------------ ...common-000120-m4namer-post-simplified.yaml | 1438 --- .../clicommon-000120-m4namer-post.yaml | 5999 ------------- ...mon-000130-flatten-set-pre-simplified.yaml | 1413 --- .../clicommon-000130-flatten-set-pre.yaml | 6254 ------------- ...on-000140-flatten-set-post-simplified.yaml | 1419 --- .../clicommon-000140-flatten-set-post.yaml | 6260 ------------- ...icommon-000150-flatten-pre-simplified.yaml | 1419 --- .../clicommon-000150-flatten-pre.yaml | 6260 ------------- ...common-000160-flatten-post-simplified.yaml | 1581 ---- .../clicommon-000160-flatten-post.yaml | 6821 -------------- ...00170-poly-as-resource-pre-simplified.yaml | 1570 ---- ...clicommon-000170-poly-as-resource-pre.yaml | 6821 -------------- ...0180-poly-as-resource-post-simplified.yaml | 1570 ---- ...licommon-000180-poly-as-resource-post.yaml | 6821 -------------- ...icommon-000190-flatten-pre-simplified.yaml | 1570 ---- .../clicommon-000190-flatten-pre.yaml | 6821 -------------- ...common-000200-flatten-post-simplified.yaml | 1570 ---- .../clicommon-000200-flatten-post.yaml | 6821 -------------- ...common-000210-modifier-pre-simplified.yaml | 1570 ---- .../clicommon-000210-modifier-pre.yaml | 6821 -------------- ...ommon-000220-modifier-post-simplified.yaml | 1580 ---- .../clicommon-000220-modifier-post.yaml | 6829 -------------- ...clicommon-000230-namer-pre-simplified.yaml | 1580 ---- .../_az_debug/clicommon-000230-namer-pre.yaml | 6829 -------------- ...licommon-000240-namer-post-simplified.yaml | 2086 ----- .../clicommon-000240-namer-post.yaml | 7847 ---------------- .../clicommon-000250-test-pre-simplified.yaml | 2086 ----- .../_az_debug/clicommon-000250-test-pre.yaml | 7847 ---------------- ...clicommon-000260-test-post-simplified.yaml | 2086 ----- .../_az_debug/clicommon-000260-test-post.yaml | 7849 ----------------- ...-000270-complex-marker-pre-simplified.yaml | 2086 ----- .../clicommon-000270-complex-marker-pre.yaml | 7849 ----------------- ...000280-complex-marker-post-simplified.yaml | 2086 ----- .../clicommon-000280-complex-marker-post.yaml | 7849 ----------------- .../clicommon-flatten-object-map.txt | 28 - 57 files changed, 222727 deletions(-) delete mode 100644 src/diskpool/_az_debug/clicommon-000010-prename-pre-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000010-prename-pre.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000020-prename-post-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000020-prename-post.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000030-modeler-post-processor-pre-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000030-modeler-post-processor-pre.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000040-modeler-post-processor-post-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000040-modeler-post-processor-post.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000050-m4-flatten-pre-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000050-m4-flatten-pre.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000060-split-operation-pre-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000060-split-operation-pre.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000070-split-operation-post-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000070-split-operation-post.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000080-m4-flatten-post-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000080-m4-flatten-post.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000090-complex-marker-pre-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000090-complex-marker-pre.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000100-complex-marker-post-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000100-complex-marker-post.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000110-m4namer-pre-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000110-m4namer-pre.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000120-m4namer-post-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000120-m4namer-post.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000130-flatten-set-pre-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000130-flatten-set-pre.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000140-flatten-set-post-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000140-flatten-set-post.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000150-flatten-pre-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000150-flatten-pre.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000160-flatten-post-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000160-flatten-post.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000170-poly-as-resource-pre-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000170-poly-as-resource-pre.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000180-poly-as-resource-post-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000180-poly-as-resource-post.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000190-flatten-pre-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000190-flatten-pre.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000200-flatten-post-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000200-flatten-post.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000210-modifier-pre-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000210-modifier-pre.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000220-modifier-post-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000220-modifier-post.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000230-namer-pre-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000230-namer-pre.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000240-namer-post-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000240-namer-post.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000250-test-pre-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000250-test-pre.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000260-test-post-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000260-test-post.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000270-complex-marker-pre-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000270-complex-marker-pre.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000280-complex-marker-post-simplified.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-000280-complex-marker-post.yaml delete mode 100644 src/diskpool/_az_debug/clicommon-flatten-object-map.txt diff --git a/src/diskpool/_az_debug/clicommon-000010-prename-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000010-prename-pre-simplified.yaml deleted file mode 100644 index 52e22a575f9..00000000000 --- a/src/diskpool/_az_debug/clicommon-000010-prename-pre-simplified.yaml +++ /dev/null @@ -1,378 +0,0 @@ -operationGroups: - all: - - operationGroupName: Operations - operations: - - operationName: List - parameters: - - parameterName: $host(string^string) - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - - parameterName[0]: accept(Accept^constant) - - operationGroupName: DiskPools - operations: - - operationName: ListBySubscription - parameters: - - parameterName: $host(string^string) - - parameterName: subscriptionId(string^string) - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - - parameterName[0]: accept(Accept^constant) - - operationName: ListByResourceGroup - parameters: - - parameterName: $host(string^string) - - parameterName: subscriptionId(string^string) - - parameterName: resourceGroupName(string^string) - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - - parameterName[0]: accept(Accept^constant) - - operationName: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - - parameterName: subscriptionId(string^string) - - parameterName: resourceGroupName(string^string) - - parameterName: diskPoolName(string^string) - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - - parameterName[0]: content-type(application/json^constant) - - parameterName[0]: diskPoolCreatePayload(DiskPoolCreate^object) - bodySchema: DiskPoolCreate - - parameterName[0]: accept(Accept^constant) - - operationName: Update - parameters: - - parameterName: $host(string^string) - - parameterName: subscriptionId(string^string) - - parameterName: resourceGroupName(string^string) - - parameterName: diskPoolName(string^string) - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - - parameterName[0]: content-type(application/json^constant) - - parameterName[0]: diskPoolUpdatePayload(DiskPoolUpdate^object) - bodySchema: DiskPoolUpdate - - parameterName[0]: accept(Accept^constant) - - operationName: Delete - parameters: - - parameterName: $host(string^string) - - parameterName: subscriptionId(string^string) - - parameterName: resourceGroupName(string^string) - - parameterName: diskPoolName(string^string) - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - - parameterName[0]: accept(Accept^constant) - - operationName: Get - parameters: - - parameterName: $host(string^string) - - parameterName: subscriptionId(string^string) - - parameterName: resourceGroupName(string^string) - - parameterName: diskPoolName(string^string) - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - - parameterName[0]: accept(Accept^constant) - - operationName: ListOutboundNetworkDependenciesEndpoints - parameters: - - parameterName: $host(string^string) - - parameterName: subscriptionId(string^string) - - parameterName: resourceGroupName(string^string) - - parameterName: diskPoolName(string^string) - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - - parameterName[0]: accept(Accept^constant) - - operationName: Start - parameters: - - parameterName: $host(string^string) - - parameterName: subscriptionId(string^string) - - parameterName: resourceGroupName(string^string) - - parameterName: diskPoolName(string^string) - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - - parameterName[0]: accept(Accept^constant) - - operationName: Deallocate - parameters: - - parameterName: $host(string^string) - - parameterName: subscriptionId(string^string) - - parameterName: resourceGroupName(string^string) - - parameterName: diskPoolName(string^string) - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - - parameterName[0]: accept(Accept^constant) - - operationGroupName: DiskPoolZones - operations: - - operationName: List - parameters: - - parameterName: $host(string^string) - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - - parameterName: subscriptionId(string^string) - - parameterName: location(string^string) - - parameterName[0]: accept(Accept^constant) - - operationGroupName: IscsiTargets - operations: - - operationName: ListByDiskPool - parameters: - - parameterName: $host(string^string) - - parameterName: subscriptionId(string^string) - - parameterName: resourceGroupName(string^string) - - parameterName: diskPoolName(string^string) - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - - parameterName[0]: accept(Accept^constant) - - operationName: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - - parameterName: subscriptionId(string^string) - - parameterName: resourceGroupName(string^string) - - parameterName: diskPoolName(string^string) - - parameterName: iscsiTargetName(string^string) - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - - parameterName[0]: content-type(application/json^constant) - - parameterName[0]: iscsiTargetCreatePayload(IscsiTargetCreate^object) - bodySchema: IscsiTargetCreate - - parameterName[0]: accept(Accept^constant) - - operationName: Update - parameters: - - parameterName: $host(string^string) - - parameterName: subscriptionId(string^string) - - parameterName: resourceGroupName(string^string) - - parameterName: diskPoolName(string^string) - - parameterName: iscsiTargetName(string^string) - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - - parameterName[0]: content-type(application/json^constant) - - parameterName[0]: iscsiTargetUpdatePayload(IscsiTargetUpdate^object) - bodySchema: IscsiTargetUpdate - - parameterName[0]: accept(Accept^constant) - - operationName: Delete - parameters: - - parameterName: $host(string^string) - - parameterName: subscriptionId(string^string) - - parameterName: resourceGroupName(string^string) - - parameterName: diskPoolName(string^string) - - parameterName: iscsiTargetName(string^string) - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - - parameterName[0]: accept(Accept^constant) - - operationName: Get - parameters: - - parameterName: $host(string^string) - - parameterName: subscriptionId(string^string) - - parameterName: resourceGroupName(string^string) - - parameterName: diskPoolName(string^string) - - parameterName: iscsiTargetName(string^string) - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - - parameterName[0]: accept(Accept^constant) -schemas: - objects: - all: - - schemaName: StoragePoolOperationListResult - properties: - - propertyName: value(StoragePoolOperationListResult-value^array) - - propertyName: nextLink(StoragePoolOperationListResult-nextLink^string) - - schemaName: StoragePoolRPOperation - properties: - - propertyName: name(StoragePoolRPOperation-name^string) - - propertyName: isDataAction(boolean^boolean) - - propertyName: actionType(StoragePoolRPOperation-actionType^string) - - propertyName: display(StoragePoolOperationDisplay^object) - - propertyName: origin(StoragePoolRPOperation-origin^string) - - schemaName: StoragePoolOperationDisplay - properties: - - propertyName: provider(StoragePoolOperationDisplay-provider^string) - - propertyName: resource(StoragePoolOperationDisplay-resource^string) - - propertyName: operation(StoragePoolOperationDisplay-operation^string) - - propertyName: description(StoragePoolOperationDisplay-description^string) - - schemaName: Error - properties: - - propertyName: error(ErrorResponse^object) - - schemaName: ErrorResponse - properties: - - propertyName: code(ErrorResponse-code^string) - readOnly: true - - propertyName: message(ErrorResponse-message^string) - readOnly: true - - propertyName: target(ErrorResponse-target^string) - readOnly: true - - propertyName: details(ErrorResponse-details^array) - readOnly: true - - propertyName: additionalInfo(ErrorResponse-additionalInfo^array) - readOnly: true - - schemaName: ErrorAdditionalInfo - properties: - - propertyName: type(ErrorAdditionalInfo-type^string) - readOnly: true - - propertyName: info(any^any) - readOnly: true - - schemaName: DiskPoolListResult - properties: - - propertyName: value(DiskPoolListResult-value^array) - - propertyName: nextLink(DiskPoolListResult-nextLink^string) - readOnly: true - - schemaName: DiskPool - properties: - - propertyName: sku(Sku^object) - x-ms-client-flatten: true - - propertyName: properties(DiskPoolProperties^object) - x-ms-client-flatten: true - - propertyName: systemData(SystemMetadata^object) - readOnly: true - - schemaName: Sku - properties: - - propertyName: name(Sku-name^string) - - propertyName: tier(Sku-tier^string) - - schemaName: DiskPoolProperties - properties: - - propertyName: provisioningState(ProvisioningStates^choice) - readOnly: true - - propertyName: availabilityZones(DiskPoolProperties-availabilityZones^array) - - propertyName: status(OperationalStatus^choice) - - propertyName: disks(DiskPoolProperties-disks^array) - - propertyName: subnetId(DiskPoolProperties-subnetId^string) - - propertyName: additionalCapabilities(DiskPoolProperties-additionalCapabilities^array) - - schemaName: Disk - properties: - - propertyName: id(Disk-id^string) - - schemaName: SystemMetadata - properties: - - propertyName: createdBy(SystemMetadata-createdBy^string) - - propertyName: createdByType(createdByType^choice) - - propertyName: createdAt(SystemMetadata-createdAt^date-time) - - propertyName: lastModifiedBy(SystemMetadata-lastModifiedBy^string) - - propertyName: lastModifiedByType(createdByType^choice) - - propertyName: lastModifiedAt(SystemMetadata-lastModifiedAt^date-time) - - schemaName: TrackedResource - properties: - - propertyName: tags(TrackedResource-tags^dictionary) - - propertyName: location(TrackedResource-location^string) - - schemaName: Resource - properties: - - propertyName: id(Resource-id^string) - readOnly: true - - propertyName: name(Resource-name^string) - readOnly: true - - propertyName: type(Resource-type^string) - readOnly: true - - schemaName: DiskPoolCreate - properties: - - propertyName: sku(Sku^object) - - propertyName: properties(DiskPoolCreateProperties^object) - x-ms-client-flatten: true - - propertyName: tags(DiskPoolCreate-tags^dictionary) - - propertyName: location(DiskPoolCreate-location^string) - - propertyName: id(DiskPoolCreate-id^string) - readOnly: true - - propertyName: name(DiskPoolCreate-name^string) - readOnly: true - - propertyName: type(DiskPoolCreate-type^string) - readOnly: true - - schemaName: DiskPoolCreateProperties - properties: - - propertyName: availabilityZones(DiskPoolCreateProperties-availabilityZones^array) - - propertyName: disks(DiskPoolCreateProperties-disks^array) - - propertyName: subnetId(DiskPoolCreateProperties-subnetId^string) - - propertyName: additionalCapabilities(DiskPoolCreateProperties-additionalCapabilities^array) - - schemaName: DiskPoolUpdate - properties: - - propertyName: properties(DiskPoolUpdateProperties^object) - x-ms-client-flatten: true - - propertyName: tags(DiskPoolUpdate-tags^dictionary) - - schemaName: DiskPoolUpdateProperties - properties: - - propertyName: disks(DiskPoolUpdateProperties-disks^array) - - schemaName: DiskPoolZoneListResult - properties: - - propertyName: value(DiskPoolZoneListResult-value^array) - - propertyName: nextLink(DiskPoolZoneListResult-nextLink^string) - - schemaName: DiskPoolZoneInfo - properties: - - propertyName: availabilityZones(DiskPoolZoneInfo-availabilityZones^array) - - propertyName: additionalCapabilities(DiskPoolZoneInfo-additionalCapabilities^array) - - propertyName: sku(Sku^object) - - schemaName: OutboundEnvironmentEndpointList - properties: - - propertyName: value(OutboundEnvironmentEndpointList-value^array) - - propertyName: nextLink(OutboundEnvironmentEndpointList-nextLink^string) - readOnly: true - - schemaName: OutboundEnvironmentEndpoint - properties: - - propertyName: category(OutboundEnvironmentEndpoint-category^string) - - propertyName: endpoints(OutboundEnvironmentEndpoint-endpoints^array) - - schemaName: EndpointDependency - properties: - - propertyName: domainName(EndpointDependency-domainName^string) - - propertyName: endpointDetails(EndpointDependency-endpointDetails^array) - - schemaName: EndpointDetail - properties: - - propertyName: ipAddress(EndpointDetail-ipAddress^string) - - propertyName: port(integer^integer) - - propertyName: latency(number^number) - - propertyName: isAccessible(boolean^boolean) - - schemaName: IscsiTargetList - properties: - - propertyName: value(IscsiTargetList-value^array) - - propertyName: nextLink(IscsiTargetList-nextLink^string) - readOnly: true - - schemaName: IscsiTarget - properties: - - propertyName: properties(IscsiTargetProperties^object) - x-ms-client-flatten: true - - propertyName: systemData(SystemMetadata^object) - readOnly: true - - schemaName: IscsiTargetProperties - properties: - - propertyName: aclMode(IscsiTargetAclMode^choice) - - propertyName: staticAcls(IscsiTargetProperties-staticAcls^array) - - propertyName: luns(IscsiTargetProperties-luns^array) - - propertyName: targetIqn(IscsiTargetProperties-targetIqn^string) - - propertyName: provisioningState(ProvisioningStates^choice) - readOnly: true - - propertyName: status(OperationalStatus^choice) - - propertyName: endpoints(IscsiTargetProperties-endpoints^array) - - propertyName: port(integer^integer) - - schemaName: Acl - properties: - - propertyName: initiatorIqn(Acl-initiatorIqn^string) - - propertyName: mappedLuns(Acl-mappedLuns^array) - - schemaName: IscsiLun - properties: - - propertyName: name(IscsiLun-name^string) - - propertyName: managedDiskAzureResourceId(IscsiLun-managedDiskAzureResourceId^string) - - schemaName: IscsiTargetCreate - properties: - - propertyName: properties(IscsiTargetCreateProperties^object) - x-ms-client-flatten: true - - schemaName: IscsiTargetCreateProperties - properties: - - propertyName: aclMode(IscsiTargetAclMode^choice) - - propertyName: targetIqn(IscsiTargetCreateProperties-targetIqn^string) - - propertyName: staticAcls(IscsiTargetCreateProperties-staticAcls^array) - - propertyName: luns(IscsiTargetCreateProperties-luns^array) - - schemaName: IscsiTargetUpdate - properties: - - propertyName: properties(IscsiTargetUpdateProperties^object) - x-ms-client-flatten: true - - schemaName: IscsiTargetUpdateProperties - properties: - - propertyName: staticAcls(IscsiTargetUpdateProperties-staticAcls^array) - - propertyName: luns(IscsiTargetUpdateProperties-luns^array) - - schemaName: ProxyResource - choices: - all: - - choiceName: ProvisioningStates - choiceValues: - - choiceValue: Invalid - - choiceValue: Succeeded - - choiceValue: Failed - - choiceValue: Canceled - - choiceValue: Pending - - choiceValue: Creating - - choiceValue: Updating - - choiceValue: Deleting - - choiceName: OperationalStatus - choiceValues: - - choiceValue: Invalid - - choiceValue: Unknown - - choiceValue: Healthy - - choiceValue: Unhealthy - - choiceValue: Updating - - choiceValue: Running - - choiceValue: Stopped - - choiceValue: Stopped (deallocated) - - choiceName: createdByType - choiceValues: - - choiceValue: User - - choiceValue: Application - - choiceValue: ManagedIdentity - - choiceValue: Key - - choiceName: IscsiTargetAclMode - choiceValues: - - choiceValue: Dynamic - - choiceValue: Static - - choiceName: DiskPoolTier - choiceValues: - - choiceValue: Basic - - choiceValue: Standard - - choiceValue: Premium diff --git a/src/diskpool/_az_debug/clicommon-000010-prename-pre.yaml b/src/diskpool/_az_debug/clicommon-000010-prename-pre.yaml deleted file mode 100644 index 0512e491746..00000000000 --- a/src/diskpool/_az_debug/clicommon-000010-prename-pre.yaml +++ /dev/null @@ -1,5156 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 10 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_77 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_75 - type: integer - precision: 32 - language: - default: - name: integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_76 - type: number - precision: 64 - language: - default: - name: number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_32 - type: integer - precision: 32 - language: - default: - name: integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: string - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRPOperation-name - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRPOperation-actionType - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplay-provider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplay-resource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplay-operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplay-description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRPOperation-origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationListResult-nextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponse-code - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponse-message - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponse-target - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorAdditionalInfo-type - description: The additional info type. - protocol: {} - - &ref_112 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: string - description: '' - protocol: {} - - &ref_50 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: Sku-name - description: Sku name - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: Sku-tier - description: Sku tier - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AvailabilityZone - description: Availability zone. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: Disk-id - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: DiskPoolProperties-subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AdditionalCapability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SystemMetadata-createdBy - description: The identity that created the resource. - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SystemMetadata-lastModifiedBy - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: string - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: TrackedResource-location - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: Resource-id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: Resource-name - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: Resource-type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolListResult-nextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_121 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: string - description: '' - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: DiskPoolCreateProperties-subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: DiskPoolCreate-location - description: The geo-location where the resource lives. - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreate-id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreate-name - description: The name of the resource - protocol: {} - - &ref_66 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreate-type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolZoneListResult-nextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_72 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: OutboundEnvironmentEndpoint-category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_73 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: EndpointDependency-domainName - description: The domain name of the dependency. - protocol: {} - - &ref_74 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: EndpointDetail-ipAddress - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_78 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: OutboundEnvironmentEndpointList-nextLink - description: Link to next page of resources. - protocol: {} - - &ref_24 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: Acl-initiatorIqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_25 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: Acl-mappedLunsItem - description: '' - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiLun-name - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_27 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiLun-managedDiskAzureResourceId - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_28 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetProperties-targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetProperties-endpointsItem - description: '' - protocol: {} - - &ref_82 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetList-nextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetCreateProperties-targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_29 - choices: - - value: Invalid - language: - default: - name: Invalid - description: '' - - value: Succeeded - language: - default: - name: Succeeded - description: '' - - value: Failed - language: - default: - name: Failed - description: '' - - value: Canceled - language: - default: - name: Canceled - description: '' - - value: Pending - language: - default: - name: Pending - description: '' - - value: Creating - language: - default: - name: Creating - description: '' - - value: Updating - language: - default: - name: Updating - description: '' - - value: Deleting - language: - default: - name: Deleting - description: '' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: ProvisioningStates - description: Provisioning state of the iSCSI Target. - protocol: {} - - &ref_30 - choices: - - value: Invalid - language: - default: - name: Invalid - description: '' - - value: Unknown - language: - default: - name: Unknown - description: '' - - value: Healthy - language: - default: - name: Healthy - description: '' - - value: Unhealthy - language: - default: - name: Unhealthy - description: '' - - value: Updating - language: - default: - name: Updating - description: '' - - value: Running - language: - default: - name: Running - description: '' - - value: Stopped - language: - default: - name: Stopped - description: '' - - value: Stopped (deallocated) - language: - default: - name: Stopped (deallocated) - description: '' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: OperationalStatus - description: Operational status of the resource. - protocol: {} - - &ref_34 - choices: - - value: User - language: - default: - name: User - description: '' - - value: Application - language: - default: - name: Application - description: '' - - value: ManagedIdentity - language: - default: - name: ManagedIdentity - description: '' - - value: Key - language: - default: - name: Key - description: '' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: createdByType - description: The type of identity that created the resource. - protocol: {} - - &ref_23 - choices: - - value: Dynamic - language: - default: - name: Dynamic - description: '' - - value: Static - language: - default: - name: Static - description: '' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: IscsiTargetAclMode - description: ACL mode for iSCSI Target. - protocol: {} - - choices: - - value: Basic - language: - default: - name: Basic - description: '' - - value: Standard - language: - default: - name: Standard - description: '' - - value: Premium - language: - default: - name: Premium - description: '' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: DiskPoolTier - description: SKU of the VM host part of the Disk Pool deployment - protocol: {} - constants: - - &ref_113 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: ApiVersion-2021-04-01-preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_116 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: Accept - description: 'Accept: application/json' - protocol: {} - - &ref_123 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application/json - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: TrackedResource-tags - description: Resource tags. - protocol: {} - - &ref_62 - type: dictionary - elementType: *ref_1 - language: - default: - name: DiskPoolCreate-tags - description: Resource tags. - protocol: {} - - &ref_68 - type: dictionary - elementType: *ref_1 - language: - default: - name: DiskPoolUpdate-tags - description: Resource tags. - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_35 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SystemMetadata-createdAt - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_37 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SystemMetadata-lastModifiedAt - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_117 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: isDataAction - description: Indicates whether the operation applies to data-plane. - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: actionType - description: Indicates the action type. - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolOperationDisplay - description: Metadata about an operation. - namespace: '' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolRPOperation - description: Description of a StoragePool RP Operation - namespace: '' - protocol: {} - language: - default: - name: StoragePoolOperationListResult-value - description: An array of operations supported by the StoragePool RP. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: nextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolOperationListResult - description: List of operations supported by the RP. - namespace: '' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - protocol: {} - - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: ErrorResponse-details - description: The error details. - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - protocol: {} - - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: ErrorAdditionalInfo - description: The resource management error additional info. - namespace: '' - protocol: {} - language: - default: - name: ErrorResponse-additionalInfo - description: The error additional info. - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additionalInfo - description: The error additional info. - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: ErrorResponse - description: The resource management error response. - namespace: '' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: Error - description: The resource management error response. - namespace: '' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_120 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_83 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - required: true - serializedName: aclMode - language: - default: - name: aclMode - description: Mode for Target connectivity. - protocol: {} - - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_24 - required: true - serializedName: initiatorIqn - language: - default: - name: initiatorIqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_25 - language: - default: - name: Acl-mappedLuns - description: List of LUN names mapped to the ACL. - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mappedLuns - description: List of LUN names mapped to the ACL. - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: Acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - protocol: {} - language: - default: - name: IscsiTargetProperties-staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - required: false - serializedName: staticAcls - language: - default: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_26 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - schema: *ref_27 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managedDiskAzureResourceId - description: Azure Resource ID of the Managed Disk. - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: IscsiLun - description: LUN to expose the Azure Managed Disk. - namespace: '' - protocol: {} - language: - default: - name: IscsiTargetProperties-luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - - schema: *ref_28 - required: true - serializedName: targetIqn - language: - default: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - schema: *ref_29 - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioningState - description: State of the operation on the resource. - protocol: {} - - schema: *ref_30 - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - protocol: {} - - schema: &ref_106 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_31 - language: - default: - name: IscsiTargetProperties-endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - protocol: {} - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - protocol: {} - - schema: *ref_32 - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: IscsiTargetProperties - description: Response properties for iSCSI Target operations. - namespace: '' - protocol: {} - required: true - serializedName: properties - extensions: - x-ms-client-flatten: true - language: - default: - name: properties - description: Properties for iSCSI Target operations. - protocol: {} - - schema: &ref_56 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_33 - serializedName: createdBy - language: - default: - name: createdBy - description: The identity that created the resource. - protocol: {} - - schema: *ref_34 - serializedName: createdByType - language: - default: - name: createdByType - description: The type of identity that created the resource. - protocol: {} - - schema: *ref_35 - serializedName: createdAt - language: - default: - name: createdAt - description: The timestamp of resource creation (UTC). - protocol: {} - - schema: *ref_36 - serializedName: lastModifiedBy - language: - default: - name: lastModifiedBy - description: The identity that last modified the resource. - protocol: {} - - schema: *ref_34 - serializedName: lastModifiedByType - language: - default: - name: lastModifiedByType - description: The type of identity that last modified the resource. - protocol: {} - - schema: *ref_37 - serializedName: lastModifiedAt - language: - default: - name: lastModifiedAt - description: The type of identity that last modified the resource. - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: SystemMetadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: systemData - description: Resource metadata required by ARM RPC - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: IscsiTarget - description: Response for iSCSI Target requests. - namespace: '' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_84 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - required: true - serializedName: aclMode - language: - default: - name: aclMode - description: Mode for Target connectivity. - protocol: {} - - schema: *ref_38 - required: false - serializedName: targetIqn - language: - default: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - schema: &ref_108 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: IscsiTargetCreateProperties-staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - required: false - serializedName: staticAcls - language: - default: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - - schema: &ref_109 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: IscsiTargetCreateProperties-luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: IscsiTargetCreateProperties - description: Properties for iSCSI Target create or update request. - namespace: '' - protocol: {} - required: true - serializedName: properties - extensions: - x-ms-client-flatten: true - language: - default: - name: properties - description: Properties for iSCSI Target create request. - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: IscsiTargetCreate - description: Payload for iSCSI Target create or update requests. - namespace: '' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_85 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_110 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: IscsiTargetUpdateProperties-staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - serializedName: staticAcls - language: - default: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - - schema: &ref_111 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: IscsiTargetUpdateProperties-luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: IscsiTargetUpdateProperties - description: Properties for iSCSI Target update request. - namespace: '' - protocol: {} - required: true - serializedName: properties - extensions: - x-ms-client-flatten: true - language: - default: - name: properties - description: Properties for iSCSI Target update request. - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: IscsiTargetUpdate - description: Payload for iSCSI Target update requests. - namespace: '' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: ProxyResource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: Resource - description: ARM resource model definition. - namespace: '' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: TrackedResource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_50 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - protocol: {} - - schema: *ref_51 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: Sku - description: Sku for ARM resource - namespace: '' - protocol: {} - required: false - serializedName: sku - extensions: - x-ms-client-flatten: true - language: - default: - name: sku - description: Determines the SKU of the Disk pool - protocol: {} - - schema: &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioningState - description: State of the operation on the resource. - protocol: {} - - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_52 - language: - default: - name: DiskPoolProperties-availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - required: true - serializedName: availabilityZones - language: - default: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - - schema: *ref_30 - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - protocol: {} - - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_60 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_53 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: Disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - protocol: {} - language: - default: - name: DiskPoolProperties-disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - - schema: *ref_54 - required: true - serializedName: subnetId - language: - default: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_55 - language: - default: - name: DiskPoolProperties-additionalCapabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - required: false - serializedName: additionalCapabilities - language: - default: - name: additionalCapabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: DiskPoolProperties - description: Disk Pool response properties. - namespace: '' - protocol: {} - required: true - serializedName: properties - extensions: - x-ms-client-flatten: true - language: - default: - name: properties - description: Properties of Disk Pool. - protocol: {} - - schema: *ref_56 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: systemData - description: Resource metadata required by ARM RPC - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: DiskPool - description: Response for Disk Pool request. - namespace: '' - protocol: {} - language: - default: - name: DiskPoolListResult-value - description: An array of Disk pool objects. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: nextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolListResult - description: List of Disk Pools - namespace: '' - protocol: {} - - *ref_20 - - *ref_58 - - *ref_59 - - *ref_60 - - *ref_56 - - *ref_21 - - *ref_22 - - &ref_124 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_58 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - protocol: {} - - schema: &ref_67 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_52 - language: - default: - name: DiskPoolCreateProperties-availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - required: false - serializedName: availabilityZones - language: - default: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_60 - language: - default: - name: DiskPoolCreateProperties-disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - - schema: *ref_61 - required: true - serializedName: subnetId - language: - default: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_55 - language: - default: - name: DiskPoolCreateProperties-additionalCapabilities - description: List of additional capabilities for a Disk Pool. - protocol: {} - required: false - serializedName: additionalCapabilities - language: - default: - name: additionalCapabilities - description: List of additional capabilities for a Disk Pool. - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: DiskPoolCreateProperties - description: Properties for Disk Pool create or update request. - namespace: '' - protocol: {} - required: true - serializedName: properties - extensions: - x-ms-client-flatten: true - language: - default: - name: properties - description: Properties for Disk Pool create request. - protocol: {} - - schema: *ref_62 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - protocol: {} - - schema: *ref_63 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - schema: *ref_65 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - protocol: {} - - schema: *ref_66 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: DiskPoolCreate - description: Request payload for create or update Disk Pool request. - namespace: '' - protocol: {} - - *ref_67 - - &ref_128 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_69 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_60 - language: - default: - name: DiskPoolUpdateProperties-disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: DiskPoolUpdateProperties - description: Properties for Disk Pool update request. - namespace: '' - protocol: {} - required: true - serializedName: properties - extensions: - x-ms-client-flatten: true - language: - default: - name: properties - description: Properties for Disk Pool update request. - protocol: {} - - schema: *ref_68 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: DiskPoolUpdate - description: Request payload for Update Disk Pool request. - namespace: '' - protocol: {} - - *ref_69 - - &ref_144 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_71 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_52 - language: - default: - name: DiskPoolZoneInfo-availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - serializedName: availabilityZones - language: - default: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_55 - language: - default: - name: DiskPoolZoneInfo-additionalCapabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additionalCapabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - - schema: *ref_58 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolZoneInfo - description: Disk Pool Sku Details - namespace: '' - protocol: {} - language: - default: - name: DiskPoolZoneListResult-value - description: The list of Disk Pool Skus. - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - protocol: {} - - schema: *ref_70 - serializedName: nextLink - language: - default: - name: nextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolZoneListResult - description: List Disk Pool skus operation response. - namespace: '' - protocol: {} - - *ref_71 - - &ref_138 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_79 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_72 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_80 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_73 - serializedName: domainName - language: - default: - name: domainName - description: The domain name of the dependency. - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_81 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_74 - serializedName: ipAddress - language: - default: - name: ipAddress - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - schema: *ref_75 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - protocol: {} - - schema: *ref_76 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - schema: *ref_77 - serializedName: isAccessible - language: - default: - name: isAccessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: EndpointDetail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - protocol: {} - language: - default: - name: EndpointDependency-endpointDetails - description: The IP Addresses and Ports used when connecting to DomainName. - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpointDetails - description: The IP Addresses and Ports used when connecting to DomainName. - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: EndpointDependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - protocol: {} - language: - default: - name: OutboundEnvironmentEndpoint-endpoints - description: The endpoints that the App Service Environment reaches the service at. - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: OutboundEnvironmentEndpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - protocol: {} - language: - default: - name: OutboundEnvironmentEndpointList-value - description: Collection of resources. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - protocol: {} - - schema: *ref_78 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: nextLink - description: Link to next page of resources. - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: OutboundEnvironmentEndpointList - description: Collection of Outbound Environment Endpoints - namespace: '' - protocol: {} - - *ref_79 - - *ref_80 - - *ref_81 - - &ref_147 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_107 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: IscsiTargetList-value - description: An array of iSCSI Targets in a Disk Pool. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - protocol: {} - - schema: *ref_82 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: nextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: IscsiTargetList - description: List of iSCSI Targets. - namespace: '' - protocol: {} - - *ref_41 - - *ref_83 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_84 - - *ref_43 - - *ref_85 - - *ref_44 - arrays: - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 - - *ref_106 - - *ref_107 - - *ref_108 - - *ref_109 - - *ref_110 - - *ref_111 -globalParameters: - - &ref_119 - schema: *ref_112 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscriptionId - description: The ID of the target subscription. - serializedName: subscriptionId - protocol: - http: - in: path - - &ref_114 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - protocol: - http: - in: uri - - &ref_115 - schema: *ref_113 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: ApiVersion - description: Api Version - serializedName: api-version - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_115 - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_117 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: List - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - protocol: {} - language: - default: - name: Operations - description: '' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - *ref_115 - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_120 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: ListBySubscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_122 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_122 - responses: - - schema: *ref_120 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: ListByResourceGroup - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_126 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - protocol: - http: - in: path - - &ref_127 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_123 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content-type - description: Body Parameter content-type - serializedName: Content-Type - protocol: - http: - in: header - - &ref_125 - schema: *ref_124 - implementation: Method - required: true - language: - default: - name: diskPoolCreatePayload - description: Request payload for Disk Pool create operation - protocol: - http: - in: body - style: json - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - protocol: - http: - in: header - signatureParameters: - - *ref_125 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_126 - - *ref_127 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: CreateOrUpdate - description: Create or Update Disk pool. - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_130 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - protocol: - http: - in: path - - &ref_131 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_123 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content-type - description: Body Parameter content-type - serializedName: Content-Type - protocol: - http: - in: header - - &ref_129 - schema: *ref_128 - implementation: Method - required: true - language: - default: - name: diskPoolUpdatePayload - description: Request payload for Disk Pool update operation. - protocol: - http: - in: body - style: json - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - protocol: - http: - in: header - signatureParameters: - - *ref_129 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_130 - - *ref_131 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: Update - description: Update a Disk pool. - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_132 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - protocol: - http: - in: path - - &ref_133 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_132 - - *ref_133 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: Delete - description: Delete a Disk pool. - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_134 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - protocol: - http: - in: path - - &ref_135 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_134 - - *ref_135 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: Get - description: Get a Disk pool. - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_136 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - protocol: - http: - in: path - - &ref_137 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_136 - - *ref_137 - responses: - - schema: *ref_138 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: ListOutboundNetworkDependenciesEndpoints - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_139 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - protocol: - http: - in: path - - &ref_140 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_139 - - *ref_140 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: Start - description: The operation to start a Disk Pool. - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_141 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - protocol: - http: - in: path - - &ref_142 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_141 - - *ref_142 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: Deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - protocol: {} - language: - default: - name: DiskPools - description: '' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_115 - - *ref_119 - - &ref_143 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_143 - responses: - - schema: *ref_144 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: List - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - protocol: {} - language: - default: - name: DiskPoolZones - description: '' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_145 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - protocol: - http: - in: path - - &ref_146 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_145 - - *ref_146 - responses: - - schema: *ref_147 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: ListByDiskPool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_149 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - protocol: - http: - in: path - - &ref_150 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - protocol: - http: - in: path - - &ref_151 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsiTargetName - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_123 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content-type - description: Body Parameter content-type - serializedName: Content-Type - protocol: - http: - in: header - - &ref_148 - schema: *ref_42 - implementation: Method - required: true - language: - default: - name: iscsiTargetCreatePayload - description: Request payload for iSCSI Target create operation. - protocol: - http: - in: body - style: json - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - protocol: - http: - in: header - signatureParameters: - - *ref_148 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_149 - - *ref_150 - - *ref_151 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: CreateOrUpdate - description: Create or Update an iSCSI Target. - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_153 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - protocol: - http: - in: path - - &ref_154 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - protocol: - http: - in: path - - &ref_155 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsiTargetName - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_123 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content-type - description: Body Parameter content-type - serializedName: Content-Type - protocol: - http: - in: header - - &ref_152 - schema: *ref_43 - implementation: Method - required: true - language: - default: - name: iscsiTargetUpdatePayload - description: Request payload for iSCSI Target update operation. - protocol: - http: - in: body - style: json - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - protocol: - http: - in: header - signatureParameters: - - *ref_152 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_153 - - *ref_154 - - *ref_155 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: Update - description: Update an iSCSI Target. - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_156 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - protocol: - http: - in: path - - &ref_157 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - protocol: - http: - in: path - - &ref_158 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsiTargetName - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_156 - - *ref_157 - - *ref_158 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: Delete - description: Delete an iSCSI Target. - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_159 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - protocol: - http: - in: path - - &ref_160 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - protocol: - http: - in: path - - &ref_161 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsiTargetName - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_159 - - *ref_160 - - *ref_161 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: Get - description: Get an iSCSI Target. - protocol: {} - language: - default: - name: IscsiTargets - description: '' - protocol: {} -security: - authenticationRequired: true -language: - default: - name: '' - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000020-prename-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000020-prename-post-simplified.yaml deleted file mode 100644 index 12bcd7f1672..00000000000 --- a/src/diskpool/_az_debug/clicommon-000020-prename-post-simplified.yaml +++ /dev/null @@ -1,942 +0,0 @@ -operationGroups: - all: - - operationGroupName: Operations - cli: - cliKey: Operations - operations: - - operationName: List - cli: - cliKey: List - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: accept(Accept^constant) - cli: - cliKey: accept - - operationGroupName: DiskPools - cli: - cliKey: DiskPools - operations: - - operationName: ListBySubscription - cli: - cliKey: ListBySubscription - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscriptionId(string^string) - cli: - cliKey: subscriptionId - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: accept(Accept^constant) - cli: - cliKey: accept - - operationName: ListByResourceGroup - cli: - cliKey: ListByResourceGroup - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscriptionId(string^string) - cli: - cliKey: subscriptionId - - parameterName: resourceGroupName(string^string) - cli: - cliKey: resourceGroupName - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: accept(Accept^constant) - cli: - cliKey: accept - - operationName: CreateOrUpdate - cli: - cliKey: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscriptionId(string^string) - cli: - cliKey: subscriptionId - - parameterName: resourceGroupName(string^string) - cli: - cliKey: resourceGroupName - - parameterName: diskPoolName(string^string) - cli: - cliKey: diskPoolName - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: content-type(application/json^constant) - cli: - cliKey: content-type - - parameterName[0]: diskPoolCreatePayload(DiskPoolCreate^object) - cli: - cliKey: diskPoolCreatePayload - bodySchema: DiskPoolCreate - - parameterName[0]: accept(Accept^constant) - cli: - cliKey: accept - - operationName: Update - cli: - cliKey: Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscriptionId(string^string) - cli: - cliKey: subscriptionId - - parameterName: resourceGroupName(string^string) - cli: - cliKey: resourceGroupName - - parameterName: diskPoolName(string^string) - cli: - cliKey: diskPoolName - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: content-type(application/json^constant) - cli: - cliKey: content-type - - parameterName[0]: diskPoolUpdatePayload(DiskPoolUpdate^object) - cli: - cliKey: diskPoolUpdatePayload - bodySchema: DiskPoolUpdate - - parameterName[0]: accept(Accept^constant) - cli: - cliKey: accept - - operationName: Delete - cli: - cliKey: Delete - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscriptionId(string^string) - cli: - cliKey: subscriptionId - - parameterName: resourceGroupName(string^string) - cli: - cliKey: resourceGroupName - - parameterName: diskPoolName(string^string) - cli: - cliKey: diskPoolName - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: accept(Accept^constant) - cli: - cliKey: accept - - operationName: Get - cli: - cliKey: Get - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscriptionId(string^string) - cli: - cliKey: subscriptionId - - parameterName: resourceGroupName(string^string) - cli: - cliKey: resourceGroupName - - parameterName: diskPoolName(string^string) - cli: - cliKey: diskPoolName - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: accept(Accept^constant) - cli: - cliKey: accept - - operationName: ListOutboundNetworkDependenciesEndpoints - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscriptionId(string^string) - cli: - cliKey: subscriptionId - - parameterName: resourceGroupName(string^string) - cli: - cliKey: resourceGroupName - - parameterName: diskPoolName(string^string) - cli: - cliKey: diskPoolName - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: accept(Accept^constant) - cli: - cliKey: accept - - operationName: Start - cli: - cliKey: Start - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscriptionId(string^string) - cli: - cliKey: subscriptionId - - parameterName: resourceGroupName(string^string) - cli: - cliKey: resourceGroupName - - parameterName: diskPoolName(string^string) - cli: - cliKey: diskPoolName - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: accept(Accept^constant) - cli: - cliKey: accept - - operationName: Deallocate - cli: - cliKey: Deallocate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscriptionId(string^string) - cli: - cliKey: subscriptionId - - parameterName: resourceGroupName(string^string) - cli: - cliKey: resourceGroupName - - parameterName: diskPoolName(string^string) - cli: - cliKey: diskPoolName - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: accept(Accept^constant) - cli: - cliKey: accept - - operationGroupName: DiskPoolZones - cli: - cliKey: DiskPoolZones - operations: - - operationName: List - cli: - cliKey: List - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - cli: - cliKey: ApiVersion - - parameterName: subscriptionId(string^string) - cli: - cliKey: subscriptionId - - parameterName: location(string^string) - cli: - cliKey: location - - parameterName[0]: accept(Accept^constant) - cli: - cliKey: accept - - operationGroupName: IscsiTargets - cli: - cliKey: IscsiTargets - operations: - - operationName: ListByDiskPool - cli: - cliKey: ListByDiskPool - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscriptionId(string^string) - cli: - cliKey: subscriptionId - - parameterName: resourceGroupName(string^string) - cli: - cliKey: resourceGroupName - - parameterName: diskPoolName(string^string) - cli: - cliKey: diskPoolName - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: accept(Accept^constant) - cli: - cliKey: accept - - operationName: CreateOrUpdate - cli: - cliKey: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscriptionId(string^string) - cli: - cliKey: subscriptionId - - parameterName: resourceGroupName(string^string) - cli: - cliKey: resourceGroupName - - parameterName: diskPoolName(string^string) - cli: - cliKey: diskPoolName - - parameterName: iscsiTargetName(string^string) - cli: - cliKey: iscsiTargetName - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: content-type(application/json^constant) - cli: - cliKey: content-type - - parameterName[0]: iscsiTargetCreatePayload(IscsiTargetCreate^object) - cli: - cliKey: iscsiTargetCreatePayload - bodySchema: IscsiTargetCreate - - parameterName[0]: accept(Accept^constant) - cli: - cliKey: accept - - operationName: Update - cli: - cliKey: Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscriptionId(string^string) - cli: - cliKey: subscriptionId - - parameterName: resourceGroupName(string^string) - cli: - cliKey: resourceGroupName - - parameterName: diskPoolName(string^string) - cli: - cliKey: diskPoolName - - parameterName: iscsiTargetName(string^string) - cli: - cliKey: iscsiTargetName - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: content-type(application/json^constant) - cli: - cliKey: content-type - - parameterName[0]: iscsiTargetUpdatePayload(IscsiTargetUpdate^object) - cli: - cliKey: iscsiTargetUpdatePayload - bodySchema: IscsiTargetUpdate - - parameterName[0]: accept(Accept^constant) - cli: - cliKey: accept - - operationName: Delete - cli: - cliKey: Delete - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscriptionId(string^string) - cli: - cliKey: subscriptionId - - parameterName: resourceGroupName(string^string) - cli: - cliKey: resourceGroupName - - parameterName: diskPoolName(string^string) - cli: - cliKey: diskPoolName - - parameterName: iscsiTargetName(string^string) - cli: - cliKey: iscsiTargetName - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: accept(Accept^constant) - cli: - cliKey: accept - - operationName: Get - cli: - cliKey: Get - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscriptionId(string^string) - cli: - cliKey: subscriptionId - - parameterName: resourceGroupName(string^string) - cli: - cliKey: resourceGroupName - - parameterName: diskPoolName(string^string) - cli: - cliKey: diskPoolName - - parameterName: iscsiTargetName(string^string) - cli: - cliKey: iscsiTargetName - - parameterName: ApiVersion(ApiVersion-2021-04-01-preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: accept(Accept^constant) - cli: - cliKey: accept -schemas: - objects: - all: - - schemaName: StoragePoolOperationListResult - cli: - cliKey: StoragePoolOperationListResult - properties: - - propertyName: value(StoragePoolOperationListResult-value^array) - cli: - cliKey: value - - propertyName: nextLink(StoragePoolOperationListResult-nextLink^string) - cli: - cliKey: nextLink - - schemaName: StoragePoolRPOperation - cli: - cliKey: StoragePoolRPOperation - properties: - - propertyName: name(StoragePoolRPOperation-name^string) - cli: - cliKey: name - - propertyName: isDataAction(boolean^boolean) - cli: - cliKey: isDataAction - - propertyName: actionType(StoragePoolRPOperation-actionType^string) - cli: - cliKey: actionType - - propertyName: display(StoragePoolOperationDisplay^object) - cli: - cliKey: display - - propertyName: origin(StoragePoolRPOperation-origin^string) - cli: - cliKey: origin - - schemaName: StoragePoolOperationDisplay - cli: - cliKey: StoragePoolOperationDisplay - properties: - - propertyName: provider(StoragePoolOperationDisplay-provider^string) - cli: - cliKey: provider - - propertyName: resource(StoragePoolOperationDisplay-resource^string) - cli: - cliKey: resource - - propertyName: operation(StoragePoolOperationDisplay-operation^string) - cli: - cliKey: operation - - propertyName: description(StoragePoolOperationDisplay-description^string) - cli: - cliKey: description - - schemaName: Error - cli: - cliKey: Error - properties: - - propertyName: error(ErrorResponse^object) - cli: - cliKey: error - - schemaName: ErrorResponse - cli: - cliKey: ErrorResponse - properties: - - propertyName: code(ErrorResponse-code^string) - cli: - cliKey: code - readOnly: true - - propertyName: message(ErrorResponse-message^string) - cli: - cliKey: message - readOnly: true - - propertyName: target(ErrorResponse-target^string) - cli: - cliKey: target - readOnly: true - - propertyName: details(ErrorResponse-details^array) - cli: - cliKey: details - readOnly: true - - propertyName: additionalInfo(ErrorResponse-additionalInfo^array) - cli: - cliKey: additionalInfo - readOnly: true - - schemaName: ErrorAdditionalInfo - cli: - cliKey: ErrorAdditionalInfo - properties: - - propertyName: type(ErrorAdditionalInfo-type^string) - cli: - cliKey: type - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - readOnly: true - - schemaName: DiskPoolListResult - cli: - cliKey: DiskPoolListResult - properties: - - propertyName: value(DiskPoolListResult-value^array) - cli: - cliKey: value - - propertyName: nextLink(DiskPoolListResult-nextLink^string) - cli: - cliKey: nextLink - readOnly: true - - schemaName: DiskPool - cli: - cliKey: DiskPool - properties: - - propertyName: sku(Sku^object) - cli: - cliKey: sku - x-ms-client-flatten: true - - propertyName: properties(DiskPoolProperties^object) - cli: - cliKey: properties - x-ms-client-flatten: true - - propertyName: systemData(SystemMetadata^object) - cli: - cliKey: systemData - readOnly: true - - schemaName: Sku - cli: - cliKey: Sku - properties: - - propertyName: name(Sku-name^string) - cli: - cliKey: name - - propertyName: tier(Sku-tier^string) - cli: - cliKey: tier - - schemaName: DiskPoolProperties - cli: - cliKey: DiskPoolProperties - properties: - - propertyName: provisioningState(ProvisioningStates^choice) - cli: - cliKey: provisioningState - readOnly: true - - propertyName: availabilityZones(DiskPoolProperties-availabilityZones^array) - cli: - cliKey: availabilityZones - - propertyName: status(OperationalStatus^choice) - cli: - cliKey: status - - propertyName: disks(DiskPoolProperties-disks^array) - cli: - cliKey: disks - - propertyName: subnetId(DiskPoolProperties-subnetId^string) - cli: - cliKey: subnetId - - propertyName: additionalCapabilities(DiskPoolProperties-additionalCapabilities^array) - cli: - cliKey: additionalCapabilities - - schemaName: Disk - cli: - cliKey: Disk - properties: - - propertyName: id(Disk-id^string) - cli: - cliKey: id - - schemaName: SystemMetadata - cli: - cliKey: SystemMetadata - properties: - - propertyName: createdBy(SystemMetadata-createdBy^string) - cli: - cliKey: createdBy - - propertyName: createdByType(createdByType^choice) - cli: - cliKey: createdByType - - propertyName: createdAt(SystemMetadata-createdAt^date-time) - cli: - cliKey: createdAt - - propertyName: lastModifiedBy(SystemMetadata-lastModifiedBy^string) - cli: - cliKey: lastModifiedBy - - propertyName: lastModifiedByType(createdByType^choice) - cli: - cliKey: lastModifiedByType - - propertyName: lastModifiedAt(SystemMetadata-lastModifiedAt^date-time) - cli: - cliKey: lastModifiedAt - - schemaName: TrackedResource - cli: - cliKey: TrackedResource - properties: - - propertyName: tags(TrackedResource-tags^dictionary) - cli: - cliKey: tags - - propertyName: location(TrackedResource-location^string) - cli: - cliKey: location - - schemaName: Resource - cli: - cliKey: Resource - properties: - - propertyName: id(Resource-id^string) - cli: - cliKey: id - readOnly: true - - propertyName: name(Resource-name^string) - cli: - cliKey: name - readOnly: true - - propertyName: type(Resource-type^string) - cli: - cliKey: type - readOnly: true - - schemaName: DiskPoolCreate - cli: - cliKey: DiskPoolCreate - properties: - - propertyName: sku(Sku^object) - cli: - cliKey: sku - - propertyName: properties(DiskPoolCreateProperties^object) - cli: - cliKey: properties - x-ms-client-flatten: true - - propertyName: tags(DiskPoolCreate-tags^dictionary) - cli: - cliKey: tags - - propertyName: location(DiskPoolCreate-location^string) - cli: - cliKey: location - - propertyName: id(DiskPoolCreate-id^string) - cli: - cliKey: id - readOnly: true - - propertyName: name(DiskPoolCreate-name^string) - cli: - cliKey: name - readOnly: true - - propertyName: type(DiskPoolCreate-type^string) - cli: - cliKey: type - readOnly: true - - schemaName: DiskPoolCreateProperties - cli: - cliKey: DiskPoolCreateProperties - properties: - - propertyName: availabilityZones(DiskPoolCreateProperties-availabilityZones^array) - cli: - cliKey: availabilityZones - - propertyName: disks(DiskPoolCreateProperties-disks^array) - cli: - cliKey: disks - - propertyName: subnetId(DiskPoolCreateProperties-subnetId^string) - cli: - cliKey: subnetId - - propertyName: additionalCapabilities(DiskPoolCreateProperties-additionalCapabilities^array) - cli: - cliKey: additionalCapabilities - - schemaName: DiskPoolUpdate - cli: - cliKey: DiskPoolUpdate - properties: - - propertyName: properties(DiskPoolUpdateProperties^object) - cli: - cliKey: properties - x-ms-client-flatten: true - - propertyName: tags(DiskPoolUpdate-tags^dictionary) - cli: - cliKey: tags - - schemaName: DiskPoolUpdateProperties - cli: - cliKey: DiskPoolUpdateProperties - properties: - - propertyName: disks(DiskPoolUpdateProperties-disks^array) - cli: - cliKey: disks - - schemaName: DiskPoolZoneListResult - cli: - cliKey: DiskPoolZoneListResult - properties: - - propertyName: value(DiskPoolZoneListResult-value^array) - cli: - cliKey: value - - propertyName: nextLink(DiskPoolZoneListResult-nextLink^string) - cli: - cliKey: nextLink - - schemaName: DiskPoolZoneInfo - cli: - cliKey: DiskPoolZoneInfo - properties: - - propertyName: availabilityZones(DiskPoolZoneInfo-availabilityZones^array) - cli: - cliKey: availabilityZones - - propertyName: additionalCapabilities(DiskPoolZoneInfo-additionalCapabilities^array) - cli: - cliKey: additionalCapabilities - - propertyName: sku(Sku^object) - cli: - cliKey: sku - - schemaName: OutboundEnvironmentEndpointList - cli: - cliKey: OutboundEnvironmentEndpointList - properties: - - propertyName: value(OutboundEnvironmentEndpointList-value^array) - cli: - cliKey: value - - propertyName: nextLink(OutboundEnvironmentEndpointList-nextLink^string) - cli: - cliKey: nextLink - readOnly: true - - schemaName: OutboundEnvironmentEndpoint - cli: - cliKey: OutboundEnvironmentEndpoint - properties: - - propertyName: category(OutboundEnvironmentEndpoint-category^string) - cli: - cliKey: category - - propertyName: endpoints(OutboundEnvironmentEndpoint-endpoints^array) - cli: - cliKey: endpoints - - schemaName: EndpointDependency - cli: - cliKey: EndpointDependency - properties: - - propertyName: domainName(EndpointDependency-domainName^string) - cli: - cliKey: domainName - - propertyName: endpointDetails(EndpointDependency-endpointDetails^array) - cli: - cliKey: endpointDetails - - schemaName: EndpointDetail - cli: - cliKey: EndpointDetail - properties: - - propertyName: ipAddress(EndpointDetail-ipAddress^string) - cli: - cliKey: ipAddress - - propertyName: port(integer^integer) - cli: - cliKey: port - - propertyName: latency(number^number) - cli: - cliKey: latency - - propertyName: isAccessible(boolean^boolean) - cli: - cliKey: isAccessible - - schemaName: IscsiTargetList - cli: - cliKey: IscsiTargetList - properties: - - propertyName: value(IscsiTargetList-value^array) - cli: - cliKey: value - - propertyName: nextLink(IscsiTargetList-nextLink^string) - cli: - cliKey: nextLink - readOnly: true - - schemaName: IscsiTarget - cli: - cliKey: IscsiTarget - properties: - - propertyName: properties(IscsiTargetProperties^object) - cli: - cliKey: properties - x-ms-client-flatten: true - - propertyName: systemData(SystemMetadata^object) - cli: - cliKey: systemData - readOnly: true - - schemaName: IscsiTargetProperties - cli: - cliKey: IscsiTargetProperties - properties: - - propertyName: aclMode(IscsiTargetAclMode^choice) - cli: - cliKey: aclMode - - propertyName: staticAcls(IscsiTargetProperties-staticAcls^array) - cli: - cliKey: staticAcls - - propertyName: luns(IscsiTargetProperties-luns^array) - cli: - cliKey: luns - - propertyName: targetIqn(IscsiTargetProperties-targetIqn^string) - cli: - cliKey: targetIqn - - propertyName: provisioningState(ProvisioningStates^choice) - cli: - cliKey: provisioningState - readOnly: true - - propertyName: status(OperationalStatus^choice) - cli: - cliKey: status - - propertyName: endpoints(IscsiTargetProperties-endpoints^array) - cli: - cliKey: endpoints - - propertyName: port(integer^integer) - cli: - cliKey: port - - schemaName: Acl - cli: - cliKey: Acl - properties: - - propertyName: initiatorIqn(Acl-initiatorIqn^string) - cli: - cliKey: initiatorIqn - - propertyName: mappedLuns(Acl-mappedLuns^array) - cli: - cliKey: mappedLuns - - schemaName: IscsiLun - cli: - cliKey: IscsiLun - properties: - - propertyName: name(IscsiLun-name^string) - cli: - cliKey: name - - propertyName: managedDiskAzureResourceId(IscsiLun-managedDiskAzureResourceId^string) - cli: - cliKey: managedDiskAzureResourceId - - schemaName: IscsiTargetCreate - cli: - cliKey: IscsiTargetCreate - properties: - - propertyName: properties(IscsiTargetCreateProperties^object) - cli: - cliKey: properties - x-ms-client-flatten: true - - schemaName: IscsiTargetCreateProperties - cli: - cliKey: IscsiTargetCreateProperties - properties: - - propertyName: aclMode(IscsiTargetAclMode^choice) - cli: - cliKey: aclMode - - propertyName: targetIqn(IscsiTargetCreateProperties-targetIqn^string) - cli: - cliKey: targetIqn - - propertyName: staticAcls(IscsiTargetCreateProperties-staticAcls^array) - cli: - cliKey: staticAcls - - propertyName: luns(IscsiTargetCreateProperties-luns^array) - cli: - cliKey: luns - - schemaName: IscsiTargetUpdate - cli: - cliKey: IscsiTargetUpdate - properties: - - propertyName: properties(IscsiTargetUpdateProperties^object) - cli: - cliKey: properties - x-ms-client-flatten: true - - schemaName: IscsiTargetUpdateProperties - cli: - cliKey: IscsiTargetUpdateProperties - properties: - - propertyName: staticAcls(IscsiTargetUpdateProperties-staticAcls^array) - cli: - cliKey: staticAcls - - propertyName: luns(IscsiTargetUpdateProperties-luns^array) - cli: - cliKey: luns - - schemaName: ProxyResource - cli: - cliKey: ProxyResource - choices: - all: - - choiceName: ProvisioningStates - cli: - cliKey: ProvisioningStates - choiceValues: - - choiceValue: Invalid - cli: - cliKey: Invalid - - choiceValue: Succeeded - cli: - cliKey: Succeeded - - choiceValue: Failed - cli: - cliKey: Failed - - choiceValue: Canceled - cli: - cliKey: Canceled - - choiceValue: Pending - cli: - cliKey: Pending - - choiceValue: Creating - cli: - cliKey: Creating - - choiceValue: Updating - cli: - cliKey: Updating - - choiceValue: Deleting - cli: - cliKey: Deleting - - choiceName: OperationalStatus - cli: - cliKey: OperationalStatus - choiceValues: - - choiceValue: Invalid - cli: - cliKey: Invalid - - choiceValue: Unknown - cli: - cliKey: Unknown - - choiceValue: Healthy - cli: - cliKey: Healthy - - choiceValue: Unhealthy - cli: - cliKey: Unhealthy - - choiceValue: Updating - cli: - cliKey: Updating - - choiceValue: Running - cli: - cliKey: Running - - choiceValue: Stopped - cli: - cliKey: Stopped - - choiceValue: Stopped (deallocated) - cli: - cliKey: Stopped (deallocated) - - choiceName: createdByType - cli: - cliKey: createdByType - choiceValues: - - choiceValue: User - cli: - cliKey: User - - choiceValue: Application - cli: - cliKey: Application - - choiceValue: ManagedIdentity - cli: - cliKey: ManagedIdentity - - choiceValue: Key - cli: - cliKey: Key - - choiceName: IscsiTargetAclMode - cli: - cliKey: IscsiTargetAclMode - choiceValues: - - choiceValue: Dynamic - cli: - cliKey: Dynamic - - choiceValue: Static - cli: - cliKey: Static - - choiceName: DiskPoolTier - cli: - cliKey: DiskPoolTier - choiceValues: - - choiceValue: Basic - cli: - cliKey: Basic - - choiceValue: Standard - cli: - cliKey: Standard - - choiceValue: Premium - cli: - cliKey: Premium diff --git a/src/diskpool/_az_debug/clicommon-000020-prename-post.yaml b/src/diskpool/_az_debug/clicommon-000020-prename-post.yaml deleted file mode 100644 index 686ea2f7e72..00000000000 --- a/src/diskpool/_az_debug/clicommon-000020-prename-post.yaml +++ /dev/null @@ -1,5632 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 20 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_77 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_75 - type: integer - precision: 32 - language: - default: - name: integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_76 - type: number - precision: 64 - language: - default: - name: number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_32 - type: integer - precision: 32 - language: - default: - name: integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: string - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRPOperation-name - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRPOperation-actionType - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplay-provider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplay-resource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplay-operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplay-description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRPOperation-origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationListResult-nextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponse-code - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponse-message - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponse-target - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorAdditionalInfo-type - description: The additional info type. - protocol: {} - - &ref_112 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: string - description: '' - protocol: {} - - &ref_50 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: Sku-name - description: Sku name - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: Sku-tier - description: Sku tier - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AvailabilityZone - description: Availability zone. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: Disk-id - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: DiskPoolProperties-subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AdditionalCapability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SystemMetadata-createdBy - description: The identity that created the resource. - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SystemMetadata-lastModifiedBy - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: string - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: TrackedResource-location - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: Resource-id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: Resource-name - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: Resource-type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolListResult-nextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_121 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: string - description: '' - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: DiskPoolCreateProperties-subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: DiskPoolCreate-location - description: The geo-location where the resource lives. - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreate-id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreate-name - description: The name of the resource - protocol: {} - - &ref_66 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreate-type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolZoneListResult-nextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_72 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: OutboundEnvironmentEndpoint-category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_73 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: EndpointDependency-domainName - description: The domain name of the dependency. - protocol: {} - - &ref_74 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: EndpointDetail-ipAddress - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_78 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: OutboundEnvironmentEndpointList-nextLink - description: Link to next page of resources. - protocol: {} - - &ref_24 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: Acl-initiatorIqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_25 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: Acl-mappedLunsItem - description: '' - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiLun-name - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_27 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiLun-managedDiskAzureResourceId - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_28 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetProperties-targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetProperties-endpointsItem - description: '' - protocol: {} - - &ref_82 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetList-nextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetCreateProperties-targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_29 - choices: - - value: Invalid - language: - default: - name: Invalid - description: '' - cli: - cliKey: Invalid - - value: Succeeded - language: - default: - name: Succeeded - description: '' - cli: - cliKey: Succeeded - - value: Failed - language: - default: - name: Failed - description: '' - cli: - cliKey: Failed - - value: Canceled - language: - default: - name: Canceled - description: '' - cli: - cliKey: Canceled - - value: Pending - language: - default: - name: Pending - description: '' - cli: - cliKey: Pending - - value: Creating - language: - default: - name: Creating - description: '' - cli: - cliKey: Creating - - value: Updating - language: - default: - name: Updating - description: '' - cli: - cliKey: Updating - - value: Deleting - language: - default: - name: Deleting - description: '' - cli: - cliKey: Deleting - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: ProvisioningStates - description: Provisioning state of the iSCSI Target. - cli: - cliKey: ProvisioningStates - protocol: {} - - &ref_30 - choices: - - value: Invalid - language: - default: - name: Invalid - description: '' - cli: - cliKey: Invalid - - value: Unknown - language: - default: - name: Unknown - description: '' - cli: - cliKey: Unknown - - value: Healthy - language: - default: - name: Healthy - description: '' - cli: - cliKey: Healthy - - value: Unhealthy - language: - default: - name: Unhealthy - description: '' - cli: - cliKey: Unhealthy - - value: Updating - language: - default: - name: Updating - description: '' - cli: - cliKey: Updating - - value: Running - language: - default: - name: Running - description: '' - cli: - cliKey: Running - - value: Stopped - language: - default: - name: Stopped - description: '' - cli: - cliKey: Stopped - - value: Stopped (deallocated) - language: - default: - name: Stopped (deallocated) - description: '' - cli: - cliKey: Stopped (deallocated) - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: OperationalStatus - description: Operational status of the resource. - cli: - cliKey: OperationalStatus - protocol: {} - - &ref_34 - choices: - - value: User - language: - default: - name: User - description: '' - cli: - cliKey: User - - value: Application - language: - default: - name: Application - description: '' - cli: - cliKey: Application - - value: ManagedIdentity - language: - default: - name: ManagedIdentity - description: '' - cli: - cliKey: ManagedIdentity - - value: Key - language: - default: - name: Key - description: '' - cli: - cliKey: Key - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: createdByType - description: The type of identity that created the resource. - cli: - cliKey: createdByType - protocol: {} - - &ref_23 - choices: - - value: Dynamic - language: - default: - name: Dynamic - description: '' - cli: - cliKey: Dynamic - - value: Static - language: - default: - name: Static - description: '' - cli: - cliKey: Static - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: IscsiTargetAclMode - description: ACL mode for iSCSI Target. - cli: - cliKey: IscsiTargetAclMode - protocol: {} - - choices: - - value: Basic - language: - default: - name: Basic - description: '' - cli: - cliKey: Basic - - value: Standard - language: - default: - name: Standard - description: '' - cli: - cliKey: Standard - - value: Premium - language: - default: - name: Premium - description: '' - cli: - cliKey: Premium - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: DiskPoolTier - description: SKU of the VM host part of the Disk Pool deployment - cli: - cliKey: DiskPoolTier - protocol: {} - constants: - - &ref_113 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: ApiVersion-2021-04-01-preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_116 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: Accept - description: 'Accept: application/json' - protocol: {} - - &ref_123 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application/json - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: TrackedResource-tags - description: Resource tags. - protocol: {} - - &ref_62 - type: dictionary - elementType: *ref_1 - language: - default: - name: DiskPoolCreate-tags - description: Resource tags. - protocol: {} - - &ref_68 - type: dictionary - elementType: *ref_1 - language: - default: - name: DiskPoolUpdate-tags - description: Resource tags. - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_35 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SystemMetadata-createdAt - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_37 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SystemMetadata-lastModifiedAt - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_117 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - cliKey: name - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: isDataAction - description: Indicates whether the operation applies to data-plane. - cli: - cliKey: isDataAction - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: actionType - description: Indicates the action type. - cli: - cliKey: actionType - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - cliKey: provider - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - cliKey: resource - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - cliKey: operation - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - cliKey: description - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolOperationDisplay - description: Metadata about an operation. - namespace: '' - cli: - cliKey: StoragePoolOperationDisplay - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - cliKey: display - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - cliKey: origin - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolRPOperation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - cliKey: StoragePoolRPOperation - protocol: {} - language: - default: - name: StoragePoolOperationListResult-value - description: An array of operations supported by the StoragePool RP. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - cliKey: value - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: nextLink - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolOperationListResult - description: List of operations supported by the RP. - namespace: '' - cli: - cliKey: StoragePoolOperationListResult - protocol: {} - - *ref_11 - - *ref_12 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - cliKey: code - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - cliKey: message - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - cliKey: target - protocol: {} - - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: ErrorResponse-details - description: The error details. - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - cliKey: details - protocol: {} - - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - cliKey: type - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - cliKey: info - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: ErrorAdditionalInfo - description: The resource management error additional info. - namespace: '' - cli: - cliKey: ErrorAdditionalInfo - protocol: {} - language: - default: - name: ErrorResponse-additionalInfo - description: The error additional info. - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additionalInfo - description: The error additional info. - cli: - cliKey: additionalInfo - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: ErrorResponse - description: The resource management error response. - namespace: '' - cli: - cliKey: ErrorResponse - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - cliKey: error - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: Error - description: The resource management error response. - namespace: '' - cli: - cliKey: Error - protocol: {} - - *ref_16 - - *ref_19 - - &ref_120 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_83 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - required: true - serializedName: aclMode - language: - default: - name: aclMode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - protocol: {} - - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_24 - required: true - serializedName: initiatorIqn - language: - default: - name: initiatorIqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - cliKey: initiatorIqn - protocol: {} - - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_25 - language: - default: - name: Acl-mappedLuns - description: List of LUN names mapped to the ACL. - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mappedLuns - description: List of LUN names mapped to the ACL. - cli: - cliKey: mappedLuns - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: Acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - cliKey: Acl - protocol: {} - language: - default: - name: IscsiTargetProperties-staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - required: false - serializedName: staticAcls - language: - default: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - protocol: {} - - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_26 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - cliKey: name - protocol: {} - - schema: *ref_27 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managedDiskAzureResourceId - description: Azure Resource ID of the Managed Disk. - cli: - cliKey: managedDiskAzureResourceId - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: IscsiLun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - cliKey: IscsiLun - protocol: {} - language: - default: - name: IscsiTargetProperties-luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - protocol: {} - - schema: *ref_28 - required: true - serializedName: targetIqn - language: - default: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - protocol: {} - - schema: *ref_29 - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioningState - description: State of the operation on the resource. - cli: - cliKey: provisioningState - protocol: {} - - schema: *ref_30 - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - cliKey: status - protocol: {} - - schema: &ref_106 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_31 - language: - default: - name: IscsiTargetProperties-endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - protocol: {} - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cliKey: endpoints - protocol: {} - - schema: *ref_32 - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - cliKey: port - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: IscsiTargetProperties - description: Response properties for iSCSI Target operations. - namespace: '' - cli: - cliKey: IscsiTargetProperties - protocol: {} - required: true - serializedName: properties - extensions: - x-ms-client-flatten: true - language: - default: - name: properties - description: Properties for iSCSI Target operations. - cli: - cliKey: properties - protocol: {} - - schema: &ref_56 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_33 - serializedName: createdBy - language: - default: - name: createdBy - description: The identity that created the resource. - cli: - cliKey: createdBy - protocol: {} - - schema: *ref_34 - serializedName: createdByType - language: - default: - name: createdByType - description: The type of identity that created the resource. - cli: - cliKey: createdByType - protocol: {} - - schema: *ref_35 - serializedName: createdAt - language: - default: - name: createdAt - description: The timestamp of resource creation (UTC). - cli: - cliKey: createdAt - protocol: {} - - schema: *ref_36 - serializedName: lastModifiedBy - language: - default: - name: lastModifiedBy - description: The identity that last modified the resource. - cli: - cliKey: lastModifiedBy - protocol: {} - - schema: *ref_34 - serializedName: lastModifiedByType - language: - default: - name: lastModifiedByType - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedByType - protocol: {} - - schema: *ref_37 - serializedName: lastModifiedAt - language: - default: - name: lastModifiedAt - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedAt - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: SystemMetadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - cliKey: SystemMetadata - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: systemData - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: IscsiTarget - description: Response for iSCSI Target requests. - namespace: '' - cli: - cliKey: IscsiTarget - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_84 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - required: true - serializedName: aclMode - language: - default: - name: aclMode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - protocol: {} - - schema: *ref_38 - required: false - serializedName: targetIqn - language: - default: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - protocol: {} - - schema: &ref_108 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: IscsiTargetCreateProperties-staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - required: false - serializedName: staticAcls - language: - default: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - protocol: {} - - schema: &ref_109 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: IscsiTargetCreateProperties-luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: IscsiTargetCreateProperties - description: Properties for iSCSI Target create or update request. - namespace: '' - cli: - cliKey: IscsiTargetCreateProperties - protocol: {} - required: true - serializedName: properties - extensions: - x-ms-client-flatten: true - language: - default: - name: properties - description: Properties for iSCSI Target create request. - cli: - cliKey: properties - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: IscsiTargetCreate - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - cliKey: IscsiTargetCreate - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_85 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_110 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: IscsiTargetUpdateProperties-staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - serializedName: staticAcls - language: - default: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - protocol: {} - - schema: &ref_111 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: IscsiTargetUpdateProperties-luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: IscsiTargetUpdateProperties - description: Properties for iSCSI Target update request. - namespace: '' - cli: - cliKey: IscsiTargetUpdateProperties - protocol: {} - required: true - serializedName: properties - extensions: - x-ms-client-flatten: true - language: - default: - name: properties - description: Properties for iSCSI Target update request. - cli: - cliKey: properties - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: IscsiTargetUpdate - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - cliKey: IscsiTargetUpdate - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: ProxyResource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - cliKey: ProxyResource - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: Resource - description: ARM resource model definition. - namespace: '' - cli: - cliKey: Resource - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: TrackedResource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - cliKey: TrackedResource - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_50 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - cliKey: name - protocol: {} - - schema: *ref_51 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: Sku - description: Sku for ARM resource - namespace: '' - cli: - cliKey: Sku - protocol: {} - required: false - serializedName: sku - extensions: - x-ms-client-flatten: true - language: - default: - name: sku - description: Determines the SKU of the Disk pool - cli: - cliKey: sku - protocol: {} - - schema: &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioningState - description: State of the operation on the resource. - cli: - cliKey: provisioningState - protocol: {} - - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_52 - language: - default: - name: DiskPoolProperties-availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - required: true - serializedName: availabilityZones - language: - default: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - protocol: {} - - schema: *ref_30 - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - cliKey: status - protocol: {} - - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_60 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_53 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - cliKey: id - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: Disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - cliKey: Disk - protocol: {} - language: - default: - name: DiskPoolProperties-disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - protocol: {} - - schema: *ref_54 - required: true - serializedName: subnetId - language: - default: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - protocol: {} - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_55 - language: - default: - name: DiskPoolProperties-additionalCapabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - required: false - serializedName: additionalCapabilities - language: - default: - name: additionalCapabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: DiskPoolProperties - description: Disk Pool response properties. - namespace: '' - cli: - cliKey: DiskPoolProperties - protocol: {} - required: true - serializedName: properties - extensions: - x-ms-client-flatten: true - language: - default: - name: properties - description: Properties of Disk Pool. - cli: - cliKey: properties - protocol: {} - - schema: *ref_56 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: systemData - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: DiskPool - description: Response for Disk Pool request. - namespace: '' - cli: - cliKey: DiskPool - protocol: {} - language: - default: - name: DiskPoolListResult-value - description: An array of Disk pool objects. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - cliKey: value - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: nextLink - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolListResult - description: List of Disk Pools - namespace: '' - cli: - cliKey: DiskPoolListResult - protocol: {} - - *ref_20 - - *ref_58 - - *ref_59 - - *ref_60 - - *ref_56 - - *ref_21 - - *ref_22 - - &ref_124 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_58 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliKey: sku - protocol: {} - - schema: &ref_67 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_52 - language: - default: - name: DiskPoolCreateProperties-availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - required: false - serializedName: availabilityZones - language: - default: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_60 - language: - default: - name: DiskPoolCreateProperties-disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - protocol: {} - - schema: *ref_61 - required: true - serializedName: subnetId - language: - default: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_55 - language: - default: - name: DiskPoolCreateProperties-additionalCapabilities - description: List of additional capabilities for a Disk Pool. - protocol: {} - required: false - serializedName: additionalCapabilities - language: - default: - name: additionalCapabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliKey: additionalCapabilities - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: DiskPoolCreateProperties - description: Properties for Disk Pool create or update request. - namespace: '' - cli: - cliKey: DiskPoolCreateProperties - protocol: {} - required: true - serializedName: properties - extensions: - x-ms-client-flatten: true - language: - default: - name: properties - description: Properties for Disk Pool create request. - cli: - cliKey: properties - protocol: {} - - schema: *ref_62 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - protocol: {} - - schema: *ref_63 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - protocol: {} - - schema: *ref_65 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - protocol: {} - - schema: *ref_66 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: DiskPoolCreate - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - cliKey: DiskPoolCreate - protocol: {} - - *ref_67 - - &ref_128 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_69 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_60 - language: - default: - name: DiskPoolUpdateProperties-disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: DiskPoolUpdateProperties - description: Properties for Disk Pool update request. - namespace: '' - cli: - cliKey: DiskPoolUpdateProperties - protocol: {} - required: true - serializedName: properties - extensions: - x-ms-client-flatten: true - language: - default: - name: properties - description: Properties for Disk Pool update request. - cli: - cliKey: properties - protocol: {} - - schema: *ref_68 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: DiskPoolUpdate - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - cliKey: DiskPoolUpdate - protocol: {} - - *ref_69 - - &ref_144 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_71 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_52 - language: - default: - name: DiskPoolZoneInfo-availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - serializedName: availabilityZones - language: - default: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_55 - language: - default: - name: DiskPoolZoneInfo-additionalCapabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additionalCapabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - protocol: {} - - schema: *ref_58 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - cliKey: sku - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolZoneInfo - description: Disk Pool Sku Details - namespace: '' - cli: - cliKey: DiskPoolZoneInfo - protocol: {} - language: - default: - name: DiskPoolZoneListResult-value - description: The list of Disk Pool Skus. - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - cliKey: value - protocol: {} - - schema: *ref_70 - serializedName: nextLink - language: - default: - name: nextLink - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolZoneListResult - description: List Disk Pool skus operation response. - namespace: '' - cli: - cliKey: DiskPoolZoneListResult - protocol: {} - - *ref_71 - - &ref_138 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_79 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_72 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - cliKey: category - protocol: {} - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_80 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_73 - serializedName: domainName - language: - default: - name: domainName - description: The domain name of the dependency. - cli: - cliKey: domainName - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_81 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_74 - serializedName: ipAddress - language: - default: - name: ipAddress - description: An IP Address that Domain Name currently resolves to. - cli: - cliKey: ipAddress - protocol: {} - - schema: *ref_75 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - cliKey: port - protocol: {} - - schema: *ref_76 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: latency - protocol: {} - - schema: *ref_77 - serializedName: isAccessible - language: - default: - name: isAccessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: isAccessible - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: EndpointDetail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - cliKey: EndpointDetail - protocol: {} - language: - default: - name: EndpointDependency-endpointDetails - description: The IP Addresses and Ports used when connecting to DomainName. - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpointDetails - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cliKey: endpointDetails - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: EndpointDependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - cliKey: EndpointDependency - protocol: {} - language: - default: - name: OutboundEnvironmentEndpoint-endpoints - description: The endpoints that the App Service Environment reaches the service at. - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cliKey: endpoints - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: OutboundEnvironmentEndpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - cliKey: OutboundEnvironmentEndpoint - protocol: {} - language: - default: - name: OutboundEnvironmentEndpointList-value - description: Collection of resources. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - cliKey: value - protocol: {} - - schema: *ref_78 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: nextLink - description: Link to next page of resources. - cli: - cliKey: nextLink - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: OutboundEnvironmentEndpointList - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - cliKey: OutboundEnvironmentEndpointList - protocol: {} - - *ref_79 - - *ref_80 - - *ref_81 - - &ref_147 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_107 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: IscsiTargetList-value - description: An array of iSCSI Targets in a Disk Pool. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cliKey: value - protocol: {} - - schema: *ref_82 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: nextLink - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: IscsiTargetList - description: List of iSCSI Targets. - namespace: '' - cli: - cliKey: IscsiTargetList - protocol: {} - - *ref_41 - - *ref_83 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_84 - - *ref_43 - - *ref_85 - - *ref_44 - arrays: - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 - - *ref_106 - - *ref_107 - - *ref_108 - - *ref_109 - - *ref_110 - - *ref_111 -globalParameters: - - &ref_119 - schema: *ref_112 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscriptionId - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - cliKey: subscriptionId - protocol: - http: - in: path - - &ref_114 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - cliKey: $host - protocol: - http: - in: uri - - &ref_115 - schema: *ref_113 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: ApiVersion - description: Api Version - serializedName: api-version - cli: - cliKey: ApiVersion - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_115 - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_117 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: List - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - cliKey: List - protocol: {} - language: - default: - name: Operations - description: '' - cli: - cliKey: Operations - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - *ref_115 - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_120 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: ListBySubscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - cliKey: ListBySubscription - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_122 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_122 - responses: - - schema: *ref_120 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: ListByResourceGroup - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByResourceGroup - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_126 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_127 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_123 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content-type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: - in: header - - &ref_125 - schema: *ref_124 - implementation: Method - required: true - language: - default: - name: diskPoolCreatePayload - description: Request payload for Disk Pool create operation - cli: - cliKey: diskPoolCreatePayload - protocol: - http: - in: body - style: json - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: - - *ref_125 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_126 - - *ref_127 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: CreateOrUpdate - description: Create or Update Disk pool. - cli: - cliKey: CreateOrUpdate - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_130 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_131 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_123 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content-type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: - in: header - - &ref_129 - schema: *ref_128 - implementation: Method - required: true - language: - default: - name: diskPoolUpdatePayload - description: Request payload for Disk Pool update operation. - cli: - cliKey: diskPoolUpdatePayload - protocol: - http: - in: body - style: json - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: - - *ref_129 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_130 - - *ref_131 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: Update - description: Update a Disk pool. - cli: - cliKey: Update - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_132 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_133 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_132 - - *ref_133 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: Delete - description: Delete a Disk pool. - cli: - cliKey: Delete - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_134 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_135 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_134 - - *ref_135 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: Get - description: Get a Disk pool. - cli: - cliKey: Get - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_136 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_137 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_136 - - *ref_137 - responses: - - schema: *ref_138 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: ListOutboundNetworkDependenciesEndpoints - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_139 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_140 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_139 - - *ref_140 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: Start - description: The operation to start a Disk Pool. - cli: - cliKey: Start - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_141 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_142 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_141 - - *ref_142 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: Deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - cliKey: Deallocate - protocol: {} - language: - default: - name: DiskPools - description: '' - cli: - cliKey: DiskPools - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_115 - - *ref_119 - - &ref_143 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - cliKey: location - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_143 - responses: - - schema: *ref_144 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: List - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - cliKey: List - protocol: {} - language: - default: - name: DiskPoolZones - description: '' - cli: - cliKey: DiskPoolZones - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_145 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_146 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_145 - - *ref_146 - responses: - - schema: *ref_147 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: ListByDiskPool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByDiskPool - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_149 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_150 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - &ref_151 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsiTargetName - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_123 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content-type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: - in: header - - &ref_148 - schema: *ref_42 - implementation: Method - required: true - language: - default: - name: iscsiTargetCreatePayload - description: Request payload for iSCSI Target create operation. - cli: - cliKey: iscsiTargetCreatePayload - protocol: - http: - in: body - style: json - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: - - *ref_148 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_149 - - *ref_150 - - *ref_151 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: CreateOrUpdate - description: Create or Update an iSCSI Target. - cli: - cliKey: CreateOrUpdate - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_153 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_154 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - &ref_155 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsiTargetName - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_123 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content-type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: - in: header - - &ref_152 - schema: *ref_43 - implementation: Method - required: true - language: - default: - name: iscsiTargetUpdatePayload - description: Request payload for iSCSI Target update operation. - cli: - cliKey: iscsiTargetUpdatePayload - protocol: - http: - in: body - style: json - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: - - *ref_152 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_153 - - *ref_154 - - *ref_155 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: Update - description: Update an iSCSI Target. - cli: - cliKey: Update - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_156 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_157 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - &ref_158 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsiTargetName - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_156 - - *ref_157 - - *ref_158 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: Delete - description: Delete an iSCSI Target. - cli: - cliKey: Delete - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_114 - - *ref_119 - - &ref_159 - schema: *ref_121 - implementation: Method - required: true - language: - default: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_160 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: diskPoolName - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - &ref_161 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsiTargetName - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - protocol: - http: - in: path - - *ref_115 - requests: - - parameters: - - schema: *ref_116 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_159 - - *ref_160 - - *ref_161 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_118 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: Get - description: Get an iSCSI Target. - cli: - cliKey: Get - protocol: {} - language: - default: - name: IscsiTargets - description: '' - cli: - cliKey: IscsiTargets - protocol: {} -security: - authenticationRequired: true -language: - default: - name: '' - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000030-modeler-post-processor-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000030-modeler-post-processor-pre-simplified.yaml deleted file mode 100644 index ab17a322514..00000000000 --- a/src/diskpool/_az_debug/clicommon-000030-modeler-post-processor-pre-simplified.yaml +++ /dev/null @@ -1,896 +0,0 @@ -operationGroups: - all: - - operationGroupName: operations - cli: - cliKey: Operations - operations: - - operationName: list - cli: - cliKey: List - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationGroupName: disk_pools - cli: - cliKey: DiskPools - operations: - - operationName: list_by_subscription - cli: - cliKey: ListBySubscription - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationName: list_by_resource_group - cli: - cliKey: ListByResourceGroup - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationName: create_or_update - cli: - cliKey: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cliKey: diskPoolCreatePayload - bodySchema: disk_pool_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationName: update - cli: - cliKey: Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) - cli: - cliKey: diskPoolUpdatePayload - bodySchema: disk_pool_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationName: delete - cli: - cliKey: Delete - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationName: get - cli: - cliKey: Get - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationName: list_outbound_network_dependencies_endpoints - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationName: start - cli: - cliKey: Start - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationName: deallocate - cli: - cliKey: Deallocate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationGroupName: disk_pool_zones - cli: - cliKey: DiskPoolZones - operations: - - operationName: list - cli: - cliKey: List - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - - parameterName: location(string^string) - cli: - cliKey: location - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationGroupName: iscsi_targets - cli: - cliKey: IscsiTargets - operations: - - operationName: list_by_disk_pool - cli: - cliKey: ListByDiskPool - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationName: create_or_update - cli: - cliKey: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cliKey: iscsiTargetCreatePayload - bodySchema: iscsi_target_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationName: update - cli: - cliKey: Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) - cli: - cliKey: iscsiTargetUpdatePayload - bodySchema: iscsi_target_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationName: delete - cli: - cliKey: Delete - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationName: get - cli: - cliKey: Get - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept -schemas: - objects: - all: - - schemaName: storage_pool_operation_list_result - cli: - cliKey: StoragePoolOperationListResult - properties: - - propertyName: value(storage_pool_operation_list_result_value^array) - cli: - cliKey: value - - propertyName: next_link(storage_pool_operation_list_result_next_link^string) - cli: - cliKey: nextLink - - schemaName: storage_pool_RP_operation - cli: - cliKey: StoragePoolRPOperation - properties: - - propertyName: name(storage_pool_RP_operation_name^string) - cli: - cliKey: name - - propertyName: is_data_action(boolean^boolean) - cli: - cliKey: isDataAction - - propertyName: action_type(storage_pool_RP_operation_action_type^string) - cli: - cliKey: actionType - - propertyName: display(storage_pool_operation_display^object) - cli: - cliKey: display - - propertyName: origin(storage_pool_RP_operation_origin^string) - cli: - cliKey: origin - - schemaName: storage_pool_operation_display - cli: - cliKey: StoragePoolOperationDisplay - properties: - - propertyName: provider(storage_pool_operation_display_provider^string) - cli: - cliKey: provider - - propertyName: resource(storage_pool_operation_display_resource^string) - cli: - cliKey: resource - - propertyName: operation(storage_pool_operation_display_operation^string) - cli: - cliKey: operation - - propertyName: description(storage_pool_operation_display_description^string) - cli: - cliKey: description - - schemaName: error - cli: - cliKey: Error - properties: - - propertyName: error(error_response^object) - cli: - cliKey: error - - schemaName: error_response - cli: - cliKey: ErrorResponse - properties: - - propertyName: code(error_response_code^string) - cli: - cliKey: code - readOnly: true - - propertyName: message(error_response_message^string) - cli: - cliKey: message - readOnly: true - - propertyName: target(error_response_target^string) - cli: - cliKey: target - readOnly: true - - propertyName: details(error_response_details^array) - cli: - cliKey: details - readOnly: true - - propertyName: additional_info(error_response_additional_info^array) - cli: - cliKey: additionalInfo - readOnly: true - - schemaName: error_additional_info - cli: - cliKey: ErrorAdditionalInfo - properties: - - propertyName: type(error_additional_info_type^string) - cli: - cliKey: type - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - readOnly: true - - schemaName: disk_pool_list_result - cli: - cliKey: DiskPoolListResult - properties: - - propertyName: value(disk_pool_list_result_value^array) - cli: - cliKey: value - - propertyName: next_link(disk_pool_list_result_next_link^string) - cli: - cliKey: nextLink - readOnly: true - - schemaName: disk_pool - cli: - cliKey: DiskPool - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - readOnly: true - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - readOnly: true - - propertyName: availability_zones(disk_pool_properties_availability_zones^array) - cli: - cliKey: availabilityZones - - propertyName: status(operational_status^choice) - cli: - cliKey: status - - propertyName: disks(disk_pool_properties_disks^array) - cli: - cliKey: disks - - propertyName: subnet_id(disk_pool_properties_subnet_id^string) - cli: - cliKey: subnetId - - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - - propertyName: name_sku_name(sku_name^string) - cli: - cliKey: name - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - - schemaName: sku - cli: - cliKey: Sku - properties: - - propertyName: name(sku_name^string) - cli: - cliKey: name - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - - schemaName: disk - cli: - cliKey: Disk - properties: - - propertyName: id(disk_id^string) - cli: - cliKey: id - - schemaName: system_metadata - cli: - cliKey: SystemMetadata - properties: - - propertyName: created_by(system_metadata_created_by^string) - cli: - cliKey: createdBy - - propertyName: created_by_type(created_by_type^choice) - cli: - cliKey: createdByType - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - cliKey: createdAt - - propertyName: last_modified_by(system_metadata_last_modified_by^string) - cli: - cliKey: lastModifiedBy - - propertyName: last_modified_by_type(created_by_type^choice) - cli: - cliKey: lastModifiedByType - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - cliKey: lastModifiedAt - - schemaName: tracked_resource - cli: - cliKey: TrackedResource - properties: - - propertyName: tags(tracked_resource_tags^dictionary) - cli: - cliKey: tags - - propertyName: location(tracked_resource_location^string) - cli: - cliKey: location - - schemaName: resource - cli: - cliKey: Resource - properties: - - propertyName: id(resource_id^string) - cli: - cliKey: id - readOnly: true - - propertyName: name(resource_name^string) - cli: - cliKey: name - readOnly: true - - propertyName: type(resource_type^string) - cli: - cliKey: type - readOnly: true - - schemaName: disk_pool_create - cli: - cliKey: DiskPoolCreate - properties: - - propertyName: sku(sku^object) - cli: - cliKey: sku - - propertyName: tags(disk_pool_create_tags^dictionary) - cli: - cliKey: tags - - propertyName: location(disk_pool_create_location^string) - cli: - cliKey: location - - propertyName: id(disk_pool_create_id^string) - cli: - cliKey: id - readOnly: true - - propertyName: name(disk_pool_create_name^string) - cli: - cliKey: name - readOnly: true - - propertyName: type(disk_pool_create_type^string) - cli: - cliKey: type - readOnly: true - - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliKey: availabilityZones - - propertyName: disks(disk_pool_create_properties_disks^array) - cli: - cliKey: disks - - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliKey: subnetId - - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - - schemaName: disk_pool_update - cli: - cliKey: DiskPoolUpdate - properties: - - propertyName: tags(disk_pool_update_tags^dictionary) - cli: - cliKey: tags - - propertyName: disks(disk_pool_update_properties_disks^array) - cli: - cliKey: disks - - schemaName: disk_pool_zone_list_result - cli: - cliKey: DiskPoolZoneListResult - properties: - - propertyName: value(disk_pool_zone_list_result_value^array) - cli: - cliKey: value - - propertyName: next_link(disk_pool_zone_list_result_next_link^string) - cli: - cliKey: nextLink - - schemaName: disk_pool_zone_info - cli: - cliKey: DiskPoolZoneInfo - properties: - - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) - cli: - cliKey: availabilityZones - - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - - propertyName: sku(sku^object) - cli: - cliKey: sku - - schemaName: outbound_environment_endpoint_list - cli: - cliKey: OutboundEnvironmentEndpointList - properties: - - propertyName: value(outbound_environment_endpoint_list_value^array) - cli: - cliKey: value - - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) - cli: - cliKey: nextLink - readOnly: true - - schemaName: outbound_environment_endpoint - cli: - cliKey: OutboundEnvironmentEndpoint - properties: - - propertyName: category(outbound_environment_endpoint_category^string) - cli: - cliKey: category - - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) - cli: - cliKey: endpoints - - schemaName: endpoint_dependency - cli: - cliKey: EndpointDependency - properties: - - propertyName: domain_name(endpoint_dependency_domain_name^string) - cli: - cliKey: domainName - - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) - cli: - cliKey: endpointDetails - - schemaName: endpoint_detail - cli: - cliKey: EndpointDetail - properties: - - propertyName: ip_address(endpoint_detail_ip_address^string) - cli: - cliKey: ipAddress - - propertyName: port(integer^integer) - cli: - cliKey: port - - propertyName: latency(number^number) - cli: - cliKey: latency - - propertyName: is_accessible(boolean^boolean) - cli: - cliKey: isAccessible - - schemaName: iscsi_target_list - cli: - cliKey: IscsiTargetList - properties: - - propertyName: value(iscsi_target_list_value^array) - cli: - cliKey: value - - propertyName: next_link(iscsi_target_list_next_link^string) - cli: - cliKey: nextLink - readOnly: true - - schemaName: iscsi_target - cli: - cliKey: IscsiTarget - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - readOnly: true - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - - propertyName: static_acls(iscsi_target_properties_static_acls^array) - cli: - cliKey: staticAcls - - propertyName: luns(iscsi_target_properties_luns^array) - cli: - cliKey: luns - - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) - cli: - cliKey: targetIqn - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - readOnly: true - - propertyName: status(operational_status^choice) - cli: - cliKey: status - - propertyName: endpoints(iscsi_target_properties_endpoints^array) - cli: - cliKey: endpoints - - propertyName: port(integer^integer) - cli: - cliKey: port - - schemaName: acl - cli: - cliKey: Acl - properties: - - propertyName: initiator_iqn(acl_initiator_iqn^string) - cli: - cliKey: initiatorIqn - - propertyName: mapped_luns(acl_mapped_luns^array) - cli: - cliKey: mappedLuns - - schemaName: iscsi_lun - cli: - cliKey: IscsiLun - properties: - - propertyName: name(iscsi_lun_name^string) - cli: - cliKey: name - - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) - cli: - cliKey: managedDiskAzureResourceId - - schemaName: iscsi_target_create - cli: - cliKey: IscsiTargetCreate - properties: - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliKey: targetIqn - - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliKey: staticAcls - - propertyName: luns(iscsi_target_create_properties_luns^array) - cli: - cliKey: luns - - schemaName: iscsi_target_update - cli: - cliKey: IscsiTargetUpdate - properties: - - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliKey: staticAcls - - propertyName: luns(iscsi_target_update_properties_luns^array) - cli: - cliKey: luns - - schemaName: proxy_resource - cli: - cliKey: ProxyResource - choices: - all: - - choiceName: provisioning_states - cli: - cliKey: ProvisioningStates - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - - choiceValue: succeeded - cli: - cliKey: Succeeded - - choiceValue: failed - cli: - cliKey: Failed - - choiceValue: canceled - cli: - cliKey: Canceled - - choiceValue: pending - cli: - cliKey: Pending - - choiceValue: creating - cli: - cliKey: Creating - - choiceValue: updating - cli: - cliKey: Updating - - choiceValue: deleting - cli: - cliKey: Deleting - - choiceName: operational_status - cli: - cliKey: OperationalStatus - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - - choiceValue: unknown - cli: - cliKey: Unknown - - choiceValue: healthy - cli: - cliKey: Healthy - - choiceValue: unhealthy - cli: - cliKey: Unhealthy - - choiceValue: updating - cli: - cliKey: Updating - - choiceValue: running - cli: - cliKey: Running - - choiceValue: stopped - cli: - cliKey: Stopped - - choiceValue: stopped_deallocated_ - cli: - cliKey: Stopped (deallocated) - - choiceName: created_by_type - cli: - cliKey: createdByType - choiceValues: - - choiceValue: user - cli: - cliKey: User - - choiceValue: application - cli: - cliKey: Application - - choiceValue: managed_identity - cli: - cliKey: ManagedIdentity - - choiceValue: key - cli: - cliKey: Key - - choiceName: iscsi_target_acl_mode - cli: - cliKey: IscsiTargetAclMode - choiceValues: - - choiceValue: dynamic - cli: - cliKey: Dynamic - - choiceValue: static - cli: - cliKey: Static - - choiceName: disk_pool_tier - cli: - cliKey: DiskPoolTier - choiceValues: - - choiceValue: basic - cli: - cliKey: Basic - - choiceValue: standard - cli: - cliKey: Standard - - choiceValue: premium - cli: - cliKey: Premium diff --git a/src/diskpool/_az_debug/clicommon-000030-modeler-post-processor-pre.yaml b/src/diskpool/_az_debug/clicommon-000030-modeler-post-processor-pre.yaml deleted file mode 100644 index d5c0266297a..00000000000 --- a/src/diskpool/_az_debug/clicommon-000030-modeler-post-processor-pre.yaml +++ /dev/null @@ -1,5543 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_76 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_74 - type: integer - precision: 32 - language: - default: - name: integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_75 - type: number - precision: 64 - language: - default: - name: number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: string - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_name - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_action_type - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_provider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_resource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_code - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_message - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_target - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_additional_info_type - description: The additional info type. - protocol: {} - - &ref_108 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: string - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_name - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_tier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: availability_zone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_id - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: additional_capability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_by - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_by - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: string - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: tracked_resource_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_name - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_117 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: string - description: '' - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_create_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: disk_pool_create_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_name - description: The name of the resource - protocol: {} - - &ref_66 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_zone_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_72 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_dependency_domain_name - description: The domain name of the dependency. - protocol: {} - - &ref_73 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_detail_ip_address - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_77 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_list_next_link - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_mapped_luns_item - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_name - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_endpoints_item - description: '' - protocol: {} - - &ref_81 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_list_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_create_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - cliKey: Succeeded - - value: Failed - language: - default: - name: failed - description: '' - cli: - cliKey: Failed - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - cliKey: Canceled - - value: Pending - language: - default: - name: pending - description: '' - cli: - cliKey: Pending - - value: Creating - language: - default: - name: creating - description: '' - cli: - cliKey: Creating - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - cliKey: Deleting - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: provisioning_states - description: Provisioning state of the iSCSI Target. - cli: - cliKey: ProvisioningStates - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - cliKey: Unknown - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - cliKey: Healthy - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - cliKey: Unhealthy - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - - value: Running - language: - default: - name: running - description: '' - cli: - cliKey: Running - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - cliKey: Stopped - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated_ - description: '' - cli: - cliKey: Stopped (deallocated) - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: operational_status - description: Operational status of the resource. - cli: - cliKey: OperationalStatus - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - cliKey: User - - value: Application - language: - default: - name: application - description: '' - cli: - cliKey: Application - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - cliKey: ManagedIdentity - - value: Key - language: - default: - name: key - description: '' - cli: - cliKey: Key - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - cliKey: Dynamic - - value: Static - language: - default: - name: static - description: '' - cli: - cliKey: Static - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: iscsi_target_acl_mode - description: ACL mode for iSCSI Target. - cli: - cliKey: IscsiTargetAclMode - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - cliKey: Basic - - value: Standard - language: - default: - name: standard - description: '' - cli: - cliKey: Standard - - value: Premium - language: - default: - name: premium - description: '' - cli: - cliKey: Premium - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: disk_pool_tier - description: SKU of the VM host part of the Disk Pool deployment - cli: - cliKey: DiskPoolTier - protocol: {} - constants: - - &ref_109 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_112 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - protocol: {} - - &ref_119 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: tracked_resource_tags - description: Resource tags. - protocol: {} - - &ref_62 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_create_tags - description: Resource tags. - protocol: {} - - &ref_68 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_update_tags - description: Resource tags. - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_113 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - cliKey: name - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - cliKey: isDataAction - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - cliKey: actionType - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - cliKey: provider - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - cliKey: resource - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - cliKey: operation - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - cliKey: description - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_display - description: Metadata about an operation. - namespace: '' - cli: - cliKey: StoragePoolOperationDisplay - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - cliKey: display - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - cliKey: origin - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_RP_operation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - cliKey: StoragePoolRPOperation - protocol: {} - language: - default: - name: storage_pool_operation_list_result_value - description: An array of operations supported by the StoragePool RP. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - cliKey: value - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_list_result - description: List of operations supported by the RP. - namespace: '' - cli: - cliKey: StoragePoolOperationListResult - protocol: {} - - *ref_11 - - *ref_12 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - cliKey: code - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - cliKey: message - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - cliKey: target - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: error_response_details - description: The error details. - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - cliKey: details - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - cliKey: type - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - cliKey: info - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_additional_info - description: The resource management error additional info. - namespace: '' - cli: - cliKey: ErrorAdditionalInfo - protocol: {} - language: - default: - name: error_response_additional_info - description: The error additional info. - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - cliKey: additionalInfo - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_response - description: The resource management error response. - namespace: '' - cli: - cliKey: ErrorResponse - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - cliKey: error - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error - description: The resource management error response. - namespace: '' - cli: - cliKey: Error - protocol: {} - - *ref_16 - - *ref_19 - - &ref_116 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - cliKey: createdBy - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - cliKey: createdAt - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - cliKey: lastModifiedBy - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedByType - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedAt - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: system_metadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - cliKey: SystemMetadata - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - cliKey: initiatorIqn - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: acl_mapped_luns - description: List of LUN names mapped to the ACL. - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cliKey: mappedLuns - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - cliKey: Acl - protocol: {} - language: - default: - name: iscsi_target_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - protocol: {} - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - cliKey: name - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - cliKey: managedDiskAzureResourceId - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_lun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - cliKey: IscsiLun - protocol: {} - language: - default: - name: iscsi_target_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - cliKey: status - protocol: {} - - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: iscsi_target_properties_endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cliKey: endpoints - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - cliKey: port - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_target - description: Response for iSCSI Target requests. - namespace: '' - cli: - cliKey: IscsiTarget - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - protocol: {} - - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - protocol: {} - - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_create_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - protocol: {} - - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_create_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_create - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - cliKey: IscsiTargetCreate - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_106 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_update_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - protocol: {} - - schema: &ref_107 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_update_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_update - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - cliKey: IscsiTargetUpdate - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: proxy_resource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - cliKey: ProxyResource - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: resource - description: ARM resource model definition. - namespace: '' - cli: - cliKey: Resource - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: tracked_resource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - cliKey: TrackedResource - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - cliKey: status - protocol: {} - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_60 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - cliKey: id - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - cliKey: Disk - protocol: {} - language: - default: - name: disk_pool_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - protocol: {} - - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_properties_additional_capabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: &ref_58 - cliKey: name - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: &ref_59 - cliKey: tier - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk_pool - description: Response for Disk Pool request. - namespace: '' - cli: - cliKey: DiskPool - protocol: {} - language: - default: - name: disk_pool_list_result_value - description: An array of Disk pool objects. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - cliKey: value - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_list_result - description: List of Disk Pools - namespace: '' - cli: - cliKey: DiskPoolListResult - protocol: {} - - *ref_20 - - &ref_61 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: *ref_58 - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: *ref_59 - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: sku - description: Sku for ARM resource - namespace: '' - cli: - cliKey: Sku - protocol: {} - - *ref_60 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_120 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_61 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliKey: sku - protocol: {} - - schema: *ref_62 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - protocol: {} - - schema: *ref_63 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - protocol: {} - - schema: *ref_65 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - protocol: {} - - schema: *ref_66 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - protocol: {} - - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_create_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - protocol: {} - - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_60 - language: - default: - name: disk_pool_create_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - protocol: {} - - schema: *ref_67 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - protocol: {} - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_create_properties_additional_capabilities - description: List of additional capabilities for a Disk Pool. - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliKey: additionalCapabilities - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: disk_pool_create - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - cliKey: DiskPoolCreate - protocol: {} - - &ref_124 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_68 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_60 - language: - default: - name: disk_pool_update_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: disk_pool_update - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - cliKey: DiskPoolUpdate - protocol: {} - - &ref_140 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_70 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_zone_info_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_zone_info_additional_capabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - protocol: {} - - schema: *ref_61 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - cliKey: sku - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_info - description: Disk Pool Sku Details - namespace: '' - cli: - cliKey: DiskPoolZoneInfo - protocol: {} - language: - default: - name: disk_pool_zone_list_result_value - description: The list of Disk Pool Skus. - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - cliKey: value - protocol: {} - - schema: *ref_69 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_list_result - description: List Disk Pool skus operation response. - namespace: '' - cli: - cliKey: DiskPoolZoneListResult - protocol: {} - - *ref_70 - - &ref_134 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - cliKey: category - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_79 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_72 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - cliKey: domainName - protocol: {} - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_80 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_73 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - cliKey: ipAddress - protocol: {} - - schema: *ref_74 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - cliKey: port - protocol: {} - - schema: *ref_75 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: latency - protocol: {} - - schema: *ref_76 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: isAccessible - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_detail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - cliKey: EndpointDetail - protocol: {} - language: - default: - name: endpoint_dependency_endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cliKey: endpointDetails - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_dependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - cliKey: EndpointDependency - protocol: {} - language: - default: - name: outbound_environment_endpoint_endpoints - description: The endpoints that the App Service Environment reaches the service at. - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cliKey: endpoints - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - cliKey: OutboundEnvironmentEndpoint - protocol: {} - language: - default: - name: outbound_environment_endpoint_list_value - description: Collection of resources. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - cliKey: value - protocol: {} - - schema: *ref_77 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - cliKey: nextLink - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint_list - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - cliKey: OutboundEnvironmentEndpointList - protocol: {} - - *ref_78 - - *ref_79 - - *ref_80 - - &ref_143 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: iscsi_target_list_value - description: An array of iSCSI Targets in a Disk Pool. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cliKey: value - protocol: {} - - schema: *ref_81 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: iscsi_target_list - description: List of iSCSI Targets. - namespace: '' - cli: - cliKey: IscsiTargetList - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 - - *ref_106 - - *ref_107 -globalParameters: - - &ref_115 - schema: *ref_108 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - cliKey: subscriptionId - protocol: - http: - in: path - - &ref_110 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - cliKey: $host - protocol: - http: - in: uri - - &ref_111 - schema: *ref_109 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - cliKey: ApiVersion - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_110 - - *ref_111 - requests: - - parameters: - - schema: *ref_112 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_113 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - cliKey: List - protocol: {} - language: - default: - name: operations - description: '' - cli: - cliKey: Operations - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_110 - - *ref_115 - - *ref_111 - requests: - - parameters: - - schema: *ref_112 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_116 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - cliKey: ListBySubscription - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_110 - - *ref_115 - - &ref_118 - schema: *ref_117 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - *ref_111 - requests: - - parameters: - - schema: *ref_112 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_118 - responses: - - schema: *ref_116 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByResourceGroup - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_110 - - *ref_115 - - &ref_122 - schema: *ref_117 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_123 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - *ref_111 - requests: - - parameters: - - schema: *ref_119 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: - in: header - - &ref_121 - schema: *ref_120 - implementation: Method - required: true - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cliKey: diskPoolCreatePayload - protocol: - http: - in: body - style: json - - schema: *ref_112 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: - - *ref_121 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_122 - - *ref_123 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - cliKey: CreateOrUpdate - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_110 - - *ref_115 - - &ref_126 - schema: *ref_117 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_127 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - *ref_111 - requests: - - parameters: - - schema: *ref_119 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: - in: header - - &ref_125 - schema: *ref_124 - implementation: Method - required: true - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - cliKey: diskPoolUpdatePayload - protocol: - http: - in: body - style: json - - schema: *ref_112 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: - - *ref_125 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_126 - - *ref_127 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - cliKey: Update - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_110 - - *ref_115 - - &ref_128 - schema: *ref_117 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_129 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - *ref_111 - requests: - - parameters: - - schema: *ref_112 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_128 - - *ref_129 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - cliKey: Delete - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_110 - - *ref_115 - - &ref_130 - schema: *ref_117 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_131 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - *ref_111 - requests: - - parameters: - - schema: *ref_112 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_130 - - *ref_131 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - cliKey: Get - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_110 - - *ref_115 - - &ref_132 - schema: *ref_117 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_133 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - *ref_111 - requests: - - parameters: - - schema: *ref_112 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_132 - - *ref_133 - responses: - - schema: *ref_134 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependencies_endpoints - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_110 - - *ref_115 - - &ref_135 - schema: *ref_117 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - *ref_111 - requests: - - parameters: - - schema: *ref_112 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - cliKey: Start - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_110 - - *ref_115 - - &ref_137 - schema: *ref_117 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_138 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - *ref_111 - requests: - - parameters: - - schema: *ref_112 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_137 - - *ref_138 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - cliKey: Deallocate - protocol: {} - language: - default: - name: disk_pools - description: '' - cli: - cliKey: DiskPools - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_110 - - *ref_111 - - *ref_115 - - &ref_139 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - cliKey: location - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_112 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_139 - responses: - - schema: *ref_140 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - cliKey: List - protocol: {} - language: - default: - name: disk_pool_zones - description: '' - cli: - cliKey: DiskPoolZones - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_110 - - *ref_115 - - &ref_141 - schema: *ref_117 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_142 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - *ref_111 - requests: - - parameters: - - schema: *ref_112 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_141 - - *ref_142 - responses: - - schema: *ref_143 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByDiskPool - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_110 - - *ref_115 - - &ref_145 - schema: *ref_117 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_146 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - &ref_147 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - protocol: - http: - in: path - - *ref_111 - requests: - - parameters: - - schema: *ref_119 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: - in: header - - &ref_144 - schema: *ref_42 - implementation: Method - required: true - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cliKey: iscsiTargetCreatePayload - protocol: - http: - in: body - style: json - - schema: *ref_112 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: - - *ref_144 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_145 - - *ref_146 - - *ref_147 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - cliKey: CreateOrUpdate - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_110 - - *ref_115 - - &ref_149 - schema: *ref_117 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_150 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - &ref_151 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - protocol: - http: - in: path - - *ref_111 - requests: - - parameters: - - schema: *ref_119 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: - in: header - - &ref_148 - schema: *ref_43 - implementation: Method - required: true - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - cliKey: iscsiTargetUpdatePayload - protocol: - http: - in: body - style: json - - schema: *ref_112 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: - - *ref_148 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_149 - - *ref_150 - - *ref_151 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - cliKey: Update - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_110 - - *ref_115 - - &ref_152 - schema: *ref_117 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_153 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - &ref_154 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - protocol: - http: - in: path - - *ref_111 - requests: - - parameters: - - schema: *ref_112 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_152 - - *ref_153 - - *ref_154 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - cliKey: Delete - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_110 - - *ref_115 - - &ref_155 - schema: *ref_117 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: - in: path - - &ref_156 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: - in: path - - &ref_157 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - protocol: - http: - in: path - - *ref_111 - requests: - - parameters: - - schema: *ref_112 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_155 - - *ref_156 - - *ref_157 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - cliKey: Get - protocol: {} - language: - default: - name: iscsi_targets - description: '' - cli: - cliKey: IscsiTargets - protocol: {} -security: - authenticationRequired: true -language: - default: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000040-modeler-post-processor-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000040-modeler-post-processor-post-simplified.yaml deleted file mode 100644 index 06dd64da985..00000000000 --- a/src/diskpool/_az_debug/clicommon-000040-modeler-post-processor-post-simplified.yaml +++ /dev/null @@ -1,1167 +0,0 @@ -operationGroups: - all: - - operationGroupName: operations - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pools - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: disk_pool_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) - cli: - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - bodySchema: disk_pool_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependencies_endpoints - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pool_zones - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: location(string^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: iscsi_targets - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: iscsi_target_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) - cli: - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - bodySchema: iscsi_target_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] -schemas: - objects: - all: - - schemaName: storage_pool_operation_list_result - cli: - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - properties: - - propertyName: value(storage_pool_operation_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(storage_pool_operation_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: storage_pool_RP_operation - cli: - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - properties: - - propertyName: name(storage_pool_RP_operation_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(storage_pool_RP_operation_action_type^string) - cli: - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(storage_pool_operation_display^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(storage_pool_RP_operation_origin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: storage_pool_operation_display - cli: - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - properties: - - propertyName: provider(storage_pool_operation_display_provider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(storage_pool_operation_display_resource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(storage_pool_operation_display_operation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(storage_pool_operation_display_description^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: error - cli: - cliKey: Error - cliM4Path: schemas$$objects['Error'] - properties: - - propertyName: error(error_response^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - - schemaName: error_response - cli: - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - properties: - - propertyName: code(error_response_code^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(error_response_message^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(error_response_target^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(error_response_details^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(error_response_additional_info^array) - cli: - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: error_additional_info - cli: - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - properties: - - propertyName: type(error_additional_info_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: disk_pool_list_result - cli: - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - properties: - - propertyName: value(disk_pool_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(disk_pool_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: disk_pool - cli: - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(disk_pool_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(disk_pool_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(disk_pool_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: sku - cli: - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - properties: - - propertyName: name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - - schemaName: disk - cli: - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - properties: - - propertyName: id(disk_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - - schemaName: system_metadata - cli: - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - properties: - - propertyName: created_by(system_metadata_created_by^string) - cli: - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(created_by_type^choice) - cli: - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(system_metadata_last_modified_by^string) - cli: - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(created_by_type^choice) - cli: - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: tracked_resource - cli: - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - properties: - - propertyName: tags(tracked_resource_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(tracked_resource_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: resource - cli: - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - properties: - - propertyName: id(resource_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(resource_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(resource_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: disk_pool_create - cli: - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - properties: - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(disk_pool_create_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(disk_pool_create_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(disk_pool_create_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(disk_pool_create_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(disk_pool_create_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(disk_pool_create_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: disk_pool_update - cli: - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - properties: - - propertyName: tags(disk_pool_update_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(disk_pool_update_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: disk_pool_zone_list_result - cli: - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - properties: - - propertyName: value(disk_pool_zone_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(disk_pool_zone_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: disk_pool_zone_info - cli: - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - properties: - - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: outbound_environment_endpoint_list - cli: - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - properties: - - propertyName: value(outbound_environment_endpoint_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: outbound_environment_endpoint - cli: - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - properties: - - propertyName: category(outbound_environment_endpoint_category^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: endpoint_dependency - cli: - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - properties: - - propertyName: domain_name(endpoint_dependency_domain_name^string) - cli: - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) - cli: - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: endpoint_detail - cli: - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - properties: - - propertyName: ip_address(endpoint_detail_ip_address^string) - cli: - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: iscsi_target_list - cli: - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - properties: - - propertyName: value(iscsi_target_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(iscsi_target_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: iscsi_target - cli: - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(iscsi_target_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(iscsi_target_properties_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: acl - cli: - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - properties: - - propertyName: initiator_iqn(acl_initiator_iqn^string) - cli: - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(acl_mapped_luns^array) - cli: - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: iscsi_lun - cli: - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - properties: - - propertyName: name(iscsi_lun_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: iscsi_target_create - cli: - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - properties: - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_create_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: iscsi_target_update - cli: - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - properties: - - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_update_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: proxy_resource - cli: - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - choices: - all: - - choiceName: provisioning_states - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: operational_status - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated_ - cli: - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: created_by_type - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: iscsi_target_acl_mode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: disk_pool_tier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000040-modeler-post-processor-post.yaml b/src/diskpool/_az_debug/clicommon-000040-modeler-post-processor-post.yaml deleted file mode 100644 index 14b866c8a9f..00000000000 --- a/src/diskpool/_az_debug/clicommon-000040-modeler-post-processor-post.yaml +++ /dev/null @@ -1,5772 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: string - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_name - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_action_type - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_provider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_resource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_code - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_message - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_target - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_additional_info_type - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: string - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_name - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_tier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: availability_zone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_id - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: additional_capability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_by - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_by - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: string - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: tracked_resource_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_name - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: string - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_create_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: disk_pool_create_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_name - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_zone_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_dependency_domain_name - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_detail_ip_address - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_list_next_link - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_mapped_luns_item - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_name - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_endpoints_item - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_list_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_create_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: provisioning_states - description: Provisioning state of the iSCSI Target. - cli: - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated_ - description: '' - cli: - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: operational_status - description: Operational status of the resource. - cli: - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: iscsi_target_acl_mode - description: ACL mode for iSCSI Target. - cli: - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: disk_pool_tier - description: SKU of the VM host part of the Disk Pool deployment - cli: - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: tracked_resource_tags - description: Resource tags. - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_create_tags - description: Resource tags. - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_update_tags - description: Resource tags. - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_display - description: Metadata about an operation. - namespace: '' - cli: - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_RP_operation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: storage_pool_operation_list_result_value - description: An array of operations supported by the StoragePool RP. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_list_result - description: List of operations supported by the RP. - namespace: '' - cli: - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: error_response_details - description: The error details. - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_additional_info - description: The resource management error additional info. - namespace: '' - cli: - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: error_response_additional_info - description: The error additional info. - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_response - description: The resource management error response. - namespace: '' - cli: - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error - description: The resource management error response. - namespace: '' - cli: - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: system_metadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: acl_mapped_luns - description: List of LUN names mapped to the ACL. - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: iscsi_target_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_lun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: iscsi_target_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: iscsi_target_properties_endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_target - description: Response for iSCSI Target requests. - namespace: '' - cli: - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_create_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_create_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_create - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_update_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_update_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_update - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: proxy_resource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: resource - description: ARM resource model definition. - namespace: '' - cli: - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: tracked_resource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: disk_pool_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_properties_additional_capabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk_pool - description: Response for Disk Pool request. - namespace: '' - cli: - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: disk_pool_list_result_value - description: An array of Disk pool objects. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_list_result - description: List of Disk Pools - namespace: '' - cli: - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: sku - description: Sku for ARM resource - namespace: '' - cli: - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_create_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_create_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_create_properties_additional_capabilities - description: List of additional capabilities for a Disk Pool. - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: disk_pool_create - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_122 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_update_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: disk_pool_update - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_138 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_zone_info_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_zone_info_additional_capabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_info - description: Disk Pool Sku Details - namespace: '' - cli: - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: disk_pool_zone_list_result_value - description: The list of Disk Pool Skus. - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_list_result - description: List Disk Pool skus operation response. - namespace: '' - cli: - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_132 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_detail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: endpoint_dependency_endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_dependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_endpoints - description: The endpoints that the App Service Environment reaches the service at. - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_list_value - description: Collection of resources. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint_list - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_141 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: iscsi_target_list_value - description: An array of iSCSI Targets in a Disk Pool. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: iscsi_target_list - description: List of iSCSI Targets. - namespace: '' - cli: - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - protocol: {} - language: - default: - name: operations - description: '' - cli: - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_120 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_121 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_119 - schema: *ref_118 - implementation: Method - required: true - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_119 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_120 - - *ref_121 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_124 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_125 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_123 - schema: *ref_122 - implementation: Method - required: true - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_123 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_124 - - *ref_125 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_126 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_127 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_126 - - *ref_127 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_128 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_129 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_128 - - *ref_129 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_130 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_131 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_130 - - *ref_131 - responses: - - schema: *ref_132 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependencies_endpoints - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_133 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_134 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_133 - - *ref_134 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - language: - default: - name: disk_pools - description: '' - cli: - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_137 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_137 - responses: - - schema: *ref_138 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: disk_pool_zones - description: '' - cli: - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_139 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_140 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_139 - - *ref_140 - responses: - - schema: *ref_141 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_143 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_144 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_145 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_142 - schema: *ref_42 - implementation: Method - required: true - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_142 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_143 - - *ref_144 - - *ref_145 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_147 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_148 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_149 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_146 - schema: *ref_43 - implementation: Method - required: true - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_146 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_147 - - *ref_148 - - *ref_149 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_150 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_151 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_152 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_150 - - *ref_151 - - *ref_152 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_153 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_154 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_155 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_153 - - *ref_154 - - *ref_155 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - language: - default: - name: iscsi_targets - description: '' - cli: - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -language: - default: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000050-m4-flatten-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000050-m4-flatten-pre-simplified.yaml deleted file mode 100644 index 06dd64da985..00000000000 --- a/src/diskpool/_az_debug/clicommon-000050-m4-flatten-pre-simplified.yaml +++ /dev/null @@ -1,1167 +0,0 @@ -operationGroups: - all: - - operationGroupName: operations - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pools - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: disk_pool_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) - cli: - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - bodySchema: disk_pool_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependencies_endpoints - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pool_zones - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: location(string^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: iscsi_targets - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: iscsi_target_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) - cli: - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - bodySchema: iscsi_target_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] -schemas: - objects: - all: - - schemaName: storage_pool_operation_list_result - cli: - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - properties: - - propertyName: value(storage_pool_operation_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(storage_pool_operation_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: storage_pool_RP_operation - cli: - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - properties: - - propertyName: name(storage_pool_RP_operation_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(storage_pool_RP_operation_action_type^string) - cli: - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(storage_pool_operation_display^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(storage_pool_RP_operation_origin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: storage_pool_operation_display - cli: - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - properties: - - propertyName: provider(storage_pool_operation_display_provider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(storage_pool_operation_display_resource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(storage_pool_operation_display_operation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(storage_pool_operation_display_description^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: error - cli: - cliKey: Error - cliM4Path: schemas$$objects['Error'] - properties: - - propertyName: error(error_response^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - - schemaName: error_response - cli: - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - properties: - - propertyName: code(error_response_code^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(error_response_message^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(error_response_target^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(error_response_details^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(error_response_additional_info^array) - cli: - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: error_additional_info - cli: - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - properties: - - propertyName: type(error_additional_info_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: disk_pool_list_result - cli: - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - properties: - - propertyName: value(disk_pool_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(disk_pool_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: disk_pool - cli: - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(disk_pool_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(disk_pool_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(disk_pool_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: sku - cli: - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - properties: - - propertyName: name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - - schemaName: disk - cli: - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - properties: - - propertyName: id(disk_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - - schemaName: system_metadata - cli: - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - properties: - - propertyName: created_by(system_metadata_created_by^string) - cli: - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(created_by_type^choice) - cli: - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(system_metadata_last_modified_by^string) - cli: - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(created_by_type^choice) - cli: - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: tracked_resource - cli: - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - properties: - - propertyName: tags(tracked_resource_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(tracked_resource_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: resource - cli: - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - properties: - - propertyName: id(resource_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(resource_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(resource_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: disk_pool_create - cli: - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - properties: - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(disk_pool_create_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(disk_pool_create_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(disk_pool_create_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(disk_pool_create_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(disk_pool_create_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(disk_pool_create_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: disk_pool_update - cli: - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - properties: - - propertyName: tags(disk_pool_update_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(disk_pool_update_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: disk_pool_zone_list_result - cli: - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - properties: - - propertyName: value(disk_pool_zone_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(disk_pool_zone_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: disk_pool_zone_info - cli: - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - properties: - - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: outbound_environment_endpoint_list - cli: - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - properties: - - propertyName: value(outbound_environment_endpoint_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: outbound_environment_endpoint - cli: - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - properties: - - propertyName: category(outbound_environment_endpoint_category^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: endpoint_dependency - cli: - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - properties: - - propertyName: domain_name(endpoint_dependency_domain_name^string) - cli: - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) - cli: - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: endpoint_detail - cli: - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - properties: - - propertyName: ip_address(endpoint_detail_ip_address^string) - cli: - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: iscsi_target_list - cli: - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - properties: - - propertyName: value(iscsi_target_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(iscsi_target_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: iscsi_target - cli: - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(iscsi_target_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(iscsi_target_properties_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: acl - cli: - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - properties: - - propertyName: initiator_iqn(acl_initiator_iqn^string) - cli: - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(acl_mapped_luns^array) - cli: - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: iscsi_lun - cli: - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - properties: - - propertyName: name(iscsi_lun_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: iscsi_target_create - cli: - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - properties: - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_create_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: iscsi_target_update - cli: - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - properties: - - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_update_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: proxy_resource - cli: - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - choices: - all: - - choiceName: provisioning_states - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: operational_status - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated_ - cli: - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: created_by_type - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: iscsi_target_acl_mode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: disk_pool_tier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000050-m4-flatten-pre.yaml b/src/diskpool/_az_debug/clicommon-000050-m4-flatten-pre.yaml deleted file mode 100644 index 14b866c8a9f..00000000000 --- a/src/diskpool/_az_debug/clicommon-000050-m4-flatten-pre.yaml +++ /dev/null @@ -1,5772 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: string - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_name - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_action_type - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_provider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_resource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_code - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_message - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_target - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_additional_info_type - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: string - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_name - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_tier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: availability_zone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_id - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: additional_capability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_by - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_by - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: string - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: tracked_resource_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_name - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: string - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_create_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: disk_pool_create_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_name - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_zone_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_dependency_domain_name - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_detail_ip_address - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_list_next_link - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_mapped_luns_item - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_name - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_endpoints_item - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_list_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_create_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: provisioning_states - description: Provisioning state of the iSCSI Target. - cli: - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated_ - description: '' - cli: - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: operational_status - description: Operational status of the resource. - cli: - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: iscsi_target_acl_mode - description: ACL mode for iSCSI Target. - cli: - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: disk_pool_tier - description: SKU of the VM host part of the Disk Pool deployment - cli: - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: tracked_resource_tags - description: Resource tags. - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_create_tags - description: Resource tags. - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_update_tags - description: Resource tags. - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_display - description: Metadata about an operation. - namespace: '' - cli: - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_RP_operation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: storage_pool_operation_list_result_value - description: An array of operations supported by the StoragePool RP. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_list_result - description: List of operations supported by the RP. - namespace: '' - cli: - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: error_response_details - description: The error details. - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_additional_info - description: The resource management error additional info. - namespace: '' - cli: - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: error_response_additional_info - description: The error additional info. - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_response - description: The resource management error response. - namespace: '' - cli: - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error - description: The resource management error response. - namespace: '' - cli: - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: system_metadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: acl_mapped_luns - description: List of LUN names mapped to the ACL. - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: iscsi_target_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_lun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: iscsi_target_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: iscsi_target_properties_endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_target - description: Response for iSCSI Target requests. - namespace: '' - cli: - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_create_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_create_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_create - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_update_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_update_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_update - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: proxy_resource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: resource - description: ARM resource model definition. - namespace: '' - cli: - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: tracked_resource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: disk_pool_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_properties_additional_capabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk_pool - description: Response for Disk Pool request. - namespace: '' - cli: - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: disk_pool_list_result_value - description: An array of Disk pool objects. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_list_result - description: List of Disk Pools - namespace: '' - cli: - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: sku - description: Sku for ARM resource - namespace: '' - cli: - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_create_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_create_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_create_properties_additional_capabilities - description: List of additional capabilities for a Disk Pool. - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: disk_pool_create - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_122 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_update_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: disk_pool_update - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_138 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_zone_info_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_zone_info_additional_capabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_info - description: Disk Pool Sku Details - namespace: '' - cli: - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: disk_pool_zone_list_result_value - description: The list of Disk Pool Skus. - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_list_result - description: List Disk Pool skus operation response. - namespace: '' - cli: - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_132 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_detail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: endpoint_dependency_endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_dependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_endpoints - description: The endpoints that the App Service Environment reaches the service at. - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_list_value - description: Collection of resources. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint_list - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_141 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: iscsi_target_list_value - description: An array of iSCSI Targets in a Disk Pool. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: iscsi_target_list - description: List of iSCSI Targets. - namespace: '' - cli: - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - protocol: {} - language: - default: - name: operations - description: '' - cli: - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_120 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_121 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_119 - schema: *ref_118 - implementation: Method - required: true - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_119 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_120 - - *ref_121 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_124 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_125 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_123 - schema: *ref_122 - implementation: Method - required: true - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_123 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_124 - - *ref_125 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_126 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_127 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_126 - - *ref_127 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_128 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_129 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_128 - - *ref_129 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_130 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_131 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_130 - - *ref_131 - responses: - - schema: *ref_132 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependencies_endpoints - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_133 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_134 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_133 - - *ref_134 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - language: - default: - name: disk_pools - description: '' - cli: - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_137 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_137 - responses: - - schema: *ref_138 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: disk_pool_zones - description: '' - cli: - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_139 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_140 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_139 - - *ref_140 - responses: - - schema: *ref_141 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_143 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_144 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_145 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_142 - schema: *ref_42 - implementation: Method - required: true - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_142 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_143 - - *ref_144 - - *ref_145 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_147 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_148 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_149 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_146 - schema: *ref_43 - implementation: Method - required: true - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_146 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_147 - - *ref_148 - - *ref_149 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_150 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_151 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_152 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_150 - - *ref_151 - - *ref_152 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_153 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_154 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_155 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_153 - - *ref_154 - - *ref_155 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - language: - default: - name: iscsi_targets - description: '' - cli: - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -language: - default: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000060-split-operation-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000060-split-operation-pre-simplified.yaml deleted file mode 100644 index 06dd64da985..00000000000 --- a/src/diskpool/_az_debug/clicommon-000060-split-operation-pre-simplified.yaml +++ /dev/null @@ -1,1167 +0,0 @@ -operationGroups: - all: - - operationGroupName: operations - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pools - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: disk_pool_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) - cli: - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - bodySchema: disk_pool_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependencies_endpoints - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pool_zones - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: location(string^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: iscsi_targets - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: iscsi_target_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) - cli: - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - bodySchema: iscsi_target_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] -schemas: - objects: - all: - - schemaName: storage_pool_operation_list_result - cli: - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - properties: - - propertyName: value(storage_pool_operation_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(storage_pool_operation_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: storage_pool_RP_operation - cli: - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - properties: - - propertyName: name(storage_pool_RP_operation_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(storage_pool_RP_operation_action_type^string) - cli: - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(storage_pool_operation_display^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(storage_pool_RP_operation_origin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: storage_pool_operation_display - cli: - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - properties: - - propertyName: provider(storage_pool_operation_display_provider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(storage_pool_operation_display_resource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(storage_pool_operation_display_operation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(storage_pool_operation_display_description^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: error - cli: - cliKey: Error - cliM4Path: schemas$$objects['Error'] - properties: - - propertyName: error(error_response^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - - schemaName: error_response - cli: - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - properties: - - propertyName: code(error_response_code^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(error_response_message^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(error_response_target^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(error_response_details^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(error_response_additional_info^array) - cli: - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: error_additional_info - cli: - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - properties: - - propertyName: type(error_additional_info_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: disk_pool_list_result - cli: - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - properties: - - propertyName: value(disk_pool_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(disk_pool_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: disk_pool - cli: - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(disk_pool_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(disk_pool_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(disk_pool_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: sku - cli: - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - properties: - - propertyName: name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - - schemaName: disk - cli: - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - properties: - - propertyName: id(disk_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - - schemaName: system_metadata - cli: - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - properties: - - propertyName: created_by(system_metadata_created_by^string) - cli: - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(created_by_type^choice) - cli: - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(system_metadata_last_modified_by^string) - cli: - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(created_by_type^choice) - cli: - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: tracked_resource - cli: - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - properties: - - propertyName: tags(tracked_resource_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(tracked_resource_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: resource - cli: - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - properties: - - propertyName: id(resource_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(resource_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(resource_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: disk_pool_create - cli: - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - properties: - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(disk_pool_create_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(disk_pool_create_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(disk_pool_create_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(disk_pool_create_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(disk_pool_create_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(disk_pool_create_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: disk_pool_update - cli: - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - properties: - - propertyName: tags(disk_pool_update_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(disk_pool_update_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: disk_pool_zone_list_result - cli: - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - properties: - - propertyName: value(disk_pool_zone_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(disk_pool_zone_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: disk_pool_zone_info - cli: - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - properties: - - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: outbound_environment_endpoint_list - cli: - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - properties: - - propertyName: value(outbound_environment_endpoint_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: outbound_environment_endpoint - cli: - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - properties: - - propertyName: category(outbound_environment_endpoint_category^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: endpoint_dependency - cli: - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - properties: - - propertyName: domain_name(endpoint_dependency_domain_name^string) - cli: - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) - cli: - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: endpoint_detail - cli: - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - properties: - - propertyName: ip_address(endpoint_detail_ip_address^string) - cli: - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: iscsi_target_list - cli: - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - properties: - - propertyName: value(iscsi_target_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(iscsi_target_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: iscsi_target - cli: - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(iscsi_target_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(iscsi_target_properties_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: acl - cli: - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - properties: - - propertyName: initiator_iqn(acl_initiator_iqn^string) - cli: - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(acl_mapped_luns^array) - cli: - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: iscsi_lun - cli: - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - properties: - - propertyName: name(iscsi_lun_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: iscsi_target_create - cli: - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - properties: - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_create_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: iscsi_target_update - cli: - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - properties: - - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_update_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: proxy_resource - cli: - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - choices: - all: - - choiceName: provisioning_states - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: operational_status - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated_ - cli: - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: created_by_type - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: iscsi_target_acl_mode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: disk_pool_tier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000060-split-operation-pre.yaml b/src/diskpool/_az_debug/clicommon-000060-split-operation-pre.yaml deleted file mode 100644 index 14b866c8a9f..00000000000 --- a/src/diskpool/_az_debug/clicommon-000060-split-operation-pre.yaml +++ /dev/null @@ -1,5772 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: string - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_name - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_action_type - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_provider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_resource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_code - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_message - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_target - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_additional_info_type - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: string - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_name - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_tier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: availability_zone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_id - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: additional_capability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_by - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_by - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: string - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: tracked_resource_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_name - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: string - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_create_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: disk_pool_create_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_name - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_zone_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_dependency_domain_name - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_detail_ip_address - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_list_next_link - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_mapped_luns_item - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_name - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_endpoints_item - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_list_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_create_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: provisioning_states - description: Provisioning state of the iSCSI Target. - cli: - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated_ - description: '' - cli: - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: operational_status - description: Operational status of the resource. - cli: - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: iscsi_target_acl_mode - description: ACL mode for iSCSI Target. - cli: - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: disk_pool_tier - description: SKU of the VM host part of the Disk Pool deployment - cli: - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: tracked_resource_tags - description: Resource tags. - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_create_tags - description: Resource tags. - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_update_tags - description: Resource tags. - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_display - description: Metadata about an operation. - namespace: '' - cli: - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_RP_operation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: storage_pool_operation_list_result_value - description: An array of operations supported by the StoragePool RP. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_list_result - description: List of operations supported by the RP. - namespace: '' - cli: - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: error_response_details - description: The error details. - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_additional_info - description: The resource management error additional info. - namespace: '' - cli: - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: error_response_additional_info - description: The error additional info. - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_response - description: The resource management error response. - namespace: '' - cli: - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error - description: The resource management error response. - namespace: '' - cli: - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: system_metadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: acl_mapped_luns - description: List of LUN names mapped to the ACL. - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: iscsi_target_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_lun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: iscsi_target_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: iscsi_target_properties_endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_target - description: Response for iSCSI Target requests. - namespace: '' - cli: - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_create_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_create_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_create - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_update_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_update_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_update - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: proxy_resource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: resource - description: ARM resource model definition. - namespace: '' - cli: - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: tracked_resource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: disk_pool_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_properties_additional_capabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk_pool - description: Response for Disk Pool request. - namespace: '' - cli: - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: disk_pool_list_result_value - description: An array of Disk pool objects. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_list_result - description: List of Disk Pools - namespace: '' - cli: - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: sku - description: Sku for ARM resource - namespace: '' - cli: - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_create_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_create_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_create_properties_additional_capabilities - description: List of additional capabilities for a Disk Pool. - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: disk_pool_create - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_122 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_update_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: disk_pool_update - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_138 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_zone_info_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_zone_info_additional_capabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_info - description: Disk Pool Sku Details - namespace: '' - cli: - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: disk_pool_zone_list_result_value - description: The list of Disk Pool Skus. - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_list_result - description: List Disk Pool skus operation response. - namespace: '' - cli: - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_132 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_detail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: endpoint_dependency_endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_dependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_endpoints - description: The endpoints that the App Service Environment reaches the service at. - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_list_value - description: Collection of resources. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint_list - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_141 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: iscsi_target_list_value - description: An array of iSCSI Targets in a Disk Pool. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: iscsi_target_list - description: List of iSCSI Targets. - namespace: '' - cli: - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - protocol: {} - language: - default: - name: operations - description: '' - cli: - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_120 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_121 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_119 - schema: *ref_118 - implementation: Method - required: true - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_119 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_120 - - *ref_121 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_124 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_125 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_123 - schema: *ref_122 - implementation: Method - required: true - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_123 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_124 - - *ref_125 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_126 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_127 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_126 - - *ref_127 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_128 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_129 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_128 - - *ref_129 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_130 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_131 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_130 - - *ref_131 - responses: - - schema: *ref_132 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependencies_endpoints - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_133 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_134 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_133 - - *ref_134 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - language: - default: - name: disk_pools - description: '' - cli: - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_137 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_137 - responses: - - schema: *ref_138 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: disk_pool_zones - description: '' - cli: - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_139 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_140 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_139 - - *ref_140 - responses: - - schema: *ref_141 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_143 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_144 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_145 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_142 - schema: *ref_42 - implementation: Method - required: true - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_142 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_143 - - *ref_144 - - *ref_145 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_147 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_148 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_149 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_146 - schema: *ref_43 - implementation: Method - required: true - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_146 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_147 - - *ref_148 - - *ref_149 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_150 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_151 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_152 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_150 - - *ref_151 - - *ref_152 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_153 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_154 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_155 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_153 - - *ref_154 - - *ref_155 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - language: - default: - name: iscsi_targets - description: '' - cli: - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -language: - default: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000070-split-operation-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000070-split-operation-post-simplified.yaml deleted file mode 100644 index 75a2e12953c..00000000000 --- a/src/diskpool/_az_debug/clicommon-000070-split-operation-post-simplified.yaml +++ /dev/null @@ -1,1244 +0,0 @@ -operationGroups: - all: - - operationGroupName: operations - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pools - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - cli-operation-splitted: true - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: disk_pool_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) - cli: - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - bodySchema: disk_pool_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependencies_endpoints - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cliKey: diskPoolCreatePayload - bodySchema: disk_pool_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationGroupName: disk_pool_zones - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: location(string^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: iscsi_targets - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - cli-operation-splitted: true - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: iscsi_target_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) - cli: - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - bodySchema: iscsi_target_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cliKey: iscsiTargetCreatePayload - bodySchema: iscsi_target_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept -schemas: - objects: - all: - - schemaName: storage_pool_operation_list_result - cli: - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - properties: - - propertyName: value(storage_pool_operation_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(storage_pool_operation_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: storage_pool_RP_operation - cli: - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - properties: - - propertyName: name(storage_pool_RP_operation_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(storage_pool_RP_operation_action_type^string) - cli: - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(storage_pool_operation_display^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(storage_pool_RP_operation_origin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: storage_pool_operation_display - cli: - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - properties: - - propertyName: provider(storage_pool_operation_display_provider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(storage_pool_operation_display_resource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(storage_pool_operation_display_operation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(storage_pool_operation_display_description^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: error - cli: - cliKey: Error - cliM4Path: schemas$$objects['Error'] - properties: - - propertyName: error(error_response^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - - schemaName: error_response - cli: - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - properties: - - propertyName: code(error_response_code^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(error_response_message^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(error_response_target^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(error_response_details^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(error_response_additional_info^array) - cli: - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: error_additional_info - cli: - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - properties: - - propertyName: type(error_additional_info_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: disk_pool_list_result - cli: - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - properties: - - propertyName: value(disk_pool_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(disk_pool_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: disk_pool - cli: - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(disk_pool_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(disk_pool_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(disk_pool_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: sku - cli: - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - properties: - - propertyName: name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - - schemaName: disk - cli: - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - properties: - - propertyName: id(disk_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - - schemaName: system_metadata - cli: - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - properties: - - propertyName: created_by(system_metadata_created_by^string) - cli: - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(created_by_type^choice) - cli: - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(system_metadata_last_modified_by^string) - cli: - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(created_by_type^choice) - cli: - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: tracked_resource - cli: - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - properties: - - propertyName: tags(tracked_resource_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(tracked_resource_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: resource - cli: - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - properties: - - propertyName: id(resource_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(resource_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(resource_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: disk_pool_create - cli: - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - properties: - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(disk_pool_create_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(disk_pool_create_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(disk_pool_create_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(disk_pool_create_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(disk_pool_create_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(disk_pool_create_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: disk_pool_update - cli: - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - properties: - - propertyName: tags(disk_pool_update_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(disk_pool_update_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: disk_pool_zone_list_result - cli: - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - properties: - - propertyName: value(disk_pool_zone_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(disk_pool_zone_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: disk_pool_zone_info - cli: - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - properties: - - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: outbound_environment_endpoint_list - cli: - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - properties: - - propertyName: value(outbound_environment_endpoint_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: outbound_environment_endpoint - cli: - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - properties: - - propertyName: category(outbound_environment_endpoint_category^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: endpoint_dependency - cli: - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - properties: - - propertyName: domain_name(endpoint_dependency_domain_name^string) - cli: - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) - cli: - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: endpoint_detail - cli: - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - properties: - - propertyName: ip_address(endpoint_detail_ip_address^string) - cli: - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: iscsi_target_list - cli: - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - properties: - - propertyName: value(iscsi_target_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(iscsi_target_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: iscsi_target - cli: - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(iscsi_target_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(iscsi_target_properties_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: acl - cli: - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - properties: - - propertyName: initiator_iqn(acl_initiator_iqn^string) - cli: - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(acl_mapped_luns^array) - cli: - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: iscsi_lun - cli: - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - properties: - - propertyName: name(iscsi_lun_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: iscsi_target_create - cli: - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - properties: - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_create_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: iscsi_target_update - cli: - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - properties: - - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_update_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: proxy_resource - cli: - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - choices: - all: - - choiceName: provisioning_states - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: operational_status - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated_ - cli: - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: created_by_type - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: iscsi_target_acl_mode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: disk_pool_tier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000070-split-operation-post.yaml b/src/diskpool/_az_debug/clicommon-000070-split-operation-post.yaml deleted file mode 100644 index 200acccb02d..00000000000 --- a/src/diskpool/_az_debug/clicommon-000070-split-operation-post.yaml +++ /dev/null @@ -1,5997 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: string - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_name - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_action_type - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_provider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_resource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_code - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_message - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_target - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_additional_info_type - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: string - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_name - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_tier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: availability_zone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_id - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: additional_capability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_by - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_by - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: string - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: tracked_resource_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_name - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: string - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_create_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: disk_pool_create_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_name - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_zone_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_dependency_domain_name - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_detail_ip_address - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_list_next_link - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_mapped_luns_item - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_name - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_endpoints_item - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_list_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_create_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: provisioning_states - description: Provisioning state of the iSCSI Target. - cli: - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated_ - description: '' - cli: - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: operational_status - description: Operational status of the resource. - cli: - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: iscsi_target_acl_mode - description: ACL mode for iSCSI Target. - cli: - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: disk_pool_tier - description: SKU of the VM host part of the Disk Pool deployment - cli: - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: tracked_resource_tags - description: Resource tags. - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_create_tags - description: Resource tags. - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_update_tags - description: Resource tags. - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_display - description: Metadata about an operation. - namespace: '' - cli: - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_RP_operation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: storage_pool_operation_list_result_value - description: An array of operations supported by the StoragePool RP. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_list_result - description: List of operations supported by the RP. - namespace: '' - cli: - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: error_response_details - description: The error details. - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_additional_info - description: The resource management error additional info. - namespace: '' - cli: - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: error_response_additional_info - description: The error additional info. - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_response - description: The resource management error response. - namespace: '' - cli: - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error - description: The resource management error response. - namespace: '' - cli: - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: system_metadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: acl_mapped_luns - description: List of LUN names mapped to the ACL. - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: iscsi_target_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_lun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: iscsi_target_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: iscsi_target_properties_endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_target - description: Response for iSCSI Target requests. - namespace: '' - cli: - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_create_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_create_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_create - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_update_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_update_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_update - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: proxy_resource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: resource - description: ARM resource model definition. - namespace: '' - cli: - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: tracked_resource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: disk_pool_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_properties_additional_capabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk_pool - description: Response for Disk Pool request. - namespace: '' - cli: - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: disk_pool_list_result_value - description: An array of Disk pool objects. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_list_result - description: List of Disk Pools - namespace: '' - cli: - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: sku - description: Sku for ARM resource - namespace: '' - cli: - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_create_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_create_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_create_properties_additional_capabilities - description: List of additional capabilities for a Disk Pool. - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: disk_pool_create - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_122 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_update_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: disk_pool_update - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_153 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_zone_info_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_zone_info_additional_capabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_info - description: Disk Pool Sku Details - namespace: '' - cli: - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: disk_pool_zone_list_result_value - description: The list of Disk Pool Skus. - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_list_result - description: List Disk Pool skus operation response. - namespace: '' - cli: - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_132 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_detail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: endpoint_dependency_endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_dependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_endpoints - description: The endpoints that the App Service Environment reaches the service at. - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_list_value - description: Collection of resources. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint_list - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_156 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: iscsi_target_list_value - description: An array of iSCSI Targets in a Disk Pool. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: iscsi_target_list - description: List of iSCSI Targets. - namespace: '' - cli: - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - protocol: {} - language: - default: - name: operations - description: '' - cli: - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - &ref_151 - apiVersions: &ref_137 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_120 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_138 - in: path - - &ref_121 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_139 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_141 - in: header - - &ref_119 - schema: *ref_118 - implementation: Method - required: true - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - http: &ref_142 - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_143 - in: header - signatureParameters: - - *ref_119 - language: - default: - name: '' - description: '' - protocol: - http: &ref_140 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_120 - - *ref_121 - responses: &ref_147 - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_148 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_149 - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_150 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - split-operation-names: &ref_161 - - Create - - Update - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_124 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_125 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_123 - schema: *ref_122 - implementation: Method - required: true - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_123 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_124 - - *ref_125 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_126 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_127 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_126 - - *ref_127 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_128 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_129 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_128 - - *ref_129 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_130 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_131 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_130 - - *ref_131 - responses: - - schema: *ref_132 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependencies_endpoints - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_133 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_134 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_133 - - *ref_134 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - - apiVersions: *ref_137 - parameters: - - *ref_108 - - *ref_113 - - &ref_145 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_138 - - &ref_146 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_139 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_141 - - &ref_144 - schema: *ref_118 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cliKey: diskPoolCreatePayload - protocol: - http: *ref_142 - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_143 - signatureParameters: - - *ref_144 - language: - default: - name: '' - description: '' - protocol: - http: *ref_140 - signatureParameters: - - *ref_145 - - *ref_146 - responses: *ref_147 - exceptions: *ref_148 - extensions: - cli-split-operation-original-operation: *ref_151 - x-ms-examples: *ref_149 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_150 - language: - default: - name: Create - description: Create Disk pool. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: disk_pools - description: '' - cli: - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_152 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_152 - responses: - - schema: *ref_153 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: disk_pool_zones - description: '' - cli: - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_154 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_155 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_154 - - *ref_155 - responses: - - schema: *ref_156 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - &ref_188 - apiVersions: &ref_172 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_158 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_173 - in: path - - &ref_159 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_174 - in: path - - &ref_160 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: &ref_175 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_177 - in: header - - &ref_157 - schema: *ref_42 - implementation: Method - required: true - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - http: &ref_178 - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_179 - in: header - signatureParameters: - - *ref_157 - language: - default: - name: '' - description: '' - protocol: - http: &ref_176 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_158 - - *ref_159 - - *ref_160 - responses: &ref_184 - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_185 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_186 - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_187 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - split-operation-names: *ref_161 - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_163 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_164 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_165 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_162 - schema: *ref_43 - implementation: Method - required: true - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_162 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_163 - - *ref_164 - - *ref_165 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_166 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_167 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_168 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_166 - - *ref_167 - - *ref_168 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_169 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_170 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_171 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_169 - - *ref_170 - - *ref_171 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - - apiVersions: *ref_172 - parameters: - - *ref_108 - - *ref_113 - - &ref_181 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_173 - - &ref_182 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_174 - - &ref_183 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - protocol: - http: *ref_175 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_177 - - &ref_180 - schema: *ref_42 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cliKey: iscsiTargetCreatePayload - protocol: - http: *ref_178 - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_179 - signatureParameters: - - *ref_180 - language: - default: - name: '' - description: '' - protocol: - http: *ref_176 - signatureParameters: - - *ref_181 - - *ref_182 - - *ref_183 - responses: *ref_184 - exceptions: *ref_185 - extensions: - cli-split-operation-original-operation: *ref_188 - x-ms-examples: *ref_186 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_187 - language: - default: - name: Create - description: Create an iSCSI Target. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: iscsi_targets - description: '' - cli: - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -language: - default: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000080-m4-flatten-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000080-m4-flatten-post-simplified.yaml deleted file mode 100644 index 06dd64da985..00000000000 --- a/src/diskpool/_az_debug/clicommon-000080-m4-flatten-post-simplified.yaml +++ /dev/null @@ -1,1167 +0,0 @@ -operationGroups: - all: - - operationGroupName: operations - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pools - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: disk_pool_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) - cli: - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - bodySchema: disk_pool_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependencies_endpoints - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pool_zones - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: location(string^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: iscsi_targets - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: iscsi_target_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) - cli: - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - bodySchema: iscsi_target_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] -schemas: - objects: - all: - - schemaName: storage_pool_operation_list_result - cli: - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - properties: - - propertyName: value(storage_pool_operation_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(storage_pool_operation_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: storage_pool_RP_operation - cli: - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - properties: - - propertyName: name(storage_pool_RP_operation_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(storage_pool_RP_operation_action_type^string) - cli: - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(storage_pool_operation_display^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(storage_pool_RP_operation_origin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: storage_pool_operation_display - cli: - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - properties: - - propertyName: provider(storage_pool_operation_display_provider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(storage_pool_operation_display_resource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(storage_pool_operation_display_operation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(storage_pool_operation_display_description^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: error - cli: - cliKey: Error - cliM4Path: schemas$$objects['Error'] - properties: - - propertyName: error(error_response^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - - schemaName: error_response - cli: - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - properties: - - propertyName: code(error_response_code^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(error_response_message^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(error_response_target^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(error_response_details^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(error_response_additional_info^array) - cli: - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: error_additional_info - cli: - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - properties: - - propertyName: type(error_additional_info_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: disk_pool_list_result - cli: - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - properties: - - propertyName: value(disk_pool_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(disk_pool_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: disk_pool - cli: - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(disk_pool_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(disk_pool_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(disk_pool_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: sku - cli: - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - properties: - - propertyName: name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - - schemaName: disk - cli: - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - properties: - - propertyName: id(disk_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - - schemaName: system_metadata - cli: - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - properties: - - propertyName: created_by(system_metadata_created_by^string) - cli: - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(created_by_type^choice) - cli: - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(system_metadata_last_modified_by^string) - cli: - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(created_by_type^choice) - cli: - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: tracked_resource - cli: - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - properties: - - propertyName: tags(tracked_resource_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(tracked_resource_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: resource - cli: - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - properties: - - propertyName: id(resource_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(resource_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(resource_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: disk_pool_create - cli: - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - properties: - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(disk_pool_create_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(disk_pool_create_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(disk_pool_create_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(disk_pool_create_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(disk_pool_create_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(disk_pool_create_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: disk_pool_update - cli: - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - properties: - - propertyName: tags(disk_pool_update_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(disk_pool_update_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: disk_pool_zone_list_result - cli: - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - properties: - - propertyName: value(disk_pool_zone_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(disk_pool_zone_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: disk_pool_zone_info - cli: - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - properties: - - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: outbound_environment_endpoint_list - cli: - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - properties: - - propertyName: value(outbound_environment_endpoint_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: outbound_environment_endpoint - cli: - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - properties: - - propertyName: category(outbound_environment_endpoint_category^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: endpoint_dependency - cli: - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - properties: - - propertyName: domain_name(endpoint_dependency_domain_name^string) - cli: - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) - cli: - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: endpoint_detail - cli: - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - properties: - - propertyName: ip_address(endpoint_detail_ip_address^string) - cli: - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: iscsi_target_list - cli: - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - properties: - - propertyName: value(iscsi_target_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(iscsi_target_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: iscsi_target - cli: - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(iscsi_target_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(iscsi_target_properties_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: acl - cli: - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - properties: - - propertyName: initiator_iqn(acl_initiator_iqn^string) - cli: - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(acl_mapped_luns^array) - cli: - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: iscsi_lun - cli: - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - properties: - - propertyName: name(iscsi_lun_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: iscsi_target_create - cli: - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - properties: - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_create_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: iscsi_target_update - cli: - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - properties: - - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_update_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: proxy_resource - cli: - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - choices: - all: - - choiceName: provisioning_states - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: operational_status - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated_ - cli: - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: created_by_type - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: iscsi_target_acl_mode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: disk_pool_tier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000080-m4-flatten-post.yaml b/src/diskpool/_az_debug/clicommon-000080-m4-flatten-post.yaml deleted file mode 100644 index 14b866c8a9f..00000000000 --- a/src/diskpool/_az_debug/clicommon-000080-m4-flatten-post.yaml +++ /dev/null @@ -1,5772 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: string - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_name - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_action_type - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_provider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_resource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_code - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_message - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_target - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_additional_info_type - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: string - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_name - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_tier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: availability_zone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_id - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: additional_capability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_by - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_by - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: string - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: tracked_resource_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_name - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: string - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_create_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: disk_pool_create_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_name - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_zone_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_dependency_domain_name - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_detail_ip_address - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_list_next_link - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_mapped_luns_item - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_name - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_endpoints_item - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_list_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_create_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: provisioning_states - description: Provisioning state of the iSCSI Target. - cli: - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated_ - description: '' - cli: - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: operational_status - description: Operational status of the resource. - cli: - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: iscsi_target_acl_mode - description: ACL mode for iSCSI Target. - cli: - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: disk_pool_tier - description: SKU of the VM host part of the Disk Pool deployment - cli: - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: tracked_resource_tags - description: Resource tags. - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_create_tags - description: Resource tags. - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_update_tags - description: Resource tags. - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_display - description: Metadata about an operation. - namespace: '' - cli: - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_RP_operation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: storage_pool_operation_list_result_value - description: An array of operations supported by the StoragePool RP. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_list_result - description: List of operations supported by the RP. - namespace: '' - cli: - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: error_response_details - description: The error details. - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_additional_info - description: The resource management error additional info. - namespace: '' - cli: - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: error_response_additional_info - description: The error additional info. - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_response - description: The resource management error response. - namespace: '' - cli: - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error - description: The resource management error response. - namespace: '' - cli: - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: system_metadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: acl_mapped_luns - description: List of LUN names mapped to the ACL. - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: iscsi_target_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_lun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: iscsi_target_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: iscsi_target_properties_endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_target - description: Response for iSCSI Target requests. - namespace: '' - cli: - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_create_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_create_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_create - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_update_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_update_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_update - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: proxy_resource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: resource - description: ARM resource model definition. - namespace: '' - cli: - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: tracked_resource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: disk_pool_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_properties_additional_capabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk_pool - description: Response for Disk Pool request. - namespace: '' - cli: - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: disk_pool_list_result_value - description: An array of Disk pool objects. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_list_result - description: List of Disk Pools - namespace: '' - cli: - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: sku - description: Sku for ARM resource - namespace: '' - cli: - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_create_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_create_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_create_properties_additional_capabilities - description: List of additional capabilities for a Disk Pool. - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: disk_pool_create - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_122 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_update_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: disk_pool_update - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_138 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_zone_info_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_zone_info_additional_capabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_info - description: Disk Pool Sku Details - namespace: '' - cli: - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: disk_pool_zone_list_result_value - description: The list of Disk Pool Skus. - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_list_result - description: List Disk Pool skus operation response. - namespace: '' - cli: - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_132 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_detail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: endpoint_dependency_endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_dependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_endpoints - description: The endpoints that the App Service Environment reaches the service at. - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_list_value - description: Collection of resources. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint_list - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_141 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: iscsi_target_list_value - description: An array of iSCSI Targets in a Disk Pool. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: iscsi_target_list - description: List of iSCSI Targets. - namespace: '' - cli: - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - protocol: {} - language: - default: - name: operations - description: '' - cli: - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_120 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_121 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_119 - schema: *ref_118 - implementation: Method - required: true - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_119 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_120 - - *ref_121 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_124 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_125 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_123 - schema: *ref_122 - implementation: Method - required: true - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_123 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_124 - - *ref_125 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_126 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_127 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_126 - - *ref_127 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_128 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_129 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_128 - - *ref_129 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_130 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_131 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_130 - - *ref_131 - responses: - - schema: *ref_132 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependencies_endpoints - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_133 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_134 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_133 - - *ref_134 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - language: - default: - name: disk_pools - description: '' - cli: - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_137 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_137 - responses: - - schema: *ref_138 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: disk_pool_zones - description: '' - cli: - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_139 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_140 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_139 - - *ref_140 - responses: - - schema: *ref_141 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_143 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_144 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_145 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_142 - schema: *ref_42 - implementation: Method - required: true - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_142 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_143 - - *ref_144 - - *ref_145 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_147 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_148 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_149 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_146 - schema: *ref_43 - implementation: Method - required: true - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_146 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_147 - - *ref_148 - - *ref_149 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_150 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_151 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_152 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_150 - - *ref_151 - - *ref_152 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_153 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_154 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_155 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_153 - - *ref_154 - - *ref_155 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - language: - default: - name: iscsi_targets - description: '' - cli: - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -language: - default: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000090-complex-marker-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000090-complex-marker-pre-simplified.yaml deleted file mode 100644 index f7dc27dc83a..00000000000 --- a/src/diskpool/_az_debug/clicommon-000090-complex-marker-pre-simplified.yaml +++ /dev/null @@ -1,1244 +0,0 @@ -operationGroups: - all: - - operationGroupName: operations - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pools - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: disk_pool_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) - cli: - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - bodySchema: disk_pool_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependencies_endpoints - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cliKey: diskPoolCreatePayload - bodySchema: disk_pool_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationGroupName: disk_pool_zones - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: location(string^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: iscsi_targets - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: iscsi_target_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) - cli: - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - bodySchema: iscsi_target_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cliKey: iscsiTargetCreatePayload - bodySchema: iscsi_target_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept -schemas: - objects: - all: - - schemaName: storage_pool_operation_list_result - cli: - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - properties: - - propertyName: value(storage_pool_operation_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(storage_pool_operation_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: storage_pool_RP_operation - cli: - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - properties: - - propertyName: name(storage_pool_RP_operation_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(storage_pool_RP_operation_action_type^string) - cli: - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(storage_pool_operation_display^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(storage_pool_RP_operation_origin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: storage_pool_operation_display - cli: - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - properties: - - propertyName: provider(storage_pool_operation_display_provider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(storage_pool_operation_display_resource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(storage_pool_operation_display_operation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(storage_pool_operation_display_description^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: error - cli: - cliKey: Error - cliM4Path: schemas$$objects['Error'] - properties: - - propertyName: error(error_response^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - - schemaName: error_response - cli: - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - properties: - - propertyName: code(error_response_code^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(error_response_message^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(error_response_target^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(error_response_details^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(error_response_additional_info^array) - cli: - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: error_additional_info - cli: - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - properties: - - propertyName: type(error_additional_info_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: disk_pool_list_result - cli: - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - properties: - - propertyName: value(disk_pool_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(disk_pool_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: disk_pool - cli: - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(disk_pool_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(disk_pool_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(disk_pool_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: sku - cli: - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - properties: - - propertyName: name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - - schemaName: disk - cli: - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - properties: - - propertyName: id(disk_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - - schemaName: system_metadata - cli: - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - properties: - - propertyName: created_by(system_metadata_created_by^string) - cli: - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(created_by_type^choice) - cli: - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(system_metadata_last_modified_by^string) - cli: - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(created_by_type^choice) - cli: - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: tracked_resource - cli: - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - properties: - - propertyName: tags(tracked_resource_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(tracked_resource_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: resource - cli: - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - properties: - - propertyName: id(resource_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(resource_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(resource_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: disk_pool_create - cli: - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - properties: - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(disk_pool_create_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(disk_pool_create_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(disk_pool_create_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(disk_pool_create_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(disk_pool_create_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(disk_pool_create_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: disk_pool_update - cli: - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - properties: - - propertyName: tags(disk_pool_update_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(disk_pool_update_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: disk_pool_zone_list_result - cli: - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - properties: - - propertyName: value(disk_pool_zone_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(disk_pool_zone_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: disk_pool_zone_info - cli: - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - properties: - - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: outbound_environment_endpoint_list - cli: - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - properties: - - propertyName: value(outbound_environment_endpoint_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: outbound_environment_endpoint - cli: - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - properties: - - propertyName: category(outbound_environment_endpoint_category^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: endpoint_dependency - cli: - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - properties: - - propertyName: domain_name(endpoint_dependency_domain_name^string) - cli: - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) - cli: - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: endpoint_detail - cli: - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - properties: - - propertyName: ip_address(endpoint_detail_ip_address^string) - cli: - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: iscsi_target_list - cli: - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - properties: - - propertyName: value(iscsi_target_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(iscsi_target_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: iscsi_target - cli: - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(iscsi_target_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(iscsi_target_properties_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: acl - cli: - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - properties: - - propertyName: initiator_iqn(acl_initiator_iqn^string) - cli: - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(acl_mapped_luns^array) - cli: - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: iscsi_lun - cli: - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - properties: - - propertyName: name(iscsi_lun_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: iscsi_target_create - cli: - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - properties: - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_create_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: iscsi_target_update - cli: - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - properties: - - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_update_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: proxy_resource - cli: - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - choices: - all: - - choiceName: provisioning_states - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: operational_status - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated_ - cli: - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: created_by_type - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: iscsi_target_acl_mode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: disk_pool_tier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000090-complex-marker-pre.yaml b/src/diskpool/_az_debug/clicommon-000090-complex-marker-pre.yaml deleted file mode 100644 index f4020752ef0..00000000000 --- a/src/diskpool/_az_debug/clicommon-000090-complex-marker-pre.yaml +++ /dev/null @@ -1,5997 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: string - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_name - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_action_type - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_provider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_resource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_code - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_message - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_target - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_additional_info_type - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: string - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_name - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_tier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: availability_zone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_id - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: additional_capability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_by - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_by - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: string - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: tracked_resource_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_name - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: string - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_create_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: disk_pool_create_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_name - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_zone_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_dependency_domain_name - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_detail_ip_address - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_list_next_link - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_mapped_luns_item - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_name - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_endpoints_item - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_list_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_create_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: provisioning_states - description: Provisioning state of the iSCSI Target. - cli: - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated_ - description: '' - cli: - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: operational_status - description: Operational status of the resource. - cli: - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: iscsi_target_acl_mode - description: ACL mode for iSCSI Target. - cli: - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: disk_pool_tier - description: SKU of the VM host part of the Disk Pool deployment - cli: - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: tracked_resource_tags - description: Resource tags. - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_create_tags - description: Resource tags. - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_update_tags - description: Resource tags. - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_display - description: Metadata about an operation. - namespace: '' - cli: - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_RP_operation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: storage_pool_operation_list_result_value - description: An array of operations supported by the StoragePool RP. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_list_result - description: List of operations supported by the RP. - namespace: '' - cli: - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: error_response_details - description: The error details. - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_additional_info - description: The resource management error additional info. - namespace: '' - cli: - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: error_response_additional_info - description: The error additional info. - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_response - description: The resource management error response. - namespace: '' - cli: - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error - description: The resource management error response. - namespace: '' - cli: - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: system_metadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: acl_mapped_luns - description: List of LUN names mapped to the ACL. - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: iscsi_target_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_lun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: iscsi_target_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: iscsi_target_properties_endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_target - description: Response for iSCSI Target requests. - namespace: '' - cli: - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_create_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_create_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_create - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_update_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_update_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_update - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: proxy_resource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: resource - description: ARM resource model definition. - namespace: '' - cli: - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: tracked_resource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: disk_pool_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_properties_additional_capabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk_pool - description: Response for Disk Pool request. - namespace: '' - cli: - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: disk_pool_list_result_value - description: An array of Disk pool objects. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_list_result - description: List of Disk Pools - namespace: '' - cli: - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: sku - description: Sku for ARM resource - namespace: '' - cli: - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_create_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_create_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_create_properties_additional_capabilities - description: List of additional capabilities for a Disk Pool. - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: disk_pool_create - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_122 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_update_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: disk_pool_update - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_153 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_zone_info_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_zone_info_additional_capabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_info - description: Disk Pool Sku Details - namespace: '' - cli: - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: disk_pool_zone_list_result_value - description: The list of Disk Pool Skus. - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_list_result - description: List Disk Pool skus operation response. - namespace: '' - cli: - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_132 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_detail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: endpoint_dependency_endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_dependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_endpoints - description: The endpoints that the App Service Environment reaches the service at. - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_list_value - description: Collection of resources. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint_list - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_156 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: iscsi_target_list_value - description: An array of iSCSI Targets in a Disk Pool. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: iscsi_target_list - description: List of iSCSI Targets. - namespace: '' - cli: - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - protocol: {} - language: - default: - name: operations - description: '' - cli: - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - &ref_149 - apiVersions: &ref_137 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_120 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_138 - in: path - - &ref_121 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_139 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_140 - in: header - - &ref_119 - schema: *ref_118 - implementation: Method - required: true - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - http: &ref_141 - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_142 - in: header - signatureParameters: - - *ref_119 - language: - default: - name: '' - description: '' - protocol: - http: &ref_144 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_120 - - *ref_121 - responses: &ref_147 - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_148 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_150 - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_151 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - split-operation-names: &ref_161 - - Create - - Update - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_124 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_125 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_123 - schema: *ref_122 - implementation: Method - required: true - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_123 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_124 - - *ref_125 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_126 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_127 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_126 - - *ref_127 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_128 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_129 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_128 - - *ref_129 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_130 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_131 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_130 - - *ref_131 - responses: - - schema: *ref_132 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependencies_endpoints - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_133 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_134 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_133 - - *ref_134 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - - apiVersions: *ref_137 - parameters: - - *ref_108 - - *ref_113 - - &ref_145 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_138 - - &ref_146 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_139 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_140 - - &ref_143 - schema: *ref_118 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cliKey: diskPoolCreatePayload - protocol: - http: *ref_141 - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_142 - signatureParameters: - - *ref_143 - language: - default: - name: '' - description: '' - protocol: - http: *ref_144 - signatureParameters: - - *ref_145 - - *ref_146 - responses: *ref_147 - exceptions: *ref_148 - extensions: - cli-split-operation-original-operation: *ref_149 - x-ms-examples: *ref_150 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_151 - language: - default: - name: Create - description: Create Disk pool. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: disk_pools - description: '' - cli: - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_152 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_152 - responses: - - schema: *ref_153 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: disk_pool_zones - description: '' - cli: - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_154 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_155 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_154 - - *ref_155 - responses: - - schema: *ref_156 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - &ref_186 - apiVersions: &ref_172 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_158 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_173 - in: path - - &ref_159 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_174 - in: path - - &ref_160 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: &ref_175 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_176 - in: header - - &ref_157 - schema: *ref_42 - implementation: Method - required: true - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - http: &ref_177 - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_178 - in: header - signatureParameters: - - *ref_157 - language: - default: - name: '' - description: '' - protocol: - http: &ref_180 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_158 - - *ref_159 - - *ref_160 - responses: &ref_184 - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_185 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_187 - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_188 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - split-operation-names: *ref_161 - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_163 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_164 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_165 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_162 - schema: *ref_43 - implementation: Method - required: true - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_162 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_163 - - *ref_164 - - *ref_165 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_166 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_167 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_168 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_166 - - *ref_167 - - *ref_168 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_169 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_170 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_171 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_169 - - *ref_170 - - *ref_171 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - - apiVersions: *ref_172 - parameters: - - *ref_108 - - *ref_113 - - &ref_181 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_173 - - &ref_182 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_174 - - &ref_183 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - protocol: - http: *ref_175 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_176 - - &ref_179 - schema: *ref_42 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cliKey: iscsiTargetCreatePayload - protocol: - http: *ref_177 - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_178 - signatureParameters: - - *ref_179 - language: - default: - name: '' - description: '' - protocol: - http: *ref_180 - signatureParameters: - - *ref_181 - - *ref_182 - - *ref_183 - responses: *ref_184 - exceptions: *ref_185 - extensions: - cli-split-operation-original-operation: *ref_186 - x-ms-examples: *ref_187 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_188 - language: - default: - name: Create - description: Create an iSCSI Target. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: iscsi_targets - description: '' - cli: - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -language: - default: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000100-complex-marker-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000100-complex-marker-post-simplified.yaml deleted file mode 100644 index fac97ca2840..00000000000 --- a/src/diskpool/_az_debug/clicommon-000100-complex-marker-post-simplified.yaml +++ /dev/null @@ -1,1413 +0,0 @@ -operationGroups: - all: - - operationGroupName: operations - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pools - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: disk_pool_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) - cli: - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - bodySchema: disk_pool_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependencies_endpoints - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cliKey: diskPoolCreatePayload - bodySchema: disk_pool_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationGroupName: disk_pool_zones - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: location(string^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: iscsi_targets - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: iscsi_target_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) - cli: - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - bodySchema: iscsi_target_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cliKey: iscsiTargetCreatePayload - bodySchema: iscsi_target_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept -schemas: - objects: - all: - - schemaName: storage_pool_operation_list_result - cli: - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: value(storage_pool_operation_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(storage_pool_operation_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: storage_pool_RP_operation - cli: - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - cli-mark: checked - properties: - - propertyName: name(storage_pool_RP_operation_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(storage_pool_RP_operation_action_type^string) - cli: - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(storage_pool_operation_display^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(storage_pool_RP_operation_origin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: storage_pool_operation_display - cli: - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - cli-complexity: object_simple - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - cli-mark: checked - properties: - - propertyName: provider(storage_pool_operation_display_provider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(storage_pool_operation_display_resource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(storage_pool_operation_display_operation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(storage_pool_operation_display_description^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: error - cli: - cliKey: Error - cliM4Path: schemas$$objects['Error'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - cli-mark: checked - properties: - - propertyName: error(error_response^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - - schemaName: error_response - cli: - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - cli-mark: checked - cli-in-circle: true - properties: - - propertyName: code(error_response_code^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(error_response_message^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(error_response_target^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(error_response_details^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(error_response_additional_info^array) - cli: - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: error_additional_info - cli: - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - cli-mark: checked - properties: - - propertyName: type(error_additional_info_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: disk_pool_list_result - cli: - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: value(disk_pool_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(disk_pool_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: disk_pool - cli: - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(disk_pool_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(disk_pool_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(disk_pool_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: sku - cli: - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - cli-complexity: object_simple - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - cli-mark: checked - properties: - - propertyName: name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - - schemaName: disk - cli: - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - cli-complexity: object_simple - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - cli-mark: checked - properties: - - propertyName: id(disk_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - - schemaName: system_metadata - cli: - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - cli-complexity: object_simple - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - cli-mark: checked - properties: - - propertyName: created_by(system_metadata_created_by^string) - cli: - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(created_by_type^choice) - cli: - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(system_metadata_last_modified_by^string) - cli: - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(created_by_type^choice) - cli: - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: tracked_resource - cli: - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: tags(tracked_resource_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(tracked_resource_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: resource - cli: - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - cli-complexity: object_simple - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - cli-mark: checked - properties: - - propertyName: id(resource_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(resource_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(resource_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: disk_pool_create - cli: - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(disk_pool_create_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(disk_pool_create_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(disk_pool_create_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(disk_pool_create_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(disk_pool_create_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(disk_pool_create_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: disk_pool_update - cli: - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: tags(disk_pool_update_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(disk_pool_update_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: disk_pool_zone_list_result - cli: - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: value(disk_pool_zone_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(disk_pool_zone_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: disk_pool_zone_info - cli: - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: outbound_environment_endpoint_list - cli: - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: value(outbound_environment_endpoint_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: outbound_environment_endpoint - cli: - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: category(outbound_environment_endpoint_category^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: endpoint_dependency - cli: - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: domain_name(endpoint_dependency_domain_name^string) - cli: - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) - cli: - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: endpoint_detail - cli: - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - cli-complexity: object_simple - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - cli-mark: checked - properties: - - propertyName: ip_address(endpoint_detail_ip_address^string) - cli: - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: iscsi_target_list - cli: - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: value(iscsi_target_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(iscsi_target_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: iscsi_target - cli: - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(iscsi_target_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(iscsi_target_properties_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: acl - cli: - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - cli-complexity: object_simple - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: initiator_iqn(acl_initiator_iqn^string) - cli: - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(acl_mapped_luns^array) - cli: - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: iscsi_lun - cli: - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - cli-complexity: object_simple - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - cli-mark: checked - properties: - - propertyName: name(iscsi_lun_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: iscsi_target_create - cli: - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_create_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: iscsi_target_update - cli: - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_update_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: proxy_resource - cli: - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - cli-complexity: object_simple - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - cli-mark: checked - choices: - all: - - choiceName: provisioning_states - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: operational_status - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated_ - cli: - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: created_by_type - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: iscsi_target_acl_mode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: disk_pool_tier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000100-complex-marker-post.yaml b/src/diskpool/_az_debug/clicommon-000100-complex-marker-post.yaml deleted file mode 100644 index c1dc7620a5a..00000000000 --- a/src/diskpool/_az_debug/clicommon-000100-complex-marker-post.yaml +++ /dev/null @@ -1,6254 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: string - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_name - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_action_type - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_provider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_resource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_code - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_message - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_target - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_additional_info_type - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: string - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_name - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_tier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: availability_zone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_id - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: additional_capability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_by - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_by - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: string - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: tracked_resource_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_name - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: string - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_create_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: disk_pool_create_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_name - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_zone_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_dependency_domain_name - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_detail_ip_address - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_list_next_link - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_mapped_luns_item - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_name - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_endpoints_item - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_list_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_create_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: provisioning_states - description: Provisioning state of the iSCSI Target. - cli: - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated_ - description: '' - cli: - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: operational_status - description: Operational status of the resource. - cli: - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: iscsi_target_acl_mode - description: ACL mode for iSCSI Target. - cli: - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: disk_pool_tier - description: SKU of the VM host part of the Disk Pool deployment - cli: - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: tracked_resource_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_create_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_update_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_display - description: Metadata about an operation. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_RP_operation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: storage_pool_operation_list_result_value - description: An array of operations supported by the StoragePool RP. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_list_result - description: List of operations supported by the RP. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: error_response_details - description: The error details. - cli: - cli-complexity: array_complex - cli-in-circle: true - cli-mark: checked - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_additional_info - description: The resource management error additional info. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: error_response_additional_info - description: The error additional info. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_response - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: system_metadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: acl_mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: iscsi_target_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_lun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: iscsi_target_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: iscsi_target_properties_endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_target - description: Response for iSCSI Target requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_create_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_create_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_create - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_update_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_update_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_update - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: proxy_resource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: resource - description: ARM resource model definition. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: tracked_resource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: disk_pool_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_properties_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk_pool - description: Response for Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: disk_pool_list_result_value - description: An array of Disk pool objects. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_list_result - description: List of Disk Pools - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: sku - description: Sku for ARM resource - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_create_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_create_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_create_properties_additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: disk_pool_create - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_122 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_update_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: disk_pool_update - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_153 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_zone_info_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_zone_info_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_info - description: Disk Pool Sku Details - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: disk_pool_zone_list_result_value - description: The list of Disk Pool Skus. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_list_result - description: List Disk Pool skus operation response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_132 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_detail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: endpoint_dependency_endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_dependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_list_value - description: Collection of resources. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint_list - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_156 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: iscsi_target_list_value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: iscsi_target_list - description: List of iSCSI Targets. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - protocol: {} - language: - default: - name: operations - description: '' - cli: - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - &ref_149 - apiVersions: &ref_137 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_120 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_138 - in: path - - &ref_121 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_139 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_140 - in: header - - &ref_119 - schema: *ref_118 - implementation: Method - required: true - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - http: &ref_141 - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_142 - in: header - signatureParameters: - - *ref_119 - language: - default: - name: '' - description: '' - protocol: - http: &ref_144 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_120 - - *ref_121 - responses: &ref_147 - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_148 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_150 - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_151 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - split-operation-names: &ref_161 - - Create - - Update - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_124 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_125 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_123 - schema: *ref_122 - implementation: Method - required: true - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_123 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_124 - - *ref_125 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_126 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_127 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_126 - - *ref_127 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_128 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_129 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_128 - - *ref_129 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_130 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_131 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_130 - - *ref_131 - responses: - - schema: *ref_132 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependencies_endpoints - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_133 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_134 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_133 - - *ref_134 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - - apiVersions: *ref_137 - parameters: - - *ref_108 - - *ref_113 - - &ref_145 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_138 - - &ref_146 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_139 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_140 - - &ref_143 - schema: *ref_118 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cliKey: diskPoolCreatePayload - protocol: - http: *ref_141 - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_142 - signatureParameters: - - *ref_143 - language: - default: - name: '' - description: '' - protocol: - http: *ref_144 - signatureParameters: - - *ref_145 - - *ref_146 - responses: *ref_147 - exceptions: *ref_148 - extensions: - cli-split-operation-original-operation: *ref_149 - x-ms-examples: *ref_150 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_151 - language: - default: - name: Create - description: Create Disk pool. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: disk_pools - description: '' - cli: - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_152 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_152 - responses: - - schema: *ref_153 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: disk_pool_zones - description: '' - cli: - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_154 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_155 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_154 - - *ref_155 - responses: - - schema: *ref_156 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - &ref_186 - apiVersions: &ref_172 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_158 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_173 - in: path - - &ref_159 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_174 - in: path - - &ref_160 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: &ref_175 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_176 - in: header - - &ref_157 - schema: *ref_42 - implementation: Method - required: true - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - http: &ref_177 - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_178 - in: header - signatureParameters: - - *ref_157 - language: - default: - name: '' - description: '' - protocol: - http: &ref_180 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_158 - - *ref_159 - - *ref_160 - responses: &ref_184 - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_185 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_187 - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_188 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - split-operation-names: *ref_161 - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_163 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_164 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_165 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_162 - schema: *ref_43 - implementation: Method - required: true - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_162 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_163 - - *ref_164 - - *ref_165 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_166 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_167 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_168 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_166 - - *ref_167 - - *ref_168 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_169 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_170 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_171 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_169 - - *ref_170 - - *ref_171 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - - apiVersions: *ref_172 - parameters: - - *ref_108 - - *ref_113 - - &ref_181 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_173 - - &ref_182 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_174 - - &ref_183 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - protocol: - http: *ref_175 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_176 - - &ref_179 - schema: *ref_42 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cliKey: iscsiTargetCreatePayload - protocol: - http: *ref_177 - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_178 - signatureParameters: - - *ref_179 - language: - default: - name: '' - description: '' - protocol: - http: *ref_180 - signatureParameters: - - *ref_181 - - *ref_182 - - *ref_183 - responses: *ref_184 - exceptions: *ref_185 - extensions: - cli-split-operation-original-operation: *ref_186 - x-ms-examples: *ref_187 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_188 - language: - default: - name: Create - description: Create an iSCSI Target. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: iscsi_targets - description: '' - cli: - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -language: - default: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000110-m4namer-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000110-m4namer-pre-simplified.yaml deleted file mode 100644 index 06dd64da985..00000000000 --- a/src/diskpool/_az_debug/clicommon-000110-m4namer-pre-simplified.yaml +++ /dev/null @@ -1,1167 +0,0 @@ -operationGroups: - all: - - operationGroupName: operations - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pools - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: disk_pool_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) - cli: - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - bodySchema: disk_pool_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependencies_endpoints - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pool_zones - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: location(string^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: iscsi_targets - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: iscsi_target_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) - cli: - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - bodySchema: iscsi_target_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] -schemas: - objects: - all: - - schemaName: storage_pool_operation_list_result - cli: - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - properties: - - propertyName: value(storage_pool_operation_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(storage_pool_operation_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: storage_pool_RP_operation - cli: - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - properties: - - propertyName: name(storage_pool_RP_operation_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(storage_pool_RP_operation_action_type^string) - cli: - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(storage_pool_operation_display^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(storage_pool_RP_operation_origin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: storage_pool_operation_display - cli: - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - properties: - - propertyName: provider(storage_pool_operation_display_provider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(storage_pool_operation_display_resource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(storage_pool_operation_display_operation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(storage_pool_operation_display_description^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: error - cli: - cliKey: Error - cliM4Path: schemas$$objects['Error'] - properties: - - propertyName: error(error_response^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - - schemaName: error_response - cli: - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - properties: - - propertyName: code(error_response_code^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(error_response_message^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(error_response_target^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(error_response_details^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(error_response_additional_info^array) - cli: - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: error_additional_info - cli: - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - properties: - - propertyName: type(error_additional_info_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: disk_pool_list_result - cli: - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - properties: - - propertyName: value(disk_pool_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(disk_pool_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: disk_pool - cli: - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(disk_pool_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(disk_pool_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(disk_pool_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: sku - cli: - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - properties: - - propertyName: name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - - schemaName: disk - cli: - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - properties: - - propertyName: id(disk_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - - schemaName: system_metadata - cli: - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - properties: - - propertyName: created_by(system_metadata_created_by^string) - cli: - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(created_by_type^choice) - cli: - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(system_metadata_last_modified_by^string) - cli: - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(created_by_type^choice) - cli: - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: tracked_resource - cli: - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - properties: - - propertyName: tags(tracked_resource_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(tracked_resource_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: resource - cli: - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - properties: - - propertyName: id(resource_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(resource_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(resource_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: disk_pool_create - cli: - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - properties: - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(disk_pool_create_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(disk_pool_create_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(disk_pool_create_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(disk_pool_create_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(disk_pool_create_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(disk_pool_create_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: disk_pool_update - cli: - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - properties: - - propertyName: tags(disk_pool_update_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(disk_pool_update_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: disk_pool_zone_list_result - cli: - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - properties: - - propertyName: value(disk_pool_zone_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(disk_pool_zone_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: disk_pool_zone_info - cli: - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - properties: - - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: outbound_environment_endpoint_list - cli: - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - properties: - - propertyName: value(outbound_environment_endpoint_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: outbound_environment_endpoint - cli: - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - properties: - - propertyName: category(outbound_environment_endpoint_category^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: endpoint_dependency - cli: - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - properties: - - propertyName: domain_name(endpoint_dependency_domain_name^string) - cli: - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) - cli: - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: endpoint_detail - cli: - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - properties: - - propertyName: ip_address(endpoint_detail_ip_address^string) - cli: - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: iscsi_target_list - cli: - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - properties: - - propertyName: value(iscsi_target_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(iscsi_target_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: iscsi_target - cli: - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(iscsi_target_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(iscsi_target_properties_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: acl - cli: - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - properties: - - propertyName: initiator_iqn(acl_initiator_iqn^string) - cli: - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(acl_mapped_luns^array) - cli: - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: iscsi_lun - cli: - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - properties: - - propertyName: name(iscsi_lun_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: iscsi_target_create - cli: - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - properties: - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_create_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: iscsi_target_update - cli: - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - properties: - - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_update_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: proxy_resource - cli: - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - choices: - all: - - choiceName: provisioning_states - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: operational_status - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated_ - cli: - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: created_by_type - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: iscsi_target_acl_mode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: disk_pool_tier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000110-m4namer-pre.yaml b/src/diskpool/_az_debug/clicommon-000110-m4namer-pre.yaml deleted file mode 100644 index 14b866c8a9f..00000000000 --- a/src/diskpool/_az_debug/clicommon-000110-m4namer-pre.yaml +++ /dev/null @@ -1,5772 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: string - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_name - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_action_type - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_provider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_resource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_code - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_message - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_target - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_additional_info_type - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: string - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_name - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_tier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: availability_zone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_id - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: additional_capability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_by - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_by - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: string - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: tracked_resource_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_name - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: string - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_create_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: disk_pool_create_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_name - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_zone_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_dependency_domain_name - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_detail_ip_address - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_list_next_link - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_mapped_luns_item - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_name - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_endpoints_item - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_list_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_create_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: provisioning_states - description: Provisioning state of the iSCSI Target. - cli: - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated_ - description: '' - cli: - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: operational_status - description: Operational status of the resource. - cli: - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: iscsi_target_acl_mode - description: ACL mode for iSCSI Target. - cli: - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: disk_pool_tier - description: SKU of the VM host part of the Disk Pool deployment - cli: - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: tracked_resource_tags - description: Resource tags. - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_create_tags - description: Resource tags. - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_update_tags - description: Resource tags. - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_display - description: Metadata about an operation. - namespace: '' - cli: - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_RP_operation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: storage_pool_operation_list_result_value - description: An array of operations supported by the StoragePool RP. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_list_result - description: List of operations supported by the RP. - namespace: '' - cli: - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: error_response_details - description: The error details. - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_additional_info - description: The resource management error additional info. - namespace: '' - cli: - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: error_response_additional_info - description: The error additional info. - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_response - description: The resource management error response. - namespace: '' - cli: - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error - description: The resource management error response. - namespace: '' - cli: - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: system_metadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: acl_mapped_luns - description: List of LUN names mapped to the ACL. - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: iscsi_target_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_lun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: iscsi_target_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: iscsi_target_properties_endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_target - description: Response for iSCSI Target requests. - namespace: '' - cli: - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_create_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_create_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_create - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_update_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_update_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_update - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: proxy_resource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: resource - description: ARM resource model definition. - namespace: '' - cli: - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: tracked_resource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: disk_pool_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_properties_additional_capabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk_pool - description: Response for Disk Pool request. - namespace: '' - cli: - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: disk_pool_list_result_value - description: An array of Disk pool objects. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_list_result - description: List of Disk Pools - namespace: '' - cli: - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: sku - description: Sku for ARM resource - namespace: '' - cli: - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_create_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_create_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_create_properties_additional_capabilities - description: List of additional capabilities for a Disk Pool. - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: disk_pool_create - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_122 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_update_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: disk_pool_update - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_138 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_zone_info_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_zone_info_additional_capabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_info - description: Disk Pool Sku Details - namespace: '' - cli: - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: disk_pool_zone_list_result_value - description: The list of Disk Pool Skus. - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_list_result - description: List Disk Pool skus operation response. - namespace: '' - cli: - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_132 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_detail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: endpoint_dependency_endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_dependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_endpoints - description: The endpoints that the App Service Environment reaches the service at. - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_list_value - description: Collection of resources. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint_list - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_141 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: iscsi_target_list_value - description: An array of iSCSI Targets in a Disk Pool. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: iscsi_target_list - description: List of iSCSI Targets. - namespace: '' - cli: - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - protocol: {} - language: - default: - name: operations - description: '' - cli: - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_120 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_121 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_119 - schema: *ref_118 - implementation: Method - required: true - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_119 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_120 - - *ref_121 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_124 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_125 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_123 - schema: *ref_122 - implementation: Method - required: true - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_123 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_124 - - *ref_125 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_126 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_127 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_126 - - *ref_127 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_128 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_129 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_128 - - *ref_129 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_130 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_131 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_130 - - *ref_131 - responses: - - schema: *ref_132 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependencies_endpoints - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_133 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_134 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_133 - - *ref_134 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - language: - default: - name: disk_pools - description: '' - cli: - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_137 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_137 - responses: - - schema: *ref_138 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: disk_pool_zones - description: '' - cli: - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_139 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_140 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_139 - - *ref_140 - responses: - - schema: *ref_141 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_143 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_144 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_145 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_142 - schema: *ref_42 - implementation: Method - required: true - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_142 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_143 - - *ref_144 - - *ref_145 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_147 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_148 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_149 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_146 - schema: *ref_43 - implementation: Method - required: true - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_146 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_147 - - *ref_148 - - *ref_149 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_150 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_151 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_152 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_150 - - *ref_151 - - *ref_152 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_153 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_154 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_155 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_153 - - *ref_154 - - *ref_155 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - language: - default: - name: iscsi_targets - description: '' - cli: - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -language: - default: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000120-m4namer-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000120-m4namer-post-simplified.yaml deleted file mode 100644 index 0e06ffd9d86..00000000000 --- a/src/diskpool/_az_debug/clicommon-000120-m4namer-post-simplified.yaml +++ /dev/null @@ -1,1438 +0,0 @@ -operationGroups: - all: - - operationGroupName: Operations - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - cliPath: operationGroups['Operations'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - cliPath: operationGroups['Operations']$$operations['List'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: DiskPools - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - cliPath: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - cliPath: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(DiskPoolCreate^object) - cli: - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: DiskPoolCreate - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - cliPath: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(DiskPoolUpdate^object) - cli: - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - bodySchema: DiskPoolUpdate - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - cliPath: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - cliPath: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependencies_endpoints - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - cliPath: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - cliPath: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationGroupName: DiskPoolZones - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - cliPath: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - cliPath: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: location(String^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - cliPath: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: IscsiTargets - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - cliPath: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(IscsiTargetCreate^object) - cli: - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: IscsiTargetCreate - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - cliPath: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(IscsiTargetUpdate^object) - cli: - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - bodySchema: IscsiTargetUpdate - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - cliPath: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] -schemas: - objects: - all: - - schemaName: StoragePoolOperationListResult - cli: - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - cliPath: schemas$$objects['StoragePoolOperationListResult'] - properties: - - propertyName: value(StoragePoolOperationListResultValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(StoragePoolOperationListResultNextLink^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: StoragePoolRpOperation - cli: - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - cliPath: schemas$$objects['StoragePoolRPOperation'] - properties: - - propertyName: name(StoragePoolRpOperationName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(StoragePoolRpOperationActionType^string) - cli: - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(StoragePoolOperationDisplay^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(StoragePoolRpOperationOrigin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: StoragePoolOperationDisplay - cli: - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - cliPath: schemas$$objects['StoragePoolOperationDisplay'] - properties: - - propertyName: provider(StoragePoolOperationDisplayProvider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(StoragePoolOperationDisplayResource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(StoragePoolOperationDisplayOperation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(StoragePoolOperationDisplayDescription^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: Error - cli: - cliKey: Error - cliM4Path: schemas$$objects['Error'] - cliPath: schemas$$objects['Error'] - properties: - - propertyName: error(ErrorResponse^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - cliPath: schemas$$objects['Error']$$properties['error'] - - schemaName: ErrorResponse - cli: - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - cliPath: schemas$$objects['ErrorResponse'] - properties: - - propertyName: code(ErrorResponseCode^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - cliPath: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(ErrorResponseMessage^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - cliPath: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(ErrorResponseTarget^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - cliPath: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(ErrorResponseDetails^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - cliPath: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(ErrorResponseAdditionalInfo^array) - cli: - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - cliPath: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: ErrorAdditionalInfo - cli: - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - cliPath: schemas$$objects['ErrorAdditionalInfo'] - properties: - - propertyName: type(ErrorAdditionalInfoType^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: DiskPoolListResult - cli: - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - cliPath: schemas$$objects['DiskPoolListResult'] - properties: - - propertyName: value(DiskPoolListResultValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - cliPath: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(DiskPoolListResultNextLink^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - cliPath: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: DiskPool - cli: - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - cliPath: schemas$$objects['DiskPool'] - properties: - - propertyName: system_data(SystemMetadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - cliPath: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(ProvisioningStates^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - cliPath: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(DiskPoolPropertiesAvailabilityZones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - cliPath: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(OperationalStatus^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - cliPath: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(DiskPoolPropertiesDisks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - cliPath: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(DiskPoolPropertiesSubnetId^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - cliPath: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(DiskPoolPropertiesAdditionalCapabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - cliPath: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(SkuName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - cliPath: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(SkuTier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - cliPath: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: Sku - cli: - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - cliPath: schemas$$objects['Sku'] - properties: - - propertyName: name(SkuName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - cliPath: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(SkuTier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - cliPath: schemas$$objects['Sku']$$properties['tier'] - - schemaName: Disk - cli: - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - cliPath: schemas$$objects['Disk'] - properties: - - propertyName: id(DiskId^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - cliPath: schemas$$objects['Disk']$$properties['id'] - - schemaName: SystemMetadata - cli: - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - cliPath: schemas$$objects['SystemMetadata'] - properties: - - propertyName: created_by(SystemMetadataCreatedBy^string) - cli: - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - cliPath: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(CreatedByType^choice) - cli: - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - cliPath: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - cliPath: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(SystemMetadataLastModifiedBy^string) - cli: - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(CreatedByType^choice) - cli: - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: TrackedResource - cli: - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - cliPath: schemas$$objects['TrackedResource'] - properties: - - propertyName: tags(TrackedResourceTags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - cliPath: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(TrackedResourceLocation^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - cliPath: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: Resource - cli: - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - cliPath: schemas$$objects['Resource'] - properties: - - propertyName: id(ResourceId^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - cliPath: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(ResourceName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - cliPath: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(ResourceType^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - cliPath: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: DiskPoolCreate - cli: - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - cliPath: schemas$$objects['DiskPoolCreate'] - properties: - - propertyName: sku(Sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(DiskPoolCreateTags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(DiskPoolCreateLocation^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(DiskPoolCreateId^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(DiskPoolCreateName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(DiskPoolCreateType^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(DiskPoolCreatePropertiesDisks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(DiskPoolCreatePropertiesSubnetId^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: DiskPoolUpdate - cli: - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - cliPath: schemas$$objects['DiskPoolUpdate'] - properties: - - propertyName: tags(DiskPoolUpdateTags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - cliPath: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(DiskPoolUpdatePropertiesDisks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - cliPath: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: DiskPoolZoneListResult - cli: - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - cliPath: schemas$$objects['DiskPoolZoneListResult'] - properties: - - propertyName: value(DiskPoolZoneListResultValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(DiskPoolZoneListResultNextLink^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: DiskPoolZoneInfo - cli: - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - cliPath: schemas$$objects['DiskPoolZoneInfo'] - properties: - - propertyName: availability_zones(DiskPoolZoneInfoAvailabilityZones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(DiskPoolZoneInfoAdditionalCapabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(Sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: OutboundEnvironmentEndpointList - cli: - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - cliPath: schemas$$objects['OutboundEnvironmentEndpointList'] - properties: - - propertyName: value(OutboundEnvironmentEndpointListValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(OutboundEnvironmentEndpointListNextLink^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: OutboundEnvironmentEndpoint - cli: - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - cliPath: schemas$$objects['OutboundEnvironmentEndpoint'] - properties: - - propertyName: category(OutboundEnvironmentEndpointCategory^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(OutboundEnvironmentEndpointEndpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: EndpointDependency - cli: - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - cliPath: schemas$$objects['EndpointDependency'] - properties: - - propertyName: domain_name(EndpointDependencyDomainName^string) - cli: - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - cliPath: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(EndpointDependencyEndpointDetails^array) - cli: - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - cliPath: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: EndpointDetail - cli: - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - cliPath: schemas$$objects['EndpointDetail'] - properties: - - propertyName: ip_address(EndpointDetailIpAddress^string) - cli: - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - cliPath: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(Integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - cliPath: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(Number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - cliPath: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - cliPath: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: IscsiTargetList - cli: - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - cliPath: schemas$$objects['IscsiTargetList'] - properties: - - propertyName: value(IscsiTargetListValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - cliPath: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(IscsiTargetListNextLink^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - cliPath: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: IscsiTarget - cli: - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - cliPath: schemas$$objects['IscsiTarget'] - properties: - - propertyName: system_data(SystemMetadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - cliPath: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(IscsiTargetAclMode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - cliPath: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(IscsiTargetPropertiesStaticAcls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - cliPath: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(IscsiTargetPropertiesLuns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - cliPath: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(IscsiTargetPropertiesTargetIqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - cliPath: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(ProvisioningStates^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - cliPath: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(OperationalStatus^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - cliPath: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(IscsiTargetPropertiesEndpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - cliPath: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(Integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - cliPath: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: Acl - cli: - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - cliPath: schemas$$objects['Acl'] - properties: - - propertyName: initiator_iqn(AclInitiatorIqn^string) - cli: - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - cliPath: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(AclMappedLuns^array) - cli: - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - cliPath: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: IscsiLun - cli: - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - cliPath: schemas$$objects['IscsiLun'] - properties: - - propertyName: name(IscsiLunName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - cliPath: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(IscsiLunManagedDiskAzureResourceId^string) - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - cliPath: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: IscsiTargetCreate - cli: - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - cliPath: schemas$$objects['IscsiTargetCreate'] - properties: - - propertyName: acl_mode(IscsiTargetAclMode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(IscsiTargetCreatePropertiesLuns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: IscsiTargetUpdate - cli: - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - cliPath: schemas$$objects['IscsiTargetUpdate'] - properties: - - propertyName: static_acls(IscsiTargetUpdatePropertiesStaticAcls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(IscsiTargetUpdatePropertiesLuns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: ProxyResource - cli: - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - cliPath: schemas$$objects['ProxyResource'] - choices: - all: - - choiceName: ProvisioningStates - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - cliPath: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: INVALID - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: SUCCEEDED - cli: - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: FAILED - cli: - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: CANCELED - cli: - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: PENDING - cli: - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: CREATING - cli: - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: UPDATING - cli: - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: DELETING - cli: - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: OperationalStatus - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - cliPath: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: INVALID - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: UNKNOWN - cli: - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: HEALTHY - cli: - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: UNHEALTHY - cli: - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: UPDATING - cli: - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: RUNNING - cli: - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: STOPPED - cli: - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: STOPPED_DEALLOCATED__ - cli: - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: CreatedByType - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - cliPath: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: USER - cli: - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - cliPath: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: APPLICATION - cli: - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - cliPath: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: MANAGED_IDENTITY - cli: - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - cliPath: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: KEY - cli: - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - cliPath: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: IscsiTargetAclMode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - cliPath: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: DYNAMIC - cli: - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: STATIC - cli: - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: DiskPoolTier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - cliPath: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: BASIC - cli: - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - cliPath: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: STANDARD - cli: - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - cliPath: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: PREMIUM - cli: - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' - cliPath: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000120-m4namer-post.yaml b/src/diskpool/_az_debug/clicommon-000120-m4namer-post.yaml deleted file mode 100644 index 9e81299aa4b..00000000000 --- a/src/diskpool/_az_debug/clicommon-000120-m4namer-post.yaml +++ /dev/null @@ -1,5999 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: Integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: Number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: Integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: String - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRpOperationName - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRpOperationActionType - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayProvider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayResource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayOperation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayDescription - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRpOperationOrigin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationListResultNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponseCode - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponseMessage - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponseTarget - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorAdditionalInfoType - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: String - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SkuName - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SkuTier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AvailabilityZone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskId - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: DiskPoolPropertiesSubnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AdditionalCapability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SystemMetadataCreatedBy - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SystemMetadataLastModifiedBy - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: String - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: TrackedResourceLocation - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ResourceId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ResourceName - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ResourceType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolListResultNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: String - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: DiskPoolCreatePropertiesSubnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: DiskPoolCreateLocation - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreateId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreateName - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreateType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolZoneListResultNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: OutboundEnvironmentEndpointCategory - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: EndpointDependencyDomainName - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: EndpointDetailIpAddress - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: OutboundEnvironmentEndpointListNextLink - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AclInitiatorIqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AclMappedLunsItem - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiLunName - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiLunManagedDiskAzureResourceId - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetPropertiesTargetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetPropertiesEndpointsItem - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetListNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetCreatePropertiesTargetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: INVALID - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: SUCCEEDED - description: '' - cli: - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: FAILED - description: '' - cli: - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: CANCELED - description: '' - cli: - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: PENDING - description: '' - cli: - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: CREATING - description: '' - cli: - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: UPDATING - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: DELETING - description: '' - cli: - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: ProvisioningStates - description: Provisioning state of the iSCSI Target. - cli: - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - cliPath: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: INVALID - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: UNKNOWN - description: '' - cli: - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: HEALTHY - description: '' - cli: - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: UNHEALTHY - description: '' - cli: - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: UPDATING - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: RUNNING - description: '' - cli: - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: STOPPED - description: '' - cli: - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: STOPPED_DEALLOCATED__ - description: '' - cli: - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: OperationalStatus - description: Operational status of the resource. - cli: - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - cliPath: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: USER - description: '' - cli: - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: APPLICATION - description: '' - cli: - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: MANAGED_IDENTITY - description: '' - cli: - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: KEY - description: '' - cli: - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: CreatedByType - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - cliPath: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: DYNAMIC - description: '' - cli: - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: STATIC - description: '' - cli: - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: IscsiTargetAclMode - description: ACL mode for iSCSI Target. - cli: - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - cliPath: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: BASIC - description: '' - cli: - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: STANDARD - description: '' - cli: - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: PREMIUM - description: '' - cli: - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: DiskPoolTier - description: SKU of the VM host part of the Disk Pool deployment - cli: - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - cliPath: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: TrackedResourceTags - description: Resource tags. - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: DiskPoolCreateTags - description: Resource tags. - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: DiskPoolUpdateTags - description: Resource tags. - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolOperationDisplay - description: Metadata about an operation. - namespace: '' - cli: - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolRpOperation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: StoragePoolOperationListResultValue - description: An array of operations supported by the StoragePool RP. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolOperationListResult - description: List of operations supported by the RP. - namespace: '' - cli: - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: ErrorResponseDetails - description: The error details. - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: ErrorAdditionalInfo - description: The resource management error additional info. - namespace: '' - cli: - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: ErrorResponseAdditionalInfo - description: The error additional info. - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: ErrorResponse - description: The resource management error response. - namespace: '' - cli: - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - cliPath: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - cliPath: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: Error - description: The resource management error response. - namespace: '' - cli: - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - cliPath: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: SystemMetadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - cliPath: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - cliPath: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: AclMappedLuns - description: List of LUN names mapped to the ACL. - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - cliPath: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: Acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - cliPath: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: IscsiTargetPropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: IscsiLun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - cliPath: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: IscsiTargetPropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: IscsiTargetPropertiesEndpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: IscsiTarget - description: Response for iSCSI Target requests. - namespace: '' - cli: - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - cliPath: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: IscsiTargetCreatePropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: IscsiTargetCreatePropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: IscsiTargetCreate - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: IscsiTargetUpdatePropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: IscsiTargetUpdatePropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: IscsiTargetUpdate - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - cliPath: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: ProxyResource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - cliPath: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - cliPath: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - cliPath: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - cliPath: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: Resource - description: ARM resource model definition. - namespace: '' - cli: - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - cliPath: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: TrackedResource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - cliPath: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: DiskPoolPropertiesAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - cliPath: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: Disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - cliPath: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: DiskPoolPropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: DiskPoolPropertiesAdditionalCapabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: DiskPool - description: Response for Disk Pool request. - namespace: '' - cli: - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - cliPath: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: DiskPoolListResultValue - description: An array of Disk pool objects. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolListResult - description: List of Disk Pools - namespace: '' - cli: - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - cliPath: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - cliPath: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - cliPath: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: Sku - description: Sku for ARM resource - namespace: '' - cli: - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - cliPath: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: DiskPoolCreatePropertiesAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: DiskPoolCreatePropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: DiskPoolCreatePropertiesAdditionalCapabilities - description: List of additional capabilities for a Disk Pool. - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: DiskPoolCreate - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_122 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: DiskPoolUpdatePropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: DiskPoolUpdate - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - cliPath: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_138 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: DiskPoolZoneInfoAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: DiskPoolZoneInfoAdditionalCapabilities - description: List of additional capabilities for Disk Pool. - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolZoneInfo - description: Disk Pool Sku Details - namespace: '' - cli: - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: DiskPoolZoneListResultValue - description: The list of Disk Pool Skus. - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolZoneListResult - description: List Disk Pool skus operation response. - namespace: '' - cli: - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_132 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: EndpointDetail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - cliPath: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: EndpointDependencyEndpointDetails - description: The IP Addresses and Ports used when connecting to DomainName. - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: EndpointDependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - cliPath: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: OutboundEnvironmentEndpointEndpoints - description: The endpoints that the App Service Environment reaches the service at. - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: OutboundEnvironmentEndpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: OutboundEnvironmentEndpointListValue - description: Collection of resources. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: OutboundEnvironmentEndpointList - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_141 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: IscsiTargetListValue - description: An array of iSCSI Targets in a Disk Pool. - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: IscsiTargetList - description: List of iSCSI Targets. - namespace: '' - cli: - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - cliPath: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - cliPath: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - cliPath: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - cliPath: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - cliPath: 'operationGroups[''Operations'']$$operations[''List'']' - protocol: {} - language: - default: - name: Operations - description: '' - cli: - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - cliPath: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_120 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_121 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_119 - schema: *ref_118 - implementation: Method - required: true - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_119 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_120 - - *ref_121 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_124 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_125 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_123 - schema: *ref_122 - implementation: Method - required: true - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_123 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_124 - - *ref_125 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_126 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_127 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_126 - - *ref_127 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_128 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_129 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_128 - - *ref_129 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_130 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_131 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_130 - - *ref_131 - responses: - - schema: *ref_132 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependencies_endpoints - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_133 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_134 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_133 - - *ref_134 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - language: - default: - name: DiskPools - description: '' - cli: - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - cliPath: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_137 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_137 - responses: - - schema: *ref_138 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: DiskPoolZones - description: '' - cli: - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - cliPath: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_139 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_140 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_139 - - *ref_140 - responses: - - schema: *ref_141 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_143 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_144 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_145 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_142 - schema: *ref_42 - implementation: Method - required: true - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_142 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_143 - - *ref_144 - - *ref_145 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_147 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_148 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_149 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_146 - schema: *ref_43 - implementation: Method - required: true - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_146 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_147 - - *ref_148 - - *ref_149 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_150 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_151 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_152 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_150 - - *ref_151 - - *ref_152 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_153 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_154 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_155 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_153 - - *ref_154 - - *ref_155 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - language: - default: - name: IscsiTargets - description: '' - cli: - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - cliPath: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -language: - default: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000130-flatten-set-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000130-flatten-set-pre-simplified.yaml deleted file mode 100644 index 5200694a61e..00000000000 --- a/src/diskpool/_az_debug/clicommon-000130-flatten-set-pre-simplified.yaml +++ /dev/null @@ -1,1413 +0,0 @@ -operationGroups: - all: - - operationGroupName: operations - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pools - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: disk_pool_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) - cli: - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - bodySchema: disk_pool_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependencies_endpoints - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cliKey: diskPoolCreatePayload - bodySchema: disk_pool_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationGroupName: disk_pool_zones - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: location(string^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: iscsi_targets - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: iscsi_target_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) - cli: - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - bodySchema: iscsi_target_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cliKey: iscsiTargetCreatePayload - bodySchema: iscsi_target_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept -schemas: - objects: - all: - - schemaName: storage_pool_operation_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - properties: - - propertyName: value(storage_pool_operation_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(storage_pool_operation_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: storage_pool_RP_operation - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - properties: - - propertyName: name(storage_pool_RP_operation_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(storage_pool_RP_operation_action_type^string) - cli: - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(storage_pool_operation_display^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(storage_pool_RP_operation_origin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: storage_pool_operation_display - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - properties: - - propertyName: provider(storage_pool_operation_display_provider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(storage_pool_operation_display_resource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(storage_pool_operation_display_operation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(storage_pool_operation_display_description^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: error - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: schemas$$objects['Error'] - properties: - - propertyName: error(error_response^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - - schemaName: error_response - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - properties: - - propertyName: code(error_response_code^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(error_response_message^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(error_response_target^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(error_response_details^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(error_response_additional_info^array) - cli: - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: error_additional_info - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - properties: - - propertyName: type(error_additional_info_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: disk_pool_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - properties: - - propertyName: value(disk_pool_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(disk_pool_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: disk_pool - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(disk_pool_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(disk_pool_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(disk_pool_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: sku - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - properties: - - propertyName: name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - - schemaName: disk - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - properties: - - propertyName: id(disk_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - - schemaName: system_metadata - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - properties: - - propertyName: created_by(system_metadata_created_by^string) - cli: - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(created_by_type^choice) - cli: - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(system_metadata_last_modified_by^string) - cli: - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(created_by_type^choice) - cli: - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: tracked_resource - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - properties: - - propertyName: tags(tracked_resource_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(tracked_resource_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - properties: - - propertyName: id(resource_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(resource_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(resource_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: disk_pool_create - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - properties: - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(disk_pool_create_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(disk_pool_create_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(disk_pool_create_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(disk_pool_create_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(disk_pool_create_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(disk_pool_create_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: disk_pool_update - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - properties: - - propertyName: tags(disk_pool_update_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(disk_pool_update_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: disk_pool_zone_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - properties: - - propertyName: value(disk_pool_zone_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(disk_pool_zone_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: disk_pool_zone_info - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - properties: - - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: outbound_environment_endpoint_list - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - properties: - - propertyName: value(outbound_environment_endpoint_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: outbound_environment_endpoint - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - properties: - - propertyName: category(outbound_environment_endpoint_category^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: endpoint_dependency - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - properties: - - propertyName: domain_name(endpoint_dependency_domain_name^string) - cli: - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) - cli: - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: endpoint_detail - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - properties: - - propertyName: ip_address(endpoint_detail_ip_address^string) - cli: - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: iscsi_target_list - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - properties: - - propertyName: value(iscsi_target_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(iscsi_target_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: iscsi_target - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(iscsi_target_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(iscsi_target_properties_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: acl - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - properties: - - propertyName: initiator_iqn(acl_initiator_iqn^string) - cli: - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(acl_mapped_luns^array) - cli: - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: iscsi_lun - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - properties: - - propertyName: name(iscsi_lun_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: iscsi_target_create - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - properties: - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_create_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: iscsi_target_update - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - properties: - - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_update_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: proxy_resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - choices: - all: - - choiceName: provisioning_states - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: operational_status - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated_ - cli: - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: created_by_type - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: iscsi_target_acl_mode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: disk_pool_tier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000130-flatten-set-pre.yaml b/src/diskpool/_az_debug/clicommon-000130-flatten-set-pre.yaml deleted file mode 100644 index c1dc7620a5a..00000000000 --- a/src/diskpool/_az_debug/clicommon-000130-flatten-set-pre.yaml +++ /dev/null @@ -1,6254 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: string - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_name - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_action_type - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_provider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_resource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_code - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_message - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_target - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_additional_info_type - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: string - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_name - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_tier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: availability_zone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_id - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: additional_capability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_by - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_by - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: string - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: tracked_resource_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_name - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: string - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_create_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: disk_pool_create_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_name - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_zone_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_dependency_domain_name - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_detail_ip_address - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_list_next_link - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_mapped_luns_item - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_name - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_endpoints_item - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_list_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_create_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: provisioning_states - description: Provisioning state of the iSCSI Target. - cli: - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated_ - description: '' - cli: - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: operational_status - description: Operational status of the resource. - cli: - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: iscsi_target_acl_mode - description: ACL mode for iSCSI Target. - cli: - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: disk_pool_tier - description: SKU of the VM host part of the Disk Pool deployment - cli: - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: tracked_resource_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_create_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_update_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_display - description: Metadata about an operation. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_RP_operation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: storage_pool_operation_list_result_value - description: An array of operations supported by the StoragePool RP. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_list_result - description: List of operations supported by the RP. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: error_response_details - description: The error details. - cli: - cli-complexity: array_complex - cli-in-circle: true - cli-mark: checked - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_additional_info - description: The resource management error additional info. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: error_response_additional_info - description: The error additional info. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_response - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: system_metadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: acl_mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: iscsi_target_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_lun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: iscsi_target_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: iscsi_target_properties_endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_target - description: Response for iSCSI Target requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_create_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_create_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_create - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_update_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_update_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_update - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: proxy_resource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: resource - description: ARM resource model definition. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: tracked_resource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: disk_pool_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_properties_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk_pool - description: Response for Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: disk_pool_list_result_value - description: An array of Disk pool objects. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_list_result - description: List of Disk Pools - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: sku - description: Sku for ARM resource - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_create_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_create_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_create_properties_additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: disk_pool_create - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_122 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_update_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: disk_pool_update - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_153 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_zone_info_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_zone_info_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_info - description: Disk Pool Sku Details - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: disk_pool_zone_list_result_value - description: The list of Disk Pool Skus. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_list_result - description: List Disk Pool skus operation response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_132 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_detail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: endpoint_dependency_endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_dependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_list_value - description: Collection of resources. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint_list - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_156 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: iscsi_target_list_value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: iscsi_target_list - description: List of iSCSI Targets. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - protocol: {} - language: - default: - name: operations - description: '' - cli: - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - &ref_149 - apiVersions: &ref_137 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_120 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_138 - in: path - - &ref_121 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_139 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_140 - in: header - - &ref_119 - schema: *ref_118 - implementation: Method - required: true - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - http: &ref_141 - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_142 - in: header - signatureParameters: - - *ref_119 - language: - default: - name: '' - description: '' - protocol: - http: &ref_144 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_120 - - *ref_121 - responses: &ref_147 - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_148 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_150 - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_151 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - split-operation-names: &ref_161 - - Create - - Update - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_124 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_125 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_123 - schema: *ref_122 - implementation: Method - required: true - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_123 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_124 - - *ref_125 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_126 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_127 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_126 - - *ref_127 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_128 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_129 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_128 - - *ref_129 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_130 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_131 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_130 - - *ref_131 - responses: - - schema: *ref_132 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependencies_endpoints - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_133 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_134 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_133 - - *ref_134 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - - apiVersions: *ref_137 - parameters: - - *ref_108 - - *ref_113 - - &ref_145 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_138 - - &ref_146 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_139 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_140 - - &ref_143 - schema: *ref_118 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cliKey: diskPoolCreatePayload - protocol: - http: *ref_141 - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_142 - signatureParameters: - - *ref_143 - language: - default: - name: '' - description: '' - protocol: - http: *ref_144 - signatureParameters: - - *ref_145 - - *ref_146 - responses: *ref_147 - exceptions: *ref_148 - extensions: - cli-split-operation-original-operation: *ref_149 - x-ms-examples: *ref_150 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_151 - language: - default: - name: Create - description: Create Disk pool. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: disk_pools - description: '' - cli: - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_152 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_152 - responses: - - schema: *ref_153 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: disk_pool_zones - description: '' - cli: - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_154 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_155 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_154 - - *ref_155 - responses: - - schema: *ref_156 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - &ref_186 - apiVersions: &ref_172 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_158 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_173 - in: path - - &ref_159 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_174 - in: path - - &ref_160 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: &ref_175 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_176 - in: header - - &ref_157 - schema: *ref_42 - implementation: Method - required: true - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - http: &ref_177 - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_178 - in: header - signatureParameters: - - *ref_157 - language: - default: - name: '' - description: '' - protocol: - http: &ref_180 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_158 - - *ref_159 - - *ref_160 - responses: &ref_184 - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_185 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_187 - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_188 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - split-operation-names: *ref_161 - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_163 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_164 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_165 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_162 - schema: *ref_43 - implementation: Method - required: true - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_162 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_163 - - *ref_164 - - *ref_165 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_166 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_167 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_168 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_166 - - *ref_167 - - *ref_168 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_169 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_170 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_171 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_169 - - *ref_170 - - *ref_171 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - - apiVersions: *ref_172 - parameters: - - *ref_108 - - *ref_113 - - &ref_181 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_173 - - &ref_182 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_174 - - &ref_183 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - protocol: - http: *ref_175 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_176 - - &ref_179 - schema: *ref_42 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cliKey: iscsiTargetCreatePayload - protocol: - http: *ref_177 - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_178 - signatureParameters: - - *ref_179 - language: - default: - name: '' - description: '' - protocol: - http: *ref_180 - signatureParameters: - - *ref_181 - - *ref_182 - - *ref_183 - responses: *ref_184 - exceptions: *ref_185 - extensions: - cli-split-operation-original-operation: *ref_186 - x-ms-examples: *ref_187 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_188 - language: - default: - name: Create - description: Create an iSCSI Target. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: iscsi_targets - description: '' - cli: - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -language: - default: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000140-flatten-set-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000140-flatten-set-post-simplified.yaml deleted file mode 100644 index b0d38971176..00000000000 --- a/src/diskpool/_az_debug/clicommon-000140-flatten-set-post-simplified.yaml +++ /dev/null @@ -1,1419 +0,0 @@ -operationGroups: - all: - - operationGroupName: operations - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pools - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - cli-flatten: true - bodySchema: disk_pool_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) - cli: - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - cli-flatten: true - bodySchema: disk_pool_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependencies_endpoints - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cliKey: diskPoolCreatePayload - cli-flatten: true - bodySchema: disk_pool_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationGroupName: disk_pool_zones - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: location(string^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: iscsi_targets - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - cli-flatten: true - bodySchema: iscsi_target_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) - cli: - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - cli-flatten: true - bodySchema: iscsi_target_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cliKey: iscsiTargetCreatePayload - cli-flatten: true - bodySchema: iscsi_target_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept -schemas: - objects: - all: - - schemaName: storage_pool_operation_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - properties: - - propertyName: value(storage_pool_operation_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(storage_pool_operation_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: storage_pool_RP_operation - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - properties: - - propertyName: name(storage_pool_RP_operation_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(storage_pool_RP_operation_action_type^string) - cli: - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(storage_pool_operation_display^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(storage_pool_RP_operation_origin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: storage_pool_operation_display - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - properties: - - propertyName: provider(storage_pool_operation_display_provider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(storage_pool_operation_display_resource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(storage_pool_operation_display_operation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(storage_pool_operation_display_description^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: error - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: schemas$$objects['Error'] - properties: - - propertyName: error(error_response^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - - schemaName: error_response - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - properties: - - propertyName: code(error_response_code^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(error_response_message^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(error_response_target^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(error_response_details^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(error_response_additional_info^array) - cli: - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: error_additional_info - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - properties: - - propertyName: type(error_additional_info_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: disk_pool_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - properties: - - propertyName: value(disk_pool_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(disk_pool_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: disk_pool - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(disk_pool_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(disk_pool_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(disk_pool_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: sku - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - properties: - - propertyName: name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - - schemaName: disk - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - properties: - - propertyName: id(disk_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - - schemaName: system_metadata - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - properties: - - propertyName: created_by(system_metadata_created_by^string) - cli: - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(created_by_type^choice) - cli: - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(system_metadata_last_modified_by^string) - cli: - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(created_by_type^choice) - cli: - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: tracked_resource - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - properties: - - propertyName: tags(tracked_resource_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(tracked_resource_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - properties: - - propertyName: id(resource_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(resource_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(resource_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: disk_pool_create - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - properties: - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(disk_pool_create_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(disk_pool_create_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(disk_pool_create_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(disk_pool_create_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(disk_pool_create_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(disk_pool_create_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: disk_pool_update - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - properties: - - propertyName: tags(disk_pool_update_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(disk_pool_update_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: disk_pool_zone_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - properties: - - propertyName: value(disk_pool_zone_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(disk_pool_zone_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: disk_pool_zone_info - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - properties: - - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: outbound_environment_endpoint_list - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - properties: - - propertyName: value(outbound_environment_endpoint_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: outbound_environment_endpoint - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - properties: - - propertyName: category(outbound_environment_endpoint_category^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: endpoint_dependency - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - properties: - - propertyName: domain_name(endpoint_dependency_domain_name^string) - cli: - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) - cli: - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: endpoint_detail - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - properties: - - propertyName: ip_address(endpoint_detail_ip_address^string) - cli: - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: iscsi_target_list - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - properties: - - propertyName: value(iscsi_target_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(iscsi_target_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: iscsi_target - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(iscsi_target_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(iscsi_target_properties_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: acl - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - properties: - - propertyName: initiator_iqn(acl_initiator_iqn^string) - cli: - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(acl_mapped_luns^array) - cli: - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: iscsi_lun - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - properties: - - propertyName: name(iscsi_lun_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: iscsi_target_create - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - properties: - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_create_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: iscsi_target_update - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - properties: - - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_update_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: proxy_resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - choices: - all: - - choiceName: provisioning_states - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: operational_status - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated_ - cli: - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: created_by_type - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: iscsi_target_acl_mode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: disk_pool_tier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000140-flatten-set-post.yaml b/src/diskpool/_az_debug/clicommon-000140-flatten-set-post.yaml deleted file mode 100644 index f2a8d22b2e5..00000000000 --- a/src/diskpool/_az_debug/clicommon-000140-flatten-set-post.yaml +++ /dev/null @@ -1,6260 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: string - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_name - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_action_type - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_provider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_resource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_code - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_message - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_target - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_additional_info_type - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: string - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_name - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_tier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: availability_zone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_id - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: additional_capability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_by - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_by - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: string - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: tracked_resource_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_name - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: string - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_create_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: disk_pool_create_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_name - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_zone_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_dependency_domain_name - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_detail_ip_address - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_list_next_link - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_mapped_luns_item - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_name - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_endpoints_item - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_list_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_create_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: provisioning_states - description: Provisioning state of the iSCSI Target. - cli: - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated_ - description: '' - cli: - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: operational_status - description: Operational status of the resource. - cli: - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: iscsi_target_acl_mode - description: ACL mode for iSCSI Target. - cli: - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: disk_pool_tier - description: SKU of the VM host part of the Disk Pool deployment - cli: - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: tracked_resource_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_create_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_update_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_display - description: Metadata about an operation. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_RP_operation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: storage_pool_operation_list_result_value - description: An array of operations supported by the StoragePool RP. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_list_result - description: List of operations supported by the RP. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: error_response_details - description: The error details. - cli: - cli-complexity: array_complex - cli-in-circle: true - cli-mark: checked - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_additional_info - description: The resource management error additional info. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: error_response_additional_info - description: The error additional info. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_response - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: system_metadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: acl_mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: iscsi_target_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_lun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: iscsi_target_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: iscsi_target_properties_endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_target - description: Response for iSCSI Target requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_create_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_create_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_create - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_update_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_update_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_update - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: proxy_resource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: resource - description: ARM resource model definition. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: tracked_resource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: disk_pool_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_properties_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk_pool - description: Response for Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: disk_pool_list_result_value - description: An array of Disk pool objects. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_list_result - description: List of Disk Pools - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: sku - description: Sku for ARM resource - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_create_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_create_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_create_properties_additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: disk_pool_create - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_122 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_update_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: disk_pool_update - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_153 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_zone_info_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_zone_info_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_info - description: Disk Pool Sku Details - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: disk_pool_zone_list_result_value - description: The list of Disk Pool Skus. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_list_result - description: List Disk Pool skus operation response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_132 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_detail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: endpoint_dependency_endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_dependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_list_value - description: Collection of resources. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint_list - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_156 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: iscsi_target_list_value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: iscsi_target_list - description: List of iSCSI Targets. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - protocol: {} - language: - default: - name: operations - description: '' - cli: - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - &ref_149 - apiVersions: &ref_137 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_120 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_138 - in: path - - &ref_121 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_139 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_140 - in: header - - &ref_119 - schema: *ref_118 - implementation: Method - required: true - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cli-flatten: true - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - http: &ref_141 - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_142 - in: header - signatureParameters: - - *ref_119 - language: - default: - name: '' - description: '' - protocol: - http: &ref_144 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_120 - - *ref_121 - responses: &ref_147 - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_148 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_150 - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_151 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - split-operation-names: &ref_161 - - Create - - Update - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_124 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_125 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_123 - schema: *ref_122 - implementation: Method - required: true - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - cli-flatten: true - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_123 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_124 - - *ref_125 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_126 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_127 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_126 - - *ref_127 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_128 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_129 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_128 - - *ref_129 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_130 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_131 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_130 - - *ref_131 - responses: - - schema: *ref_132 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependencies_endpoints - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_133 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_134 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_133 - - *ref_134 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - - apiVersions: *ref_137 - parameters: - - *ref_108 - - *ref_113 - - &ref_145 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_138 - - &ref_146 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_139 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_140 - - &ref_143 - schema: *ref_118 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cli-flatten: true - cliKey: diskPoolCreatePayload - protocol: - http: *ref_141 - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_142 - signatureParameters: - - *ref_143 - language: - default: - name: '' - description: '' - protocol: - http: *ref_144 - signatureParameters: - - *ref_145 - - *ref_146 - responses: *ref_147 - exceptions: *ref_148 - extensions: - cli-split-operation-original-operation: *ref_149 - x-ms-examples: *ref_150 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_151 - language: - default: - name: Create - description: Create Disk pool. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: disk_pools - description: '' - cli: - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_152 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_152 - responses: - - schema: *ref_153 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: disk_pool_zones - description: '' - cli: - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_154 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_155 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_154 - - *ref_155 - responses: - - schema: *ref_156 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - &ref_186 - apiVersions: &ref_172 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_158 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_173 - in: path - - &ref_159 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_174 - in: path - - &ref_160 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: &ref_175 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_176 - in: header - - &ref_157 - schema: *ref_42 - implementation: Method - required: true - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cli-flatten: true - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - http: &ref_177 - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_178 - in: header - signatureParameters: - - *ref_157 - language: - default: - name: '' - description: '' - protocol: - http: &ref_180 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_158 - - *ref_159 - - *ref_160 - responses: &ref_184 - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_185 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_187 - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_188 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - split-operation-names: *ref_161 - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_163 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_164 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_165 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_162 - schema: *ref_43 - implementation: Method - required: true - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - cli-flatten: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_162 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_163 - - *ref_164 - - *ref_165 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_166 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_167 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_168 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_166 - - *ref_167 - - *ref_168 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_169 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_170 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_171 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_169 - - *ref_170 - - *ref_171 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - - apiVersions: *ref_172 - parameters: - - *ref_108 - - *ref_113 - - &ref_181 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_173 - - &ref_182 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_174 - - &ref_183 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - protocol: - http: *ref_175 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_176 - - &ref_179 - schema: *ref_42 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cli-flatten: true - cliKey: iscsiTargetCreatePayload - protocol: - http: *ref_177 - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_178 - signatureParameters: - - *ref_179 - language: - default: - name: '' - description: '' - protocol: - http: *ref_180 - signatureParameters: - - *ref_181 - - *ref_182 - - *ref_183 - responses: *ref_184 - exceptions: *ref_185 - extensions: - cli-split-operation-original-operation: *ref_186 - x-ms-examples: *ref_187 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_188 - language: - default: - name: Create - description: Create an iSCSI Target. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: iscsi_targets - description: '' - cli: - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -language: - default: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000150-flatten-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000150-flatten-pre-simplified.yaml deleted file mode 100644 index 5a1654c8dc0..00000000000 --- a/src/diskpool/_az_debug/clicommon-000150-flatten-pre-simplified.yaml +++ /dev/null @@ -1,1419 +0,0 @@ -operationGroups: - all: - - operationGroupName: operations - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pools - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cli-flatten: true - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: disk_pool_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) - cli: - cli-flatten: true - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - bodySchema: disk_pool_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependencies_endpoints - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cli-flatten: true - cliKey: diskPoolCreatePayload - bodySchema: disk_pool_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationGroupName: disk_pool_zones - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: location(string^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: iscsi_targets - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cli-flatten: true - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: iscsi_target_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) - cli: - cli-flatten: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - bodySchema: iscsi_target_update - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cli-flatten: true - cliKey: iscsiTargetCreatePayload - bodySchema: iscsi_target_create - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept -schemas: - objects: - all: - - schemaName: storage_pool_operation_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - properties: - - propertyName: value(storage_pool_operation_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(storage_pool_operation_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: storage_pool_RP_operation - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - properties: - - propertyName: name(storage_pool_RP_operation_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(storage_pool_RP_operation_action_type^string) - cli: - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(storage_pool_operation_display^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(storage_pool_RP_operation_origin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: storage_pool_operation_display - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - properties: - - propertyName: provider(storage_pool_operation_display_provider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(storage_pool_operation_display_resource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(storage_pool_operation_display_operation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(storage_pool_operation_display_description^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: error - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: schemas$$objects['Error'] - properties: - - propertyName: error(error_response^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - - schemaName: error_response - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - properties: - - propertyName: code(error_response_code^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(error_response_message^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(error_response_target^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(error_response_details^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(error_response_additional_info^array) - cli: - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: error_additional_info - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - properties: - - propertyName: type(error_additional_info_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: disk_pool_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - properties: - - propertyName: value(disk_pool_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(disk_pool_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: disk_pool - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(disk_pool_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(disk_pool_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(disk_pool_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: sku - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - properties: - - propertyName: name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - - schemaName: disk - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - properties: - - propertyName: id(disk_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - - schemaName: system_metadata - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - properties: - - propertyName: created_by(system_metadata_created_by^string) - cli: - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(created_by_type^choice) - cli: - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(system_metadata_last_modified_by^string) - cli: - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(created_by_type^choice) - cli: - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: tracked_resource - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - properties: - - propertyName: tags(tracked_resource_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(tracked_resource_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - properties: - - propertyName: id(resource_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(resource_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(resource_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: disk_pool_create - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - properties: - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(disk_pool_create_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(disk_pool_create_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(disk_pool_create_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(disk_pool_create_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(disk_pool_create_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(disk_pool_create_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: disk_pool_update - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - properties: - - propertyName: tags(disk_pool_update_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(disk_pool_update_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: disk_pool_zone_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - properties: - - propertyName: value(disk_pool_zone_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(disk_pool_zone_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: disk_pool_zone_info - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - properties: - - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: outbound_environment_endpoint_list - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - properties: - - propertyName: value(outbound_environment_endpoint_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: outbound_environment_endpoint - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - properties: - - propertyName: category(outbound_environment_endpoint_category^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: endpoint_dependency - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - properties: - - propertyName: domain_name(endpoint_dependency_domain_name^string) - cli: - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) - cli: - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: endpoint_detail - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - properties: - - propertyName: ip_address(endpoint_detail_ip_address^string) - cli: - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: iscsi_target_list - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - properties: - - propertyName: value(iscsi_target_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(iscsi_target_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: iscsi_target - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(iscsi_target_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(iscsi_target_properties_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: acl - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - properties: - - propertyName: initiator_iqn(acl_initiator_iqn^string) - cli: - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(acl_mapped_luns^array) - cli: - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: iscsi_lun - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - properties: - - propertyName: name(iscsi_lun_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: iscsi_target_create - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - properties: - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_create_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: iscsi_target_update - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - properties: - - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_update_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: proxy_resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - choices: - all: - - choiceName: provisioning_states - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: operational_status - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated_ - cli: - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: created_by_type - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: iscsi_target_acl_mode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: disk_pool_tier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000150-flatten-pre.yaml b/src/diskpool/_az_debug/clicommon-000150-flatten-pre.yaml deleted file mode 100644 index f2a8d22b2e5..00000000000 --- a/src/diskpool/_az_debug/clicommon-000150-flatten-pre.yaml +++ /dev/null @@ -1,6260 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: string - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_name - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_action_type - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_provider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_resource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_code - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_message - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_target - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_additional_info_type - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: string - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_name - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_tier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: availability_zone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_id - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: additional_capability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_by - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_by - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: string - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: tracked_resource_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_name - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: string - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_create_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: disk_pool_create_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_name - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_zone_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_dependency_domain_name - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_detail_ip_address - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_list_next_link - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_mapped_luns_item - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_name - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_endpoints_item - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_list_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_create_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: provisioning_states - description: Provisioning state of the iSCSI Target. - cli: - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated_ - description: '' - cli: - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: operational_status - description: Operational status of the resource. - cli: - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: iscsi_target_acl_mode - description: ACL mode for iSCSI Target. - cli: - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: disk_pool_tier - description: SKU of the VM host part of the Disk Pool deployment - cli: - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: tracked_resource_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_create_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_update_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_display - description: Metadata about an operation. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_RP_operation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: storage_pool_operation_list_result_value - description: An array of operations supported by the StoragePool RP. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_list_result - description: List of operations supported by the RP. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: error_response_details - description: The error details. - cli: - cli-complexity: array_complex - cli-in-circle: true - cli-mark: checked - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_additional_info - description: The resource management error additional info. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: error_response_additional_info - description: The error additional info. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_response - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: system_metadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: acl_mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: iscsi_target_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_lun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: iscsi_target_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: iscsi_target_properties_endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_target - description: Response for iSCSI Target requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_create_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_create_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_create - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_update_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_update_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_update - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: proxy_resource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: resource - description: ARM resource model definition. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: tracked_resource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: disk_pool_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_properties_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk_pool - description: Response for Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: disk_pool_list_result_value - description: An array of Disk pool objects. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_list_result - description: List of Disk Pools - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: sku - description: Sku for ARM resource - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_create_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_create_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_create_properties_additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: disk_pool_create - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_122 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_update_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: disk_pool_update - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_153 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_zone_info_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_zone_info_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_info - description: Disk Pool Sku Details - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: disk_pool_zone_list_result_value - description: The list of Disk Pool Skus. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_list_result - description: List Disk Pool skus operation response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_132 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_detail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: endpoint_dependency_endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_dependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_list_value - description: Collection of resources. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint_list - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_156 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: iscsi_target_list_value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: iscsi_target_list - description: List of iSCSI Targets. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - protocol: {} - language: - default: - name: operations - description: '' - cli: - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - &ref_149 - apiVersions: &ref_137 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_120 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_138 - in: path - - &ref_121 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_139 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_140 - in: header - - &ref_119 - schema: *ref_118 - implementation: Method - required: true - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cli-flatten: true - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - http: &ref_141 - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_142 - in: header - signatureParameters: - - *ref_119 - language: - default: - name: '' - description: '' - protocol: - http: &ref_144 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_120 - - *ref_121 - responses: &ref_147 - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_148 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_150 - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_151 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - split-operation-names: &ref_161 - - Create - - Update - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_124 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_125 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_123 - schema: *ref_122 - implementation: Method - required: true - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - cli-flatten: true - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_123 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_124 - - *ref_125 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_126 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_127 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_126 - - *ref_127 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_128 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_129 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_128 - - *ref_129 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_130 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_131 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_130 - - *ref_131 - responses: - - schema: *ref_132 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependencies_endpoints - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_133 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_134 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_133 - - *ref_134 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - - apiVersions: *ref_137 - parameters: - - *ref_108 - - *ref_113 - - &ref_145 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_138 - - &ref_146 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_139 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_140 - - &ref_143 - schema: *ref_118 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cli-flatten: true - cliKey: diskPoolCreatePayload - protocol: - http: *ref_141 - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_142 - signatureParameters: - - *ref_143 - language: - default: - name: '' - description: '' - protocol: - http: *ref_144 - signatureParameters: - - *ref_145 - - *ref_146 - responses: *ref_147 - exceptions: *ref_148 - extensions: - cli-split-operation-original-operation: *ref_149 - x-ms-examples: *ref_150 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_151 - language: - default: - name: Create - description: Create Disk pool. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: disk_pools - description: '' - cli: - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_152 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_152 - responses: - - schema: *ref_153 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: disk_pool_zones - description: '' - cli: - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_154 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_155 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_154 - - *ref_155 - responses: - - schema: *ref_156 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - &ref_186 - apiVersions: &ref_172 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_158 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_173 - in: path - - &ref_159 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_174 - in: path - - &ref_160 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: &ref_175 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_176 - in: header - - &ref_157 - schema: *ref_42 - implementation: Method - required: true - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cli-flatten: true - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - http: &ref_177 - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_178 - in: header - signatureParameters: - - *ref_157 - language: - default: - name: '' - description: '' - protocol: - http: &ref_180 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_158 - - *ref_159 - - *ref_160 - responses: &ref_184 - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_185 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_187 - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_188 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - split-operation-names: *ref_161 - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_163 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_164 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_165 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_162 - schema: *ref_43 - implementation: Method - required: true - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - cli-flatten: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - http: - in: body - style: json - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_162 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_163 - - *ref_164 - - *ref_165 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_166 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_167 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_168 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_166 - - *ref_167 - - *ref_168 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_169 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_170 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_171 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_169 - - *ref_170 - - *ref_171 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - - apiVersions: *ref_172 - parameters: - - *ref_108 - - *ref_113 - - &ref_181 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_173 - - &ref_182 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_174 - - &ref_183 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - protocol: - http: *ref_175 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_176 - - &ref_179 - schema: *ref_42 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cli-flatten: true - cliKey: iscsiTargetCreatePayload - protocol: - http: *ref_177 - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_178 - signatureParameters: - - *ref_179 - language: - default: - name: '' - description: '' - protocol: - http: *ref_180 - signatureParameters: - - *ref_181 - - *ref_182 - - *ref_183 - responses: *ref_184 - exceptions: *ref_185 - extensions: - cli-split-operation-original-operation: *ref_186 - x-ms-examples: *ref_187 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_188 - language: - default: - name: Create - description: Create an iSCSI Target. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: iscsi_targets - description: '' - cli: - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -language: - default: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000160-flatten-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000160-flatten-post-simplified.yaml deleted file mode 100644 index 9ab3aba0ad6..00000000000 --- a/src/diskpool/_az_debug/clicommon-000160-flatten-post-simplified.yaml +++ /dev/null @@ -1,1581 +0,0 @@ -operationGroups: - all: - - operationGroupName: operations - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pools - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cli-flatten: true - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - cli-flattened: true - bodySchema: disk_pool_create - - parameterName[0]: sku(sku^object) - cli: - cliKey: sku - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - - parameterName[0]: tags(disk_pool_create_tags^dictionary) - cli: - cliKey: tags - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - - parameterName[0]: location(disk_pool_create_location^string) - cli: - cliKey: location - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['location'] - - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - parameterName[0]: disks(disk_pool_create_properties_disks^array) - cli: - cliKey: disks - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliKey: subnetId - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) - cli: - cli-flatten: true - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - cli-flattened: true - bodySchema: disk_pool_update - - parameterName[0]: tags(disk_pool_update_tags^dictionary) - cli: - cliKey: tags - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - parameterName[0]: disks(disk_pool_update_properties_disks^array) - cli: - cliKey: disks - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependencies_endpoints - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cli-flatten: true - cliKey: diskPoolCreatePayload - cli-flattened: true - bodySchema: disk_pool_create - - parameterName[0]: sku(sku^object) - cli: - cliKey: sku - cliFlattenTrace: - - {undefined} - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - - parameterName[0]: tags(disk_pool_create_tags^dictionary) - cli: - cliKey: tags - cliFlattenTrace: - - {undefined} - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - - parameterName[0]: location(disk_pool_create_location^string) - cli: - cliKey: location - cliFlattenTrace: - - {undefined} - - schemas$$objects['DiskPoolCreate']$$properties['location'] - - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliFlattenTrace: - - {undefined} - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - parameterName[0]: disks(disk_pool_create_properties_disks^array) - cli: - cliKey: disks - cliFlattenTrace: - - {undefined} - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliKey: subnetId - cliFlattenTrace: - - {undefined} - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliFlattenTrace: - - {undefined} - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationGroupName: disk_pool_zones - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: location(string^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: iscsi_targets - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cli-flatten: true - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - cli-flattened: true - bodySchema: iscsi_target_create - - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliKey: staticAcls - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - parameterName[0]: luns(iscsi_target_create_properties_luns^array) - cli: - cliKey: luns - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) - cli: - cli-flatten: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - cli-flattened: true - bodySchema: iscsi_target_update - - parameterName[0]: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliKey: staticAcls - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - parameterName[0]: luns(iscsi_target_update_properties_luns^array) - cli: - cliKey: luns - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cli-flatten: true - cliKey: iscsiTargetCreatePayload - cli-flattened: true - bodySchema: iscsi_target_create - - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliFlattenTrace: - - {undefined} - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliFlattenTrace: - - {undefined} - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliKey: staticAcls - cliFlattenTrace: - - {undefined} - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - parameterName[0]: luns(iscsi_target_create_properties_luns^array) - cli: - cliKey: luns - cliFlattenTrace: - - {undefined} - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept -schemas: - objects: - all: - - schemaName: storage_pool_operation_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - properties: - - propertyName: value(storage_pool_operation_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(storage_pool_operation_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: storage_pool_RP_operation - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - properties: - - propertyName: name(storage_pool_RP_operation_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(storage_pool_RP_operation_action_type^string) - cli: - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(storage_pool_operation_display^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(storage_pool_RP_operation_origin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: storage_pool_operation_display - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - properties: - - propertyName: provider(storage_pool_operation_display_provider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(storage_pool_operation_display_resource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(storage_pool_operation_display_operation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(storage_pool_operation_display_description^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: error - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: schemas$$objects['Error'] - properties: - - propertyName: error(error_response^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - - schemaName: error_response - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - properties: - - propertyName: code(error_response_code^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(error_response_message^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(error_response_target^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(error_response_details^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(error_response_additional_info^array) - cli: - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: error_additional_info - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - properties: - - propertyName: type(error_additional_info_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: disk_pool_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - properties: - - propertyName: value(disk_pool_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(disk_pool_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: disk_pool - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(disk_pool_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(disk_pool_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(disk_pool_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: sku - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - properties: - - propertyName: name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - - schemaName: disk - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - properties: - - propertyName: id(disk_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - - schemaName: system_metadata - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - properties: - - propertyName: created_by(system_metadata_created_by^string) - cli: - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(created_by_type^choice) - cli: - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(system_metadata_last_modified_by^string) - cli: - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(created_by_type^choice) - cli: - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: tracked_resource - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - properties: - - propertyName: tags(tracked_resource_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(tracked_resource_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - properties: - - propertyName: id(resource_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(resource_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(resource_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: disk_pool_create - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - properties: - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(disk_pool_create_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(disk_pool_create_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(disk_pool_create_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(disk_pool_create_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(disk_pool_create_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(disk_pool_create_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: disk_pool_update - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - properties: - - propertyName: tags(disk_pool_update_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(disk_pool_update_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: disk_pool_zone_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - properties: - - propertyName: value(disk_pool_zone_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(disk_pool_zone_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: disk_pool_zone_info - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - properties: - - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: outbound_environment_endpoint_list - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - properties: - - propertyName: value(outbound_environment_endpoint_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: outbound_environment_endpoint - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - properties: - - propertyName: category(outbound_environment_endpoint_category^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: endpoint_dependency - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - properties: - - propertyName: domain_name(endpoint_dependency_domain_name^string) - cli: - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) - cli: - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: endpoint_detail - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - properties: - - propertyName: ip_address(endpoint_detail_ip_address^string) - cli: - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: iscsi_target_list - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - properties: - - propertyName: value(iscsi_target_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(iscsi_target_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: iscsi_target - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(iscsi_target_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(iscsi_target_properties_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: acl - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - properties: - - propertyName: initiator_iqn(acl_initiator_iqn^string) - cli: - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(acl_mapped_luns^array) - cli: - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: iscsi_lun - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - properties: - - propertyName: name(iscsi_lun_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: iscsi_target_create - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - properties: - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_create_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: iscsi_target_update - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - properties: - - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_update_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: proxy_resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - choices: - all: - - choiceName: provisioning_states - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: operational_status - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated_ - cli: - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: created_by_type - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: iscsi_target_acl_mode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: disk_pool_tier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000160-flatten-post.yaml b/src/diskpool/_az_debug/clicommon-000160-flatten-post.yaml deleted file mode 100644 index 64d0f65eb8c..00000000000 --- a/src/diskpool/_az_debug/clicommon-000160-flatten-post.yaml +++ /dev/null @@ -1,6821 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: string - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_name - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_action_type - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_provider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_resource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_code - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_message - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_target - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_additional_info_type - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: string - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_name - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_tier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: availability_zone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_id - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: additional_capability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_by - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_by - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: string - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: tracked_resource_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_name - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: string - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_create_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: disk_pool_create_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_name - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_zone_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_dependency_domain_name - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_detail_ip_address - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_list_next_link - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_mapped_luns_item - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_name - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_endpoints_item - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_list_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_create_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: provisioning_states - description: Provisioning state of the iSCSI Target. - cli: - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated_ - description: '' - cli: - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: operational_status - description: Operational status of the resource. - cli: - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: iscsi_target_acl_mode - description: ACL mode for iSCSI Target. - cli: - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: disk_pool_tier - description: SKU of the VM host part of the Disk Pool deployment - cli: - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: tracked_resource_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_create_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_update_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_display - description: Metadata about an operation. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_RP_operation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: storage_pool_operation_list_result_value - description: An array of operations supported by the StoragePool RP. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_list_result - description: List of operations supported by the RP. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: error_response_details - description: The error details. - cli: - cli-complexity: array_complex - cli-in-circle: true - cli-mark: checked - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_additional_info - description: The resource management error additional info. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: error_response_additional_info - description: The error additional info. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_response - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: system_metadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: acl_mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: iscsi_target_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_lun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: iscsi_target_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: iscsi_target_properties_endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_target - description: Response for iSCSI Target requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_185 - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - &ref_186 - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - &ref_188 - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_create_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_189 - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_create_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_create - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_199 - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_update_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_200 - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_update_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_update - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: proxy_resource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: resource - description: ARM resource model definition. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: tracked_resource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: disk_pool_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_properties_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk_pool - description: Response for Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: disk_pool_list_result_value - description: An array of Disk pool objects. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_list_result - description: List of Disk Pools - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: sku - description: Sku for ARM resource - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_120 - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - &ref_121 - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - &ref_123 - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - &ref_124 - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_create_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - &ref_125 - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_create_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - &ref_126 - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - &ref_127 - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_create_properties_additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: disk_pool_create - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_137 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_139 - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - &ref_140 - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_update_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: disk_pool_update - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_180 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_zone_info_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_zone_info_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_info - description: Disk Pool Sku Details - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: disk_pool_zone_list_result_value - description: The list of Disk Pool Skus. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_list_result - description: List Disk Pool skus operation response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_152 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_detail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: endpoint_dependency_endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_dependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_list_value - description: Collection of resources. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint_list - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_183 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: iscsi_target_list_value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: iscsi_target_list - description: List of iSCSI Targets. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - protocol: {} - language: - default: - name: operations - description: '' - cli: - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - &ref_176 - apiVersions: &ref_157 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_158 - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_159 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_160 - in: header - - &ref_119 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_128 - schema: *ref_59 - implementation: Method - originalParameter: *ref_119 - pathToProperty: &ref_122 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - protocol: {} - - &ref_129 - schema: *ref_60 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_122 - required: false - targetProperty: *ref_121 - extensions: - cli-flatten-origin: *ref_121 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_130 - schema: *ref_61 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_122 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - protocol: {} - - &ref_131 - schema: *ref_87 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_122 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - protocol: {} - - &ref_132 - schema: *ref_88 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_122 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - protocol: {} - - &ref_133 - schema: *ref_65 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_122 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - protocol: {} - - &ref_134 - schema: *ref_89 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_122 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_163 - in: header - signatureParameters: - - *ref_128 - - *ref_129 - - *ref_130 - - *ref_131 - - *ref_132 - - *ref_133 - - *ref_134 - language: - default: - name: '' - description: '' - protocol: - http: &ref_171 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: &ref_174 - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_175 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_177 - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_178 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - split-operation-names: &ref_197 - - Create - - Update - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_144 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_145 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_138 - schema: *ref_137 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_142 - schema: *ref_66 - implementation: Method - originalParameter: *ref_138 - pathToProperty: &ref_141 [] - required: false - targetProperty: *ref_139 - extensions: - cli-flatten-origin: *ref_139 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_143 - schema: *ref_90 - implementation: Method - originalParameter: *ref_138 - pathToProperty: *ref_141 - targetProperty: *ref_140 - extensions: - cli-flatten-origin: *ref_140 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - cliKey: disks - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_142 - - *ref_143 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_144 - - *ref_145 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_146 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_147 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_146 - - *ref_147 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_148 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_149 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_148 - - *ref_149 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_150 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_151 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_150 - - *ref_151 - responses: - - schema: *ref_152 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependencies_endpoints - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_153 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_154 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_153 - - *ref_154 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_155 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_156 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_155 - - *ref_156 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - - apiVersions: *ref_157 - parameters: - - *ref_108 - - *ref_113 - - &ref_172 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_158 - - &ref_173 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_159 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_160 - - &ref_161 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - protocol: - style: json - http: - in: body - - &ref_164 - schema: *ref_59 - implementation: Method - originalParameter: *ref_161 - pathToProperty: &ref_162 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - protocol: {} - - &ref_165 - schema: *ref_60 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_121 - extensions: - cli-flatten-origin: *ref_121 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_166 - schema: *ref_61 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - protocol: {} - - &ref_167 - schema: *ref_87 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - protocol: {} - - &ref_168 - schema: *ref_88 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - protocol: {} - - &ref_169 - schema: *ref_65 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - protocol: {} - - &ref_170 - schema: *ref_89 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_163 - signatureParameters: - - *ref_164 - - *ref_165 - - *ref_166 - - *ref_167 - - *ref_168 - - *ref_169 - - *ref_170 - language: - default: - name: '' - description: '' - protocol: - http: *ref_171 - signatureParameters: - - *ref_172 - - *ref_173 - responses: *ref_174 - exceptions: *ref_175 - extensions: - cli-split-operation-original-operation: *ref_176 - x-ms-examples: *ref_177 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_178 - language: - default: - name: Create - description: Create Disk pool. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: disk_pools - description: '' - cli: - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_179 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_179 - responses: - - schema: *ref_180 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: disk_pool_zones - description: '' - cli: - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_181 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_182 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_181 - - *ref_182 - responses: - - schema: *ref_183 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - &ref_231 - apiVersions: &ref_213 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_194 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_214 - in: path - - &ref_195 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_215 - in: path - - &ref_196 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: &ref_216 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_217 - in: header - - &ref_184 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_190 - schema: *ref_28 - implementation: Method - originalParameter: *ref_184 - pathToProperty: &ref_187 [] - required: true - targetProperty: *ref_185 - extensions: - cli-flatten-origin: *ref_185 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - protocol: {} - - &ref_191 - schema: *ref_38 - implementation: Method - originalParameter: *ref_184 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_186 - extensions: - cli-flatten-origin: *ref_186 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - protocol: {} - - &ref_192 - schema: *ref_102 - implementation: Method - originalParameter: *ref_184 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_193 - schema: *ref_103 - implementation: Method - originalParameter: *ref_184 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_220 - in: header - signatureParameters: - - *ref_190 - - *ref_191 - - *ref_192 - - *ref_193 - language: - default: - name: '' - description: '' - protocol: - http: &ref_225 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_194 - - *ref_195 - - *ref_196 - responses: &ref_229 - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_230 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_232 - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_233 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - split-operation-names: *ref_197 - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_204 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_205 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_206 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_198 - schema: *ref_43 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_202 - schema: *ref_104 - implementation: Method - originalParameter: *ref_198 - pathToProperty: &ref_201 [] - targetProperty: *ref_199 - extensions: - cli-flatten-origin: *ref_199 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_203 - schema: *ref_105 - implementation: Method - originalParameter: *ref_198 - pathToProperty: *ref_201 - targetProperty: *ref_200 - extensions: - cli-flatten-origin: *ref_200 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_202 - - *ref_203 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_204 - - *ref_205 - - *ref_206 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_207 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_208 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_209 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_207 - - *ref_208 - - *ref_209 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_210 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_211 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_212 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_210 - - *ref_211 - - *ref_212 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - - apiVersions: *ref_213 - parameters: - - *ref_108 - - *ref_113 - - &ref_226 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_214 - - &ref_227 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_215 - - &ref_228 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - protocol: - http: *ref_216 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_217 - - &ref_218 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - protocol: - style: json - http: - in: body - - &ref_221 - schema: *ref_28 - implementation: Method - originalParameter: *ref_218 - pathToProperty: &ref_219 [] - required: true - targetProperty: *ref_185 - extensions: - cli-flatten-origin: *ref_185 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - protocol: {} - - &ref_222 - schema: *ref_38 - implementation: Method - originalParameter: *ref_218 - pathToProperty: *ref_219 - required: false - targetProperty: *ref_186 - extensions: - cli-flatten-origin: *ref_186 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - protocol: {} - - &ref_223 - schema: *ref_102 - implementation: Method - originalParameter: *ref_218 - pathToProperty: *ref_219 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_224 - schema: *ref_103 - implementation: Method - originalParameter: *ref_218 - pathToProperty: *ref_219 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_220 - signatureParameters: - - *ref_221 - - *ref_222 - - *ref_223 - - *ref_224 - language: - default: - name: '' - description: '' - protocol: - http: *ref_225 - signatureParameters: - - *ref_226 - - *ref_227 - - *ref_228 - responses: *ref_229 - exceptions: *ref_230 - extensions: - cli-split-operation-original-operation: *ref_231 - x-ms-examples: *ref_232 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_233 - language: - default: - name: Create - description: Create an iSCSI Target. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: iscsi_targets - description: '' - cli: - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -language: - default: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000170-poly-as-resource-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000170-poly-as-resource-pre-simplified.yaml deleted file mode 100644 index a66db9bc97d..00000000000 --- a/src/diskpool/_az_debug/clicommon-000170-poly-as-resource-pre-simplified.yaml +++ /dev/null @@ -1,1570 +0,0 @@ -operationGroups: - all: - - operationGroupName: operations - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pools - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: disk_pool_create - - parameterName[0]: sku(sku^object) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - - parameterName[0]: tags(disk_pool_create_tags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - - parameterName[0]: location(disk_pool_create_location^string) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - - parameterName[0]: disks(disk_pool_create_properties_disks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - bodySchema: disk_pool_update - - parameterName[0]: tags(disk_pool_update_tags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['tags'] - cliKey: tags - - parameterName[0]: disks(disk_pool_update_properties_disks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['disks'] - cliKey: disks - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependencies_endpoints - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - bodySchema: disk_pool_create - - parameterName[0]: sku(sku^object) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - - parameterName[0]: tags(disk_pool_create_tags^dictionary) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - - parameterName[0]: location(disk_pool_create_location^string) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - - parameterName[0]: disks(disk_pool_create_properties_disks^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationGroupName: disk_pool_zones - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: location(string^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: iscsi_targets - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: iscsi_target_create - - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - - parameterName[0]: luns(iscsi_target_create_properties_luns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - bodySchema: iscsi_target_update - - parameterName[0]: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - cliKey: staticAcls - - parameterName[0]: luns(iscsi_target_update_properties_luns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - cliKey: luns - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - bodySchema: iscsi_target_create - - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - - parameterName[0]: luns(iscsi_target_create_properties_luns^array) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept -schemas: - objects: - all: - - schemaName: storage_pool_operation_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - properties: - - propertyName: value(storage_pool_operation_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(storage_pool_operation_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: storage_pool_RP_operation - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - properties: - - propertyName: name(storage_pool_RP_operation_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(storage_pool_RP_operation_action_type^string) - cli: - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(storage_pool_operation_display^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(storage_pool_RP_operation_origin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: storage_pool_operation_display - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - properties: - - propertyName: provider(storage_pool_operation_display_provider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(storage_pool_operation_display_resource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(storage_pool_operation_display_operation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(storage_pool_operation_display_description^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: error - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: schemas$$objects['Error'] - properties: - - propertyName: error(error_response^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - - schemaName: error_response - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - properties: - - propertyName: code(error_response_code^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(error_response_message^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(error_response_target^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(error_response_details^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(error_response_additional_info^array) - cli: - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: error_additional_info - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - properties: - - propertyName: type(error_additional_info_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: disk_pool_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - properties: - - propertyName: value(disk_pool_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(disk_pool_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: disk_pool - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(disk_pool_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(disk_pool_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(disk_pool_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: sku - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - properties: - - propertyName: name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - - schemaName: disk - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - properties: - - propertyName: id(disk_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - - schemaName: system_metadata - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - properties: - - propertyName: created_by(system_metadata_created_by^string) - cli: - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(created_by_type^choice) - cli: - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(system_metadata_last_modified_by^string) - cli: - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(created_by_type^choice) - cli: - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: tracked_resource - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - properties: - - propertyName: tags(tracked_resource_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(tracked_resource_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - properties: - - propertyName: id(resource_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(resource_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(resource_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: disk_pool_create - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - properties: - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(disk_pool_create_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(disk_pool_create_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(disk_pool_create_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(disk_pool_create_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(disk_pool_create_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(disk_pool_create_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: disk_pool_update - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - properties: - - propertyName: tags(disk_pool_update_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(disk_pool_update_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: disk_pool_zone_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - properties: - - propertyName: value(disk_pool_zone_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(disk_pool_zone_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: disk_pool_zone_info - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - properties: - - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: outbound_environment_endpoint_list - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - properties: - - propertyName: value(outbound_environment_endpoint_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: outbound_environment_endpoint - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - properties: - - propertyName: category(outbound_environment_endpoint_category^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: endpoint_dependency - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - properties: - - propertyName: domain_name(endpoint_dependency_domain_name^string) - cli: - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) - cli: - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: endpoint_detail - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - properties: - - propertyName: ip_address(endpoint_detail_ip_address^string) - cli: - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: iscsi_target_list - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - properties: - - propertyName: value(iscsi_target_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(iscsi_target_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: iscsi_target - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(iscsi_target_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(iscsi_target_properties_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: acl - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - properties: - - propertyName: initiator_iqn(acl_initiator_iqn^string) - cli: - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(acl_mapped_luns^array) - cli: - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: iscsi_lun - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - properties: - - propertyName: name(iscsi_lun_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: iscsi_target_create - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - properties: - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_create_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: iscsi_target_update - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - properties: - - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_update_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: proxy_resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - choices: - all: - - choiceName: provisioning_states - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: operational_status - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated_ - cli: - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: created_by_type - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: iscsi_target_acl_mode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: disk_pool_tier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000170-poly-as-resource-pre.yaml b/src/diskpool/_az_debug/clicommon-000170-poly-as-resource-pre.yaml deleted file mode 100644 index 32925fb7812..00000000000 --- a/src/diskpool/_az_debug/clicommon-000170-poly-as-resource-pre.yaml +++ /dev/null @@ -1,6821 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: string - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_name - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_action_type - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_provider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_resource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_code - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_message - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_target - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_additional_info_type - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: string - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_name - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_tier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: availability_zone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_id - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: additional_capability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_by - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_by - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: string - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: tracked_resource_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_name - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: string - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_create_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: disk_pool_create_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_name - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_zone_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_dependency_domain_name - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_detail_ip_address - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_list_next_link - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_mapped_luns_item - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_name - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_endpoints_item - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_list_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_create_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: provisioning_states - description: Provisioning state of the iSCSI Target. - cli: - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated_ - description: '' - cli: - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: operational_status - description: Operational status of the resource. - cli: - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: iscsi_target_acl_mode - description: ACL mode for iSCSI Target. - cli: - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: disk_pool_tier - description: SKU of the VM host part of the Disk Pool deployment - cli: - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: tracked_resource_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_create_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_update_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_display - description: Metadata about an operation. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_RP_operation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: storage_pool_operation_list_result_value - description: An array of operations supported by the StoragePool RP. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_list_result - description: List of operations supported by the RP. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: error_response_details - description: The error details. - cli: - cli-complexity: array_complex - cli-in-circle: true - cli-mark: checked - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_additional_info - description: The resource management error additional info. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: error_response_additional_info - description: The error additional info. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_response - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: system_metadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: acl_mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: iscsi_target_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_lun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: iscsi_target_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: iscsi_target_properties_endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_target - description: Response for iSCSI Target requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_185 - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - &ref_187 - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - &ref_188 - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_create_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_189 - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_create_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_create - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_199 - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_update_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_201 - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_update_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_update - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: proxy_resource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: resource - description: ARM resource model definition. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: tracked_resource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: disk_pool_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_properties_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk_pool - description: Response for Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: disk_pool_list_result_value - description: An array of Disk pool objects. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_list_result - description: List of Disk Pools - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: sku - description: Sku for ARM resource - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_120 - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - &ref_122 - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - &ref_123 - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - &ref_124 - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_create_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - &ref_125 - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_create_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - &ref_126 - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - &ref_127 - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_create_properties_additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: disk_pool_create - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_137 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_139 - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - &ref_141 - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_update_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: disk_pool_update - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_180 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_zone_info_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_zone_info_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_info - description: Disk Pool Sku Details - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: disk_pool_zone_list_result_value - description: The list of Disk Pool Skus. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_list_result - description: List Disk Pool skus operation response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_152 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_detail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: endpoint_dependency_endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_dependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_list_value - description: Collection of resources. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint_list - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_183 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: iscsi_target_list_value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: iscsi_target_list - description: List of iSCSI Targets. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - protocol: {} - language: - default: - name: operations - description: '' - cli: - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - &ref_176 - apiVersions: &ref_157 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_158 - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_159 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_160 - in: header - - &ref_119 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_128 - schema: *ref_59 - implementation: Method - originalParameter: *ref_119 - pathToProperty: &ref_121 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - protocol: {} - - &ref_129 - schema: *ref_60 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_130 - schema: *ref_61 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - protocol: {} - - &ref_131 - schema: *ref_87 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - protocol: {} - - &ref_132 - schema: *ref_88 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - protocol: {} - - &ref_133 - schema: *ref_65 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - protocol: {} - - &ref_134 - schema: *ref_89 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_163 - in: header - signatureParameters: - - *ref_128 - - *ref_129 - - *ref_130 - - *ref_131 - - *ref_132 - - *ref_133 - - *ref_134 - language: - default: - name: '' - description: '' - protocol: - http: &ref_171 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: &ref_174 - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_175 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_177 - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_178 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - split-operation-names: &ref_197 - - Create - - Update - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_144 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_145 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_138 - schema: *ref_137 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_142 - schema: *ref_66 - implementation: Method - originalParameter: *ref_138 - pathToProperty: &ref_140 [] - required: false - targetProperty: *ref_139 - extensions: - cli-flatten-origin: *ref_139 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_143 - schema: *ref_90 - implementation: Method - originalParameter: *ref_138 - pathToProperty: *ref_140 - targetProperty: *ref_141 - extensions: - cli-flatten-origin: *ref_141 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - cliKey: disks - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_142 - - *ref_143 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_144 - - *ref_145 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_146 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_147 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_146 - - *ref_147 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_148 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_149 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_148 - - *ref_149 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_150 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_151 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_150 - - *ref_151 - responses: - - schema: *ref_152 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependencies_endpoints - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_153 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_154 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_153 - - *ref_154 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_155 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_156 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_155 - - *ref_156 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - - apiVersions: *ref_157 - parameters: - - *ref_108 - - *ref_113 - - &ref_172 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_158 - - &ref_173 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_159 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_160 - - &ref_161 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - protocol: - style: json - http: - in: body - - &ref_164 - schema: *ref_59 - implementation: Method - originalParameter: *ref_161 - pathToProperty: &ref_162 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - protocol: {} - - &ref_165 - schema: *ref_60 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_166 - schema: *ref_61 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - protocol: {} - - &ref_167 - schema: *ref_87 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - protocol: {} - - &ref_168 - schema: *ref_88 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - protocol: {} - - &ref_169 - schema: *ref_65 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - protocol: {} - - &ref_170 - schema: *ref_89 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_163 - signatureParameters: - - *ref_164 - - *ref_165 - - *ref_166 - - *ref_167 - - *ref_168 - - *ref_169 - - *ref_170 - language: - default: - name: '' - description: '' - protocol: - http: *ref_171 - signatureParameters: - - *ref_172 - - *ref_173 - responses: *ref_174 - exceptions: *ref_175 - extensions: - cli-split-operation-original-operation: *ref_176 - x-ms-examples: *ref_177 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_178 - language: - default: - name: Create - description: Create Disk pool. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: disk_pools - description: '' - cli: - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_179 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_179 - responses: - - schema: *ref_180 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: disk_pool_zones - description: '' - cli: - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_181 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_182 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_181 - - *ref_182 - responses: - - schema: *ref_183 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - &ref_231 - apiVersions: &ref_213 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_194 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_214 - in: path - - &ref_195 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_215 - in: path - - &ref_196 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: &ref_216 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_217 - in: header - - &ref_184 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_190 - schema: *ref_28 - implementation: Method - originalParameter: *ref_184 - pathToProperty: &ref_186 [] - required: true - targetProperty: *ref_185 - extensions: - cli-flatten-origin: *ref_185 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - protocol: {} - - &ref_191 - schema: *ref_38 - implementation: Method - originalParameter: *ref_184 - pathToProperty: *ref_186 - required: false - targetProperty: *ref_187 - extensions: - cli-flatten-origin: *ref_187 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - protocol: {} - - &ref_192 - schema: *ref_102 - implementation: Method - originalParameter: *ref_184 - pathToProperty: *ref_186 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_193 - schema: *ref_103 - implementation: Method - originalParameter: *ref_184 - pathToProperty: *ref_186 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_220 - in: header - signatureParameters: - - *ref_190 - - *ref_191 - - *ref_192 - - *ref_193 - language: - default: - name: '' - description: '' - protocol: - http: &ref_225 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_194 - - *ref_195 - - *ref_196 - responses: &ref_229 - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_230 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_232 - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_233 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - split-operation-names: *ref_197 - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_204 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_205 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_206 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_198 - schema: *ref_43 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_202 - schema: *ref_104 - implementation: Method - originalParameter: *ref_198 - pathToProperty: &ref_200 [] - targetProperty: *ref_199 - extensions: - cli-flatten-origin: *ref_199 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_203 - schema: *ref_105 - implementation: Method - originalParameter: *ref_198 - pathToProperty: *ref_200 - targetProperty: *ref_201 - extensions: - cli-flatten-origin: *ref_201 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_202 - - *ref_203 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_204 - - *ref_205 - - *ref_206 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_207 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_208 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_209 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_207 - - *ref_208 - - *ref_209 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_210 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_211 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_212 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_210 - - *ref_211 - - *ref_212 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - - apiVersions: *ref_213 - parameters: - - *ref_108 - - *ref_113 - - &ref_226 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_214 - - &ref_227 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_215 - - &ref_228 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - protocol: - http: *ref_216 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_217 - - &ref_218 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - protocol: - style: json - http: - in: body - - &ref_221 - schema: *ref_28 - implementation: Method - originalParameter: *ref_218 - pathToProperty: &ref_219 [] - required: true - targetProperty: *ref_185 - extensions: - cli-flatten-origin: *ref_185 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - protocol: {} - - &ref_222 - schema: *ref_38 - implementation: Method - originalParameter: *ref_218 - pathToProperty: *ref_219 - required: false - targetProperty: *ref_187 - extensions: - cli-flatten-origin: *ref_187 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - protocol: {} - - &ref_223 - schema: *ref_102 - implementation: Method - originalParameter: *ref_218 - pathToProperty: *ref_219 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_224 - schema: *ref_103 - implementation: Method - originalParameter: *ref_218 - pathToProperty: *ref_219 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_220 - signatureParameters: - - *ref_221 - - *ref_222 - - *ref_223 - - *ref_224 - language: - default: - name: '' - description: '' - protocol: - http: *ref_225 - signatureParameters: - - *ref_226 - - *ref_227 - - *ref_228 - responses: *ref_229 - exceptions: *ref_230 - extensions: - cli-split-operation-original-operation: *ref_231 - x-ms-examples: *ref_232 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_233 - language: - default: - name: Create - description: Create an iSCSI Target. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: iscsi_targets - description: '' - cli: - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -language: - default: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000180-poly-as-resource-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000180-poly-as-resource-post-simplified.yaml deleted file mode 100644 index a66db9bc97d..00000000000 --- a/src/diskpool/_az_debug/clicommon-000180-poly-as-resource-post-simplified.yaml +++ /dev/null @@ -1,1570 +0,0 @@ -operationGroups: - all: - - operationGroupName: operations - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pools - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: disk_pool_create - - parameterName[0]: sku(sku^object) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - - parameterName[0]: tags(disk_pool_create_tags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - - parameterName[0]: location(disk_pool_create_location^string) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - - parameterName[0]: disks(disk_pool_create_properties_disks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - bodySchema: disk_pool_update - - parameterName[0]: tags(disk_pool_update_tags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['tags'] - cliKey: tags - - parameterName[0]: disks(disk_pool_update_properties_disks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['disks'] - cliKey: disks - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependencies_endpoints - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - bodySchema: disk_pool_create - - parameterName[0]: sku(sku^object) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - - parameterName[0]: tags(disk_pool_create_tags^dictionary) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - - parameterName[0]: location(disk_pool_create_location^string) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - - parameterName[0]: disks(disk_pool_create_properties_disks^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationGroupName: disk_pool_zones - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: location(string^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: iscsi_targets - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: iscsi_target_create - - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - - parameterName[0]: luns(iscsi_target_create_properties_luns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - bodySchema: iscsi_target_update - - parameterName[0]: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - cliKey: staticAcls - - parameterName[0]: luns(iscsi_target_update_properties_luns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - cliKey: luns - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - bodySchema: iscsi_target_create - - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - - parameterName[0]: luns(iscsi_target_create_properties_luns^array) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept -schemas: - objects: - all: - - schemaName: storage_pool_operation_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - properties: - - propertyName: value(storage_pool_operation_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(storage_pool_operation_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: storage_pool_RP_operation - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - properties: - - propertyName: name(storage_pool_RP_operation_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(storage_pool_RP_operation_action_type^string) - cli: - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(storage_pool_operation_display^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(storage_pool_RP_operation_origin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: storage_pool_operation_display - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - properties: - - propertyName: provider(storage_pool_operation_display_provider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(storage_pool_operation_display_resource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(storage_pool_operation_display_operation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(storage_pool_operation_display_description^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: error - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: schemas$$objects['Error'] - properties: - - propertyName: error(error_response^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - - schemaName: error_response - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - properties: - - propertyName: code(error_response_code^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(error_response_message^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(error_response_target^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(error_response_details^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(error_response_additional_info^array) - cli: - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: error_additional_info - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - properties: - - propertyName: type(error_additional_info_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: disk_pool_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - properties: - - propertyName: value(disk_pool_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(disk_pool_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: disk_pool - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(disk_pool_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(disk_pool_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(disk_pool_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: sku - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - properties: - - propertyName: name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - - schemaName: disk - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - properties: - - propertyName: id(disk_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - - schemaName: system_metadata - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - properties: - - propertyName: created_by(system_metadata_created_by^string) - cli: - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(created_by_type^choice) - cli: - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(system_metadata_last_modified_by^string) - cli: - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(created_by_type^choice) - cli: - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: tracked_resource - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - properties: - - propertyName: tags(tracked_resource_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(tracked_resource_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - properties: - - propertyName: id(resource_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(resource_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(resource_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: disk_pool_create - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - properties: - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(disk_pool_create_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(disk_pool_create_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(disk_pool_create_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(disk_pool_create_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(disk_pool_create_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(disk_pool_create_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: disk_pool_update - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - properties: - - propertyName: tags(disk_pool_update_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(disk_pool_update_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: disk_pool_zone_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - properties: - - propertyName: value(disk_pool_zone_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(disk_pool_zone_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: disk_pool_zone_info - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - properties: - - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: outbound_environment_endpoint_list - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - properties: - - propertyName: value(outbound_environment_endpoint_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: outbound_environment_endpoint - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - properties: - - propertyName: category(outbound_environment_endpoint_category^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: endpoint_dependency - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - properties: - - propertyName: domain_name(endpoint_dependency_domain_name^string) - cli: - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) - cli: - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: endpoint_detail - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - properties: - - propertyName: ip_address(endpoint_detail_ip_address^string) - cli: - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: iscsi_target_list - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - properties: - - propertyName: value(iscsi_target_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(iscsi_target_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: iscsi_target - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(iscsi_target_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(iscsi_target_properties_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: acl - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - properties: - - propertyName: initiator_iqn(acl_initiator_iqn^string) - cli: - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(acl_mapped_luns^array) - cli: - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: iscsi_lun - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - properties: - - propertyName: name(iscsi_lun_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: iscsi_target_create - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - properties: - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_create_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: iscsi_target_update - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - properties: - - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_update_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: proxy_resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - choices: - all: - - choiceName: provisioning_states - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: operational_status - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated_ - cli: - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: created_by_type - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: iscsi_target_acl_mode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: disk_pool_tier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000180-poly-as-resource-post.yaml b/src/diskpool/_az_debug/clicommon-000180-poly-as-resource-post.yaml deleted file mode 100644 index 32925fb7812..00000000000 --- a/src/diskpool/_az_debug/clicommon-000180-poly-as-resource-post.yaml +++ /dev/null @@ -1,6821 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: string - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_name - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_action_type - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_provider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_resource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_code - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_message - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_target - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_additional_info_type - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: string - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_name - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_tier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: availability_zone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_id - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: additional_capability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_by - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_by - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: string - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: tracked_resource_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_name - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: string - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_create_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: disk_pool_create_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_name - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_zone_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_dependency_domain_name - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_detail_ip_address - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_list_next_link - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_mapped_luns_item - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_name - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_endpoints_item - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_list_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_create_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: provisioning_states - description: Provisioning state of the iSCSI Target. - cli: - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated_ - description: '' - cli: - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: operational_status - description: Operational status of the resource. - cli: - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: iscsi_target_acl_mode - description: ACL mode for iSCSI Target. - cli: - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: disk_pool_tier - description: SKU of the VM host part of the Disk Pool deployment - cli: - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: tracked_resource_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_create_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_update_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_display - description: Metadata about an operation. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_RP_operation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: storage_pool_operation_list_result_value - description: An array of operations supported by the StoragePool RP. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_list_result - description: List of operations supported by the RP. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: error_response_details - description: The error details. - cli: - cli-complexity: array_complex - cli-in-circle: true - cli-mark: checked - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_additional_info - description: The resource management error additional info. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: error_response_additional_info - description: The error additional info. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_response - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: system_metadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: acl_mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: iscsi_target_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_lun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: iscsi_target_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: iscsi_target_properties_endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_target - description: Response for iSCSI Target requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_185 - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - &ref_187 - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - &ref_188 - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_create_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_189 - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_create_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_create - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_199 - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_update_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_201 - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_update_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_update - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: proxy_resource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: resource - description: ARM resource model definition. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: tracked_resource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: disk_pool_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_properties_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk_pool - description: Response for Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: disk_pool_list_result_value - description: An array of Disk pool objects. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_list_result - description: List of Disk Pools - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: sku - description: Sku for ARM resource - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_120 - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - &ref_122 - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - &ref_123 - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - &ref_124 - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_create_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - &ref_125 - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_create_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - &ref_126 - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - &ref_127 - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_create_properties_additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: disk_pool_create - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_137 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_139 - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - &ref_141 - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_update_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: disk_pool_update - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_180 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_zone_info_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_zone_info_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_info - description: Disk Pool Sku Details - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: disk_pool_zone_list_result_value - description: The list of Disk Pool Skus. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_list_result - description: List Disk Pool skus operation response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_152 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_detail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: endpoint_dependency_endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_dependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_list_value - description: Collection of resources. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint_list - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_183 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: iscsi_target_list_value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: iscsi_target_list - description: List of iSCSI Targets. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - protocol: {} - language: - default: - name: operations - description: '' - cli: - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - &ref_176 - apiVersions: &ref_157 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_158 - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_159 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_160 - in: header - - &ref_119 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_128 - schema: *ref_59 - implementation: Method - originalParameter: *ref_119 - pathToProperty: &ref_121 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - protocol: {} - - &ref_129 - schema: *ref_60 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_130 - schema: *ref_61 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - protocol: {} - - &ref_131 - schema: *ref_87 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - protocol: {} - - &ref_132 - schema: *ref_88 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - protocol: {} - - &ref_133 - schema: *ref_65 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - protocol: {} - - &ref_134 - schema: *ref_89 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_163 - in: header - signatureParameters: - - *ref_128 - - *ref_129 - - *ref_130 - - *ref_131 - - *ref_132 - - *ref_133 - - *ref_134 - language: - default: - name: '' - description: '' - protocol: - http: &ref_171 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: &ref_174 - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_175 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_177 - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_178 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - split-operation-names: &ref_197 - - Create - - Update - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_144 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_145 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_138 - schema: *ref_137 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_142 - schema: *ref_66 - implementation: Method - originalParameter: *ref_138 - pathToProperty: &ref_140 [] - required: false - targetProperty: *ref_139 - extensions: - cli-flatten-origin: *ref_139 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_143 - schema: *ref_90 - implementation: Method - originalParameter: *ref_138 - pathToProperty: *ref_140 - targetProperty: *ref_141 - extensions: - cli-flatten-origin: *ref_141 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - cliKey: disks - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_142 - - *ref_143 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_144 - - *ref_145 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_146 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_147 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_146 - - *ref_147 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_148 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_149 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_148 - - *ref_149 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_150 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_151 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_150 - - *ref_151 - responses: - - schema: *ref_152 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependencies_endpoints - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_153 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_154 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_153 - - *ref_154 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_155 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_156 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_155 - - *ref_156 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - - apiVersions: *ref_157 - parameters: - - *ref_108 - - *ref_113 - - &ref_172 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_158 - - &ref_173 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_159 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_160 - - &ref_161 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - protocol: - style: json - http: - in: body - - &ref_164 - schema: *ref_59 - implementation: Method - originalParameter: *ref_161 - pathToProperty: &ref_162 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - protocol: {} - - &ref_165 - schema: *ref_60 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_166 - schema: *ref_61 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - protocol: {} - - &ref_167 - schema: *ref_87 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - protocol: {} - - &ref_168 - schema: *ref_88 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - protocol: {} - - &ref_169 - schema: *ref_65 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - protocol: {} - - &ref_170 - schema: *ref_89 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_163 - signatureParameters: - - *ref_164 - - *ref_165 - - *ref_166 - - *ref_167 - - *ref_168 - - *ref_169 - - *ref_170 - language: - default: - name: '' - description: '' - protocol: - http: *ref_171 - signatureParameters: - - *ref_172 - - *ref_173 - responses: *ref_174 - exceptions: *ref_175 - extensions: - cli-split-operation-original-operation: *ref_176 - x-ms-examples: *ref_177 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_178 - language: - default: - name: Create - description: Create Disk pool. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: disk_pools - description: '' - cli: - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_179 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_179 - responses: - - schema: *ref_180 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: disk_pool_zones - description: '' - cli: - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_181 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_182 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_181 - - *ref_182 - responses: - - schema: *ref_183 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - &ref_231 - apiVersions: &ref_213 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_194 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_214 - in: path - - &ref_195 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_215 - in: path - - &ref_196 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: &ref_216 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_217 - in: header - - &ref_184 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_190 - schema: *ref_28 - implementation: Method - originalParameter: *ref_184 - pathToProperty: &ref_186 [] - required: true - targetProperty: *ref_185 - extensions: - cli-flatten-origin: *ref_185 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - protocol: {} - - &ref_191 - schema: *ref_38 - implementation: Method - originalParameter: *ref_184 - pathToProperty: *ref_186 - required: false - targetProperty: *ref_187 - extensions: - cli-flatten-origin: *ref_187 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - protocol: {} - - &ref_192 - schema: *ref_102 - implementation: Method - originalParameter: *ref_184 - pathToProperty: *ref_186 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_193 - schema: *ref_103 - implementation: Method - originalParameter: *ref_184 - pathToProperty: *ref_186 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_220 - in: header - signatureParameters: - - *ref_190 - - *ref_191 - - *ref_192 - - *ref_193 - language: - default: - name: '' - description: '' - protocol: - http: &ref_225 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_194 - - *ref_195 - - *ref_196 - responses: &ref_229 - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_230 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_232 - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_233 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - split-operation-names: *ref_197 - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_204 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_205 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_206 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_198 - schema: *ref_43 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_202 - schema: *ref_104 - implementation: Method - originalParameter: *ref_198 - pathToProperty: &ref_200 [] - targetProperty: *ref_199 - extensions: - cli-flatten-origin: *ref_199 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_203 - schema: *ref_105 - implementation: Method - originalParameter: *ref_198 - pathToProperty: *ref_200 - targetProperty: *ref_201 - extensions: - cli-flatten-origin: *ref_201 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_202 - - *ref_203 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_204 - - *ref_205 - - *ref_206 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_207 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_208 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_209 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_207 - - *ref_208 - - *ref_209 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_210 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_211 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_212 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_210 - - *ref_211 - - *ref_212 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - - apiVersions: *ref_213 - parameters: - - *ref_108 - - *ref_113 - - &ref_226 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_214 - - &ref_227 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_215 - - &ref_228 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - protocol: - http: *ref_216 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_217 - - &ref_218 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - protocol: - style: json - http: - in: body - - &ref_221 - schema: *ref_28 - implementation: Method - originalParameter: *ref_218 - pathToProperty: &ref_219 [] - required: true - targetProperty: *ref_185 - extensions: - cli-flatten-origin: *ref_185 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - protocol: {} - - &ref_222 - schema: *ref_38 - implementation: Method - originalParameter: *ref_218 - pathToProperty: *ref_219 - required: false - targetProperty: *ref_187 - extensions: - cli-flatten-origin: *ref_187 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - protocol: {} - - &ref_223 - schema: *ref_102 - implementation: Method - originalParameter: *ref_218 - pathToProperty: *ref_219 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_224 - schema: *ref_103 - implementation: Method - originalParameter: *ref_218 - pathToProperty: *ref_219 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_220 - signatureParameters: - - *ref_221 - - *ref_222 - - *ref_223 - - *ref_224 - language: - default: - name: '' - description: '' - protocol: - http: *ref_225 - signatureParameters: - - *ref_226 - - *ref_227 - - *ref_228 - responses: *ref_229 - exceptions: *ref_230 - extensions: - cli-split-operation-original-operation: *ref_231 - x-ms-examples: *ref_232 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_233 - language: - default: - name: Create - description: Create an iSCSI Target. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: iscsi_targets - description: '' - cli: - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -language: - default: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000190-flatten-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000190-flatten-pre-simplified.yaml deleted file mode 100644 index a66db9bc97d..00000000000 --- a/src/diskpool/_az_debug/clicommon-000190-flatten-pre-simplified.yaml +++ /dev/null @@ -1,1570 +0,0 @@ -operationGroups: - all: - - operationGroupName: operations - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pools - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: disk_pool_create - - parameterName[0]: sku(sku^object) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - - parameterName[0]: tags(disk_pool_create_tags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - - parameterName[0]: location(disk_pool_create_location^string) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - - parameterName[0]: disks(disk_pool_create_properties_disks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - bodySchema: disk_pool_update - - parameterName[0]: tags(disk_pool_update_tags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['tags'] - cliKey: tags - - parameterName[0]: disks(disk_pool_update_properties_disks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['disks'] - cliKey: disks - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependencies_endpoints - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - bodySchema: disk_pool_create - - parameterName[0]: sku(sku^object) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - - parameterName[0]: tags(disk_pool_create_tags^dictionary) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - - parameterName[0]: location(disk_pool_create_location^string) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - - parameterName[0]: disks(disk_pool_create_properties_disks^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationGroupName: disk_pool_zones - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: location(string^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: iscsi_targets - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: iscsi_target_create - - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - - parameterName[0]: luns(iscsi_target_create_properties_luns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - bodySchema: iscsi_target_update - - parameterName[0]: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - cliKey: staticAcls - - parameterName[0]: luns(iscsi_target_update_properties_luns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - cliKey: luns - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - bodySchema: iscsi_target_create - - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - - parameterName[0]: luns(iscsi_target_create_properties_luns^array) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept -schemas: - objects: - all: - - schemaName: storage_pool_operation_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - properties: - - propertyName: value(storage_pool_operation_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(storage_pool_operation_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: storage_pool_RP_operation - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - properties: - - propertyName: name(storage_pool_RP_operation_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(storage_pool_RP_operation_action_type^string) - cli: - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(storage_pool_operation_display^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(storage_pool_RP_operation_origin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: storage_pool_operation_display - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - properties: - - propertyName: provider(storage_pool_operation_display_provider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(storage_pool_operation_display_resource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(storage_pool_operation_display_operation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(storage_pool_operation_display_description^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: error - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: schemas$$objects['Error'] - properties: - - propertyName: error(error_response^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - - schemaName: error_response - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - properties: - - propertyName: code(error_response_code^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(error_response_message^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(error_response_target^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(error_response_details^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(error_response_additional_info^array) - cli: - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: error_additional_info - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - properties: - - propertyName: type(error_additional_info_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: disk_pool_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - properties: - - propertyName: value(disk_pool_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(disk_pool_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: disk_pool - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(disk_pool_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(disk_pool_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(disk_pool_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: sku - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - properties: - - propertyName: name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - - schemaName: disk - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - properties: - - propertyName: id(disk_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - - schemaName: system_metadata - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - properties: - - propertyName: created_by(system_metadata_created_by^string) - cli: - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(created_by_type^choice) - cli: - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(system_metadata_last_modified_by^string) - cli: - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(created_by_type^choice) - cli: - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: tracked_resource - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - properties: - - propertyName: tags(tracked_resource_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(tracked_resource_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - properties: - - propertyName: id(resource_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(resource_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(resource_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: disk_pool_create - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - properties: - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(disk_pool_create_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(disk_pool_create_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(disk_pool_create_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(disk_pool_create_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(disk_pool_create_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(disk_pool_create_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: disk_pool_update - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - properties: - - propertyName: tags(disk_pool_update_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(disk_pool_update_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: disk_pool_zone_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - properties: - - propertyName: value(disk_pool_zone_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(disk_pool_zone_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: disk_pool_zone_info - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - properties: - - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: outbound_environment_endpoint_list - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - properties: - - propertyName: value(outbound_environment_endpoint_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: outbound_environment_endpoint - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - properties: - - propertyName: category(outbound_environment_endpoint_category^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: endpoint_dependency - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - properties: - - propertyName: domain_name(endpoint_dependency_domain_name^string) - cli: - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) - cli: - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: endpoint_detail - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - properties: - - propertyName: ip_address(endpoint_detail_ip_address^string) - cli: - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: iscsi_target_list - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - properties: - - propertyName: value(iscsi_target_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(iscsi_target_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: iscsi_target - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(iscsi_target_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(iscsi_target_properties_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: acl - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - properties: - - propertyName: initiator_iqn(acl_initiator_iqn^string) - cli: - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(acl_mapped_luns^array) - cli: - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: iscsi_lun - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - properties: - - propertyName: name(iscsi_lun_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: iscsi_target_create - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - properties: - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_create_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: iscsi_target_update - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - properties: - - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_update_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: proxy_resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - choices: - all: - - choiceName: provisioning_states - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: operational_status - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated_ - cli: - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: created_by_type - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: iscsi_target_acl_mode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: disk_pool_tier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000190-flatten-pre.yaml b/src/diskpool/_az_debug/clicommon-000190-flatten-pre.yaml deleted file mode 100644 index 32925fb7812..00000000000 --- a/src/diskpool/_az_debug/clicommon-000190-flatten-pre.yaml +++ /dev/null @@ -1,6821 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: string - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_name - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_action_type - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_provider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_resource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_code - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_message - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_target - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_additional_info_type - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: string - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_name - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_tier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: availability_zone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_id - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: additional_capability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_by - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_by - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: string - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: tracked_resource_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_name - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: string - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_create_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: disk_pool_create_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_name - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_zone_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_dependency_domain_name - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_detail_ip_address - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_list_next_link - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_mapped_luns_item - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_name - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_endpoints_item - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_list_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_create_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: provisioning_states - description: Provisioning state of the iSCSI Target. - cli: - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated_ - description: '' - cli: - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: operational_status - description: Operational status of the resource. - cli: - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: iscsi_target_acl_mode - description: ACL mode for iSCSI Target. - cli: - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: disk_pool_tier - description: SKU of the VM host part of the Disk Pool deployment - cli: - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: tracked_resource_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_create_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_update_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_display - description: Metadata about an operation. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_RP_operation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: storage_pool_operation_list_result_value - description: An array of operations supported by the StoragePool RP. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_list_result - description: List of operations supported by the RP. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: error_response_details - description: The error details. - cli: - cli-complexity: array_complex - cli-in-circle: true - cli-mark: checked - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_additional_info - description: The resource management error additional info. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: error_response_additional_info - description: The error additional info. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_response - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: system_metadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: acl_mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: iscsi_target_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_lun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: iscsi_target_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: iscsi_target_properties_endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_target - description: Response for iSCSI Target requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_185 - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - &ref_187 - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - &ref_188 - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_create_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_189 - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_create_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_create - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_199 - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_update_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_201 - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_update_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_update - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: proxy_resource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: resource - description: ARM resource model definition. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: tracked_resource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: disk_pool_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_properties_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk_pool - description: Response for Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: disk_pool_list_result_value - description: An array of Disk pool objects. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_list_result - description: List of Disk Pools - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: sku - description: Sku for ARM resource - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_120 - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - &ref_122 - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - &ref_123 - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - &ref_124 - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_create_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - &ref_125 - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_create_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - &ref_126 - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - &ref_127 - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_create_properties_additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: disk_pool_create - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_137 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_139 - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - &ref_141 - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_update_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: disk_pool_update - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_180 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_zone_info_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_zone_info_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_info - description: Disk Pool Sku Details - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: disk_pool_zone_list_result_value - description: The list of Disk Pool Skus. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_list_result - description: List Disk Pool skus operation response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_152 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_detail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: endpoint_dependency_endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_dependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_list_value - description: Collection of resources. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint_list - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_183 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: iscsi_target_list_value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: iscsi_target_list - description: List of iSCSI Targets. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - protocol: {} - language: - default: - name: operations - description: '' - cli: - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - &ref_176 - apiVersions: &ref_157 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_158 - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_159 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_160 - in: header - - &ref_119 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_128 - schema: *ref_59 - implementation: Method - originalParameter: *ref_119 - pathToProperty: &ref_121 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - protocol: {} - - &ref_129 - schema: *ref_60 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_130 - schema: *ref_61 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - protocol: {} - - &ref_131 - schema: *ref_87 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - protocol: {} - - &ref_132 - schema: *ref_88 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - protocol: {} - - &ref_133 - schema: *ref_65 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - protocol: {} - - &ref_134 - schema: *ref_89 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_163 - in: header - signatureParameters: - - *ref_128 - - *ref_129 - - *ref_130 - - *ref_131 - - *ref_132 - - *ref_133 - - *ref_134 - language: - default: - name: '' - description: '' - protocol: - http: &ref_171 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: &ref_174 - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_175 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_177 - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_178 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - split-operation-names: &ref_197 - - Create - - Update - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_144 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_145 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_138 - schema: *ref_137 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_142 - schema: *ref_66 - implementation: Method - originalParameter: *ref_138 - pathToProperty: &ref_140 [] - required: false - targetProperty: *ref_139 - extensions: - cli-flatten-origin: *ref_139 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_143 - schema: *ref_90 - implementation: Method - originalParameter: *ref_138 - pathToProperty: *ref_140 - targetProperty: *ref_141 - extensions: - cli-flatten-origin: *ref_141 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - cliKey: disks - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_142 - - *ref_143 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_144 - - *ref_145 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_146 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_147 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_146 - - *ref_147 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_148 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_149 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_148 - - *ref_149 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_150 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_151 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_150 - - *ref_151 - responses: - - schema: *ref_152 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependencies_endpoints - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_153 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_154 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_153 - - *ref_154 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_155 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_156 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_155 - - *ref_156 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - - apiVersions: *ref_157 - parameters: - - *ref_108 - - *ref_113 - - &ref_172 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_158 - - &ref_173 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_159 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_160 - - &ref_161 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - protocol: - style: json - http: - in: body - - &ref_164 - schema: *ref_59 - implementation: Method - originalParameter: *ref_161 - pathToProperty: &ref_162 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - protocol: {} - - &ref_165 - schema: *ref_60 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_166 - schema: *ref_61 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - protocol: {} - - &ref_167 - schema: *ref_87 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - protocol: {} - - &ref_168 - schema: *ref_88 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - protocol: {} - - &ref_169 - schema: *ref_65 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - protocol: {} - - &ref_170 - schema: *ref_89 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_163 - signatureParameters: - - *ref_164 - - *ref_165 - - *ref_166 - - *ref_167 - - *ref_168 - - *ref_169 - - *ref_170 - language: - default: - name: '' - description: '' - protocol: - http: *ref_171 - signatureParameters: - - *ref_172 - - *ref_173 - responses: *ref_174 - exceptions: *ref_175 - extensions: - cli-split-operation-original-operation: *ref_176 - x-ms-examples: *ref_177 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_178 - language: - default: - name: Create - description: Create Disk pool. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: disk_pools - description: '' - cli: - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_179 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_179 - responses: - - schema: *ref_180 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: disk_pool_zones - description: '' - cli: - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_181 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_182 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_181 - - *ref_182 - responses: - - schema: *ref_183 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - &ref_231 - apiVersions: &ref_213 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_194 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_214 - in: path - - &ref_195 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_215 - in: path - - &ref_196 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: &ref_216 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_217 - in: header - - &ref_184 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_190 - schema: *ref_28 - implementation: Method - originalParameter: *ref_184 - pathToProperty: &ref_186 [] - required: true - targetProperty: *ref_185 - extensions: - cli-flatten-origin: *ref_185 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - protocol: {} - - &ref_191 - schema: *ref_38 - implementation: Method - originalParameter: *ref_184 - pathToProperty: *ref_186 - required: false - targetProperty: *ref_187 - extensions: - cli-flatten-origin: *ref_187 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - protocol: {} - - &ref_192 - schema: *ref_102 - implementation: Method - originalParameter: *ref_184 - pathToProperty: *ref_186 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_193 - schema: *ref_103 - implementation: Method - originalParameter: *ref_184 - pathToProperty: *ref_186 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_220 - in: header - signatureParameters: - - *ref_190 - - *ref_191 - - *ref_192 - - *ref_193 - language: - default: - name: '' - description: '' - protocol: - http: &ref_225 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_194 - - *ref_195 - - *ref_196 - responses: &ref_229 - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_230 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_232 - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_233 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - split-operation-names: *ref_197 - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_204 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_205 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_206 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_198 - schema: *ref_43 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_202 - schema: *ref_104 - implementation: Method - originalParameter: *ref_198 - pathToProperty: &ref_200 [] - targetProperty: *ref_199 - extensions: - cli-flatten-origin: *ref_199 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_203 - schema: *ref_105 - implementation: Method - originalParameter: *ref_198 - pathToProperty: *ref_200 - targetProperty: *ref_201 - extensions: - cli-flatten-origin: *ref_201 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_202 - - *ref_203 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_204 - - *ref_205 - - *ref_206 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_207 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_208 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_209 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_207 - - *ref_208 - - *ref_209 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_210 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_211 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_212 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_210 - - *ref_211 - - *ref_212 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - - apiVersions: *ref_213 - parameters: - - *ref_108 - - *ref_113 - - &ref_226 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_214 - - &ref_227 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_215 - - &ref_228 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - protocol: - http: *ref_216 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_217 - - &ref_218 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - protocol: - style: json - http: - in: body - - &ref_221 - schema: *ref_28 - implementation: Method - originalParameter: *ref_218 - pathToProperty: &ref_219 [] - required: true - targetProperty: *ref_185 - extensions: - cli-flatten-origin: *ref_185 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - protocol: {} - - &ref_222 - schema: *ref_38 - implementation: Method - originalParameter: *ref_218 - pathToProperty: *ref_219 - required: false - targetProperty: *ref_187 - extensions: - cli-flatten-origin: *ref_187 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - protocol: {} - - &ref_223 - schema: *ref_102 - implementation: Method - originalParameter: *ref_218 - pathToProperty: *ref_219 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_224 - schema: *ref_103 - implementation: Method - originalParameter: *ref_218 - pathToProperty: *ref_219 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_220 - signatureParameters: - - *ref_221 - - *ref_222 - - *ref_223 - - *ref_224 - language: - default: - name: '' - description: '' - protocol: - http: *ref_225 - signatureParameters: - - *ref_226 - - *ref_227 - - *ref_228 - responses: *ref_229 - exceptions: *ref_230 - extensions: - cli-split-operation-original-operation: *ref_231 - x-ms-examples: *ref_232 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_233 - language: - default: - name: Create - description: Create an iSCSI Target. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: iscsi_targets - description: '' - cli: - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -language: - default: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000200-flatten-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000200-flatten-post-simplified.yaml deleted file mode 100644 index a66db9bc97d..00000000000 --- a/src/diskpool/_az_debug/clicommon-000200-flatten-post-simplified.yaml +++ /dev/null @@ -1,1570 +0,0 @@ -operationGroups: - all: - - operationGroupName: operations - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pools - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: disk_pool_create - - parameterName[0]: sku(sku^object) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - - parameterName[0]: tags(disk_pool_create_tags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - - parameterName[0]: location(disk_pool_create_location^string) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - - parameterName[0]: disks(disk_pool_create_properties_disks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - bodySchema: disk_pool_update - - parameterName[0]: tags(disk_pool_update_tags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['tags'] - cliKey: tags - - parameterName[0]: disks(disk_pool_update_properties_disks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['disks'] - cliKey: disks - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependencies_endpoints - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - bodySchema: disk_pool_create - - parameterName[0]: sku(sku^object) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - - parameterName[0]: tags(disk_pool_create_tags^dictionary) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - - parameterName[0]: location(disk_pool_create_location^string) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - - parameterName[0]: disks(disk_pool_create_properties_disks^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationGroupName: disk_pool_zones - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: location(string^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: iscsi_targets - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: iscsi_target_create - - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - - parameterName[0]: luns(iscsi_target_create_properties_luns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - bodySchema: iscsi_target_update - - parameterName[0]: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - cliKey: staticAcls - - parameterName[0]: luns(iscsi_target_update_properties_luns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - cliKey: luns - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - bodySchema: iscsi_target_create - - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - - parameterName[0]: luns(iscsi_target_create_properties_luns^array) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept -schemas: - objects: - all: - - schemaName: storage_pool_operation_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - properties: - - propertyName: value(storage_pool_operation_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(storage_pool_operation_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: storage_pool_RP_operation - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - properties: - - propertyName: name(storage_pool_RP_operation_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(storage_pool_RP_operation_action_type^string) - cli: - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(storage_pool_operation_display^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(storage_pool_RP_operation_origin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: storage_pool_operation_display - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - properties: - - propertyName: provider(storage_pool_operation_display_provider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(storage_pool_operation_display_resource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(storage_pool_operation_display_operation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(storage_pool_operation_display_description^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: error - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: schemas$$objects['Error'] - properties: - - propertyName: error(error_response^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - - schemaName: error_response - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - properties: - - propertyName: code(error_response_code^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(error_response_message^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(error_response_target^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(error_response_details^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(error_response_additional_info^array) - cli: - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: error_additional_info - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - properties: - - propertyName: type(error_additional_info_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: disk_pool_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - properties: - - propertyName: value(disk_pool_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(disk_pool_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: disk_pool - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(disk_pool_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(disk_pool_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(disk_pool_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: sku - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - properties: - - propertyName: name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - - schemaName: disk - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - properties: - - propertyName: id(disk_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - - schemaName: system_metadata - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - properties: - - propertyName: created_by(system_metadata_created_by^string) - cli: - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(created_by_type^choice) - cli: - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(system_metadata_last_modified_by^string) - cli: - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(created_by_type^choice) - cli: - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: tracked_resource - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - properties: - - propertyName: tags(tracked_resource_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(tracked_resource_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - properties: - - propertyName: id(resource_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(resource_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(resource_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: disk_pool_create - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - properties: - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(disk_pool_create_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(disk_pool_create_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(disk_pool_create_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(disk_pool_create_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(disk_pool_create_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(disk_pool_create_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: disk_pool_update - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - properties: - - propertyName: tags(disk_pool_update_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(disk_pool_update_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: disk_pool_zone_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - properties: - - propertyName: value(disk_pool_zone_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(disk_pool_zone_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: disk_pool_zone_info - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - properties: - - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: outbound_environment_endpoint_list - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - properties: - - propertyName: value(outbound_environment_endpoint_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: outbound_environment_endpoint - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - properties: - - propertyName: category(outbound_environment_endpoint_category^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: endpoint_dependency - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - properties: - - propertyName: domain_name(endpoint_dependency_domain_name^string) - cli: - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) - cli: - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: endpoint_detail - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - properties: - - propertyName: ip_address(endpoint_detail_ip_address^string) - cli: - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: iscsi_target_list - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - properties: - - propertyName: value(iscsi_target_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(iscsi_target_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: iscsi_target - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(iscsi_target_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(iscsi_target_properties_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: acl - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - properties: - - propertyName: initiator_iqn(acl_initiator_iqn^string) - cli: - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(acl_mapped_luns^array) - cli: - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: iscsi_lun - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - properties: - - propertyName: name(iscsi_lun_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: iscsi_target_create - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - properties: - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_create_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: iscsi_target_update - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - properties: - - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_update_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: proxy_resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - choices: - all: - - choiceName: provisioning_states - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: operational_status - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated_ - cli: - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: created_by_type - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: iscsi_target_acl_mode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: disk_pool_tier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000200-flatten-post.yaml b/src/diskpool/_az_debug/clicommon-000200-flatten-post.yaml deleted file mode 100644 index 32925fb7812..00000000000 --- a/src/diskpool/_az_debug/clicommon-000200-flatten-post.yaml +++ /dev/null @@ -1,6821 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: string - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_name - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_action_type - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_provider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_resource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_code - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_message - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_target - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_additional_info_type - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: string - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_name - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_tier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: availability_zone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_id - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: additional_capability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_by - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_by - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: string - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: tracked_resource_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_name - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: string - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_create_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: disk_pool_create_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_name - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_zone_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_dependency_domain_name - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_detail_ip_address - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_list_next_link - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_mapped_luns_item - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_name - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_endpoints_item - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_list_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_create_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: provisioning_states - description: Provisioning state of the iSCSI Target. - cli: - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated_ - description: '' - cli: - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: operational_status - description: Operational status of the resource. - cli: - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: iscsi_target_acl_mode - description: ACL mode for iSCSI Target. - cli: - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: disk_pool_tier - description: SKU of the VM host part of the Disk Pool deployment - cli: - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: tracked_resource_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_create_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_update_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_display - description: Metadata about an operation. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_RP_operation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: storage_pool_operation_list_result_value - description: An array of operations supported by the StoragePool RP. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_list_result - description: List of operations supported by the RP. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: error_response_details - description: The error details. - cli: - cli-complexity: array_complex - cli-in-circle: true - cli-mark: checked - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_additional_info - description: The resource management error additional info. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: error_response_additional_info - description: The error additional info. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_response - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: system_metadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: acl_mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: iscsi_target_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_lun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: iscsi_target_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: iscsi_target_properties_endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_target - description: Response for iSCSI Target requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_185 - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - &ref_187 - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - &ref_188 - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_create_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_189 - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_create_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_create - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_199 - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_update_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_201 - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_update_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_update - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: proxy_resource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: resource - description: ARM resource model definition. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: tracked_resource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: disk_pool_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_properties_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk_pool - description: Response for Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: disk_pool_list_result_value - description: An array of Disk pool objects. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_list_result - description: List of Disk Pools - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: sku - description: Sku for ARM resource - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_120 - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - &ref_122 - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - &ref_123 - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - &ref_124 - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_create_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - &ref_125 - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_create_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - &ref_126 - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - &ref_127 - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_create_properties_additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: disk_pool_create - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_137 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_139 - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - &ref_141 - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_update_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: disk_pool_update - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_180 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_zone_info_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_zone_info_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_info - description: Disk Pool Sku Details - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: disk_pool_zone_list_result_value - description: The list of Disk Pool Skus. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_list_result - description: List Disk Pool skus operation response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_152 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_detail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: endpoint_dependency_endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_dependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_list_value - description: Collection of resources. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint_list - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_183 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: iscsi_target_list_value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: iscsi_target_list - description: List of iSCSI Targets. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - protocol: {} - language: - default: - name: operations - description: '' - cli: - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - &ref_176 - apiVersions: &ref_157 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_158 - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_159 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_160 - in: header - - &ref_119 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_128 - schema: *ref_59 - implementation: Method - originalParameter: *ref_119 - pathToProperty: &ref_121 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - protocol: {} - - &ref_129 - schema: *ref_60 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_130 - schema: *ref_61 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - protocol: {} - - &ref_131 - schema: *ref_87 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - protocol: {} - - &ref_132 - schema: *ref_88 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - protocol: {} - - &ref_133 - schema: *ref_65 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - protocol: {} - - &ref_134 - schema: *ref_89 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_163 - in: header - signatureParameters: - - *ref_128 - - *ref_129 - - *ref_130 - - *ref_131 - - *ref_132 - - *ref_133 - - *ref_134 - language: - default: - name: '' - description: '' - protocol: - http: &ref_171 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: &ref_174 - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_175 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_177 - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_178 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - split-operation-names: &ref_197 - - Create - - Update - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_144 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_145 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_138 - schema: *ref_137 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_142 - schema: *ref_66 - implementation: Method - originalParameter: *ref_138 - pathToProperty: &ref_140 [] - required: false - targetProperty: *ref_139 - extensions: - cli-flatten-origin: *ref_139 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_143 - schema: *ref_90 - implementation: Method - originalParameter: *ref_138 - pathToProperty: *ref_140 - targetProperty: *ref_141 - extensions: - cli-flatten-origin: *ref_141 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - cliKey: disks - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_142 - - *ref_143 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_144 - - *ref_145 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_146 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_147 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_146 - - *ref_147 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_148 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_149 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_148 - - *ref_149 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_150 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_151 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_150 - - *ref_151 - responses: - - schema: *ref_152 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependencies_endpoints - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_153 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_154 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_153 - - *ref_154 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_155 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_156 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_155 - - *ref_156 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - - apiVersions: *ref_157 - parameters: - - *ref_108 - - *ref_113 - - &ref_172 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_158 - - &ref_173 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_159 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_160 - - &ref_161 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - protocol: - style: json - http: - in: body - - &ref_164 - schema: *ref_59 - implementation: Method - originalParameter: *ref_161 - pathToProperty: &ref_162 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - protocol: {} - - &ref_165 - schema: *ref_60 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_166 - schema: *ref_61 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - protocol: {} - - &ref_167 - schema: *ref_87 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - protocol: {} - - &ref_168 - schema: *ref_88 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - protocol: {} - - &ref_169 - schema: *ref_65 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - protocol: {} - - &ref_170 - schema: *ref_89 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_163 - signatureParameters: - - *ref_164 - - *ref_165 - - *ref_166 - - *ref_167 - - *ref_168 - - *ref_169 - - *ref_170 - language: - default: - name: '' - description: '' - protocol: - http: *ref_171 - signatureParameters: - - *ref_172 - - *ref_173 - responses: *ref_174 - exceptions: *ref_175 - extensions: - cli-split-operation-original-operation: *ref_176 - x-ms-examples: *ref_177 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_178 - language: - default: - name: Create - description: Create Disk pool. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: disk_pools - description: '' - cli: - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_179 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_179 - responses: - - schema: *ref_180 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: disk_pool_zones - description: '' - cli: - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_181 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_182 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_181 - - *ref_182 - responses: - - schema: *ref_183 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - &ref_231 - apiVersions: &ref_213 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_194 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_214 - in: path - - &ref_195 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_215 - in: path - - &ref_196 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: &ref_216 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_217 - in: header - - &ref_184 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_190 - schema: *ref_28 - implementation: Method - originalParameter: *ref_184 - pathToProperty: &ref_186 [] - required: true - targetProperty: *ref_185 - extensions: - cli-flatten-origin: *ref_185 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - protocol: {} - - &ref_191 - schema: *ref_38 - implementation: Method - originalParameter: *ref_184 - pathToProperty: *ref_186 - required: false - targetProperty: *ref_187 - extensions: - cli-flatten-origin: *ref_187 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - protocol: {} - - &ref_192 - schema: *ref_102 - implementation: Method - originalParameter: *ref_184 - pathToProperty: *ref_186 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_193 - schema: *ref_103 - implementation: Method - originalParameter: *ref_184 - pathToProperty: *ref_186 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_220 - in: header - signatureParameters: - - *ref_190 - - *ref_191 - - *ref_192 - - *ref_193 - language: - default: - name: '' - description: '' - protocol: - http: &ref_225 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_194 - - *ref_195 - - *ref_196 - responses: &ref_229 - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_230 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_232 - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_233 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - split-operation-names: *ref_197 - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_204 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_205 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_206 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_198 - schema: *ref_43 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_202 - schema: *ref_104 - implementation: Method - originalParameter: *ref_198 - pathToProperty: &ref_200 [] - targetProperty: *ref_199 - extensions: - cli-flatten-origin: *ref_199 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_203 - schema: *ref_105 - implementation: Method - originalParameter: *ref_198 - pathToProperty: *ref_200 - targetProperty: *ref_201 - extensions: - cli-flatten-origin: *ref_201 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_202 - - *ref_203 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_204 - - *ref_205 - - *ref_206 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_207 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_208 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_209 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_207 - - *ref_208 - - *ref_209 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_210 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_211 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_212 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_210 - - *ref_211 - - *ref_212 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - - apiVersions: *ref_213 - parameters: - - *ref_108 - - *ref_113 - - &ref_226 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_214 - - &ref_227 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_215 - - &ref_228 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - protocol: - http: *ref_216 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_217 - - &ref_218 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - protocol: - style: json - http: - in: body - - &ref_221 - schema: *ref_28 - implementation: Method - originalParameter: *ref_218 - pathToProperty: &ref_219 [] - required: true - targetProperty: *ref_185 - extensions: - cli-flatten-origin: *ref_185 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - protocol: {} - - &ref_222 - schema: *ref_38 - implementation: Method - originalParameter: *ref_218 - pathToProperty: *ref_219 - required: false - targetProperty: *ref_187 - extensions: - cli-flatten-origin: *ref_187 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - protocol: {} - - &ref_223 - schema: *ref_102 - implementation: Method - originalParameter: *ref_218 - pathToProperty: *ref_219 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_224 - schema: *ref_103 - implementation: Method - originalParameter: *ref_218 - pathToProperty: *ref_219 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_220 - signatureParameters: - - *ref_221 - - *ref_222 - - *ref_223 - - *ref_224 - language: - default: - name: '' - description: '' - protocol: - http: *ref_225 - signatureParameters: - - *ref_226 - - *ref_227 - - *ref_228 - responses: *ref_229 - exceptions: *ref_230 - extensions: - cli-split-operation-original-operation: *ref_231 - x-ms-examples: *ref_232 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_233 - language: - default: - name: Create - description: Create an iSCSI Target. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: iscsi_targets - description: '' - cli: - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -language: - default: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000210-modifier-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000210-modifier-pre-simplified.yaml deleted file mode 100644 index a66db9bc97d..00000000000 --- a/src/diskpool/_az_debug/clicommon-000210-modifier-pre-simplified.yaml +++ /dev/null @@ -1,1570 +0,0 @@ -operationGroups: - all: - - operationGroupName: operations - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pools - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: disk_pool_create - - parameterName[0]: sku(sku^object) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - - parameterName[0]: tags(disk_pool_create_tags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - - parameterName[0]: location(disk_pool_create_location^string) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - - parameterName[0]: disks(disk_pool_create_properties_disks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - bodySchema: disk_pool_update - - parameterName[0]: tags(disk_pool_update_tags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['tags'] - cliKey: tags - - parameterName[0]: disks(disk_pool_update_properties_disks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['disks'] - cliKey: disks - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependencies_endpoints - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - bodySchema: disk_pool_create - - parameterName[0]: sku(sku^object) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - - parameterName[0]: tags(disk_pool_create_tags^dictionary) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - - parameterName[0]: location(disk_pool_create_location^string) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - - parameterName[0]: disks(disk_pool_create_properties_disks^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationGroupName: disk_pool_zones - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: location(string^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: iscsi_targets - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: iscsi_target_create - - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - - parameterName[0]: luns(iscsi_target_create_properties_luns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - bodySchema: iscsi_target_update - - parameterName[0]: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - cliKey: staticAcls - - parameterName[0]: luns(iscsi_target_update_properties_luns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - cliKey: luns - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - bodySchema: iscsi_target_create - - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - - parameterName[0]: luns(iscsi_target_create_properties_luns^array) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept -schemas: - objects: - all: - - schemaName: storage_pool_operation_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - properties: - - propertyName: value(storage_pool_operation_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(storage_pool_operation_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: storage_pool_RP_operation - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - properties: - - propertyName: name(storage_pool_RP_operation_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(storage_pool_RP_operation_action_type^string) - cli: - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(storage_pool_operation_display^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(storage_pool_RP_operation_origin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: storage_pool_operation_display - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - properties: - - propertyName: provider(storage_pool_operation_display_provider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(storage_pool_operation_display_resource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(storage_pool_operation_display_operation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(storage_pool_operation_display_description^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: error - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: schemas$$objects['Error'] - properties: - - propertyName: error(error_response^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - - schemaName: error_response - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - properties: - - propertyName: code(error_response_code^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(error_response_message^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(error_response_target^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(error_response_details^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(error_response_additional_info^array) - cli: - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: error_additional_info - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - properties: - - propertyName: type(error_additional_info_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: disk_pool_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - properties: - - propertyName: value(disk_pool_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(disk_pool_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: disk_pool - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(disk_pool_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(disk_pool_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(disk_pool_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: sku - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - properties: - - propertyName: name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - - schemaName: disk - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - properties: - - propertyName: id(disk_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - - schemaName: system_metadata - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - properties: - - propertyName: created_by(system_metadata_created_by^string) - cli: - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(created_by_type^choice) - cli: - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(system_metadata_last_modified_by^string) - cli: - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(created_by_type^choice) - cli: - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: tracked_resource - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - properties: - - propertyName: tags(tracked_resource_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(tracked_resource_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - properties: - - propertyName: id(resource_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(resource_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(resource_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: disk_pool_create - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - properties: - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(disk_pool_create_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(disk_pool_create_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(disk_pool_create_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(disk_pool_create_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(disk_pool_create_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(disk_pool_create_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: disk_pool_update - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - properties: - - propertyName: tags(disk_pool_update_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(disk_pool_update_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: disk_pool_zone_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - properties: - - propertyName: value(disk_pool_zone_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(disk_pool_zone_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: disk_pool_zone_info - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - properties: - - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: outbound_environment_endpoint_list - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - properties: - - propertyName: value(outbound_environment_endpoint_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: outbound_environment_endpoint - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - properties: - - propertyName: category(outbound_environment_endpoint_category^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: endpoint_dependency - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - properties: - - propertyName: domain_name(endpoint_dependency_domain_name^string) - cli: - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) - cli: - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: endpoint_detail - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - properties: - - propertyName: ip_address(endpoint_detail_ip_address^string) - cli: - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: iscsi_target_list - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - properties: - - propertyName: value(iscsi_target_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(iscsi_target_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: iscsi_target - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(iscsi_target_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(iscsi_target_properties_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: acl - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - properties: - - propertyName: initiator_iqn(acl_initiator_iqn^string) - cli: - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(acl_mapped_luns^array) - cli: - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: iscsi_lun - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - properties: - - propertyName: name(iscsi_lun_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: iscsi_target_create - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - properties: - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_create_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: iscsi_target_update - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - properties: - - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_update_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: proxy_resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - choices: - all: - - choiceName: provisioning_states - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: operational_status - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated_ - cli: - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: created_by_type - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: iscsi_target_acl_mode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: disk_pool_tier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000210-modifier-pre.yaml b/src/diskpool/_az_debug/clicommon-000210-modifier-pre.yaml deleted file mode 100644 index 32925fb7812..00000000000 --- a/src/diskpool/_az_debug/clicommon-000210-modifier-pre.yaml +++ /dev/null @@ -1,6821 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: string - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_name - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_action_type - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_provider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_resource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_code - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_message - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_target - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_additional_info_type - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: string - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_name - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_tier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: availability_zone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_id - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: additional_capability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_by - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_by - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: string - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: tracked_resource_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_name - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: string - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_create_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: disk_pool_create_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_name - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_zone_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_dependency_domain_name - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_detail_ip_address - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_list_next_link - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_mapped_luns_item - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_name - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_endpoints_item - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_list_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_create_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: provisioning_states - description: Provisioning state of the iSCSI Target. - cli: - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated_ - description: '' - cli: - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: operational_status - description: Operational status of the resource. - cli: - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: iscsi_target_acl_mode - description: ACL mode for iSCSI Target. - cli: - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: disk_pool_tier - description: SKU of the VM host part of the Disk Pool deployment - cli: - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: tracked_resource_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_create_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_update_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_display - description: Metadata about an operation. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_RP_operation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: storage_pool_operation_list_result_value - description: An array of operations supported by the StoragePool RP. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_list_result - description: List of operations supported by the RP. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: error_response_details - description: The error details. - cli: - cli-complexity: array_complex - cli-in-circle: true - cli-mark: checked - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_additional_info - description: The resource management error additional info. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: error_response_additional_info - description: The error additional info. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_response - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: system_metadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: acl_mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: iscsi_target_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_lun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: iscsi_target_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: iscsi_target_properties_endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_target - description: Response for iSCSI Target requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_185 - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - &ref_187 - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - &ref_188 - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_create_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_189 - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_create_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_create - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_199 - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_update_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_201 - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_update_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_update - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: proxy_resource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: resource - description: ARM resource model definition. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: tracked_resource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: disk_pool_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_properties_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk_pool - description: Response for Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: disk_pool_list_result_value - description: An array of Disk pool objects. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_list_result - description: List of Disk Pools - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: sku - description: Sku for ARM resource - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_120 - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - &ref_122 - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - &ref_123 - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - &ref_124 - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_create_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - &ref_125 - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_create_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - &ref_126 - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - &ref_127 - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_create_properties_additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: disk_pool_create - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_137 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_139 - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - &ref_141 - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_update_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: disk_pool_update - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_180 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_zone_info_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_zone_info_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_info - description: Disk Pool Sku Details - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: disk_pool_zone_list_result_value - description: The list of Disk Pool Skus. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_list_result - description: List Disk Pool skus operation response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_152 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_detail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: endpoint_dependency_endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_dependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_list_value - description: Collection of resources. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint_list - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_183 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: iscsi_target_list_value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: iscsi_target_list - description: List of iSCSI Targets. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - protocol: {} - language: - default: - name: operations - description: '' - cli: - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - &ref_176 - apiVersions: &ref_157 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_158 - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_159 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_160 - in: header - - &ref_119 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_128 - schema: *ref_59 - implementation: Method - originalParameter: *ref_119 - pathToProperty: &ref_121 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - protocol: {} - - &ref_129 - schema: *ref_60 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_130 - schema: *ref_61 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - protocol: {} - - &ref_131 - schema: *ref_87 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - protocol: {} - - &ref_132 - schema: *ref_88 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - protocol: {} - - &ref_133 - schema: *ref_65 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - protocol: {} - - &ref_134 - schema: *ref_89 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_163 - in: header - signatureParameters: - - *ref_128 - - *ref_129 - - *ref_130 - - *ref_131 - - *ref_132 - - *ref_133 - - *ref_134 - language: - default: - name: '' - description: '' - protocol: - http: &ref_171 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: &ref_174 - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_175 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_177 - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_178 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - split-operation-names: &ref_197 - - Create - - Update - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_144 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_145 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_138 - schema: *ref_137 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_142 - schema: *ref_66 - implementation: Method - originalParameter: *ref_138 - pathToProperty: &ref_140 [] - required: false - targetProperty: *ref_139 - extensions: - cli-flatten-origin: *ref_139 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_143 - schema: *ref_90 - implementation: Method - originalParameter: *ref_138 - pathToProperty: *ref_140 - targetProperty: *ref_141 - extensions: - cli-flatten-origin: *ref_141 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - cliKey: disks - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_142 - - *ref_143 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_144 - - *ref_145 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_146 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_147 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_146 - - *ref_147 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_148 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_149 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_148 - - *ref_149 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_150 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_151 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_150 - - *ref_151 - responses: - - schema: *ref_152 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependencies_endpoints - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_153 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_154 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_153 - - *ref_154 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_155 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_156 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_155 - - *ref_156 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - - apiVersions: *ref_157 - parameters: - - *ref_108 - - *ref_113 - - &ref_172 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_158 - - &ref_173 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_159 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_160 - - &ref_161 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - protocol: - style: json - http: - in: body - - &ref_164 - schema: *ref_59 - implementation: Method - originalParameter: *ref_161 - pathToProperty: &ref_162 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - protocol: {} - - &ref_165 - schema: *ref_60 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_166 - schema: *ref_61 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - protocol: {} - - &ref_167 - schema: *ref_87 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - protocol: {} - - &ref_168 - schema: *ref_88 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - protocol: {} - - &ref_169 - schema: *ref_65 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - protocol: {} - - &ref_170 - schema: *ref_89 - implementation: Method - originalParameter: *ref_161 - pathToProperty: *ref_162 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_163 - signatureParameters: - - *ref_164 - - *ref_165 - - *ref_166 - - *ref_167 - - *ref_168 - - *ref_169 - - *ref_170 - language: - default: - name: '' - description: '' - protocol: - http: *ref_171 - signatureParameters: - - *ref_172 - - *ref_173 - responses: *ref_174 - exceptions: *ref_175 - extensions: - cli-split-operation-original-operation: *ref_176 - x-ms-examples: *ref_177 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_178 - language: - default: - name: Create - description: Create Disk pool. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: disk_pools - description: '' - cli: - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_179 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_179 - responses: - - schema: *ref_180 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: disk_pool_zones - description: '' - cli: - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_181 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_182 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_181 - - *ref_182 - responses: - - schema: *ref_183 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - &ref_231 - apiVersions: &ref_213 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_194 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_214 - in: path - - &ref_195 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_215 - in: path - - &ref_196 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: &ref_216 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_217 - in: header - - &ref_184 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_190 - schema: *ref_28 - implementation: Method - originalParameter: *ref_184 - pathToProperty: &ref_186 [] - required: true - targetProperty: *ref_185 - extensions: - cli-flatten-origin: *ref_185 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - protocol: {} - - &ref_191 - schema: *ref_38 - implementation: Method - originalParameter: *ref_184 - pathToProperty: *ref_186 - required: false - targetProperty: *ref_187 - extensions: - cli-flatten-origin: *ref_187 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - protocol: {} - - &ref_192 - schema: *ref_102 - implementation: Method - originalParameter: *ref_184 - pathToProperty: *ref_186 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_193 - schema: *ref_103 - implementation: Method - originalParameter: *ref_184 - pathToProperty: *ref_186 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_220 - in: header - signatureParameters: - - *ref_190 - - *ref_191 - - *ref_192 - - *ref_193 - language: - default: - name: '' - description: '' - protocol: - http: &ref_225 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_194 - - *ref_195 - - *ref_196 - responses: &ref_229 - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_230 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_232 - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_233 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - split-operation-names: *ref_197 - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_204 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_205 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_206 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_198 - schema: *ref_43 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_202 - schema: *ref_104 - implementation: Method - originalParameter: *ref_198 - pathToProperty: &ref_200 [] - targetProperty: *ref_199 - extensions: - cli-flatten-origin: *ref_199 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_203 - schema: *ref_105 - implementation: Method - originalParameter: *ref_198 - pathToProperty: *ref_200 - targetProperty: *ref_201 - extensions: - cli-flatten-origin: *ref_201 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_202 - - *ref_203 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_204 - - *ref_205 - - *ref_206 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_207 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_208 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_209 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_207 - - *ref_208 - - *ref_209 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_210 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_211 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_212 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_210 - - *ref_211 - - *ref_212 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - - apiVersions: *ref_213 - parameters: - - *ref_108 - - *ref_113 - - &ref_226 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_214 - - &ref_227 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_215 - - &ref_228 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - protocol: - http: *ref_216 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_217 - - &ref_218 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - protocol: - style: json - http: - in: body - - &ref_221 - schema: *ref_28 - implementation: Method - originalParameter: *ref_218 - pathToProperty: &ref_219 [] - required: true - targetProperty: *ref_185 - extensions: - cli-flatten-origin: *ref_185 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - protocol: {} - - &ref_222 - schema: *ref_38 - implementation: Method - originalParameter: *ref_218 - pathToProperty: *ref_219 - required: false - targetProperty: *ref_187 - extensions: - cli-flatten-origin: *ref_187 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - protocol: {} - - &ref_223 - schema: *ref_102 - implementation: Method - originalParameter: *ref_218 - pathToProperty: *ref_219 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_224 - schema: *ref_103 - implementation: Method - originalParameter: *ref_218 - pathToProperty: *ref_219 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_220 - signatureParameters: - - *ref_221 - - *ref_222 - - *ref_223 - - *ref_224 - language: - default: - name: '' - description: '' - protocol: - http: *ref_225 - signatureParameters: - - *ref_226 - - *ref_227 - - *ref_228 - responses: *ref_229 - exceptions: *ref_230 - extensions: - cli-split-operation-original-operation: *ref_231 - x-ms-examples: *ref_232 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_233 - language: - default: - name: Create - description: Create an iSCSI Target. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: iscsi_targets - description: '' - cli: - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -language: - default: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000220-modifier-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000220-modifier-post-simplified.yaml deleted file mode 100644 index d93e72a92aa..00000000000 --- a/src/diskpool/_az_debug/clicommon-000220-modifier-post-simplified.yaml +++ /dev/null @@ -1,1580 +0,0 @@ -operationGroups: - all: - - operationGroupName: operations - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - hidden: true - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pools - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: disk_pool_create - - parameterName[0]: sku(sku^object) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - - parameterName[0]: tags(disk_pool_create_tags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - - parameterName[0]: location(disk_pool_create_location^string) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - - parameterName[0]: disks(disk_pool_create_properties_disks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - positional: true - positionalKeys: - - id - - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - bodySchema: disk_pool_update - - parameterName[0]: tags(disk_pool_update_tags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['tags'] - cliKey: tags - - parameterName[0]: disks(disk_pool_update_properties_disks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['disks'] - cliKey: disks - positional: true - positionalKeys: - - id - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependencies_endpoints - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - bodySchema: disk_pool_create - - parameterName[0]: sku(sku^object) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - - parameterName[0]: tags(disk_pool_create_tags^dictionary) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - - parameterName[0]: location(disk_pool_create_location^string) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - - parameterName[0]: disks(disk_pool_create_properties_disks^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - positional: true - positionalKeys: - - id - - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationGroupName: disk_pool_zones - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: location(string^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: iscsi_targets - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: iscsi_target_create - - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - - parameterName[0]: luns(iscsi_target_create_properties_luns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - bodySchema: iscsi_target_update - - parameterName[0]: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - cliKey: staticAcls - - parameterName[0]: luns(iscsi_target_update_properties_luns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - cliKey: luns - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - bodySchema: iscsi_target_create - - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - - parameterName[0]: luns(iscsi_target_create_properties_luns^array) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept -schemas: - objects: - all: - - schemaName: storage_pool_operation_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - properties: - - propertyName: value(storage_pool_operation_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(storage_pool_operation_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: storage_pool_RP_operation - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - properties: - - propertyName: name(storage_pool_RP_operation_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(storage_pool_RP_operation_action_type^string) - cli: - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(storage_pool_operation_display^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(storage_pool_RP_operation_origin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: storage_pool_operation_display - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - properties: - - propertyName: provider(storage_pool_operation_display_provider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(storage_pool_operation_display_resource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(storage_pool_operation_display_operation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(storage_pool_operation_display_description^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: error - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: schemas$$objects['Error'] - properties: - - propertyName: error(error_response^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - - schemaName: error_response - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - properties: - - propertyName: code(error_response_code^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(error_response_message^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(error_response_target^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(error_response_details^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(error_response_additional_info^array) - cli: - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: error_additional_info - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - properties: - - propertyName: type(error_additional_info_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: disk_pool_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - properties: - - propertyName: value(disk_pool_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(disk_pool_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: disk_pool - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(disk_pool_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(disk_pool_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(disk_pool_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: sku - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - properties: - - propertyName: name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - - schemaName: disk - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - properties: - - propertyName: id(disk_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - - schemaName: system_metadata - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - properties: - - propertyName: created_by(system_metadata_created_by^string) - cli: - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(created_by_type^choice) - cli: - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(system_metadata_last_modified_by^string) - cli: - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(created_by_type^choice) - cli: - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: tracked_resource - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - properties: - - propertyName: tags(tracked_resource_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(tracked_resource_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - properties: - - propertyName: id(resource_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(resource_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(resource_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: disk_pool_create - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - properties: - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(disk_pool_create_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(disk_pool_create_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(disk_pool_create_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(disk_pool_create_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(disk_pool_create_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(disk_pool_create_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: disk_pool_update - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - properties: - - propertyName: tags(disk_pool_update_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(disk_pool_update_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: disk_pool_zone_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - properties: - - propertyName: value(disk_pool_zone_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(disk_pool_zone_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: disk_pool_zone_info - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - properties: - - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: outbound_environment_endpoint_list - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - properties: - - propertyName: value(outbound_environment_endpoint_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: outbound_environment_endpoint - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - properties: - - propertyName: category(outbound_environment_endpoint_category^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: endpoint_dependency - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - properties: - - propertyName: domain_name(endpoint_dependency_domain_name^string) - cli: - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) - cli: - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: endpoint_detail - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - properties: - - propertyName: ip_address(endpoint_detail_ip_address^string) - cli: - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: iscsi_target_list - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - properties: - - propertyName: value(iscsi_target_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(iscsi_target_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: iscsi_target - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(iscsi_target_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(iscsi_target_properties_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: acl - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - properties: - - propertyName: initiator_iqn(acl_initiator_iqn^string) - cli: - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(acl_mapped_luns^array) - cli: - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: iscsi_lun - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - properties: - - propertyName: name(iscsi_lun_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: iscsi_target_create - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - properties: - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_create_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: iscsi_target_update - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - properties: - - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_update_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: proxy_resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - choices: - all: - - choiceName: provisioning_states - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: operational_status - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated_ - cli: - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: created_by_type - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: iscsi_target_acl_mode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: disk_pool_tier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000220-modifier-post.yaml b/src/diskpool/_az_debug/clicommon-000220-modifier-post.yaml deleted file mode 100644 index 827d4ad76fc..00000000000 --- a/src/diskpool/_az_debug/clicommon-000220-modifier-post.yaml +++ /dev/null @@ -1,6829 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: string - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_name - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_action_type - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_provider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_resource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_code - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_message - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_target - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_additional_info_type - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: string - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_name - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_tier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: availability_zone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_id - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: additional_capability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_by - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_by - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: string - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: tracked_resource_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_name - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: string - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_create_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: disk_pool_create_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_name - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_zone_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_dependency_domain_name - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_detail_ip_address - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_list_next_link - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_mapped_luns_item - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_name - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_endpoints_item - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_list_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_create_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: provisioning_states - description: Provisioning state of the iSCSI Target. - cli: - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated_ - description: '' - cli: - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: operational_status - description: Operational status of the resource. - cli: - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: iscsi_target_acl_mode - description: ACL mode for iSCSI Target. - cli: - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: disk_pool_tier - description: SKU of the VM host part of the Disk Pool deployment - cli: - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: tracked_resource_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_create_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_update_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_display - description: Metadata about an operation. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_RP_operation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: storage_pool_operation_list_result_value - description: An array of operations supported by the StoragePool RP. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_list_result - description: List of operations supported by the RP. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: error_response_details - description: The error details. - cli: - cli-complexity: array_complex - cli-in-circle: true - cli-mark: checked - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_additional_info - description: The resource management error additional info. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: error_response_additional_info - description: The error additional info. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_response - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: system_metadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: acl_mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: iscsi_target_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_lun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: iscsi_target_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: iscsi_target_properties_endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_target - description: Response for iSCSI Target requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_186 - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - &ref_188 - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - &ref_189 - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_create_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_190 - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_create_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_create - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_200 - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_update_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_202 - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_update_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_update - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: proxy_resource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: resource - description: ARM resource model definition. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: tracked_resource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: disk_pool_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_properties_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk_pool - description: Response for Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: disk_pool_list_result_value - description: An array of Disk pool objects. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_list_result - description: List of Disk Pools - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: sku - description: Sku for ARM resource - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_120 - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - &ref_122 - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - &ref_123 - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - &ref_124 - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_create_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - &ref_125 - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_create_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - &ref_126 - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - &ref_127 - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_create_properties_additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: disk_pool_create - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_137 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_139 - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - &ref_141 - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_update_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: disk_pool_update - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_181 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_zone_info_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_zone_info_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_info - description: Disk Pool Sku Details - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: disk_pool_zone_list_result_value - description: The list of Disk Pool Skus. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_list_result - description: List Disk Pool skus operation response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_153 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_detail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: endpoint_dependency_endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_dependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_list_value - description: Collection of resources. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint_list - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_184 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: iscsi_target_list_value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: iscsi_target_list - description: List of iSCSI Targets. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - hidden: true - protocol: {} - language: - default: - name: operations - description: '' - cli: - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - &ref_177 - apiVersions: &ref_158 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_159 - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_160 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_161 - in: header - - &ref_119 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_128 - schema: *ref_59 - implementation: Method - originalParameter: *ref_119 - pathToProperty: &ref_121 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - protocol: {} - - &ref_129 - schema: *ref_60 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_130 - schema: *ref_61 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - protocol: {} - - &ref_131 - schema: *ref_87 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - protocol: {} - - &ref_132 - schema: *ref_88 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - positional: true - positionalKeys: &ref_142 - - id - protocol: {} - - &ref_133 - schema: *ref_65 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - protocol: {} - - &ref_134 - schema: *ref_89 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_164 - in: header - signatureParameters: - - *ref_128 - - *ref_129 - - *ref_130 - - *ref_131 - - *ref_132 - - *ref_133 - - *ref_134 - language: - default: - name: '' - description: '' - protocol: - http: &ref_172 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: &ref_175 - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_176 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_178 - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_179 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - split-operation-names: &ref_198 - - Create - - Update - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_145 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_146 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_138 - schema: *ref_137 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_143 - schema: *ref_66 - implementation: Method - originalParameter: *ref_138 - pathToProperty: &ref_140 [] - required: false - targetProperty: *ref_139 - extensions: - cli-flatten-origin: *ref_139 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_144 - schema: *ref_90 - implementation: Method - originalParameter: *ref_138 - pathToProperty: *ref_140 - targetProperty: *ref_141 - extensions: - cli-flatten-origin: *ref_141 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - cliKey: disks - positional: true - positionalKeys: *ref_142 - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_143 - - *ref_144 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_145 - - *ref_146 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_147 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_148 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_147 - - *ref_148 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_149 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_150 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_149 - - *ref_150 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_151 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_152 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_151 - - *ref_152 - responses: - - schema: *ref_153 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependencies_endpoints - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_154 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_155 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_154 - - *ref_155 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_156 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_157 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_156 - - *ref_157 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - - apiVersions: *ref_158 - parameters: - - *ref_108 - - *ref_113 - - &ref_173 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_159 - - &ref_174 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_160 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_161 - - &ref_162 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - protocol: - style: json - http: - in: body - - &ref_165 - schema: *ref_59 - implementation: Method - originalParameter: *ref_162 - pathToProperty: &ref_163 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - protocol: {} - - &ref_166 - schema: *ref_60 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_167 - schema: *ref_61 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - protocol: {} - - &ref_168 - schema: *ref_87 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - protocol: {} - - &ref_169 - schema: *ref_88 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - positional: true - positionalKeys: *ref_142 - protocol: {} - - &ref_170 - schema: *ref_65 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - protocol: {} - - &ref_171 - schema: *ref_89 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_164 - signatureParameters: - - *ref_165 - - *ref_166 - - *ref_167 - - *ref_168 - - *ref_169 - - *ref_170 - - *ref_171 - language: - default: - name: '' - description: '' - protocol: - http: *ref_172 - signatureParameters: - - *ref_173 - - *ref_174 - responses: *ref_175 - exceptions: *ref_176 - extensions: - cli-split-operation-original-operation: *ref_177 - x-ms-examples: *ref_178 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_179 - language: - default: - name: Create - description: Create Disk pool. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: disk_pools - description: '' - cli: - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_180 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_180 - responses: - - schema: *ref_181 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: disk_pool_zones - description: '' - cli: - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_182 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_183 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_182 - - *ref_183 - responses: - - schema: *ref_184 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - &ref_232 - apiVersions: &ref_214 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_195 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_215 - in: path - - &ref_196 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_216 - in: path - - &ref_197 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: &ref_217 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_218 - in: header - - &ref_185 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_191 - schema: *ref_28 - implementation: Method - originalParameter: *ref_185 - pathToProperty: &ref_187 [] - required: true - targetProperty: *ref_186 - extensions: - cli-flatten-origin: *ref_186 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - protocol: {} - - &ref_192 - schema: *ref_38 - implementation: Method - originalParameter: *ref_185 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - protocol: {} - - &ref_193 - schema: *ref_102 - implementation: Method - originalParameter: *ref_185 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_194 - schema: *ref_103 - implementation: Method - originalParameter: *ref_185 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_190 - extensions: - cli-flatten-origin: *ref_190 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_221 - in: header - signatureParameters: - - *ref_191 - - *ref_192 - - *ref_193 - - *ref_194 - language: - default: - name: '' - description: '' - protocol: - http: &ref_226 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_195 - - *ref_196 - - *ref_197 - responses: &ref_230 - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_231 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_233 - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_234 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - split-operation-names: *ref_198 - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_205 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_206 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_207 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_199 - schema: *ref_43 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_203 - schema: *ref_104 - implementation: Method - originalParameter: *ref_199 - pathToProperty: &ref_201 [] - targetProperty: *ref_200 - extensions: - cli-flatten-origin: *ref_200 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_204 - schema: *ref_105 - implementation: Method - originalParameter: *ref_199 - pathToProperty: *ref_201 - targetProperty: *ref_202 - extensions: - cli-flatten-origin: *ref_202 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_203 - - *ref_204 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_205 - - *ref_206 - - *ref_207 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_208 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_209 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_210 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_208 - - *ref_209 - - *ref_210 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_211 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_212 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_213 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_211 - - *ref_212 - - *ref_213 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - - apiVersions: *ref_214 - parameters: - - *ref_108 - - *ref_113 - - &ref_227 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_215 - - &ref_228 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_216 - - &ref_229 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - protocol: - http: *ref_217 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_218 - - &ref_219 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - protocol: - style: json - http: - in: body - - &ref_222 - schema: *ref_28 - implementation: Method - originalParameter: *ref_219 - pathToProperty: &ref_220 [] - required: true - targetProperty: *ref_186 - extensions: - cli-flatten-origin: *ref_186 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - protocol: {} - - &ref_223 - schema: *ref_38 - implementation: Method - originalParameter: *ref_219 - pathToProperty: *ref_220 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - protocol: {} - - &ref_224 - schema: *ref_102 - implementation: Method - originalParameter: *ref_219 - pathToProperty: *ref_220 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_225 - schema: *ref_103 - implementation: Method - originalParameter: *ref_219 - pathToProperty: *ref_220 - required: false - targetProperty: *ref_190 - extensions: - cli-flatten-origin: *ref_190 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_221 - signatureParameters: - - *ref_222 - - *ref_223 - - *ref_224 - - *ref_225 - language: - default: - name: '' - description: '' - protocol: - http: *ref_226 - signatureParameters: - - *ref_227 - - *ref_228 - - *ref_229 - responses: *ref_230 - exceptions: *ref_231 - extensions: - cli-split-operation-original-operation: *ref_232 - x-ms-examples: *ref_233 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_234 - language: - default: - name: Create - description: Create an iSCSI Target. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: iscsi_targets - description: '' - cli: - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -language: - default: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000230-namer-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000230-namer-pre-simplified.yaml deleted file mode 100644 index d93e72a92aa..00000000000 --- a/src/diskpool/_az_debug/clicommon-000230-namer-pre-simplified.yaml +++ /dev/null @@ -1,1580 +0,0 @@ -operationGroups: - all: - - operationGroupName: operations - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - hidden: true - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: disk_pools - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: disk_pool_create - - parameterName[0]: sku(sku^object) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - - parameterName[0]: tags(disk_pool_create_tags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - - parameterName[0]: location(disk_pool_create_location^string) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - - parameterName[0]: disks(disk_pool_create_properties_disks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - positional: true - positionalKeys: - - id - - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(disk_pool_update^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - bodySchema: disk_pool_update - - parameterName[0]: tags(disk_pool_update_tags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['tags'] - cliKey: tags - - parameterName[0]: disks(disk_pool_update_properties_disks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['disks'] - cliKey: disks - positional: true - positionalKeys: - - id - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependencies_endpoints - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: disk_pool_create_payload(disk_pool_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - bodySchema: disk_pool_create - - parameterName[0]: sku(sku^object) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - - parameterName[0]: tags(disk_pool_create_tags^dictionary) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - - parameterName[0]: location(disk_pool_create_location^string) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - - parameterName[0]: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - - parameterName[0]: disks(disk_pool_create_properties_disks^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - positional: true - positionalKeys: - - id - - parameterName[0]: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - - parameterName[0]: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - - operationGroupName: disk_pool_zones - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: location(string^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: iscsi_targets - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: iscsi_target_create - - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - - parameterName[0]: luns(iscsi_target_create_properties_luns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(iscsi_target_update^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - bodySchema: iscsi_target_update - - parameterName[0]: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - cliKey: staticAcls - - parameterName[0]: luns(iscsi_target_update_properties_luns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - cliKey: luns - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: Create - cli: - cliKey: CreateOrUpdate#Create - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(string^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - - parameterName: subscription_id(string^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - - parameterName: resource_group_name(string^string) - cli: - cliKey: resourceGroupName - - parameterName: disk_pool_name(string^string) - cli: - cliKey: diskPoolName - - parameterName: iscsi_target_name(string^string) - cli: - cliKey: iscsiTargetName - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - - parameterName[0]: iscsi_target_create_payload(iscsi_target_create^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - bodySchema: iscsi_target_create - - parameterName[0]: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - - parameterName[0]: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - - parameterName[0]: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - - parameterName[0]: luns(iscsi_target_create_properties_luns^array) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept -schemas: - objects: - all: - - schemaName: storage_pool_operation_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - properties: - - propertyName: value(storage_pool_operation_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(storage_pool_operation_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: storage_pool_RP_operation - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - properties: - - propertyName: name(storage_pool_RP_operation_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(storage_pool_RP_operation_action_type^string) - cli: - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(storage_pool_operation_display^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(storage_pool_RP_operation_origin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: storage_pool_operation_display - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - properties: - - propertyName: provider(storage_pool_operation_display_provider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(storage_pool_operation_display_resource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(storage_pool_operation_display_operation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(storage_pool_operation_display_description^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: error - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: schemas$$objects['Error'] - properties: - - propertyName: error(error_response^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - - schemaName: error_response - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - properties: - - propertyName: code(error_response_code^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(error_response_message^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(error_response_target^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(error_response_details^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(error_response_additional_info^array) - cli: - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: error_additional_info - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - properties: - - propertyName: type(error_additional_info_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: disk_pool_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - properties: - - propertyName: value(disk_pool_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(disk_pool_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: disk_pool - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(disk_pool_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(disk_pool_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(disk_pool_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: sku - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - properties: - - propertyName: name(sku_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(sku_tier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - - schemaName: disk - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - properties: - - propertyName: id(disk_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - - schemaName: system_metadata - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - properties: - - propertyName: created_by(system_metadata_created_by^string) - cli: - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(created_by_type^choice) - cli: - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(system_metadata_last_modified_by^string) - cli: - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(created_by_type^choice) - cli: - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: tracked_resource - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - properties: - - propertyName: tags(tracked_resource_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(tracked_resource_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - properties: - - propertyName: id(resource_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(resource_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(resource_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: disk_pool_create - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - properties: - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(disk_pool_create_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(disk_pool_create_location^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(disk_pool_create_id^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(disk_pool_create_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(disk_pool_create_type^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(disk_pool_create_properties_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(disk_pool_create_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(disk_pool_create_properties_subnet_id^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(disk_pool_create_properties_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: disk_pool_update - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - properties: - - propertyName: tags(disk_pool_update_tags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(disk_pool_update_properties_disks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: disk_pool_zone_list_result - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - properties: - - propertyName: value(disk_pool_zone_list_result_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(disk_pool_zone_list_result_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: disk_pool_zone_info - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - properties: - - propertyName: availability_zones(disk_pool_zone_info_availability_zones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(disk_pool_zone_info_additional_capabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: outbound_environment_endpoint_list - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - properties: - - propertyName: value(outbound_environment_endpoint_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(outbound_environment_endpoint_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: outbound_environment_endpoint - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - properties: - - propertyName: category(outbound_environment_endpoint_category^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(outbound_environment_endpoint_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: endpoint_dependency - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - properties: - - propertyName: domain_name(endpoint_dependency_domain_name^string) - cli: - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(endpoint_dependency_endpoint_details^array) - cli: - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: endpoint_detail - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - properties: - - propertyName: ip_address(endpoint_detail_ip_address^string) - cli: - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: iscsi_target_list - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - properties: - - propertyName: value(iscsi_target_list_value^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(iscsi_target_list_next_link^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: iscsi_target - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - properties: - - propertyName: system_data(system_metadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(iscsi_target_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(iscsi_target_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(provisioning_states^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(operational_status^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(iscsi_target_properties_endpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: acl - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - properties: - - propertyName: initiator_iqn(acl_initiator_iqn^string) - cli: - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(acl_mapped_luns^array) - cli: - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: iscsi_lun - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - properties: - - propertyName: name(iscsi_lun_name^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(iscsi_lun_managed_disk_azure_resource_id^string) - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: iscsi_target_create - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - properties: - - propertyName: acl_mode(iscsi_target_acl_mode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(iscsi_target_create_properties_target_iqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(iscsi_target_create_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_create_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: iscsi_target_update - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - properties: - - propertyName: static_acls(iscsi_target_update_properties_static_acls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(iscsi_target_update_properties_luns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: proxy_resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - choices: - all: - - choiceName: provisioning_states - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: operational_status - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated_ - cli: - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: created_by_type - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: iscsi_target_acl_mode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: disk_pool_tier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000230-namer-pre.yaml b/src/diskpool/_az_debug/clicommon-000230-namer-pre.yaml deleted file mode 100644 index 827d4ad76fc..00000000000 --- a/src/diskpool/_az_debug/clicommon-000230-namer-pre.yaml +++ /dev/null @@ -1,6829 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: string - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_name - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_action_type - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_provider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_resource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_display_description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_RP_operation_origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: storage_pool_operation_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_code - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_message - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_response_target - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: error_additional_info_type - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: string - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_name - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: sku_tier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: availability_zone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_id - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: additional_capability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_by - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_by - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: string - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: tracked_resource_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_name - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: resource_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: string - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: disk_pool_create_properties_subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: disk_pool_create_location - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_name - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_create_type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: disk_pool_zone_list_result_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_dependency_domain_name - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: endpoint_detail_ip_address - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: outbound_environment_endpoint_list_next_link - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: acl_mapped_luns_item - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_name - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_lun_managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_properties_endpoints_item - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_list_next_link - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: iscsi_target_create_properties_target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: provisioning_states - description: Provisioning state of the iSCSI Target. - cli: - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated_ - description: '' - cli: - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: operational_status - description: Operational status of the resource. - cli: - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: iscsi_target_acl_mode - description: ACL mode for iSCSI Target. - cli: - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: disk_pool_tier - description: SKU of the VM host part of the Disk Pool deployment - cli: - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: tracked_resource_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_create_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: disk_pool_update_tags - description: Resource tags. - cli: - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_display - description: Metadata about an operation. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_RP_operation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: storage_pool_operation_list_result_value - description: An array of operations supported by the StoragePool RP. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: storage_pool_operation_list_result - description: List of operations supported by the RP. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: error_response_details - description: The error details. - cli: - cli-complexity: array_complex - cli-in-circle: true - cli-mark: checked - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_additional_info - description: The resource management error additional info. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: error_response_additional_info - description: The error additional info. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error_response - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: error - description: The resource management error response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: system_metadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: acl_mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: iscsi_target_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_lun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: iscsi_target_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: iscsi_target_properties_endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: iscsi_target - description: Response for iSCSI Target requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_186 - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - &ref_188 - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - &ref_189 - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_create_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_190 - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_create_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_create - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_200 - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: iscsi_target_update_properties_static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_202 - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: iscsi_target_update_properties_luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: iscsi_target_update - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: proxy_resource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: resource - description: ARM resource model definition. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: tracked_resource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: disk_pool_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_properties_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: disk_pool - description: Response for Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: disk_pool_list_result_value - description: An array of Disk pool objects. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_list_result - description: List of Disk Pools - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: sku - description: Sku for ARM resource - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_120 - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - &ref_122 - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - &ref_123 - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - &ref_124 - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_create_properties_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - &ref_125 - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_create_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - &ref_126 - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - &ref_127 - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_create_properties_additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: disk_pool_create - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_137 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_139 - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - &ref_141 - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: disk_pool_update_properties_disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: disk_pool_update - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_181 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: disk_pool_zone_info_availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: disk_pool_zone_info_additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_info - description: Disk Pool Sku Details - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: disk_pool_zone_list_result_value - description: The list of Disk Pool Skus. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: disk_pool_zone_list_result - description: List Disk Pool skus operation response. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_153 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_detail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: endpoint_dependency_endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: endpoint_dependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: outbound_environment_endpoint_list_value - description: Collection of resources. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: outbound_environment_endpoint_list - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_184 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: iscsi_target_list_value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: iscsi_target_list - description: List of iSCSI Targets. - namespace: '' - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - hidden: true - protocol: {} - language: - default: - name: operations - description: '' - cli: - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - &ref_177 - apiVersions: &ref_158 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_159 - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_160 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_161 - in: header - - &ref_119 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_128 - schema: *ref_59 - implementation: Method - originalParameter: *ref_119 - pathToProperty: &ref_121 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - protocol: {} - - &ref_129 - schema: *ref_60 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_130 - schema: *ref_61 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - protocol: {} - - &ref_131 - schema: *ref_87 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - protocol: {} - - &ref_132 - schema: *ref_88 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - positional: true - positionalKeys: &ref_142 - - id - protocol: {} - - &ref_133 - schema: *ref_65 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - protocol: {} - - &ref_134 - schema: *ref_89 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_164 - in: header - signatureParameters: - - *ref_128 - - *ref_129 - - *ref_130 - - *ref_131 - - *ref_132 - - *ref_133 - - *ref_134 - language: - default: - name: '' - description: '' - protocol: - http: &ref_172 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: &ref_175 - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_176 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_178 - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_179 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - split-operation-names: &ref_198 - - Create - - Update - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_145 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_146 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_138 - schema: *ref_137 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_143 - schema: *ref_66 - implementation: Method - originalParameter: *ref_138 - pathToProperty: &ref_140 [] - required: false - targetProperty: *ref_139 - extensions: - cli-flatten-origin: *ref_139 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_144 - schema: *ref_90 - implementation: Method - originalParameter: *ref_138 - pathToProperty: *ref_140 - targetProperty: *ref_141 - extensions: - cli-flatten-origin: *ref_141 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - cliKey: disks - positional: true - positionalKeys: *ref_142 - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_143 - - *ref_144 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_145 - - *ref_146 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_147 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_148 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_147 - - *ref_148 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_149 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_150 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_149 - - *ref_150 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_151 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_152 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_151 - - *ref_152 - responses: - - schema: *ref_153 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependencies_endpoints - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_154 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_155 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_154 - - *ref_155 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_156 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_157 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_156 - - *ref_157 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - - apiVersions: *ref_158 - parameters: - - *ref_108 - - *ref_113 - - &ref_173 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_159 - - &ref_174 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_160 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_161 - - &ref_162 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - protocol: - style: json - http: - in: body - - &ref_165 - schema: *ref_59 - implementation: Method - originalParameter: *ref_162 - pathToProperty: &ref_163 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - protocol: {} - - &ref_166 - schema: *ref_60 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - protocol: {} - - &ref_167 - schema: *ref_61 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - protocol: {} - - &ref_168 - schema: *ref_87 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - protocol: {} - - &ref_169 - schema: *ref_88 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - positional: true - positionalKeys: *ref_142 - protocol: {} - - &ref_170 - schema: *ref_65 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - protocol: {} - - &ref_171 - schema: *ref_89 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_164 - signatureParameters: - - *ref_165 - - *ref_166 - - *ref_167 - - *ref_168 - - *ref_169 - - *ref_170 - - *ref_171 - language: - default: - name: '' - description: '' - protocol: - http: *ref_172 - signatureParameters: - - *ref_173 - - *ref_174 - responses: *ref_175 - exceptions: *ref_176 - extensions: - cli-split-operation-original-operation: *ref_177 - x-ms-examples: *ref_178 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_179 - language: - default: - name: Create - description: Create Disk pool. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: disk_pools - description: '' - cli: - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_180 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_180 - responses: - - schema: *ref_181 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: disk_pool_zones - description: '' - cli: - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_182 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_183 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_182 - - *ref_183 - responses: - - schema: *ref_184 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - &ref_232 - apiVersions: &ref_214 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_195 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_215 - in: path - - &ref_196 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_216 - in: path - - &ref_197 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: &ref_217 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_218 - in: header - - &ref_185 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_191 - schema: *ref_28 - implementation: Method - originalParameter: *ref_185 - pathToProperty: &ref_187 [] - required: true - targetProperty: *ref_186 - extensions: - cli-flatten-origin: *ref_186 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - protocol: {} - - &ref_192 - schema: *ref_38 - implementation: Method - originalParameter: *ref_185 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - protocol: {} - - &ref_193 - schema: *ref_102 - implementation: Method - originalParameter: *ref_185 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_194 - schema: *ref_103 - implementation: Method - originalParameter: *ref_185 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_190 - extensions: - cli-flatten-origin: *ref_190 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_221 - in: header - signatureParameters: - - *ref_191 - - *ref_192 - - *ref_193 - - *ref_194 - language: - default: - name: '' - description: '' - protocol: - http: &ref_226 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_195 - - *ref_196 - - *ref_197 - responses: &ref_230 - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_231 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_233 - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_234 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - split-operation-names: *ref_198 - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_205 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_206 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_207 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_199 - schema: *ref_43 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_203 - schema: *ref_104 - implementation: Method - originalParameter: *ref_199 - pathToProperty: &ref_201 [] - targetProperty: *ref_200 - extensions: - cli-flatten-origin: *ref_200 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_204 - schema: *ref_105 - implementation: Method - originalParameter: *ref_199 - pathToProperty: *ref_201 - targetProperty: *ref_202 - extensions: - cli-flatten-origin: *ref_202 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_203 - - *ref_204 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_205 - - *ref_206 - - *ref_207 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_208 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_209 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_210 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_208 - - *ref_209 - - *ref_210 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_211 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_212 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_213 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_211 - - *ref_212 - - *ref_213 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - - apiVersions: *ref_214 - parameters: - - *ref_108 - - *ref_113 - - &ref_227 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - cliKey: resourceGroupName - protocol: - http: *ref_215 - - &ref_228 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - cliKey: diskPoolName - protocol: - http: *ref_216 - - &ref_229 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - cliKey: iscsiTargetName - protocol: - http: *ref_217 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - cliKey: content-type - protocol: - http: *ref_218 - - &ref_219 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - protocol: - style: json - http: - in: body - - &ref_222 - schema: *ref_28 - implementation: Method - originalParameter: *ref_219 - pathToProperty: &ref_220 [] - required: true - targetProperty: *ref_186 - extensions: - cli-flatten-origin: *ref_186 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - protocol: {} - - &ref_223 - schema: *ref_38 - implementation: Method - originalParameter: *ref_219 - pathToProperty: *ref_220 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - protocol: {} - - &ref_224 - schema: *ref_102 - implementation: Method - originalParameter: *ref_219 - pathToProperty: *ref_220 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - protocol: {} - - &ref_225 - schema: *ref_103 - implementation: Method - originalParameter: *ref_219 - pathToProperty: *ref_220 - required: false - targetProperty: *ref_190 - extensions: - cli-flatten-origin: *ref_190 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - cliKey: accept - protocol: - http: *ref_221 - signatureParameters: - - *ref_222 - - *ref_223 - - *ref_224 - - *ref_225 - language: - default: - name: '' - description: '' - protocol: - http: *ref_226 - signatureParameters: - - *ref_227 - - *ref_228 - - *ref_229 - responses: *ref_230 - exceptions: *ref_231 - extensions: - cli-split-operation-original-operation: *ref_232 - x-ms-examples: *ref_233 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_234 - language: - default: - name: Create - description: Create an iSCSI Target. - cli: - cliKey: 'CreateOrUpdate#Create' - protocol: {} - language: - default: - name: iscsi_targets - description: '' - cli: - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -language: - default: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000240-namer-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000240-namer-post-simplified.yaml deleted file mode 100644 index bfe0e3f9c30..00000000000 --- a/src/diskpool/_az_debug/clicommon-000240-namer-post-simplified.yaml +++ /dev/null @@ -1,2086 +0,0 @@ -operationGroups: - all: - - operationGroupName: Operation - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - cliPath: operationGroups['Operations'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - hidden: true - name: List - cliPath: operationGroups['Operations']$$operations['List'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - name: ApiVersion - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - name: Accept - cliPath: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: DiskPool - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - cliPath: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - name: ListBySubscription - cliPath: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - name: subscriptionId - cliPath: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - name: ApiVersion - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - name: Accept - cliPath: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - name: ListByResourceGroup - cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - name: subscriptionId - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - name: resourceGroupName - cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - name: ApiVersion - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - name: Accept - cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - name: CreateOrUpdate - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - name: subscriptionId - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - name: resourceGroupName - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - name: diskPoolName - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - name: ApiVersion - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - name: ContentType - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(DiskPoolCreate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: DiskPoolCreate - - parameterName[0]: sku(Sku^object) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['sku'] - - parameterName[0]: tags(DiskPoolCreateTags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['tags'] - - parameterName[0]: location(DiskPoolCreateLocation^string) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['location'] - - parameterName[0]: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - name: availabilityZones - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['availabilityZones'] - - parameterName[0]: disks(DiskPoolCreatePropertiesDisks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - positional: true - positionalKeys: - - id - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['disks'] - - parameterName[0]: subnet_id(DiskPoolCreatePropertiesSubnetId^string) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - name: subnetId - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['subnetId'] - - parameterName[0]: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - name: additionalCapabilities - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['additionalCapabilities'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - name: Accept - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - name: Update - cliPath: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - name: subscriptionId - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - name: resourceGroupName - cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - name: diskPoolName - cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - name: ApiVersion - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - name: ContentType - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(DiskPoolUpdate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - bodySchema: DiskPoolUpdate - - parameterName[0]: tags(DiskPoolUpdateTags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['tags'] - cliKey: tags - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['tags'] - - parameterName[0]: disks(DiskPoolUpdatePropertiesDisks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['disks'] - cliKey: disks - positional: true - positionalKeys: - - id - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['disks'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - name: Accept - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - name: Delete - cliPath: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - name: subscriptionId - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - name: resourceGroupName - cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - name: diskPoolName - cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - name: ApiVersion - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - name: Accept - cliPath: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - name: Get - cliPath: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - name: subscriptionId - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - name: resourceGroupName - cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - name: diskPoolName - cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - name: ApiVersion - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - name: Accept - cliPath: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependency_endpoint - cli: - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - name: ListOutboundNetworkDependencyEndpoint - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - name: subscriptionId - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - name: resourceGroupName - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - name: diskPoolName - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - name: ApiVersion - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - name: Accept - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - name: Start - cliPath: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - name: subscriptionId - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - name: resourceGroupName - cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - name: diskPoolName - cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - name: ApiVersion - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - name: Accept - cliPath: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - name: Deallocate - cliPath: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - name: subscriptionId - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - name: resourceGroupName - cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - name: diskPoolName - cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - name: ApiVersion - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - name: Accept - cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationName: create - cli: - cliKey: CreateOrUpdate#Create - name: Create - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create'] - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - name: subscriptionId - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - name: resourceGroupName - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - name: diskPoolName - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - name: ApiVersion - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - name: ContentType - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(DiskPoolCreate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: DiskPoolCreate - - parameterName[0]: sku(Sku^object) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['sku'] - - parameterName[0]: tags(DiskPoolCreateTags^dictionary) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['tags'] - - parameterName[0]: location(DiskPoolCreateLocation^string) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['location'] - - parameterName[0]: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - name: availabilityZones - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['availabilityZones'] - - parameterName[0]: disks(DiskPoolCreatePropertiesDisks^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - positional: true - positionalKeys: - - id - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['disks'] - - parameterName[0]: subnet_id(DiskPoolCreatePropertiesSubnetId^string) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - name: subnetId - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['subnetId'] - - parameterName[0]: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - name: additionalCapabilities - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['additionalCapabilities'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - name: Accept - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['accept'] - - operationGroupName: DiskPoolZone - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - cliPath: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - name: List - cliPath: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - name: ApiVersion - cliPath: globalParameters['ApiVersion'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - name: subscriptionId - cliPath: globalParameters['subscriptionId'] - - parameterName: location(String^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - cliPath: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - name: Accept - cliPath: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: IscsiTarget - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - cliPath: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - name: ListByDiskPool - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - name: subscriptionId - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - name: resourceGroupName - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - name: diskPoolName - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - name: ApiVersion - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - name: Accept - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - name: CreateOrUpdate - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - name: subscriptionId - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - name: resourceGroupName - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - name: diskPoolName - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - name: iscsiTargetName - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - name: ApiVersion - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - name: ContentType - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(IscsiTargetCreate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: IscsiTargetCreate - - parameterName[0]: acl_mode(IscsiTargetAclMode^choice) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - name: aclMode - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['aclMode'] - - parameterName[0]: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - name: targetIqn - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['targetIqn'] - - parameterName[0]: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - name: staticAcls - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['staticAcls'] - - parameterName[0]: luns(IscsiTargetCreatePropertiesLuns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['luns'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - name: Accept - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - name: Update - cliPath: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - name: subscriptionId - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - name: resourceGroupName - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - name: diskPoolName - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - name: iscsiTargetName - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - name: ApiVersion - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - name: ContentType - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(IscsiTargetUpdate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - bodySchema: IscsiTargetUpdate - - parameterName[0]: static_acls(IscsiTargetUpdatePropertiesStaticAcls^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - cliKey: staticAcls - name: staticAcls - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['staticAcls'] - - parameterName[0]: luns(IscsiTargetUpdatePropertiesLuns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - cliKey: luns - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['luns'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - name: Accept - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - name: Delete - cliPath: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - name: subscriptionId - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - name: resourceGroupName - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - name: diskPoolName - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - name: iscsiTargetName - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - name: ApiVersion - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - name: Accept - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - name: Get - cliPath: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - name: subscriptionId - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - name: resourceGroupName - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - name: diskPoolName - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - name: iscsiTargetName - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - name: ApiVersion - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - name: Accept - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: create - cli: - cliKey: CreateOrUpdate#Create - name: Create - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create'] - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - name: subscriptionId - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - cliKey: resourceGroupName - name: resourceGroupName - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - cliKey: diskPoolName - name: diskPoolName - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - cliKey: iscsiTargetName - name: iscsiTargetName - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - name: ApiVersion - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - cliKey: content-type - name: ContentType - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(IscsiTargetCreate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: IscsiTargetCreate - - parameterName[0]: acl_mode(IscsiTargetAclMode^choice) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - name: aclMode - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['aclMode'] - - parameterName[0]: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - name: targetIqn - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['targetIqn'] - - parameterName[0]: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - name: staticAcls - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['staticAcls'] - - parameterName[0]: luns(IscsiTargetCreatePropertiesLuns^array) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['luns'] - - parameterName[0]: accept(accept^constant) - cli: - cliKey: accept - name: Accept - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['accept'] -schemas: - objects: - all: - - schemaName: StoragePoolOperationListResult - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - cliPath: schemas$$objects['StoragePoolOperationListResult'] - properties: - - propertyName: value(StoragePoolOperationListResultValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(StoragePoolOperationListResultNextLink^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - name: nextLink - cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: StoragePoolRPOperation - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - cliPath: schemas$$objects['StoragePoolRPOperation'] - properties: - - propertyName: name(StoragePoolRPOperationName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - name: isDataAction - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(StoragePoolRPOperationActionType^string) - cli: - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - name: actionType - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(StoragePoolOperationDisplay^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(StoragePoolRPOperationOrigin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: StoragePoolOperationDisplay - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - cliPath: schemas$$objects['StoragePoolOperationDisplay'] - properties: - - propertyName: provider(StoragePoolOperationDisplayProvider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(StoragePoolOperationDisplayResource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(StoragePoolOperationDisplayOperation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(StoragePoolOperationDisplayDescription^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: Error - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: schemas$$objects['Error'] - cliPath: schemas$$objects['Error'] - properties: - - propertyName: error(ErrorResponse^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - cliPath: schemas$$objects['Error']$$properties['error'] - - schemaName: ErrorResponse - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - cliPath: schemas$$objects['ErrorResponse'] - properties: - - propertyName: code(ErrorResponseCode^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - cliPath: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(ErrorResponseMessage^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - cliPath: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(ErrorResponseTarget^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - cliPath: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(ErrorResponseDetails^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - cliPath: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(ErrorResponseAdditionalInfo^array) - cli: - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - name: additionalInfo - cliPath: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: ErrorAdditionalInfo - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - cliPath: schemas$$objects['ErrorAdditionalInfo'] - properties: - - propertyName: type(ErrorAdditionalInfoType^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: DiskPoolListResult - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - cliPath: schemas$$objects['DiskPoolListResult'] - properties: - - propertyName: value(DiskPoolListResultValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - cliPath: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(DiskPoolListResultNextLink^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - name: nextLink - cliPath: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: DiskPool - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - cliPath: schemas$$objects['DiskPool'] - properties: - - propertyName: system_data(SystemMetadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - name: systemData - cliPath: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(ProvisioningStates^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - name: provisioningState - cliPath: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(DiskPoolPropertiesAvailabilityZones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - name: availabilityZones - cliPath: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(OperationalStatus^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - cliPath: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(DiskPoolPropertiesDisks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - cliPath: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(DiskPoolPropertiesSubnetId^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - name: subnetId - cliPath: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(DiskPoolPropertiesAdditionalCapabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - name: additionalCapabilities - cliPath: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(SkuName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - name: nameSkuName - cliPath: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(SkuTier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - cliPath: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: Sku - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - cliPath: schemas$$objects['Sku'] - properties: - - propertyName: name(SkuName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - cliPath: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(SkuTier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - cliPath: schemas$$objects['Sku']$$properties['tier'] - - schemaName: Disk - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - cliPath: schemas$$objects['Disk'] - properties: - - propertyName: id(DiskId^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - cliPath: schemas$$objects['Disk']$$properties['id'] - - schemaName: SystemMetadata - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - cliPath: schemas$$objects['SystemMetadata'] - properties: - - propertyName: created_by(SystemMetadataCreatedBy^string) - cli: - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - name: createdBy - cliPath: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(CreatedByType^choice) - cli: - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - name: createdByType - cliPath: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - name: createdAt - cliPath: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(SystemMetadataLastModifiedBy^string) - cli: - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - name: lastModifiedBy - cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(CreatedByType^choice) - cli: - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - name: lastModifiedByType - cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - name: lastModifiedAt - cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: TrackedResource - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - cliPath: schemas$$objects['TrackedResource'] - properties: - - propertyName: tags(TrackedResourceTags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - cliPath: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(TrackedResourceLocation^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - cliPath: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: Resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - cliPath: schemas$$objects['Resource'] - properties: - - propertyName: id(ResourceId^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - cliPath: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(ResourceName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - cliPath: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(ResourceType^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - cliPath: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: DiskPoolCreate - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - cliPath: schemas$$objects['DiskPoolCreate'] - properties: - - propertyName: sku(Sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(DiskPoolCreateTags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(DiskPoolCreateLocation^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(DiskPoolCreateId^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(DiskPoolCreateName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(DiskPoolCreateType^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - name: availabilityZones - cliPath: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(DiskPoolCreatePropertiesDisks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(DiskPoolCreatePropertiesSubnetId^string) - cli: - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - name: subnetId - cliPath: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - name: additionalCapabilities - cliPath: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: DiskPoolUpdate - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - cliPath: schemas$$objects['DiskPoolUpdate'] - properties: - - propertyName: tags(DiskPoolUpdateTags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - cliPath: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(DiskPoolUpdatePropertiesDisks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - cliPath: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: DiskPoolZoneListResult - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - cliPath: schemas$$objects['DiskPoolZoneListResult'] - properties: - - propertyName: value(DiskPoolZoneListResultValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(DiskPoolZoneListResultNextLink^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - name: nextLink - cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: DiskPoolZoneInfo - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - cliPath: schemas$$objects['DiskPoolZoneInfo'] - properties: - - propertyName: availability_zones(DiskPoolZoneInfoAvailabilityZones^array) - cli: - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - name: availabilityZones - cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(DiskPoolZoneInfoAdditionalCapabilities^array) - cli: - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - name: additionalCapabilities - cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(Sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: OutboundEnvironmentEndpointList - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - cliPath: schemas$$objects['OutboundEnvironmentEndpointList'] - properties: - - propertyName: value(OutboundEnvironmentEndpointListValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(OutboundEnvironmentEndpointListNextLink^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - name: nextLink - cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: OutboundEnvironmentEndpoint - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - cliPath: schemas$$objects['OutboundEnvironmentEndpoint'] - properties: - - propertyName: category(OutboundEnvironmentEndpointCategory^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(OutboundEnvironmentEndpointEndpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: EndpointDependency - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - cliPath: schemas$$objects['EndpointDependency'] - properties: - - propertyName: domain_name(EndpointDependencyDomainName^string) - cli: - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - name: domainName - cliPath: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(EndpointDependencyEndpointDetails^array) - cli: - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - name: endpointDetails - cliPath: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: EndpointDetail - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - cliPath: schemas$$objects['EndpointDetail'] - properties: - - propertyName: ip_address(EndpointDetailIpAddress^string) - cli: - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - name: ipAddress - cliPath: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(Integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - cliPath: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(Number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - cliPath: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - name: isAccessible - cliPath: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: IscsiTargetList - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - cliPath: schemas$$objects['IscsiTargetList'] - properties: - - propertyName: value(IscsiTargetListValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - cliPath: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(IscsiTargetListNextLink^string) - cli: - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - name: nextLink - cliPath: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: IscsiTarget - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - cliPath: schemas$$objects['IscsiTarget'] - properties: - - propertyName: system_data(SystemMetadata^object) - cli: - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - name: systemData - cliPath: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(IscsiTargetAclMode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - name: aclMode - cliPath: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(IscsiTargetPropertiesStaticAcls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - name: staticAcls - cliPath: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(IscsiTargetPropertiesLuns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - cliPath: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(IscsiTargetPropertiesTargetIqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - name: targetIqn - cliPath: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(ProvisioningStates^choice) - cli: - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - name: provisioningState - cliPath: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(OperationalStatus^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - cliPath: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(IscsiTargetPropertiesEndpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - cliPath: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(Integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - cliPath: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: Acl - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - cliPath: schemas$$objects['Acl'] - properties: - - propertyName: initiator_iqn(AclInitiatorIqn^string) - cli: - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - name: initiatorIqn - cliPath: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(AclMappedLuns^array) - cli: - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - name: mappedLuns - cliPath: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: IscsiLun - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - cliPath: schemas$$objects['IscsiLun'] - properties: - - propertyName: name(IscsiLunName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - cliPath: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(IscsiLunManagedDiskAzureResourceId^string) - cli: - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - name: managedDiskAzureResourceId - cliPath: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: IscsiTargetCreate - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - cliPath: schemas$$objects['IscsiTargetCreate'] - properties: - - propertyName: acl_mode(IscsiTargetAclMode^choice) - cli: - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - name: aclMode - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) - cli: - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - name: targetIqn - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - name: staticAcls - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(IscsiTargetCreatePropertiesLuns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: IscsiTargetUpdate - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - cliPath: schemas$$objects['IscsiTargetUpdate'] - properties: - - propertyName: static_acls(IscsiTargetUpdatePropertiesStaticAcls^array) - cli: - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - name: staticAcls - cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(IscsiTargetUpdatePropertiesLuns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: ProxyResource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - cliPath: schemas$$objects['ProxyResource'] - choices: - all: - - choiceName: ProvisioningStates - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - cliPath: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - name: Invalid - cliPath: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - name: Succeeded - cliPath: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - name: Failed - cliPath: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - name: Canceled - cliPath: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - name: Pending - cliPath: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - name: Creating - cliPath: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - name: Updating - cliPath: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - name: Deleting - cliPath: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: OperationalStatus - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - cliPath: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - name: Invalid - cliPath: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - name: Unknown - cliPath: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - name: Healthy - cliPath: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - name: Unhealthy - cliPath: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - name: Updating - cliPath: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - name: Running - cliPath: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - name: Stopped - cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated__ - cli: - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - name: StoppedDeallocated_ - cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: CreatedByType - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - cliPath: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - name: User - cliPath: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - name: Application - cliPath: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - name: ManagedIdentity - cliPath: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - name: Key - cliPath: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: IscsiTargetAclMode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - cliPath: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - name: Dynamic - cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - name: Static - cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: DiskPoolTier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - cliPath: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - name: Basic - cliPath: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - name: Standard - cliPath: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' - name: Premium - cliPath: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000240-namer-post.yaml b/src/diskpool/_az_debug/clicommon-000240-namer-post.yaml deleted file mode 100644 index 08e9fa85efc..00000000000 --- a/src/diskpool/_az_debug/clicommon-000240-namer-post.yaml +++ /dev/null @@ -1,7847 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: Integer - description: The port an endpoint is connected to. - cli: - name: Integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: Number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - name: Number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: Integer - description: The port used by iSCSI Target portal group. - cli: - name: Integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: String - description: simple string - cli: - name: String - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRPOperationName - description: The name of the operation being performed on this particular object - cli: - name: StoragePoolRPOperationName - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRPOperationActionType - description: Indicates the action type. - cli: - name: StoragePoolRPOperationActionType - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayProvider - description: Localized friendly form of the resource provider name. - cli: - name: StoragePoolOperationDisplayProvider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayResource - description: Localized friendly form of the resource type related to this action/operation. - cli: - name: StoragePoolOperationDisplayResource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayOperation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - name: StoragePoolOperationDisplayOperation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayDescription - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - name: StoragePoolOperationDisplayDescription - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRPOperationOrigin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - name: StoragePoolRPOperationOrigin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationListResultNextLink - description: URI to fetch the next section of the paginated response. - cli: - name: StoragePoolOperationListResultNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponseCode - description: The error code. - cli: - name: ErrorResponseCode - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponseMessage - description: The error message. - cli: - name: ErrorResponseMessage - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponseTarget - description: The error target. - cli: - name: ErrorResponseTarget - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorAdditionalInfoType - description: The additional info type. - cli: - name: ErrorAdditionalInfoType - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: String - description: '' - cli: - name: String - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SkuName - description: Sku name - cli: - name: SkuName - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SkuTier - description: Sku tier - cli: - name: SkuTier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AvailabilityZone - description: Availability zone. - cli: - name: AvailabilityZone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskId - description: Unique Azure Resource ID of the Managed Disk. - cli: - name: DiskId - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: DiskPoolPropertiesSubnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: DiskPoolPropertiesSubnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AdditionalCapability - description: Special capability that can be set on the Disk Pool. - cli: - name: AdditionalCapability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SystemMetadataCreatedBy - description: The identity that created the resource. - cli: - name: SystemMetadataCreatedBy - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SystemMetadataLastModifiedBy - description: The identity that last modified the resource. - cli: - name: SystemMetadataLastModifiedBy - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: String - description: '' - cli: - name: String - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: TrackedResourceLocation - description: The geo-location where the resource lives. - cli: - name: TrackedResourceLocation - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ResourceId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - name: ResourceId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ResourceName - description: The name of the resource - cli: - name: ResourceName - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ResourceType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - name: ResourceType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolListResultNextLink - description: URI to fetch the next section of the paginated response. - cli: - name: DiskPoolListResultNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: String - description: '' - cli: - name: String - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: DiskPoolCreatePropertiesSubnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: DiskPoolCreatePropertiesSubnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: DiskPoolCreateLocation - description: The geo-location where the resource lives. - cli: - name: DiskPoolCreateLocation - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreateId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - name: DiskPoolCreateId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreateName - description: The name of the resource - cli: - name: DiskPoolCreateName - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreateType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - name: DiskPoolCreateType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolZoneListResultNextLink - description: URI to fetch the next section of the paginated response. - cli: - name: DiskPoolZoneListResultNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: OutboundEnvironmentEndpointCategory - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - name: OutboundEnvironmentEndpointCategory - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: EndpointDependencyDomainName - description: The domain name of the dependency. - cli: - name: EndpointDependencyDomainName - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: EndpointDetailIpAddress - description: An IP Address that Domain Name currently resolves to. - cli: - name: EndpointDetailIpAddress - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: OutboundEnvironmentEndpointListNextLink - description: Link to next page of resources. - cli: - name: OutboundEnvironmentEndpointListNextLink - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AclInitiatorIqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - name: AclInitiatorIqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AclMappedLunsItem - description: '' - cli: - name: AclMappedLunsItem - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiLunName - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - name: IscsiLunName - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiLunManagedDiskAzureResourceId - description: Azure Resource ID of the Managed Disk. - cli: - name: IscsiLunManagedDiskAzureResourceId - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetPropertiesTargetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: IscsiTargetPropertiesTargetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetPropertiesEndpointsItem - description: '' - cli: - name: IscsiTargetPropertiesEndpointsItem - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetListNextLink - description: URI to fetch the next section of the paginated response. - cli: - name: IscsiTargetListNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetCreatePropertiesTargetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: IscsiTargetCreatePropertiesTargetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - name: Invalid - description: '' - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - name: Succeeded - description: '' - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - name: Failed - description: '' - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - name: Canceled - description: '' - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - name: Pending - description: '' - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - name: Creating - description: '' - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - name: Updating - description: '' - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - name: Deleting - description: '' - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: ProvisioningStates - description: Provisioning state of the iSCSI Target. - cli: - name: ProvisioningStates - description: Provisioning state of the iSCSI Target. - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - cliPath: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - name: Invalid - description: '' - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - name: Unknown - description: '' - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - name: Healthy - description: '' - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - name: Unhealthy - description: '' - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - name: Updating - description: '' - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - name: Running - description: '' - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - name: Stopped - description: '' - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated__ - description: '' - cli: - name: StoppedDeallocated_ - description: '' - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: OperationalStatus - description: Operational status of the resource. - cli: - name: OperationalStatus - description: Operational status of the resource. - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - cliPath: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - name: User - description: '' - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - name: Application - description: '' - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - name: ManagedIdentity - description: '' - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - name: Key - description: '' - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: CreatedByType - description: The type of identity that created the resource. - cli: - name: CreatedByType - description: The type of identity that created the resource. - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - cliPath: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - name: Dynamic - description: '' - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - name: Static - description: '' - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: IscsiTargetAclMode - description: ACL mode for iSCSI Target. - cli: - name: IscsiTargetAclMode - description: ACL mode for iSCSI Target. - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - cliPath: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - name: Basic - description: '' - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - name: Standard - description: '' - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - name: Premium - description: '' - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: DiskPoolTier - description: SKU of the VM host part of the Disk Pool deployment - cli: - name: DiskPoolTier - description: SKU of the VM host part of the Disk Pool deployment - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - cliPath: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - cli: - name: ApiVersion20210401Preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - cli: - name: Accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - cli: - name: ApplicationJson - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: TrackedResourceTags - description: Resource tags. - cli: - name: TrackedResourceTags - description: Resource tags. - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: DiskPoolCreateTags - description: Resource tags. - cli: - name: DiskPoolCreateTags - description: Resource tags. - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: DiskPoolUpdateTags - description: Resource tags. - cli: - name: DiskPoolUpdateTags - description: Resource tags. - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - name: name - description: The name of the operation being performed on this particular object - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - name: isDataAction - description: Indicates whether the operation applies to data-plane. - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - name: actionType - description: Indicates the action type. - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - name: provider - description: Localized friendly form of the resource provider name. - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolOperationDisplay - description: Metadata about an operation. - namespace: '' - cli: - name: StoragePoolOperationDisplay - description: Metadata about an operation. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - name: display - description: Additional metadata about RP operation. - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolRPOperation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - name: StoragePoolRPOperation - description: Description of a StoragePool RP Operation - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: StoragePoolOperationListResultValue - description: An array of operations supported by the StoragePool RP. - cli: - name: StoragePoolOperationListResultValue - description: An array of operations supported by the StoragePool RP. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - name: value - description: An array of operations supported by the StoragePool RP. - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - name: nextLink - description: URI to fetch the next section of the paginated response. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolOperationListResult - description: List of operations supported by the RP. - namespace: '' - cli: - name: StoragePoolOperationListResult - description: List of operations supported by the RP. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - name: code - description: The error code. - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - name: message - description: The error message. - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - name: target - description: The error target. - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: ErrorResponseDetails - description: The error details. - cli: - name: ErrorResponseDetails - description: The error details. - cli-complexity: array_complex - cli-in-circle: true - cli-mark: checked - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - name: details - description: The error details. - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - name: type - description: The additional info type. - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - name: info - description: The additional info. - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: ErrorAdditionalInfo - description: The resource management error additional info. - namespace: '' - cli: - name: ErrorAdditionalInfo - description: The resource management error additional info. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: ErrorResponseAdditionalInfo - description: The error additional info. - cli: - name: ErrorResponseAdditionalInfo - description: The error additional info. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - name: additionalInfo - description: The error additional info. - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: ErrorResponse - description: The resource management error response. - namespace: '' - cli: - name: ErrorResponse - description: The resource management error response. - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - cliPath: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - name: error - description: RP error response. - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - cliPath: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: Error - description: The resource management error response. - namespace: '' - cli: - name: Error - description: The resource management error response. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - cliPath: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - name: createdBy - description: The identity that created the resource. - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - name: createdByType - description: The type of identity that created the resource. - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - name: createdAt - description: The timestamp of resource creation (UTC). - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - name: lastModifiedBy - description: The identity that last modified the resource. - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - name: lastModifiedByType - description: The type of identity that last modified the resource. - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - name: lastModifiedAt - description: The type of identity that last modified the resource. - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: SystemMetadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - name: SystemMetadata - description: Metadata pertaining to creation and last modification of the resource. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - cliPath: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - name: systemData - description: Resource metadata required by ARM RPC - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - name: aclMode - description: Mode for Target connectivity. - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - name: initiatorIqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - cliPath: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: AclMappedLuns - description: List of LUN names mapped to the ACL. - cli: - name: AclMappedLuns - description: List of LUN names mapped to the ACL. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - name: mappedLuns - description: List of LUN names mapped to the ACL. - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - cliPath: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: Acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - name: Acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - cliPath: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: IscsiTargetPropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: IscsiTargetPropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - name: managedDiskAzureResourceId - description: Azure Resource ID of the Managed Disk. - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: IscsiLun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - name: IscsiLun - description: LUN to expose the Azure Managed Disk. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - cliPath: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: IscsiTargetPropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: IscsiTargetPropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - name: provisioningState - description: State of the operation on the resource. - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - name: status - description: Operational status of the iSCSI Target. - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: IscsiTargetPropertiesEndpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - name: IscsiTargetPropertiesEndpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - name: port - description: The port used by iSCSI Target portal group. - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: IscsiTarget - description: Response for iSCSI Target requests. - namespace: '' - cli: - name: IscsiTarget - description: Response for iSCSI Target requests. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - cliPath: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_186 - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - name: aclMode - description: Mode for Target connectivity. - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - &ref_188 - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - &ref_189 - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: IscsiTargetCreatePropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: IscsiTargetCreatePropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_190 - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: IscsiTargetCreatePropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: IscsiTargetCreatePropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: IscsiTargetCreate - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - name: IscsiTargetCreate - description: Payload for iSCSI Target create or update requests. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_200 - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: IscsiTargetUpdatePropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: IscsiTargetUpdatePropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_202 - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: IscsiTargetUpdatePropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: IscsiTargetUpdatePropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: IscsiTargetUpdate - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - name: IscsiTargetUpdate - description: Payload for iSCSI Target update requests. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - cliPath: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: ProxyResource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - name: ProxyResource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - cliPath: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - cliPath: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - name: name - description: The name of the resource - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - cliPath: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - cliPath: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: Resource - description: ARM resource model definition. - namespace: '' - cli: - name: Resource - description: ARM resource model definition. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - cliPath: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - name: location - description: The geo-location where the resource lives. - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: TrackedResource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - name: TrackedResource - description: The resource model definition for a ARM tracked top level resource. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - cliPath: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - name: systemData - description: Resource metadata required by ARM RPC - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - name: provisioningState - description: State of the operation on the resource. - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: DiskPoolPropertiesAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: DiskPoolPropertiesAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - name: status - description: Operational status of the Disk Pool. - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - cliPath: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: Disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - name: Disk - description: Azure Managed Disk to attach to the Disk Pool. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - cliPath: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: DiskPoolPropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: DiskPoolPropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: DiskPoolPropertiesAdditionalCapabilities - description: List of additional capabilities for Disk Pool. - cli: - name: DiskPoolPropertiesAdditionalCapabilities - description: List of additional capabilities for Disk Pool. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for Disk Pool. - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - name: nameSkuName - description: Sku name - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - name: tier - description: Sku tier - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: DiskPool - description: Response for Disk Pool request. - namespace: '' - cli: - name: DiskPool - description: Response for Disk Pool request. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - cliPath: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: DiskPoolListResultValue - description: An array of Disk pool objects. - cli: - name: DiskPoolListResultValue - description: An array of Disk pool objects. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - name: value - description: An array of Disk pool objects. - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - name: nextLink - description: URI to fetch the next section of the paginated response. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolListResult - description: List of Disk Pools - namespace: '' - cli: - name: DiskPoolListResult - description: List of Disk Pools - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - cliPath: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - name: name - description: Sku name - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - cliPath: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - name: tier - description: Sku tier - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - cliPath: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: Sku - description: Sku for ARM resource - namespace: '' - cli: - name: Sku - description: Sku for ARM resource - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - cliPath: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_120 - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - name: sku - description: Determines the SKU of the Disk Pool - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - &ref_122 - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - &ref_123 - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - name: location - description: The geo-location where the resource lives. - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - name: name - description: The name of the resource - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - &ref_124 - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: DiskPoolCreatePropertiesAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: DiskPoolCreatePropertiesAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - &ref_125 - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: DiskPoolCreatePropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: DiskPoolCreatePropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - &ref_126 - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - &ref_127 - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: DiskPoolCreatePropertiesAdditionalCapabilities - description: List of additional capabilities for a Disk Pool. - cli: - name: DiskPoolCreatePropertiesAdditionalCapabilities - description: List of additional capabilities for a Disk Pool. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for a Disk Pool. - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: DiskPoolCreate - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - name: DiskPoolCreate - description: Request payload for create or update Disk Pool request. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_137 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_139 - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - &ref_141 - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: DiskPoolUpdatePropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: DiskPoolUpdatePropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: DiskPoolUpdate - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - name: DiskPoolUpdate - description: Request payload for Update Disk Pool request. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - cliPath: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_181 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: DiskPoolZoneInfoAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: DiskPoolZoneInfoAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: DiskPoolZoneInfoAdditionalCapabilities - description: List of additional capabilities for Disk Pool. - cli: - name: DiskPoolZoneInfoAdditionalCapabilities - description: List of additional capabilities for Disk Pool. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for Disk Pool. - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolZoneInfo - description: Disk Pool Sku Details - namespace: '' - cli: - name: DiskPoolZoneInfo - description: Disk Pool Sku Details - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: DiskPoolZoneListResultValue - description: The list of Disk Pool Skus. - cli: - name: DiskPoolZoneListResultValue - description: The list of Disk Pool Skus. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - name: value - description: The list of Disk Pool Skus. - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - name: nextLink - description: URI to fetch the next section of the paginated response. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolZoneListResult - description: List Disk Pool skus operation response. - namespace: '' - cli: - name: DiskPoolZoneListResult - description: List Disk Pool skus operation response. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_153 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - name: domainName - description: The domain name of the dependency. - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - name: ipAddress - description: An IP Address that Domain Name currently resolves to. - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - name: port - description: The port an endpoint is connected to. - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - name: isAccessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: EndpointDetail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - name: EndpointDetail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - cliPath: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: EndpointDependencyEndpointDetails - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - name: EndpointDependencyEndpointDetails - description: The IP Addresses and Ports used when connecting to DomainName. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - name: endpointDetails - description: The IP Addresses and Ports used when connecting to DomainName. - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: EndpointDependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - name: EndpointDependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - cliPath: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: OutboundEnvironmentEndpointEndpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - name: OutboundEnvironmentEndpointEndpoints - description: The endpoints that the App Service Environment reaches the service at. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: OutboundEnvironmentEndpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - name: OutboundEnvironmentEndpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: OutboundEnvironmentEndpointListValue - description: Collection of resources. - cli: - name: OutboundEnvironmentEndpointListValue - description: Collection of resources. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - name: value - description: Collection of resources. - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - name: nextLink - description: Link to next page of resources. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: OutboundEnvironmentEndpointList - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - name: OutboundEnvironmentEndpointList - description: Collection of Outbound Environment Endpoints - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_184 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: IscsiTargetListValue - description: An array of iSCSI Targets in a Disk Pool. - cli: - name: IscsiTargetListValue - description: An array of iSCSI Targets in a Disk Pool. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - name: nextLink - description: URI to fetch the next section of the paginated response. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: IscsiTargetList - description: List of iSCSI Targets. - namespace: '' - cli: - name: IscsiTargetList - description: List of iSCSI Targets. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - cliPath: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - name: subscriptionId - description: The ID of the target subscription. - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - cliPath: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - name: $host - description: server parameter - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - cliPath: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - name: ApiVersion - description: Api Version - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - cliPath: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - name: List - description: Gets a list of StoragePool operations. - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - cliPath: 'operationGroups[''Operations'']$$operations[''List'']' - hidden: true - protocol: {} - language: - default: - name: Operation - description: '' - cli: - name: Operation - description: '' - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - cliPath: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - name: ListBySubscription - description: Gets a list of Disk Pools in a subscription - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - name: ListByResourceGroup - description: Gets a list of DiskPools in a resource group. - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - &ref_177 - apiVersions: &ref_158 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_159 - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_160 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_161 - in: header - - &ref_119 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_128 - schema: *ref_59 - implementation: Method - originalParameter: *ref_119 - pathToProperty: &ref_121 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - name: sku - description: Determines the SKU of the Disk Pool - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''sku'']' - protocol: {} - - &ref_129 - schema: *ref_60 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''tags'']' - protocol: {} - - &ref_130 - schema: *ref_61 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - name: location - description: The geo-location where the resource lives. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''location'']' - protocol: {} - - &ref_131 - schema: *ref_87 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''availabilityZones'']' - protocol: {} - - &ref_132 - schema: *ref_88 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''disks'']' - positional: true - positionalKeys: &ref_142 - - id - protocol: {} - - &ref_133 - schema: *ref_65 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''subnetId'']' - protocol: {} - - &ref_134 - schema: *ref_89 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for a Disk Pool. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''additionalCapabilities'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_164 - in: header - signatureParameters: - - *ref_128 - - *ref_129 - - *ref_130 - - *ref_131 - - *ref_132 - - *ref_133 - - *ref_134 - language: - default: - name: '' - description: '' - protocol: - http: &ref_172 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: &ref_175 - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_176 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_178 - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_179 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - name: CreateOrUpdate - description: Create or Update Disk pool. - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - split-operation-names: &ref_198 - - Create - - Update - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_145 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_146 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_138 - schema: *ref_137 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_143 - schema: *ref_66 - implementation: Method - originalParameter: *ref_138 - pathToProperty: &ref_140 [] - required: false - targetProperty: *ref_139 - extensions: - cli-flatten-origin: *ref_139 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - cliKey: tags - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''tags'']' - protocol: {} - - &ref_144 - schema: *ref_90 - implementation: Method - originalParameter: *ref_138 - pathToProperty: *ref_140 - targetProperty: *ref_141 - extensions: - cli-flatten-origin: *ref_141 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - cliKey: disks - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''disks'']' - positional: true - positionalKeys: *ref_142 - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_143 - - *ref_144 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_145 - - *ref_146 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - name: Update - description: Update a Disk pool. - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_147 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_148 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_147 - - *ref_148 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - name: Delete - description: Delete a Disk pool. - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_149 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_150 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_149 - - *ref_150 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - name: Get - description: Get a Disk pool. - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_151 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_152 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_151 - - *ref_152 - responses: - - schema: *ref_153 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependency_endpoint - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - name: ListOutboundNetworkDependencyEndpoint - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_154 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_155 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_154 - - *ref_155 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - name: Start - description: The operation to start a Disk Pool. - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_156 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_157 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_156 - - *ref_157 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - name: Deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - - apiVersions: *ref_158 - parameters: - - *ref_108 - - *ref_113 - - &ref_173 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$parameters[''resourceGroupName'']' - protocol: - http: *ref_159 - - &ref_174 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$parameters[''diskPoolName'']' - protocol: - http: *ref_160 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: *ref_161 - - &ref_162 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_165 - schema: *ref_59 - implementation: Method - originalParameter: *ref_162 - pathToProperty: &ref_163 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - name: sku - description: Determines the SKU of the Disk Pool - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''sku'']' - protocol: {} - - &ref_166 - schema: *ref_60 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''tags'']' - protocol: {} - - &ref_167 - schema: *ref_61 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - name: location - description: The geo-location where the resource lives. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''location'']' - protocol: {} - - &ref_168 - schema: *ref_87 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''availabilityZones'']' - protocol: {} - - &ref_169 - schema: *ref_88 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''disks'']' - positional: true - positionalKeys: *ref_142 - protocol: {} - - &ref_170 - schema: *ref_65 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''subnetId'']' - protocol: {} - - &ref_171 - schema: *ref_89 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for a Disk Pool. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''additionalCapabilities'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''accept'']' - protocol: - http: *ref_164 - signatureParameters: - - *ref_165 - - *ref_166 - - *ref_167 - - *ref_168 - - *ref_169 - - *ref_170 - - *ref_171 - language: - default: - name: '' - description: '' - protocol: - http: *ref_172 - signatureParameters: - - *ref_173 - - *ref_174 - responses: *ref_175 - exceptions: *ref_176 - extensions: - cli-split-operation-original-operation: *ref_177 - x-ms-examples: *ref_178 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_179 - language: - default: - name: create - description: Create Disk pool. - cli: - name: Create - description: Create Disk pool. - cliKey: 'CreateOrUpdate#Create' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']' - protocol: {} - language: - default: - name: DiskPool - description: '' - cli: - name: DiskPool - description: '' - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - cliPath: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_180 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - name: location - description: The location of the resource. - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_180 - responses: - - schema: *ref_181 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - name: List - description: Lists available Disk Pool Skus in an Azure location. - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: DiskPoolZone - description: '' - cli: - name: DiskPoolZone - description: '' - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - cliPath: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_182 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_183 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_182 - - *ref_183 - responses: - - schema: *ref_184 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - name: ListByDiskPool - description: Get iSCSI Targets in a Disk pool. - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - &ref_232 - apiVersions: &ref_214 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_195 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_215 - in: path - - &ref_196 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_216 - in: path - - &ref_197 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: &ref_217 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_218 - in: header - - &ref_185 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_191 - schema: *ref_28 - implementation: Method - originalParameter: *ref_185 - pathToProperty: &ref_187 [] - required: true - targetProperty: *ref_186 - extensions: - cli-flatten-origin: *ref_186 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - name: aclMode - description: Mode for Target connectivity. - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''aclMode'']' - protocol: {} - - &ref_192 - schema: *ref_38 - implementation: Method - originalParameter: *ref_185 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''targetIqn'']' - protocol: {} - - &ref_193 - schema: *ref_102 - implementation: Method - originalParameter: *ref_185 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''staticAcls'']' - protocol: {} - - &ref_194 - schema: *ref_103 - implementation: Method - originalParameter: *ref_185 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_190 - extensions: - cli-flatten-origin: *ref_190 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''luns'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_221 - in: header - signatureParameters: - - *ref_191 - - *ref_192 - - *ref_193 - - *ref_194 - language: - default: - name: '' - description: '' - protocol: - http: &ref_226 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_195 - - *ref_196 - - *ref_197 - responses: &ref_230 - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_231 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_233 - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_234 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - name: CreateOrUpdate - description: Create or Update an iSCSI Target. - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - split-operation-names: *ref_198 - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_205 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_206 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_207 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_199 - schema: *ref_43 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_203 - schema: *ref_104 - implementation: Method - originalParameter: *ref_199 - pathToProperty: &ref_201 [] - targetProperty: *ref_200 - extensions: - cli-flatten-origin: *ref_200 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - cliKey: staticAcls - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''staticAcls'']' - protocol: {} - - &ref_204 - schema: *ref_105 - implementation: Method - originalParameter: *ref_199 - pathToProperty: *ref_201 - targetProperty: *ref_202 - extensions: - cli-flatten-origin: *ref_202 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - cliKey: luns - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''luns'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_203 - - *ref_204 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_205 - - *ref_206 - - *ref_207 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - name: Update - description: Update an iSCSI Target. - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_208 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_209 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_210 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_208 - - *ref_209 - - *ref_210 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - name: Delete - description: Delete an iSCSI Target. - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_211 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_212 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_213 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_211 - - *ref_212 - - *ref_213 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - name: Get - description: Get an iSCSI Target. - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - - apiVersions: *ref_214 - parameters: - - *ref_108 - - *ref_113 - - &ref_227 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''resourceGroupName'']' - protocol: - http: *ref_215 - - &ref_228 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''diskPoolName'']' - protocol: - http: *ref_216 - - &ref_229 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''iscsiTargetName'']' - protocol: - http: *ref_217 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: *ref_218 - - &ref_219 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_222 - schema: *ref_28 - implementation: Method - originalParameter: *ref_219 - pathToProperty: &ref_220 [] - required: true - targetProperty: *ref_186 - extensions: - cli-flatten-origin: *ref_186 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - name: aclMode - description: Mode for Target connectivity. - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''aclMode'']' - protocol: {} - - &ref_223 - schema: *ref_38 - implementation: Method - originalParameter: *ref_219 - pathToProperty: *ref_220 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''targetIqn'']' - protocol: {} - - &ref_224 - schema: *ref_102 - implementation: Method - originalParameter: *ref_219 - pathToProperty: *ref_220 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''staticAcls'']' - protocol: {} - - &ref_225 - schema: *ref_103 - implementation: Method - originalParameter: *ref_219 - pathToProperty: *ref_220 - required: false - targetProperty: *ref_190 - extensions: - cli-flatten-origin: *ref_190 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''luns'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''accept'']' - protocol: - http: *ref_221 - signatureParameters: - - *ref_222 - - *ref_223 - - *ref_224 - - *ref_225 - language: - default: - name: '' - description: '' - protocol: - http: *ref_226 - signatureParameters: - - *ref_227 - - *ref_228 - - *ref_229 - responses: *ref_230 - exceptions: *ref_231 - extensions: - cli-split-operation-original-operation: *ref_232 - x-ms-examples: *ref_233 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_234 - language: - default: - name: create - description: Create an iSCSI Target. - cli: - name: Create - description: Create an iSCSI Target. - cliKey: 'CreateOrUpdate#Create' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']' - protocol: {} - language: - default: - name: IscsiTarget - description: '' - cli: - name: IscsiTarget - description: '' - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - cliPath: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -language: - default: - name: StoragePoolManagement - description: '' - cli: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000250-test-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000250-test-pre-simplified.yaml deleted file mode 100644 index 9631897f4ec..00000000000 --- a/src/diskpool/_az_debug/clicommon-000250-test-pre-simplified.yaml +++ /dev/null @@ -1,2086 +0,0 @@ -operationGroups: - all: - - operationGroupName: Operation - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - cliPath: operationGroups['Operations'] - operations: - - operationName: list - cli: - name: List - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - cliPath: operationGroups['Operations']$$operations['List'] - hidden: true - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: DiskPool - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - cliPath: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - name: ListBySubscription - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - cliPath: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - name: ListByResourceGroup - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - name: CreateOrUpdate - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(DiskPoolCreate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: DiskPoolCreate - - parameterName[0]: sku(Sku^object) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['sku'] - - parameterName[0]: tags(DiskPoolCreateTags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['tags'] - - parameterName[0]: location(DiskPoolCreateLocation^string) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['location'] - - parameterName[0]: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) - cli: - name: availabilityZones - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['availabilityZones'] - - parameterName[0]: disks(DiskPoolCreatePropertiesDisks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['disks'] - positional: true - positionalKeys: - - id - - parameterName[0]: subnet_id(DiskPoolCreatePropertiesSubnetId^string) - cli: - name: subnetId - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['subnetId'] - - parameterName[0]: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) - cli: - name: additionalCapabilities - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['additionalCapabilities'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - name: Update - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - cliPath: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(DiskPoolUpdate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - bodySchema: DiskPoolUpdate - - parameterName[0]: tags(DiskPoolUpdateTags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['tags'] - cliKey: tags - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['tags'] - - parameterName[0]: disks(DiskPoolUpdatePropertiesDisks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['disks'] - cliKey: disks - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['disks'] - positional: true - positionalKeys: - - id - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - name: Delete - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - cliPath: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - name: Get - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - cliPath: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependency_endpoint - cli: - name: ListOutboundNetworkDependencyEndpoint - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - name: Start - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - cliPath: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - name: Deallocate - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - cliPath: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationName: create - cli: - name: Create - cliKey: CreateOrUpdate#Create - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create'] - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(DiskPoolCreate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: DiskPoolCreate - - parameterName[0]: sku(Sku^object) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['sku'] - - parameterName[0]: tags(DiskPoolCreateTags^dictionary) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['tags'] - - parameterName[0]: location(DiskPoolCreateLocation^string) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['location'] - - parameterName[0]: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) - cli: - name: availabilityZones - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['availabilityZones'] - - parameterName[0]: disks(DiskPoolCreatePropertiesDisks^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['disks'] - positional: true - positionalKeys: - - id - - parameterName[0]: subnet_id(DiskPoolCreatePropertiesSubnetId^string) - cli: - name: subnetId - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['subnetId'] - - parameterName[0]: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) - cli: - name: additionalCapabilities - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['additionalCapabilities'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['accept'] - - operationGroupName: DiskPoolZone - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - cliPath: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - name: List - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - cliPath: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: location(String^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - cliPath: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: IscsiTarget - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - cliPath: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - name: ListByDiskPool - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - name: CreateOrUpdate - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - name: iscsiTargetName - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(IscsiTargetCreate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: IscsiTargetCreate - - parameterName[0]: acl_mode(IscsiTargetAclMode^choice) - cli: - name: aclMode - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['aclMode'] - - parameterName[0]: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) - cli: - name: targetIqn - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['targetIqn'] - - parameterName[0]: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) - cli: - name: staticAcls - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['staticAcls'] - - parameterName[0]: luns(IscsiTargetCreatePropertiesLuns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['luns'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - name: Update - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - cliPath: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - name: iscsiTargetName - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(IscsiTargetUpdate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - bodySchema: IscsiTargetUpdate - - parameterName[0]: static_acls(IscsiTargetUpdatePropertiesStaticAcls^array) - cli: - name: staticAcls - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - cliKey: staticAcls - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['staticAcls'] - - parameterName[0]: luns(IscsiTargetUpdatePropertiesLuns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - cliKey: luns - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['luns'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - name: Delete - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - name: iscsiTargetName - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - name: Get - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - cliPath: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - name: iscsiTargetName - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: create - cli: - name: Create - cliKey: CreateOrUpdate#Create - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create'] - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - name: iscsiTargetName - cliKey: iscsiTargetName - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(IscsiTargetCreate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: IscsiTargetCreate - - parameterName[0]: acl_mode(IscsiTargetAclMode^choice) - cli: - name: aclMode - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['aclMode'] - - parameterName[0]: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) - cli: - name: targetIqn - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['targetIqn'] - - parameterName[0]: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) - cli: - name: staticAcls - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['staticAcls'] - - parameterName[0]: luns(IscsiTargetCreatePropertiesLuns^array) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['luns'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['accept'] -schemas: - objects: - all: - - schemaName: StoragePoolOperationListResult - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - cliPath: schemas$$objects['StoragePoolOperationListResult'] - properties: - - propertyName: value(StoragePoolOperationListResultValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(StoragePoolOperationListResultNextLink^string) - cli: - name: nextLink - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: StoragePoolRPOperation - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - cliPath: schemas$$objects['StoragePoolRPOperation'] - properties: - - propertyName: name(StoragePoolRPOperationName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - name: isDataAction - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(StoragePoolRPOperationActionType^string) - cli: - name: actionType - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(StoragePoolOperationDisplay^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(StoragePoolRPOperationOrigin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: StoragePoolOperationDisplay - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - cliPath: schemas$$objects['StoragePoolOperationDisplay'] - properties: - - propertyName: provider(StoragePoolOperationDisplayProvider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(StoragePoolOperationDisplayResource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(StoragePoolOperationDisplayOperation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(StoragePoolOperationDisplayDescription^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: Error - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: schemas$$objects['Error'] - cliPath: schemas$$objects['Error'] - properties: - - propertyName: error(ErrorResponse^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - cliPath: schemas$$objects['Error']$$properties['error'] - - schemaName: ErrorResponse - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - cliPath: schemas$$objects['ErrorResponse'] - properties: - - propertyName: code(ErrorResponseCode^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - cliPath: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(ErrorResponseMessage^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - cliPath: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(ErrorResponseTarget^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - cliPath: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(ErrorResponseDetails^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - cliPath: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(ErrorResponseAdditionalInfo^array) - cli: - name: additionalInfo - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - cliPath: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: ErrorAdditionalInfo - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - cliPath: schemas$$objects['ErrorAdditionalInfo'] - properties: - - propertyName: type(ErrorAdditionalInfoType^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: DiskPoolListResult - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - cliPath: schemas$$objects['DiskPoolListResult'] - properties: - - propertyName: value(DiskPoolListResultValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - cliPath: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(DiskPoolListResultNextLink^string) - cli: - name: nextLink - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - cliPath: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: DiskPool - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - cliPath: schemas$$objects['DiskPool'] - properties: - - propertyName: system_data(SystemMetadata^object) - cli: - name: systemData - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - cliPath: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(ProvisioningStates^choice) - cli: - name: provisioningState - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - cliPath: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(DiskPoolPropertiesAvailabilityZones^array) - cli: - name: availabilityZones - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - cliPath: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(OperationalStatus^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - cliPath: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(DiskPoolPropertiesDisks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - cliPath: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(DiskPoolPropertiesSubnetId^string) - cli: - name: subnetId - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - cliPath: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(DiskPoolPropertiesAdditionalCapabilities^array) - cli: - name: additionalCapabilities - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - cliPath: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(SkuName^string) - cli: - name: nameSkuName - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - cliPath: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(SkuTier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - cliPath: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: Sku - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - cliPath: schemas$$objects['Sku'] - properties: - - propertyName: name(SkuName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - cliPath: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(SkuTier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - cliPath: schemas$$objects['Sku']$$properties['tier'] - - schemaName: Disk - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - cliPath: schemas$$objects['Disk'] - properties: - - propertyName: id(DiskId^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - cliPath: schemas$$objects['Disk']$$properties['id'] - - schemaName: SystemMetadata - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - cliPath: schemas$$objects['SystemMetadata'] - properties: - - propertyName: created_by(SystemMetadataCreatedBy^string) - cli: - name: createdBy - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - cliPath: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(CreatedByType^choice) - cli: - name: createdByType - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - cliPath: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - name: createdAt - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - cliPath: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(SystemMetadataLastModifiedBy^string) - cli: - name: lastModifiedBy - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(CreatedByType^choice) - cli: - name: lastModifiedByType - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - name: lastModifiedAt - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: TrackedResource - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - cliPath: schemas$$objects['TrackedResource'] - properties: - - propertyName: tags(TrackedResourceTags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - cliPath: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(TrackedResourceLocation^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - cliPath: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: Resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - cliPath: schemas$$objects['Resource'] - properties: - - propertyName: id(ResourceId^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - cliPath: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(ResourceName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - cliPath: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(ResourceType^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - cliPath: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: DiskPoolCreate - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - cliPath: schemas$$objects['DiskPoolCreate'] - properties: - - propertyName: sku(Sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(DiskPoolCreateTags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(DiskPoolCreateLocation^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(DiskPoolCreateId^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(DiskPoolCreateName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(DiskPoolCreateType^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) - cli: - name: availabilityZones - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(DiskPoolCreatePropertiesDisks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(DiskPoolCreatePropertiesSubnetId^string) - cli: - name: subnetId - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) - cli: - name: additionalCapabilities - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: DiskPoolUpdate - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - cliPath: schemas$$objects['DiskPoolUpdate'] - properties: - - propertyName: tags(DiskPoolUpdateTags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - cliPath: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(DiskPoolUpdatePropertiesDisks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - cliPath: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: DiskPoolZoneListResult - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - cliPath: schemas$$objects['DiskPoolZoneListResult'] - properties: - - propertyName: value(DiskPoolZoneListResultValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(DiskPoolZoneListResultNextLink^string) - cli: - name: nextLink - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: DiskPoolZoneInfo - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - cliPath: schemas$$objects['DiskPoolZoneInfo'] - properties: - - propertyName: availability_zones(DiskPoolZoneInfoAvailabilityZones^array) - cli: - name: availabilityZones - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(DiskPoolZoneInfoAdditionalCapabilities^array) - cli: - name: additionalCapabilities - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(Sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: OutboundEnvironmentEndpointList - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - cliPath: schemas$$objects['OutboundEnvironmentEndpointList'] - properties: - - propertyName: value(OutboundEnvironmentEndpointListValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(OutboundEnvironmentEndpointListNextLink^string) - cli: - name: nextLink - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: OutboundEnvironmentEndpoint - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - cliPath: schemas$$objects['OutboundEnvironmentEndpoint'] - properties: - - propertyName: category(OutboundEnvironmentEndpointCategory^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(OutboundEnvironmentEndpointEndpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: EndpointDependency - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - cliPath: schemas$$objects['EndpointDependency'] - properties: - - propertyName: domain_name(EndpointDependencyDomainName^string) - cli: - name: domainName - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - cliPath: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(EndpointDependencyEndpointDetails^array) - cli: - name: endpointDetails - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - cliPath: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: EndpointDetail - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - cliPath: schemas$$objects['EndpointDetail'] - properties: - - propertyName: ip_address(EndpointDetailIpAddress^string) - cli: - name: ipAddress - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - cliPath: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(Integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - cliPath: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(Number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - cliPath: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - name: isAccessible - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - cliPath: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: IscsiTargetList - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - cliPath: schemas$$objects['IscsiTargetList'] - properties: - - propertyName: value(IscsiTargetListValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - cliPath: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(IscsiTargetListNextLink^string) - cli: - name: nextLink - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - cliPath: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: IscsiTarget - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - cliPath: schemas$$objects['IscsiTarget'] - properties: - - propertyName: system_data(SystemMetadata^object) - cli: - name: systemData - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - cliPath: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(IscsiTargetAclMode^choice) - cli: - name: aclMode - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - cliPath: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(IscsiTargetPropertiesStaticAcls^array) - cli: - name: staticAcls - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - cliPath: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(IscsiTargetPropertiesLuns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - cliPath: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(IscsiTargetPropertiesTargetIqn^string) - cli: - name: targetIqn - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - cliPath: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(ProvisioningStates^choice) - cli: - name: provisioningState - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - cliPath: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(OperationalStatus^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - cliPath: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(IscsiTargetPropertiesEndpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - cliPath: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(Integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - cliPath: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: Acl - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - cliPath: schemas$$objects['Acl'] - properties: - - propertyName: initiator_iqn(AclInitiatorIqn^string) - cli: - name: initiatorIqn - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - cliPath: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(AclMappedLuns^array) - cli: - name: mappedLuns - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - cliPath: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: IscsiLun - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - cliPath: schemas$$objects['IscsiLun'] - properties: - - propertyName: name(IscsiLunName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - cliPath: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(IscsiLunManagedDiskAzureResourceId^string) - cli: - name: managedDiskAzureResourceId - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - cliPath: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: IscsiTargetCreate - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - cliPath: schemas$$objects['IscsiTargetCreate'] - properties: - - propertyName: acl_mode(IscsiTargetAclMode^choice) - cli: - name: aclMode - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) - cli: - name: targetIqn - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) - cli: - name: staticAcls - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(IscsiTargetCreatePropertiesLuns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: IscsiTargetUpdate - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - cliPath: schemas$$objects['IscsiTargetUpdate'] - properties: - - propertyName: static_acls(IscsiTargetUpdatePropertiesStaticAcls^array) - cli: - name: staticAcls - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(IscsiTargetUpdatePropertiesLuns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: ProxyResource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - cliPath: schemas$$objects['ProxyResource'] - choices: - all: - - choiceName: ProvisioningStates - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - cliPath: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - name: Invalid - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - name: Succeeded - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - name: Failed - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - name: Canceled - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - name: Pending - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - name: Creating - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - name: Updating - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - name: Deleting - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: OperationalStatus - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - cliPath: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - name: Invalid - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - name: Unknown - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - name: Healthy - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - name: Unhealthy - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - name: Updating - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - name: Running - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - name: Stopped - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated__ - cli: - name: StoppedDeallocated_ - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: CreatedByType - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - cliPath: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - name: User - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - cliPath: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - name: Application - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - cliPath: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - name: ManagedIdentity - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - cliPath: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - name: Key - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - cliPath: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: IscsiTargetAclMode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - cliPath: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - name: Dynamic - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - name: Static - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: DiskPoolTier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - cliPath: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - name: Basic - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - cliPath: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - name: Standard - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - cliPath: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - name: Premium - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' - cliPath: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000250-test-pre.yaml b/src/diskpool/_az_debug/clicommon-000250-test-pre.yaml deleted file mode 100644 index 08e9fa85efc..00000000000 --- a/src/diskpool/_az_debug/clicommon-000250-test-pre.yaml +++ /dev/null @@ -1,7847 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: Integer - description: The port an endpoint is connected to. - cli: - name: Integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: Number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - name: Number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: Integer - description: The port used by iSCSI Target portal group. - cli: - name: Integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: String - description: simple string - cli: - name: String - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRPOperationName - description: The name of the operation being performed on this particular object - cli: - name: StoragePoolRPOperationName - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRPOperationActionType - description: Indicates the action type. - cli: - name: StoragePoolRPOperationActionType - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayProvider - description: Localized friendly form of the resource provider name. - cli: - name: StoragePoolOperationDisplayProvider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayResource - description: Localized friendly form of the resource type related to this action/operation. - cli: - name: StoragePoolOperationDisplayResource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayOperation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - name: StoragePoolOperationDisplayOperation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayDescription - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - name: StoragePoolOperationDisplayDescription - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRPOperationOrigin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - name: StoragePoolRPOperationOrigin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationListResultNextLink - description: URI to fetch the next section of the paginated response. - cli: - name: StoragePoolOperationListResultNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponseCode - description: The error code. - cli: - name: ErrorResponseCode - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponseMessage - description: The error message. - cli: - name: ErrorResponseMessage - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponseTarget - description: The error target. - cli: - name: ErrorResponseTarget - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorAdditionalInfoType - description: The additional info type. - cli: - name: ErrorAdditionalInfoType - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: String - description: '' - cli: - name: String - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SkuName - description: Sku name - cli: - name: SkuName - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SkuTier - description: Sku tier - cli: - name: SkuTier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AvailabilityZone - description: Availability zone. - cli: - name: AvailabilityZone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskId - description: Unique Azure Resource ID of the Managed Disk. - cli: - name: DiskId - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: DiskPoolPropertiesSubnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: DiskPoolPropertiesSubnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AdditionalCapability - description: Special capability that can be set on the Disk Pool. - cli: - name: AdditionalCapability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SystemMetadataCreatedBy - description: The identity that created the resource. - cli: - name: SystemMetadataCreatedBy - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SystemMetadataLastModifiedBy - description: The identity that last modified the resource. - cli: - name: SystemMetadataLastModifiedBy - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: String - description: '' - cli: - name: String - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: TrackedResourceLocation - description: The geo-location where the resource lives. - cli: - name: TrackedResourceLocation - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ResourceId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - name: ResourceId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ResourceName - description: The name of the resource - cli: - name: ResourceName - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ResourceType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - name: ResourceType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolListResultNextLink - description: URI to fetch the next section of the paginated response. - cli: - name: DiskPoolListResultNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: String - description: '' - cli: - name: String - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: DiskPoolCreatePropertiesSubnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: DiskPoolCreatePropertiesSubnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: DiskPoolCreateLocation - description: The geo-location where the resource lives. - cli: - name: DiskPoolCreateLocation - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreateId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - name: DiskPoolCreateId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreateName - description: The name of the resource - cli: - name: DiskPoolCreateName - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreateType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - name: DiskPoolCreateType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolZoneListResultNextLink - description: URI to fetch the next section of the paginated response. - cli: - name: DiskPoolZoneListResultNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: OutboundEnvironmentEndpointCategory - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - name: OutboundEnvironmentEndpointCategory - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: EndpointDependencyDomainName - description: The domain name of the dependency. - cli: - name: EndpointDependencyDomainName - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: EndpointDetailIpAddress - description: An IP Address that Domain Name currently resolves to. - cli: - name: EndpointDetailIpAddress - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: OutboundEnvironmentEndpointListNextLink - description: Link to next page of resources. - cli: - name: OutboundEnvironmentEndpointListNextLink - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AclInitiatorIqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - name: AclInitiatorIqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AclMappedLunsItem - description: '' - cli: - name: AclMappedLunsItem - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiLunName - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - name: IscsiLunName - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiLunManagedDiskAzureResourceId - description: Azure Resource ID of the Managed Disk. - cli: - name: IscsiLunManagedDiskAzureResourceId - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetPropertiesTargetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: IscsiTargetPropertiesTargetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetPropertiesEndpointsItem - description: '' - cli: - name: IscsiTargetPropertiesEndpointsItem - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetListNextLink - description: URI to fetch the next section of the paginated response. - cli: - name: IscsiTargetListNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetCreatePropertiesTargetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: IscsiTargetCreatePropertiesTargetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - name: Invalid - description: '' - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - name: Succeeded - description: '' - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - name: Failed - description: '' - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - name: Canceled - description: '' - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - name: Pending - description: '' - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - name: Creating - description: '' - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - name: Updating - description: '' - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - name: Deleting - description: '' - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: ProvisioningStates - description: Provisioning state of the iSCSI Target. - cli: - name: ProvisioningStates - description: Provisioning state of the iSCSI Target. - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - cliPath: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - name: Invalid - description: '' - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - name: Unknown - description: '' - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - name: Healthy - description: '' - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - name: Unhealthy - description: '' - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - name: Updating - description: '' - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - name: Running - description: '' - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - name: Stopped - description: '' - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated__ - description: '' - cli: - name: StoppedDeallocated_ - description: '' - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: OperationalStatus - description: Operational status of the resource. - cli: - name: OperationalStatus - description: Operational status of the resource. - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - cliPath: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - name: User - description: '' - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - name: Application - description: '' - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - name: ManagedIdentity - description: '' - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - name: Key - description: '' - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: CreatedByType - description: The type of identity that created the resource. - cli: - name: CreatedByType - description: The type of identity that created the resource. - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - cliPath: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - name: Dynamic - description: '' - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - name: Static - description: '' - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: IscsiTargetAclMode - description: ACL mode for iSCSI Target. - cli: - name: IscsiTargetAclMode - description: ACL mode for iSCSI Target. - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - cliPath: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - name: Basic - description: '' - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - name: Standard - description: '' - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - name: Premium - description: '' - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: DiskPoolTier - description: SKU of the VM host part of the Disk Pool deployment - cli: - name: DiskPoolTier - description: SKU of the VM host part of the Disk Pool deployment - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - cliPath: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - cli: - name: ApiVersion20210401Preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - cli: - name: Accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - cli: - name: ApplicationJson - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: TrackedResourceTags - description: Resource tags. - cli: - name: TrackedResourceTags - description: Resource tags. - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: DiskPoolCreateTags - description: Resource tags. - cli: - name: DiskPoolCreateTags - description: Resource tags. - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: DiskPoolUpdateTags - description: Resource tags. - cli: - name: DiskPoolUpdateTags - description: Resource tags. - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - name: name - description: The name of the operation being performed on this particular object - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - name: isDataAction - description: Indicates whether the operation applies to data-plane. - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - name: actionType - description: Indicates the action type. - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - name: provider - description: Localized friendly form of the resource provider name. - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolOperationDisplay - description: Metadata about an operation. - namespace: '' - cli: - name: StoragePoolOperationDisplay - description: Metadata about an operation. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - name: display - description: Additional metadata about RP operation. - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolRPOperation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - name: StoragePoolRPOperation - description: Description of a StoragePool RP Operation - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: StoragePoolOperationListResultValue - description: An array of operations supported by the StoragePool RP. - cli: - name: StoragePoolOperationListResultValue - description: An array of operations supported by the StoragePool RP. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - name: value - description: An array of operations supported by the StoragePool RP. - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - name: nextLink - description: URI to fetch the next section of the paginated response. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolOperationListResult - description: List of operations supported by the RP. - namespace: '' - cli: - name: StoragePoolOperationListResult - description: List of operations supported by the RP. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - name: code - description: The error code. - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - name: message - description: The error message. - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - name: target - description: The error target. - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: ErrorResponseDetails - description: The error details. - cli: - name: ErrorResponseDetails - description: The error details. - cli-complexity: array_complex - cli-in-circle: true - cli-mark: checked - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - name: details - description: The error details. - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - name: type - description: The additional info type. - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - name: info - description: The additional info. - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: ErrorAdditionalInfo - description: The resource management error additional info. - namespace: '' - cli: - name: ErrorAdditionalInfo - description: The resource management error additional info. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: ErrorResponseAdditionalInfo - description: The error additional info. - cli: - name: ErrorResponseAdditionalInfo - description: The error additional info. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - name: additionalInfo - description: The error additional info. - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: ErrorResponse - description: The resource management error response. - namespace: '' - cli: - name: ErrorResponse - description: The resource management error response. - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - cliPath: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - name: error - description: RP error response. - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - cliPath: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: Error - description: The resource management error response. - namespace: '' - cli: - name: Error - description: The resource management error response. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - cliPath: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - name: createdBy - description: The identity that created the resource. - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - name: createdByType - description: The type of identity that created the resource. - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - name: createdAt - description: The timestamp of resource creation (UTC). - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - name: lastModifiedBy - description: The identity that last modified the resource. - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - name: lastModifiedByType - description: The type of identity that last modified the resource. - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - name: lastModifiedAt - description: The type of identity that last modified the resource. - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: SystemMetadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - name: SystemMetadata - description: Metadata pertaining to creation and last modification of the resource. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - cliPath: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - name: systemData - description: Resource metadata required by ARM RPC - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - name: aclMode - description: Mode for Target connectivity. - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - name: initiatorIqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - cliPath: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: AclMappedLuns - description: List of LUN names mapped to the ACL. - cli: - name: AclMappedLuns - description: List of LUN names mapped to the ACL. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - name: mappedLuns - description: List of LUN names mapped to the ACL. - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - cliPath: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: Acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - name: Acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - cliPath: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: IscsiTargetPropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: IscsiTargetPropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - name: managedDiskAzureResourceId - description: Azure Resource ID of the Managed Disk. - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: IscsiLun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - name: IscsiLun - description: LUN to expose the Azure Managed Disk. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - cliPath: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: IscsiTargetPropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: IscsiTargetPropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - name: provisioningState - description: State of the operation on the resource. - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - name: status - description: Operational status of the iSCSI Target. - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: IscsiTargetPropertiesEndpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - name: IscsiTargetPropertiesEndpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - name: port - description: The port used by iSCSI Target portal group. - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: IscsiTarget - description: Response for iSCSI Target requests. - namespace: '' - cli: - name: IscsiTarget - description: Response for iSCSI Target requests. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - cliPath: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_186 - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - name: aclMode - description: Mode for Target connectivity. - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - &ref_188 - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - &ref_189 - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: IscsiTargetCreatePropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: IscsiTargetCreatePropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_190 - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: IscsiTargetCreatePropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: IscsiTargetCreatePropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: IscsiTargetCreate - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - name: IscsiTargetCreate - description: Payload for iSCSI Target create or update requests. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_200 - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: IscsiTargetUpdatePropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: IscsiTargetUpdatePropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_202 - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: IscsiTargetUpdatePropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: IscsiTargetUpdatePropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: IscsiTargetUpdate - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - name: IscsiTargetUpdate - description: Payload for iSCSI Target update requests. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - cliPath: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: ProxyResource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - name: ProxyResource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - cliPath: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - cliPath: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - name: name - description: The name of the resource - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - cliPath: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - cliPath: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: Resource - description: ARM resource model definition. - namespace: '' - cli: - name: Resource - description: ARM resource model definition. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - cliPath: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - name: location - description: The geo-location where the resource lives. - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: TrackedResource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - name: TrackedResource - description: The resource model definition for a ARM tracked top level resource. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - cliPath: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - name: systemData - description: Resource metadata required by ARM RPC - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - name: provisioningState - description: State of the operation on the resource. - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: DiskPoolPropertiesAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: DiskPoolPropertiesAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - name: status - description: Operational status of the Disk Pool. - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - cliPath: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: Disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - name: Disk - description: Azure Managed Disk to attach to the Disk Pool. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - cliPath: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: DiskPoolPropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: DiskPoolPropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: DiskPoolPropertiesAdditionalCapabilities - description: List of additional capabilities for Disk Pool. - cli: - name: DiskPoolPropertiesAdditionalCapabilities - description: List of additional capabilities for Disk Pool. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for Disk Pool. - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - name: nameSkuName - description: Sku name - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - name: tier - description: Sku tier - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: DiskPool - description: Response for Disk Pool request. - namespace: '' - cli: - name: DiskPool - description: Response for Disk Pool request. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - cliPath: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: DiskPoolListResultValue - description: An array of Disk pool objects. - cli: - name: DiskPoolListResultValue - description: An array of Disk pool objects. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - name: value - description: An array of Disk pool objects. - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - name: nextLink - description: URI to fetch the next section of the paginated response. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolListResult - description: List of Disk Pools - namespace: '' - cli: - name: DiskPoolListResult - description: List of Disk Pools - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - cliPath: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - name: name - description: Sku name - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - cliPath: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - name: tier - description: Sku tier - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - cliPath: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: Sku - description: Sku for ARM resource - namespace: '' - cli: - name: Sku - description: Sku for ARM resource - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - cliPath: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_120 - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - name: sku - description: Determines the SKU of the Disk Pool - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - &ref_122 - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - &ref_123 - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - name: location - description: The geo-location where the resource lives. - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - name: name - description: The name of the resource - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - &ref_124 - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: DiskPoolCreatePropertiesAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: DiskPoolCreatePropertiesAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - &ref_125 - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: DiskPoolCreatePropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: DiskPoolCreatePropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - &ref_126 - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - &ref_127 - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: DiskPoolCreatePropertiesAdditionalCapabilities - description: List of additional capabilities for a Disk Pool. - cli: - name: DiskPoolCreatePropertiesAdditionalCapabilities - description: List of additional capabilities for a Disk Pool. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for a Disk Pool. - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: DiskPoolCreate - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - name: DiskPoolCreate - description: Request payload for create or update Disk Pool request. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_137 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_139 - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - &ref_141 - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: DiskPoolUpdatePropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: DiskPoolUpdatePropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: DiskPoolUpdate - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - name: DiskPoolUpdate - description: Request payload for Update Disk Pool request. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - cliPath: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_181 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: DiskPoolZoneInfoAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: DiskPoolZoneInfoAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: DiskPoolZoneInfoAdditionalCapabilities - description: List of additional capabilities for Disk Pool. - cli: - name: DiskPoolZoneInfoAdditionalCapabilities - description: List of additional capabilities for Disk Pool. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for Disk Pool. - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolZoneInfo - description: Disk Pool Sku Details - namespace: '' - cli: - name: DiskPoolZoneInfo - description: Disk Pool Sku Details - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: DiskPoolZoneListResultValue - description: The list of Disk Pool Skus. - cli: - name: DiskPoolZoneListResultValue - description: The list of Disk Pool Skus. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - name: value - description: The list of Disk Pool Skus. - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - name: nextLink - description: URI to fetch the next section of the paginated response. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolZoneListResult - description: List Disk Pool skus operation response. - namespace: '' - cli: - name: DiskPoolZoneListResult - description: List Disk Pool skus operation response. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_153 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - name: domainName - description: The domain name of the dependency. - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - name: ipAddress - description: An IP Address that Domain Name currently resolves to. - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - name: port - description: The port an endpoint is connected to. - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - name: isAccessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: EndpointDetail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - name: EndpointDetail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - cliPath: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: EndpointDependencyEndpointDetails - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - name: EndpointDependencyEndpointDetails - description: The IP Addresses and Ports used when connecting to DomainName. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - name: endpointDetails - description: The IP Addresses and Ports used when connecting to DomainName. - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: EndpointDependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - name: EndpointDependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - cliPath: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: OutboundEnvironmentEndpointEndpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - name: OutboundEnvironmentEndpointEndpoints - description: The endpoints that the App Service Environment reaches the service at. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: OutboundEnvironmentEndpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - name: OutboundEnvironmentEndpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: OutboundEnvironmentEndpointListValue - description: Collection of resources. - cli: - name: OutboundEnvironmentEndpointListValue - description: Collection of resources. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - name: value - description: Collection of resources. - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - name: nextLink - description: Link to next page of resources. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: OutboundEnvironmentEndpointList - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - name: OutboundEnvironmentEndpointList - description: Collection of Outbound Environment Endpoints - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_184 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: IscsiTargetListValue - description: An array of iSCSI Targets in a Disk Pool. - cli: - name: IscsiTargetListValue - description: An array of iSCSI Targets in a Disk Pool. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - name: nextLink - description: URI to fetch the next section of the paginated response. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: IscsiTargetList - description: List of iSCSI Targets. - namespace: '' - cli: - name: IscsiTargetList - description: List of iSCSI Targets. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - cliPath: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - name: subscriptionId - description: The ID of the target subscription. - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - cliPath: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - name: $host - description: server parameter - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - cliPath: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - name: ApiVersion - description: Api Version - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - cliPath: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - name: List - description: Gets a list of StoragePool operations. - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - cliPath: 'operationGroups[''Operations'']$$operations[''List'']' - hidden: true - protocol: {} - language: - default: - name: Operation - description: '' - cli: - name: Operation - description: '' - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - cliPath: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - name: ListBySubscription - description: Gets a list of Disk Pools in a subscription - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - name: ListByResourceGroup - description: Gets a list of DiskPools in a resource group. - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - &ref_177 - apiVersions: &ref_158 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_159 - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_160 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_161 - in: header - - &ref_119 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_128 - schema: *ref_59 - implementation: Method - originalParameter: *ref_119 - pathToProperty: &ref_121 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - name: sku - description: Determines the SKU of the Disk Pool - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''sku'']' - protocol: {} - - &ref_129 - schema: *ref_60 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''tags'']' - protocol: {} - - &ref_130 - schema: *ref_61 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - name: location - description: The geo-location where the resource lives. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''location'']' - protocol: {} - - &ref_131 - schema: *ref_87 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''availabilityZones'']' - protocol: {} - - &ref_132 - schema: *ref_88 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''disks'']' - positional: true - positionalKeys: &ref_142 - - id - protocol: {} - - &ref_133 - schema: *ref_65 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''subnetId'']' - protocol: {} - - &ref_134 - schema: *ref_89 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for a Disk Pool. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''additionalCapabilities'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_164 - in: header - signatureParameters: - - *ref_128 - - *ref_129 - - *ref_130 - - *ref_131 - - *ref_132 - - *ref_133 - - *ref_134 - language: - default: - name: '' - description: '' - protocol: - http: &ref_172 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: &ref_175 - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_176 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_178 - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_179 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - name: CreateOrUpdate - description: Create or Update Disk pool. - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - split-operation-names: &ref_198 - - Create - - Update - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_145 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_146 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_138 - schema: *ref_137 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_143 - schema: *ref_66 - implementation: Method - originalParameter: *ref_138 - pathToProperty: &ref_140 [] - required: false - targetProperty: *ref_139 - extensions: - cli-flatten-origin: *ref_139 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - cliKey: tags - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''tags'']' - protocol: {} - - &ref_144 - schema: *ref_90 - implementation: Method - originalParameter: *ref_138 - pathToProperty: *ref_140 - targetProperty: *ref_141 - extensions: - cli-flatten-origin: *ref_141 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - cliKey: disks - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''disks'']' - positional: true - positionalKeys: *ref_142 - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_143 - - *ref_144 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_145 - - *ref_146 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - name: Update - description: Update a Disk pool. - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_147 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_148 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_147 - - *ref_148 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - name: Delete - description: Delete a Disk pool. - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_149 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_150 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_149 - - *ref_150 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - name: Get - description: Get a Disk pool. - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_151 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_152 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_151 - - *ref_152 - responses: - - schema: *ref_153 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependency_endpoint - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - name: ListOutboundNetworkDependencyEndpoint - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_154 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_155 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_154 - - *ref_155 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - name: Start - description: The operation to start a Disk Pool. - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_156 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_157 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_156 - - *ref_157 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - name: Deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - - apiVersions: *ref_158 - parameters: - - *ref_108 - - *ref_113 - - &ref_173 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$parameters[''resourceGroupName'']' - protocol: - http: *ref_159 - - &ref_174 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$parameters[''diskPoolName'']' - protocol: - http: *ref_160 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: *ref_161 - - &ref_162 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_165 - schema: *ref_59 - implementation: Method - originalParameter: *ref_162 - pathToProperty: &ref_163 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - name: sku - description: Determines the SKU of the Disk Pool - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''sku'']' - protocol: {} - - &ref_166 - schema: *ref_60 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''tags'']' - protocol: {} - - &ref_167 - schema: *ref_61 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - name: location - description: The geo-location where the resource lives. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''location'']' - protocol: {} - - &ref_168 - schema: *ref_87 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''availabilityZones'']' - protocol: {} - - &ref_169 - schema: *ref_88 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''disks'']' - positional: true - positionalKeys: *ref_142 - protocol: {} - - &ref_170 - schema: *ref_65 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''subnetId'']' - protocol: {} - - &ref_171 - schema: *ref_89 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for a Disk Pool. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''additionalCapabilities'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''accept'']' - protocol: - http: *ref_164 - signatureParameters: - - *ref_165 - - *ref_166 - - *ref_167 - - *ref_168 - - *ref_169 - - *ref_170 - - *ref_171 - language: - default: - name: '' - description: '' - protocol: - http: *ref_172 - signatureParameters: - - *ref_173 - - *ref_174 - responses: *ref_175 - exceptions: *ref_176 - extensions: - cli-split-operation-original-operation: *ref_177 - x-ms-examples: *ref_178 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_179 - language: - default: - name: create - description: Create Disk pool. - cli: - name: Create - description: Create Disk pool. - cliKey: 'CreateOrUpdate#Create' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']' - protocol: {} - language: - default: - name: DiskPool - description: '' - cli: - name: DiskPool - description: '' - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - cliPath: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_180 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - name: location - description: The location of the resource. - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_180 - responses: - - schema: *ref_181 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - name: List - description: Lists available Disk Pool Skus in an Azure location. - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: DiskPoolZone - description: '' - cli: - name: DiskPoolZone - description: '' - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - cliPath: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_182 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_183 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_182 - - *ref_183 - responses: - - schema: *ref_184 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - name: ListByDiskPool - description: Get iSCSI Targets in a Disk pool. - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - &ref_232 - apiVersions: &ref_214 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_195 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_215 - in: path - - &ref_196 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_216 - in: path - - &ref_197 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: &ref_217 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_218 - in: header - - &ref_185 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_191 - schema: *ref_28 - implementation: Method - originalParameter: *ref_185 - pathToProperty: &ref_187 [] - required: true - targetProperty: *ref_186 - extensions: - cli-flatten-origin: *ref_186 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - name: aclMode - description: Mode for Target connectivity. - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''aclMode'']' - protocol: {} - - &ref_192 - schema: *ref_38 - implementation: Method - originalParameter: *ref_185 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''targetIqn'']' - protocol: {} - - &ref_193 - schema: *ref_102 - implementation: Method - originalParameter: *ref_185 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''staticAcls'']' - protocol: {} - - &ref_194 - schema: *ref_103 - implementation: Method - originalParameter: *ref_185 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_190 - extensions: - cli-flatten-origin: *ref_190 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''luns'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_221 - in: header - signatureParameters: - - *ref_191 - - *ref_192 - - *ref_193 - - *ref_194 - language: - default: - name: '' - description: '' - protocol: - http: &ref_226 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_195 - - *ref_196 - - *ref_197 - responses: &ref_230 - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_231 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_233 - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_234 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - name: CreateOrUpdate - description: Create or Update an iSCSI Target. - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - split-operation-names: *ref_198 - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_205 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_206 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_207 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_199 - schema: *ref_43 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_203 - schema: *ref_104 - implementation: Method - originalParameter: *ref_199 - pathToProperty: &ref_201 [] - targetProperty: *ref_200 - extensions: - cli-flatten-origin: *ref_200 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - cliKey: staticAcls - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''staticAcls'']' - protocol: {} - - &ref_204 - schema: *ref_105 - implementation: Method - originalParameter: *ref_199 - pathToProperty: *ref_201 - targetProperty: *ref_202 - extensions: - cli-flatten-origin: *ref_202 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - cliKey: luns - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''luns'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_203 - - *ref_204 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_205 - - *ref_206 - - *ref_207 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - name: Update - description: Update an iSCSI Target. - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_208 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_209 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_210 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_208 - - *ref_209 - - *ref_210 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - name: Delete - description: Delete an iSCSI Target. - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_211 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_212 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_213 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_211 - - *ref_212 - - *ref_213 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - name: Get - description: Get an iSCSI Target. - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - - apiVersions: *ref_214 - parameters: - - *ref_108 - - *ref_113 - - &ref_227 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''resourceGroupName'']' - protocol: - http: *ref_215 - - &ref_228 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''diskPoolName'']' - protocol: - http: *ref_216 - - &ref_229 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''iscsiTargetName'']' - protocol: - http: *ref_217 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: *ref_218 - - &ref_219 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_222 - schema: *ref_28 - implementation: Method - originalParameter: *ref_219 - pathToProperty: &ref_220 [] - required: true - targetProperty: *ref_186 - extensions: - cli-flatten-origin: *ref_186 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - name: aclMode - description: Mode for Target connectivity. - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''aclMode'']' - protocol: {} - - &ref_223 - schema: *ref_38 - implementation: Method - originalParameter: *ref_219 - pathToProperty: *ref_220 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''targetIqn'']' - protocol: {} - - &ref_224 - schema: *ref_102 - implementation: Method - originalParameter: *ref_219 - pathToProperty: *ref_220 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''staticAcls'']' - protocol: {} - - &ref_225 - schema: *ref_103 - implementation: Method - originalParameter: *ref_219 - pathToProperty: *ref_220 - required: false - targetProperty: *ref_190 - extensions: - cli-flatten-origin: *ref_190 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''luns'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''accept'']' - protocol: - http: *ref_221 - signatureParameters: - - *ref_222 - - *ref_223 - - *ref_224 - - *ref_225 - language: - default: - name: '' - description: '' - protocol: - http: *ref_226 - signatureParameters: - - *ref_227 - - *ref_228 - - *ref_229 - responses: *ref_230 - exceptions: *ref_231 - extensions: - cli-split-operation-original-operation: *ref_232 - x-ms-examples: *ref_233 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_234 - language: - default: - name: create - description: Create an iSCSI Target. - cli: - name: Create - description: Create an iSCSI Target. - cliKey: 'CreateOrUpdate#Create' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']' - protocol: {} - language: - default: - name: IscsiTarget - description: '' - cli: - name: IscsiTarget - description: '' - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - cliPath: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -language: - default: - name: StoragePoolManagement - description: '' - cli: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000260-test-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000260-test-post-simplified.yaml deleted file mode 100644 index 9631897f4ec..00000000000 --- a/src/diskpool/_az_debug/clicommon-000260-test-post-simplified.yaml +++ /dev/null @@ -1,2086 +0,0 @@ -operationGroups: - all: - - operationGroupName: Operation - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - cliPath: operationGroups['Operations'] - operations: - - operationName: list - cli: - name: List - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - cliPath: operationGroups['Operations']$$operations['List'] - hidden: true - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: DiskPool - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - cliPath: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - name: ListBySubscription - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - cliPath: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - name: ListByResourceGroup - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - name: CreateOrUpdate - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(DiskPoolCreate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: DiskPoolCreate - - parameterName[0]: sku(Sku^object) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['sku'] - - parameterName[0]: tags(DiskPoolCreateTags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['tags'] - - parameterName[0]: location(DiskPoolCreateLocation^string) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['location'] - - parameterName[0]: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) - cli: - name: availabilityZones - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['availabilityZones'] - - parameterName[0]: disks(DiskPoolCreatePropertiesDisks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['disks'] - positional: true - positionalKeys: - - id - - parameterName[0]: subnet_id(DiskPoolCreatePropertiesSubnetId^string) - cli: - name: subnetId - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['subnetId'] - - parameterName[0]: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) - cli: - name: additionalCapabilities - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['additionalCapabilities'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - name: Update - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - cliPath: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(DiskPoolUpdate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - bodySchema: DiskPoolUpdate - - parameterName[0]: tags(DiskPoolUpdateTags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['tags'] - cliKey: tags - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['tags'] - - parameterName[0]: disks(DiskPoolUpdatePropertiesDisks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['disks'] - cliKey: disks - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['disks'] - positional: true - positionalKeys: - - id - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - name: Delete - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - cliPath: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - name: Get - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - cliPath: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependency_endpoint - cli: - name: ListOutboundNetworkDependencyEndpoint - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - name: Start - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - cliPath: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - name: Deallocate - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - cliPath: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationName: create - cli: - name: Create - cliKey: CreateOrUpdate#Create - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create'] - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(DiskPoolCreate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: DiskPoolCreate - - parameterName[0]: sku(Sku^object) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['sku'] - - parameterName[0]: tags(DiskPoolCreateTags^dictionary) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['tags'] - - parameterName[0]: location(DiskPoolCreateLocation^string) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['location'] - - parameterName[0]: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) - cli: - name: availabilityZones - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['availabilityZones'] - - parameterName[0]: disks(DiskPoolCreatePropertiesDisks^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['disks'] - positional: true - positionalKeys: - - id - - parameterName[0]: subnet_id(DiskPoolCreatePropertiesSubnetId^string) - cli: - name: subnetId - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['subnetId'] - - parameterName[0]: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) - cli: - name: additionalCapabilities - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['additionalCapabilities'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['accept'] - - operationGroupName: DiskPoolZone - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - cliPath: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - name: List - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - cliPath: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: location(String^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - cliPath: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: IscsiTarget - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - cliPath: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - name: ListByDiskPool - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - name: CreateOrUpdate - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - name: iscsiTargetName - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(IscsiTargetCreate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: IscsiTargetCreate - - parameterName[0]: acl_mode(IscsiTargetAclMode^choice) - cli: - name: aclMode - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['aclMode'] - - parameterName[0]: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) - cli: - name: targetIqn - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['targetIqn'] - - parameterName[0]: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) - cli: - name: staticAcls - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['staticAcls'] - - parameterName[0]: luns(IscsiTargetCreatePropertiesLuns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['luns'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - name: Update - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - cliPath: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - name: iscsiTargetName - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(IscsiTargetUpdate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - bodySchema: IscsiTargetUpdate - - parameterName[0]: static_acls(IscsiTargetUpdatePropertiesStaticAcls^array) - cli: - name: staticAcls - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - cliKey: staticAcls - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['staticAcls'] - - parameterName[0]: luns(IscsiTargetUpdatePropertiesLuns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - cliKey: luns - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['luns'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - name: Delete - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - name: iscsiTargetName - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - name: Get - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - cliPath: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - name: iscsiTargetName - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: create - cli: - name: Create - cliKey: CreateOrUpdate#Create - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create'] - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - name: iscsiTargetName - cliKey: iscsiTargetName - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(IscsiTargetCreate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: IscsiTargetCreate - - parameterName[0]: acl_mode(IscsiTargetAclMode^choice) - cli: - name: aclMode - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['aclMode'] - - parameterName[0]: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) - cli: - name: targetIqn - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['targetIqn'] - - parameterName[0]: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) - cli: - name: staticAcls - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['staticAcls'] - - parameterName[0]: luns(IscsiTargetCreatePropertiesLuns^array) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['luns'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['accept'] -schemas: - objects: - all: - - schemaName: StoragePoolOperationListResult - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - cliPath: schemas$$objects['StoragePoolOperationListResult'] - properties: - - propertyName: value(StoragePoolOperationListResultValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(StoragePoolOperationListResultNextLink^string) - cli: - name: nextLink - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: StoragePoolRPOperation - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - cliPath: schemas$$objects['StoragePoolRPOperation'] - properties: - - propertyName: name(StoragePoolRPOperationName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - name: isDataAction - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(StoragePoolRPOperationActionType^string) - cli: - name: actionType - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(StoragePoolOperationDisplay^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(StoragePoolRPOperationOrigin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: StoragePoolOperationDisplay - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - cliPath: schemas$$objects['StoragePoolOperationDisplay'] - properties: - - propertyName: provider(StoragePoolOperationDisplayProvider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(StoragePoolOperationDisplayResource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(StoragePoolOperationDisplayOperation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(StoragePoolOperationDisplayDescription^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: Error - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: schemas$$objects['Error'] - cliPath: schemas$$objects['Error'] - properties: - - propertyName: error(ErrorResponse^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - cliPath: schemas$$objects['Error']$$properties['error'] - - schemaName: ErrorResponse - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - cliPath: schemas$$objects['ErrorResponse'] - properties: - - propertyName: code(ErrorResponseCode^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - cliPath: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(ErrorResponseMessage^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - cliPath: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(ErrorResponseTarget^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - cliPath: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(ErrorResponseDetails^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - cliPath: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(ErrorResponseAdditionalInfo^array) - cli: - name: additionalInfo - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - cliPath: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: ErrorAdditionalInfo - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - cliPath: schemas$$objects['ErrorAdditionalInfo'] - properties: - - propertyName: type(ErrorAdditionalInfoType^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: DiskPoolListResult - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - cliPath: schemas$$objects['DiskPoolListResult'] - properties: - - propertyName: value(DiskPoolListResultValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - cliPath: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(DiskPoolListResultNextLink^string) - cli: - name: nextLink - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - cliPath: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: DiskPool - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - cliPath: schemas$$objects['DiskPool'] - properties: - - propertyName: system_data(SystemMetadata^object) - cli: - name: systemData - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - cliPath: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(ProvisioningStates^choice) - cli: - name: provisioningState - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - cliPath: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(DiskPoolPropertiesAvailabilityZones^array) - cli: - name: availabilityZones - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - cliPath: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(OperationalStatus^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - cliPath: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(DiskPoolPropertiesDisks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - cliPath: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(DiskPoolPropertiesSubnetId^string) - cli: - name: subnetId - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - cliPath: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(DiskPoolPropertiesAdditionalCapabilities^array) - cli: - name: additionalCapabilities - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - cliPath: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(SkuName^string) - cli: - name: nameSkuName - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - cliPath: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(SkuTier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - cliPath: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: Sku - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - cliPath: schemas$$objects['Sku'] - properties: - - propertyName: name(SkuName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - cliPath: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(SkuTier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - cliPath: schemas$$objects['Sku']$$properties['tier'] - - schemaName: Disk - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - cliPath: schemas$$objects['Disk'] - properties: - - propertyName: id(DiskId^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - cliPath: schemas$$objects['Disk']$$properties['id'] - - schemaName: SystemMetadata - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - cliPath: schemas$$objects['SystemMetadata'] - properties: - - propertyName: created_by(SystemMetadataCreatedBy^string) - cli: - name: createdBy - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - cliPath: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(CreatedByType^choice) - cli: - name: createdByType - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - cliPath: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - name: createdAt - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - cliPath: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(SystemMetadataLastModifiedBy^string) - cli: - name: lastModifiedBy - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(CreatedByType^choice) - cli: - name: lastModifiedByType - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - name: lastModifiedAt - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: TrackedResource - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - cliPath: schemas$$objects['TrackedResource'] - properties: - - propertyName: tags(TrackedResourceTags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - cliPath: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(TrackedResourceLocation^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - cliPath: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: Resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - cliPath: schemas$$objects['Resource'] - properties: - - propertyName: id(ResourceId^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - cliPath: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(ResourceName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - cliPath: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(ResourceType^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - cliPath: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: DiskPoolCreate - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - cliPath: schemas$$objects['DiskPoolCreate'] - properties: - - propertyName: sku(Sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(DiskPoolCreateTags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(DiskPoolCreateLocation^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(DiskPoolCreateId^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(DiskPoolCreateName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(DiskPoolCreateType^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) - cli: - name: availabilityZones - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(DiskPoolCreatePropertiesDisks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(DiskPoolCreatePropertiesSubnetId^string) - cli: - name: subnetId - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) - cli: - name: additionalCapabilities - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: DiskPoolUpdate - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - cliPath: schemas$$objects['DiskPoolUpdate'] - properties: - - propertyName: tags(DiskPoolUpdateTags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - cliPath: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(DiskPoolUpdatePropertiesDisks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - cliPath: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: DiskPoolZoneListResult - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - cliPath: schemas$$objects['DiskPoolZoneListResult'] - properties: - - propertyName: value(DiskPoolZoneListResultValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(DiskPoolZoneListResultNextLink^string) - cli: - name: nextLink - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: DiskPoolZoneInfo - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - cliPath: schemas$$objects['DiskPoolZoneInfo'] - properties: - - propertyName: availability_zones(DiskPoolZoneInfoAvailabilityZones^array) - cli: - name: availabilityZones - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(DiskPoolZoneInfoAdditionalCapabilities^array) - cli: - name: additionalCapabilities - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(Sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: OutboundEnvironmentEndpointList - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - cliPath: schemas$$objects['OutboundEnvironmentEndpointList'] - properties: - - propertyName: value(OutboundEnvironmentEndpointListValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(OutboundEnvironmentEndpointListNextLink^string) - cli: - name: nextLink - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: OutboundEnvironmentEndpoint - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - cliPath: schemas$$objects['OutboundEnvironmentEndpoint'] - properties: - - propertyName: category(OutboundEnvironmentEndpointCategory^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(OutboundEnvironmentEndpointEndpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: EndpointDependency - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - cliPath: schemas$$objects['EndpointDependency'] - properties: - - propertyName: domain_name(EndpointDependencyDomainName^string) - cli: - name: domainName - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - cliPath: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(EndpointDependencyEndpointDetails^array) - cli: - name: endpointDetails - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - cliPath: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: EndpointDetail - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - cliPath: schemas$$objects['EndpointDetail'] - properties: - - propertyName: ip_address(EndpointDetailIpAddress^string) - cli: - name: ipAddress - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - cliPath: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(Integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - cliPath: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(Number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - cliPath: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - name: isAccessible - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - cliPath: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: IscsiTargetList - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - cliPath: schemas$$objects['IscsiTargetList'] - properties: - - propertyName: value(IscsiTargetListValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - cliPath: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(IscsiTargetListNextLink^string) - cli: - name: nextLink - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - cliPath: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: IscsiTarget - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - cliPath: schemas$$objects['IscsiTarget'] - properties: - - propertyName: system_data(SystemMetadata^object) - cli: - name: systemData - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - cliPath: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(IscsiTargetAclMode^choice) - cli: - name: aclMode - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - cliPath: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(IscsiTargetPropertiesStaticAcls^array) - cli: - name: staticAcls - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - cliPath: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(IscsiTargetPropertiesLuns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - cliPath: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(IscsiTargetPropertiesTargetIqn^string) - cli: - name: targetIqn - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - cliPath: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(ProvisioningStates^choice) - cli: - name: provisioningState - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - cliPath: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(OperationalStatus^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - cliPath: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(IscsiTargetPropertiesEndpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - cliPath: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(Integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - cliPath: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: Acl - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - cliPath: schemas$$objects['Acl'] - properties: - - propertyName: initiator_iqn(AclInitiatorIqn^string) - cli: - name: initiatorIqn - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - cliPath: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(AclMappedLuns^array) - cli: - name: mappedLuns - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - cliPath: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: IscsiLun - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - cliPath: schemas$$objects['IscsiLun'] - properties: - - propertyName: name(IscsiLunName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - cliPath: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(IscsiLunManagedDiskAzureResourceId^string) - cli: - name: managedDiskAzureResourceId - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - cliPath: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: IscsiTargetCreate - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - cliPath: schemas$$objects['IscsiTargetCreate'] - properties: - - propertyName: acl_mode(IscsiTargetAclMode^choice) - cli: - name: aclMode - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) - cli: - name: targetIqn - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) - cli: - name: staticAcls - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(IscsiTargetCreatePropertiesLuns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: IscsiTargetUpdate - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - cliPath: schemas$$objects['IscsiTargetUpdate'] - properties: - - propertyName: static_acls(IscsiTargetUpdatePropertiesStaticAcls^array) - cli: - name: staticAcls - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(IscsiTargetUpdatePropertiesLuns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: ProxyResource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - cliPath: schemas$$objects['ProxyResource'] - choices: - all: - - choiceName: ProvisioningStates - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - cliPath: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - name: Invalid - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - name: Succeeded - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - name: Failed - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - name: Canceled - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - name: Pending - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - name: Creating - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - name: Updating - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - name: Deleting - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: OperationalStatus - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - cliPath: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - name: Invalid - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - name: Unknown - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - name: Healthy - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - name: Unhealthy - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - name: Updating - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - name: Running - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - name: Stopped - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated__ - cli: - name: StoppedDeallocated_ - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: CreatedByType - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - cliPath: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - name: User - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - cliPath: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - name: Application - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - cliPath: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - name: ManagedIdentity - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - cliPath: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - name: Key - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - cliPath: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: IscsiTargetAclMode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - cliPath: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - name: Dynamic - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - name: Static - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: DiskPoolTier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - cliPath: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - name: Basic - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - cliPath: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - name: Standard - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - cliPath: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - name: Premium - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' - cliPath: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000260-test-post.yaml b/src/diskpool/_az_debug/clicommon-000260-test-post.yaml deleted file mode 100644 index 3f9f3356cb6..00000000000 --- a/src/diskpool/_az_debug/clicommon-000260-test-post.yaml +++ /dev/null @@ -1,7849 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: Integer - description: The port an endpoint is connected to. - cli: - name: Integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: Number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - name: Number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: Integer - description: The port used by iSCSI Target portal group. - cli: - name: Integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: String - description: simple string - cli: - name: String - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRPOperationName - description: The name of the operation being performed on this particular object - cli: - name: StoragePoolRPOperationName - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRPOperationActionType - description: Indicates the action type. - cli: - name: StoragePoolRPOperationActionType - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayProvider - description: Localized friendly form of the resource provider name. - cli: - name: StoragePoolOperationDisplayProvider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayResource - description: Localized friendly form of the resource type related to this action/operation. - cli: - name: StoragePoolOperationDisplayResource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayOperation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - name: StoragePoolOperationDisplayOperation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayDescription - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - name: StoragePoolOperationDisplayDescription - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRPOperationOrigin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - name: StoragePoolRPOperationOrigin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationListResultNextLink - description: URI to fetch the next section of the paginated response. - cli: - name: StoragePoolOperationListResultNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponseCode - description: The error code. - cli: - name: ErrorResponseCode - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponseMessage - description: The error message. - cli: - name: ErrorResponseMessage - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponseTarget - description: The error target. - cli: - name: ErrorResponseTarget - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorAdditionalInfoType - description: The additional info type. - cli: - name: ErrorAdditionalInfoType - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: String - description: '' - cli: - name: String - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SkuName - description: Sku name - cli: - name: SkuName - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SkuTier - description: Sku tier - cli: - name: SkuTier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AvailabilityZone - description: Availability zone. - cli: - name: AvailabilityZone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskId - description: Unique Azure Resource ID of the Managed Disk. - cli: - name: DiskId - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: DiskPoolPropertiesSubnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: DiskPoolPropertiesSubnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AdditionalCapability - description: Special capability that can be set on the Disk Pool. - cli: - name: AdditionalCapability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SystemMetadataCreatedBy - description: The identity that created the resource. - cli: - name: SystemMetadataCreatedBy - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SystemMetadataLastModifiedBy - description: The identity that last modified the resource. - cli: - name: SystemMetadataLastModifiedBy - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: String - description: '' - cli: - name: String - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: TrackedResourceLocation - description: The geo-location where the resource lives. - cli: - name: TrackedResourceLocation - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ResourceId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - name: ResourceId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ResourceName - description: The name of the resource - cli: - name: ResourceName - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ResourceType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - name: ResourceType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolListResultNextLink - description: URI to fetch the next section of the paginated response. - cli: - name: DiskPoolListResultNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: String - description: '' - cli: - name: String - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: DiskPoolCreatePropertiesSubnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: DiskPoolCreatePropertiesSubnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: DiskPoolCreateLocation - description: The geo-location where the resource lives. - cli: - name: DiskPoolCreateLocation - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreateId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - name: DiskPoolCreateId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreateName - description: The name of the resource - cli: - name: DiskPoolCreateName - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreateType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - name: DiskPoolCreateType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolZoneListResultNextLink - description: URI to fetch the next section of the paginated response. - cli: - name: DiskPoolZoneListResultNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: OutboundEnvironmentEndpointCategory - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - name: OutboundEnvironmentEndpointCategory - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: EndpointDependencyDomainName - description: The domain name of the dependency. - cli: - name: EndpointDependencyDomainName - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: EndpointDetailIpAddress - description: An IP Address that Domain Name currently resolves to. - cli: - name: EndpointDetailIpAddress - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: OutboundEnvironmentEndpointListNextLink - description: Link to next page of resources. - cli: - name: OutboundEnvironmentEndpointListNextLink - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AclInitiatorIqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - name: AclInitiatorIqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AclMappedLunsItem - description: '' - cli: - name: AclMappedLunsItem - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiLunName - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - name: IscsiLunName - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiLunManagedDiskAzureResourceId - description: Azure Resource ID of the Managed Disk. - cli: - name: IscsiLunManagedDiskAzureResourceId - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetPropertiesTargetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: IscsiTargetPropertiesTargetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetPropertiesEndpointsItem - description: '' - cli: - name: IscsiTargetPropertiesEndpointsItem - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetListNextLink - description: URI to fetch the next section of the paginated response. - cli: - name: IscsiTargetListNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetCreatePropertiesTargetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: IscsiTargetCreatePropertiesTargetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - name: Invalid - description: '' - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - name: Succeeded - description: '' - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - name: Failed - description: '' - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - name: Canceled - description: '' - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - name: Pending - description: '' - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - name: Creating - description: '' - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - name: Updating - description: '' - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - name: Deleting - description: '' - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: ProvisioningStates - description: Provisioning state of the iSCSI Target. - cli: - name: ProvisioningStates - description: Provisioning state of the iSCSI Target. - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - cliPath: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - name: Invalid - description: '' - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - name: Unknown - description: '' - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - name: Healthy - description: '' - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - name: Unhealthy - description: '' - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - name: Updating - description: '' - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - name: Running - description: '' - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - name: Stopped - description: '' - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated__ - description: '' - cli: - name: StoppedDeallocated_ - description: '' - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: OperationalStatus - description: Operational status of the resource. - cli: - name: OperationalStatus - description: Operational status of the resource. - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - cliPath: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - name: User - description: '' - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - name: Application - description: '' - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - name: ManagedIdentity - description: '' - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - name: Key - description: '' - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: CreatedByType - description: The type of identity that created the resource. - cli: - name: CreatedByType - description: The type of identity that created the resource. - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - cliPath: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - name: Dynamic - description: '' - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - name: Static - description: '' - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: IscsiTargetAclMode - description: ACL mode for iSCSI Target. - cli: - name: IscsiTargetAclMode - description: ACL mode for iSCSI Target. - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - cliPath: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - name: Basic - description: '' - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - name: Standard - description: '' - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - name: Premium - description: '' - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: DiskPoolTier - description: SKU of the VM host part of the Disk Pool deployment - cli: - name: DiskPoolTier - description: SKU of the VM host part of the Disk Pool deployment - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - cliPath: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - cli: - name: ApiVersion20210401Preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - cli: - name: Accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - cli: - name: ApplicationJson - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: TrackedResourceTags - description: Resource tags. - cli: - name: TrackedResourceTags - description: Resource tags. - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: DiskPoolCreateTags - description: Resource tags. - cli: - name: DiskPoolCreateTags - description: Resource tags. - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: DiskPoolUpdateTags - description: Resource tags. - cli: - name: DiskPoolUpdateTags - description: Resource tags. - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - name: name - description: The name of the operation being performed on this particular object - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - name: isDataAction - description: Indicates whether the operation applies to data-plane. - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - name: actionType - description: Indicates the action type. - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - name: provider - description: Localized friendly form of the resource provider name. - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolOperationDisplay - description: Metadata about an operation. - namespace: '' - cli: - name: StoragePoolOperationDisplay - description: Metadata about an operation. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - name: display - description: Additional metadata about RP operation. - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolRPOperation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - name: StoragePoolRPOperation - description: Description of a StoragePool RP Operation - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: StoragePoolOperationListResultValue - description: An array of operations supported by the StoragePool RP. - cli: - name: StoragePoolOperationListResultValue - description: An array of operations supported by the StoragePool RP. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - name: value - description: An array of operations supported by the StoragePool RP. - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - name: nextLink - description: URI to fetch the next section of the paginated response. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolOperationListResult - description: List of operations supported by the RP. - namespace: '' - cli: - name: StoragePoolOperationListResult - description: List of operations supported by the RP. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - name: code - description: The error code. - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - name: message - description: The error message. - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - name: target - description: The error target. - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: ErrorResponseDetails - description: The error details. - cli: - name: ErrorResponseDetails - description: The error details. - cli-complexity: array_complex - cli-in-circle: true - cli-mark: checked - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - name: details - description: The error details. - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - name: type - description: The additional info type. - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - name: info - description: The additional info. - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: ErrorAdditionalInfo - description: The resource management error additional info. - namespace: '' - cli: - name: ErrorAdditionalInfo - description: The resource management error additional info. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: ErrorResponseAdditionalInfo - description: The error additional info. - cli: - name: ErrorResponseAdditionalInfo - description: The error additional info. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - name: additionalInfo - description: The error additional info. - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: ErrorResponse - description: The resource management error response. - namespace: '' - cli: - name: ErrorResponse - description: The resource management error response. - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - cliPath: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - name: error - description: RP error response. - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - cliPath: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: Error - description: The resource management error response. - namespace: '' - cli: - name: Error - description: The resource management error response. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - cliPath: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - name: createdBy - description: The identity that created the resource. - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - name: createdByType - description: The type of identity that created the resource. - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - name: createdAt - description: The timestamp of resource creation (UTC). - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - name: lastModifiedBy - description: The identity that last modified the resource. - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - name: lastModifiedByType - description: The type of identity that last modified the resource. - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - name: lastModifiedAt - description: The type of identity that last modified the resource. - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: SystemMetadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - name: SystemMetadata - description: Metadata pertaining to creation and last modification of the resource. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - cliPath: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - name: systemData - description: Resource metadata required by ARM RPC - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - name: aclMode - description: Mode for Target connectivity. - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - name: initiatorIqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - cliPath: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: AclMappedLuns - description: List of LUN names mapped to the ACL. - cli: - name: AclMappedLuns - description: List of LUN names mapped to the ACL. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - name: mappedLuns - description: List of LUN names mapped to the ACL. - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - cliPath: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: Acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - name: Acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - cliPath: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: IscsiTargetPropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: IscsiTargetPropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - name: managedDiskAzureResourceId - description: Azure Resource ID of the Managed Disk. - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: IscsiLun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - name: IscsiLun - description: LUN to expose the Azure Managed Disk. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - cliPath: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: IscsiTargetPropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: IscsiTargetPropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - name: provisioningState - description: State of the operation on the resource. - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - name: status - description: Operational status of the iSCSI Target. - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: IscsiTargetPropertiesEndpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - name: IscsiTargetPropertiesEndpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - name: port - description: The port used by iSCSI Target portal group. - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: IscsiTarget - description: Response for iSCSI Target requests. - namespace: '' - cli: - name: IscsiTarget - description: Response for iSCSI Target requests. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - cliPath: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_186 - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - name: aclMode - description: Mode for Target connectivity. - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - &ref_188 - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - &ref_189 - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: IscsiTargetCreatePropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: IscsiTargetCreatePropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_190 - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: IscsiTargetCreatePropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: IscsiTargetCreatePropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: IscsiTargetCreate - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - name: IscsiTargetCreate - description: Payload for iSCSI Target create or update requests. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_200 - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: IscsiTargetUpdatePropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: IscsiTargetUpdatePropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_202 - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: IscsiTargetUpdatePropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: IscsiTargetUpdatePropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: IscsiTargetUpdate - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - name: IscsiTargetUpdate - description: Payload for iSCSI Target update requests. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - cliPath: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: ProxyResource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - name: ProxyResource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - cliPath: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - cliPath: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - name: name - description: The name of the resource - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - cliPath: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - cliPath: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: Resource - description: ARM resource model definition. - namespace: '' - cli: - name: Resource - description: ARM resource model definition. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - cliPath: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - name: location - description: The geo-location where the resource lives. - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: TrackedResource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - name: TrackedResource - description: The resource model definition for a ARM tracked top level resource. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - cliPath: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - name: systemData - description: Resource metadata required by ARM RPC - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - name: provisioningState - description: State of the operation on the resource. - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: DiskPoolPropertiesAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: DiskPoolPropertiesAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - name: status - description: Operational status of the Disk Pool. - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - cliPath: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: Disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - name: Disk - description: Azure Managed Disk to attach to the Disk Pool. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - cliPath: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: DiskPoolPropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: DiskPoolPropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: DiskPoolPropertiesAdditionalCapabilities - description: List of additional capabilities for Disk Pool. - cli: - name: DiskPoolPropertiesAdditionalCapabilities - description: List of additional capabilities for Disk Pool. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for Disk Pool. - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - name: nameSkuName - description: Sku name - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - name: tier - description: Sku tier - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: DiskPool - description: Response for Disk Pool request. - namespace: '' - cli: - name: DiskPool - description: Response for Disk Pool request. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - cliPath: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: DiskPoolListResultValue - description: An array of Disk pool objects. - cli: - name: DiskPoolListResultValue - description: An array of Disk pool objects. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - name: value - description: An array of Disk pool objects. - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - name: nextLink - description: URI to fetch the next section of the paginated response. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolListResult - description: List of Disk Pools - namespace: '' - cli: - name: DiskPoolListResult - description: List of Disk Pools - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - cliPath: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - name: name - description: Sku name - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - cliPath: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - name: tier - description: Sku tier - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - cliPath: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: Sku - description: Sku for ARM resource - namespace: '' - cli: - name: Sku - description: Sku for ARM resource - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - cliPath: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_120 - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - name: sku - description: Determines the SKU of the Disk Pool - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - &ref_122 - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - &ref_123 - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - name: location - description: The geo-location where the resource lives. - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - name: name - description: The name of the resource - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - &ref_124 - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: DiskPoolCreatePropertiesAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: DiskPoolCreatePropertiesAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - &ref_125 - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: DiskPoolCreatePropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: DiskPoolCreatePropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - &ref_126 - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - &ref_127 - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: DiskPoolCreatePropertiesAdditionalCapabilities - description: List of additional capabilities for a Disk Pool. - cli: - name: DiskPoolCreatePropertiesAdditionalCapabilities - description: List of additional capabilities for a Disk Pool. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for a Disk Pool. - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: DiskPoolCreate - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - name: DiskPoolCreate - description: Request payload for create or update Disk Pool request. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_137 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_139 - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - &ref_141 - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: DiskPoolUpdatePropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: DiskPoolUpdatePropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: DiskPoolUpdate - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - name: DiskPoolUpdate - description: Request payload for Update Disk Pool request. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - cliPath: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_181 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: DiskPoolZoneInfoAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: DiskPoolZoneInfoAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: DiskPoolZoneInfoAdditionalCapabilities - description: List of additional capabilities for Disk Pool. - cli: - name: DiskPoolZoneInfoAdditionalCapabilities - description: List of additional capabilities for Disk Pool. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for Disk Pool. - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolZoneInfo - description: Disk Pool Sku Details - namespace: '' - cli: - name: DiskPoolZoneInfo - description: Disk Pool Sku Details - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: DiskPoolZoneListResultValue - description: The list of Disk Pool Skus. - cli: - name: DiskPoolZoneListResultValue - description: The list of Disk Pool Skus. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - name: value - description: The list of Disk Pool Skus. - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - name: nextLink - description: URI to fetch the next section of the paginated response. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolZoneListResult - description: List Disk Pool skus operation response. - namespace: '' - cli: - name: DiskPoolZoneListResult - description: List Disk Pool skus operation response. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_153 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - name: domainName - description: The domain name of the dependency. - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - name: ipAddress - description: An IP Address that Domain Name currently resolves to. - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - name: port - description: The port an endpoint is connected to. - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - name: isAccessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: EndpointDetail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - name: EndpointDetail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - cliPath: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: EndpointDependencyEndpointDetails - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - name: EndpointDependencyEndpointDetails - description: The IP Addresses and Ports used when connecting to DomainName. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - name: endpointDetails - description: The IP Addresses and Ports used when connecting to DomainName. - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: EndpointDependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - name: EndpointDependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - cliPath: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: OutboundEnvironmentEndpointEndpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - name: OutboundEnvironmentEndpointEndpoints - description: The endpoints that the App Service Environment reaches the service at. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: OutboundEnvironmentEndpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - name: OutboundEnvironmentEndpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: OutboundEnvironmentEndpointListValue - description: Collection of resources. - cli: - name: OutboundEnvironmentEndpointListValue - description: Collection of resources. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - name: value - description: Collection of resources. - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - name: nextLink - description: Link to next page of resources. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: OutboundEnvironmentEndpointList - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - name: OutboundEnvironmentEndpointList - description: Collection of Outbound Environment Endpoints - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_184 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: IscsiTargetListValue - description: An array of iSCSI Targets in a Disk Pool. - cli: - name: IscsiTargetListValue - description: An array of iSCSI Targets in a Disk Pool. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - name: nextLink - description: URI to fetch the next section of the paginated response. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: IscsiTargetList - description: List of iSCSI Targets. - namespace: '' - cli: - name: IscsiTargetList - description: List of iSCSI Targets. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - cliPath: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - name: subscriptionId - description: The ID of the target subscription. - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - cliPath: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - name: $host - description: server parameter - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - cliPath: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - name: ApiVersion - description: Api Version - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - cliPath: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - name: List - description: Gets a list of StoragePool operations. - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - cliPath: 'operationGroups[''Operations'']$$operations[''List'']' - hidden: true - protocol: {} - language: - default: - name: Operation - description: '' - cli: - name: Operation - description: '' - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - cliPath: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - name: ListBySubscription - description: Gets a list of Disk Pools in a subscription - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - name: ListByResourceGroup - description: Gets a list of DiskPools in a resource group. - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - &ref_177 - apiVersions: &ref_158 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_159 - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_160 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_161 - in: header - - &ref_119 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_128 - schema: *ref_59 - implementation: Method - originalParameter: *ref_119 - pathToProperty: &ref_121 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - name: sku - description: Determines the SKU of the Disk Pool - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''sku'']' - protocol: {} - - &ref_129 - schema: *ref_60 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''tags'']' - protocol: {} - - &ref_130 - schema: *ref_61 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - name: location - description: The geo-location where the resource lives. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''location'']' - protocol: {} - - &ref_131 - schema: *ref_87 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''availabilityZones'']' - protocol: {} - - &ref_132 - schema: *ref_88 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''disks'']' - positional: true - positionalKeys: &ref_142 - - id - protocol: {} - - &ref_133 - schema: *ref_65 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''subnetId'']' - protocol: {} - - &ref_134 - schema: *ref_89 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for a Disk Pool. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''additionalCapabilities'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_164 - in: header - signatureParameters: - - *ref_128 - - *ref_129 - - *ref_130 - - *ref_131 - - *ref_132 - - *ref_133 - - *ref_134 - language: - default: - name: '' - description: '' - protocol: - http: &ref_172 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: &ref_175 - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_176 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_178 - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_179 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - name: CreateOrUpdate - description: Create or Update Disk pool. - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - split-operation-names: &ref_198 - - Create - - Update - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_145 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_146 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_138 - schema: *ref_137 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_143 - schema: *ref_66 - implementation: Method - originalParameter: *ref_138 - pathToProperty: &ref_140 [] - required: false - targetProperty: *ref_139 - extensions: - cli-flatten-origin: *ref_139 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - cliKey: tags - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''tags'']' - protocol: {} - - &ref_144 - schema: *ref_90 - implementation: Method - originalParameter: *ref_138 - pathToProperty: *ref_140 - targetProperty: *ref_141 - extensions: - cli-flatten-origin: *ref_141 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - cliKey: disks - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''disks'']' - positional: true - positionalKeys: *ref_142 - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_143 - - *ref_144 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_145 - - *ref_146 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - name: Update - description: Update a Disk pool. - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_147 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_148 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_147 - - *ref_148 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - name: Delete - description: Delete a Disk pool. - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_149 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_150 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_149 - - *ref_150 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - name: Get - description: Get a Disk pool. - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_151 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_152 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_151 - - *ref_152 - responses: - - schema: *ref_153 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependency_endpoint - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - name: ListOutboundNetworkDependencyEndpoint - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_154 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_155 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_154 - - *ref_155 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - name: Start - description: The operation to start a Disk Pool. - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_156 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_157 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_156 - - *ref_157 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - name: Deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - - apiVersions: *ref_158 - parameters: - - *ref_108 - - *ref_113 - - &ref_173 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$parameters[''resourceGroupName'']' - protocol: - http: *ref_159 - - &ref_174 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$parameters[''diskPoolName'']' - protocol: - http: *ref_160 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: *ref_161 - - &ref_162 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_165 - schema: *ref_59 - implementation: Method - originalParameter: *ref_162 - pathToProperty: &ref_163 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - name: sku - description: Determines the SKU of the Disk Pool - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''sku'']' - protocol: {} - - &ref_166 - schema: *ref_60 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''tags'']' - protocol: {} - - &ref_167 - schema: *ref_61 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - name: location - description: The geo-location where the resource lives. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''location'']' - protocol: {} - - &ref_168 - schema: *ref_87 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''availabilityZones'']' - protocol: {} - - &ref_169 - schema: *ref_88 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''disks'']' - positional: true - positionalKeys: *ref_142 - protocol: {} - - &ref_170 - schema: *ref_65 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''subnetId'']' - protocol: {} - - &ref_171 - schema: *ref_89 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for a Disk Pool. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''additionalCapabilities'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''accept'']' - protocol: - http: *ref_164 - signatureParameters: - - *ref_165 - - *ref_166 - - *ref_167 - - *ref_168 - - *ref_169 - - *ref_170 - - *ref_171 - language: - default: - name: '' - description: '' - protocol: - http: *ref_172 - signatureParameters: - - *ref_173 - - *ref_174 - responses: *ref_175 - exceptions: *ref_176 - extensions: - cli-split-operation-original-operation: *ref_177 - x-ms-examples: *ref_178 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_179 - language: - default: - name: create - description: Create Disk pool. - cli: - name: Create - description: Create Disk pool. - cliKey: 'CreateOrUpdate#Create' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']' - protocol: {} - language: - default: - name: DiskPool - description: '' - cli: - name: DiskPool - description: '' - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - cliPath: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_180 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - name: location - description: The location of the resource. - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_180 - responses: - - schema: *ref_181 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - name: List - description: Lists available Disk Pool Skus in an Azure location. - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: DiskPoolZone - description: '' - cli: - name: DiskPoolZone - description: '' - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - cliPath: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_182 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_183 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_182 - - *ref_183 - responses: - - schema: *ref_184 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - name: ListByDiskPool - description: Get iSCSI Targets in a Disk pool. - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - &ref_232 - apiVersions: &ref_214 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_195 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_215 - in: path - - &ref_196 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_216 - in: path - - &ref_197 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: &ref_217 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_218 - in: header - - &ref_185 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_191 - schema: *ref_28 - implementation: Method - originalParameter: *ref_185 - pathToProperty: &ref_187 [] - required: true - targetProperty: *ref_186 - extensions: - cli-flatten-origin: *ref_186 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - name: aclMode - description: Mode for Target connectivity. - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''aclMode'']' - protocol: {} - - &ref_192 - schema: *ref_38 - implementation: Method - originalParameter: *ref_185 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''targetIqn'']' - protocol: {} - - &ref_193 - schema: *ref_102 - implementation: Method - originalParameter: *ref_185 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''staticAcls'']' - protocol: {} - - &ref_194 - schema: *ref_103 - implementation: Method - originalParameter: *ref_185 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_190 - extensions: - cli-flatten-origin: *ref_190 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''luns'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_221 - in: header - signatureParameters: - - *ref_191 - - *ref_192 - - *ref_193 - - *ref_194 - language: - default: - name: '' - description: '' - protocol: - http: &ref_226 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_195 - - *ref_196 - - *ref_197 - responses: &ref_230 - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_231 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_233 - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_234 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - name: CreateOrUpdate - description: Create or Update an iSCSI Target. - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - split-operation-names: *ref_198 - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_205 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_206 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_207 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_199 - schema: *ref_43 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_203 - schema: *ref_104 - implementation: Method - originalParameter: *ref_199 - pathToProperty: &ref_201 [] - targetProperty: *ref_200 - extensions: - cli-flatten-origin: *ref_200 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - cliKey: staticAcls - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''staticAcls'']' - protocol: {} - - &ref_204 - schema: *ref_105 - implementation: Method - originalParameter: *ref_199 - pathToProperty: *ref_201 - targetProperty: *ref_202 - extensions: - cli-flatten-origin: *ref_202 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - cliKey: luns - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''luns'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_203 - - *ref_204 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_205 - - *ref_206 - - *ref_207 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - name: Update - description: Update an iSCSI Target. - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_208 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_209 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_210 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_208 - - *ref_209 - - *ref_210 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - name: Delete - description: Delete an iSCSI Target. - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_211 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_212 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_213 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_211 - - *ref_212 - - *ref_213 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - name: Get - description: Get an iSCSI Target. - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - - apiVersions: *ref_214 - parameters: - - *ref_108 - - *ref_113 - - &ref_227 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''resourceGroupName'']' - protocol: - http: *ref_215 - - &ref_228 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''diskPoolName'']' - protocol: - http: *ref_216 - - &ref_229 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''iscsiTargetName'']' - protocol: - http: *ref_217 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: *ref_218 - - &ref_219 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_222 - schema: *ref_28 - implementation: Method - originalParameter: *ref_219 - pathToProperty: &ref_220 [] - required: true - targetProperty: *ref_186 - extensions: - cli-flatten-origin: *ref_186 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - name: aclMode - description: Mode for Target connectivity. - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''aclMode'']' - protocol: {} - - &ref_223 - schema: *ref_38 - implementation: Method - originalParameter: *ref_219 - pathToProperty: *ref_220 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''targetIqn'']' - protocol: {} - - &ref_224 - schema: *ref_102 - implementation: Method - originalParameter: *ref_219 - pathToProperty: *ref_220 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''staticAcls'']' - protocol: {} - - &ref_225 - schema: *ref_103 - implementation: Method - originalParameter: *ref_219 - pathToProperty: *ref_220 - required: false - targetProperty: *ref_190 - extensions: - cli-flatten-origin: *ref_190 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''luns'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''accept'']' - protocol: - http: *ref_221 - signatureParameters: - - *ref_222 - - *ref_223 - - *ref_224 - - *ref_225 - language: - default: - name: '' - description: '' - protocol: - http: *ref_226 - signatureParameters: - - *ref_227 - - *ref_228 - - *ref_229 - responses: *ref_230 - exceptions: *ref_231 - extensions: - cli-split-operation-original-operation: *ref_232 - x-ms-examples: *ref_233 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_234 - language: - default: - name: create - description: Create an iSCSI Target. - cli: - name: Create - description: Create an iSCSI Target. - cliKey: 'CreateOrUpdate#Create' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']' - protocol: {} - language: - default: - name: IscsiTarget - description: '' - cli: - name: IscsiTarget - description: '' - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - cliPath: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -test-scenario: - - name: /DiskPools/put/Createxxx -language: - default: - name: StoragePoolManagement - description: '' - cli: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000270-complex-marker-pre-simplified.yaml b/src/diskpool/_az_debug/clicommon-000270-complex-marker-pre-simplified.yaml deleted file mode 100644 index 9631897f4ec..00000000000 --- a/src/diskpool/_az_debug/clicommon-000270-complex-marker-pre-simplified.yaml +++ /dev/null @@ -1,2086 +0,0 @@ -operationGroups: - all: - - operationGroupName: Operation - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - cliPath: operationGroups['Operations'] - operations: - - operationName: list - cli: - name: List - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - cliPath: operationGroups['Operations']$$operations['List'] - hidden: true - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: DiskPool - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - cliPath: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - name: ListBySubscription - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - cliPath: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - name: ListByResourceGroup - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - name: CreateOrUpdate - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(DiskPoolCreate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: DiskPoolCreate - - parameterName[0]: sku(Sku^object) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['sku'] - - parameterName[0]: tags(DiskPoolCreateTags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['tags'] - - parameterName[0]: location(DiskPoolCreateLocation^string) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['location'] - - parameterName[0]: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) - cli: - name: availabilityZones - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['availabilityZones'] - - parameterName[0]: disks(DiskPoolCreatePropertiesDisks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['disks'] - positional: true - positionalKeys: - - id - - parameterName[0]: subnet_id(DiskPoolCreatePropertiesSubnetId^string) - cli: - name: subnetId - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['subnetId'] - - parameterName[0]: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) - cli: - name: additionalCapabilities - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['additionalCapabilities'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - name: Update - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - cliPath: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(DiskPoolUpdate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - bodySchema: DiskPoolUpdate - - parameterName[0]: tags(DiskPoolUpdateTags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['tags'] - cliKey: tags - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['tags'] - - parameterName[0]: disks(DiskPoolUpdatePropertiesDisks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['disks'] - cliKey: disks - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['disks'] - positional: true - positionalKeys: - - id - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - name: Delete - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - cliPath: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - name: Get - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - cliPath: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependency_endpoint - cli: - name: ListOutboundNetworkDependencyEndpoint - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - name: Start - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - cliPath: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - name: Deallocate - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - cliPath: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationName: create - cli: - name: Create - cliKey: CreateOrUpdate#Create - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create'] - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(DiskPoolCreate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: DiskPoolCreate - - parameterName[0]: sku(Sku^object) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['sku'] - - parameterName[0]: tags(DiskPoolCreateTags^dictionary) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['tags'] - - parameterName[0]: location(DiskPoolCreateLocation^string) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['location'] - - parameterName[0]: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) - cli: - name: availabilityZones - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['availabilityZones'] - - parameterName[0]: disks(DiskPoolCreatePropertiesDisks^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['disks'] - positional: true - positionalKeys: - - id - - parameterName[0]: subnet_id(DiskPoolCreatePropertiesSubnetId^string) - cli: - name: subnetId - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['subnetId'] - - parameterName[0]: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) - cli: - name: additionalCapabilities - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['additionalCapabilities'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['accept'] - - operationGroupName: DiskPoolZone - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - cliPath: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - name: List - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - cliPath: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: location(String^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - cliPath: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: IscsiTarget - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - cliPath: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - name: ListByDiskPool - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - name: CreateOrUpdate - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - name: iscsiTargetName - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(IscsiTargetCreate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: IscsiTargetCreate - - parameterName[0]: acl_mode(IscsiTargetAclMode^choice) - cli: - name: aclMode - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['aclMode'] - - parameterName[0]: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) - cli: - name: targetIqn - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['targetIqn'] - - parameterName[0]: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) - cli: - name: staticAcls - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['staticAcls'] - - parameterName[0]: luns(IscsiTargetCreatePropertiesLuns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['luns'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - name: Update - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - cliPath: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - name: iscsiTargetName - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(IscsiTargetUpdate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - bodySchema: IscsiTargetUpdate - - parameterName[0]: static_acls(IscsiTargetUpdatePropertiesStaticAcls^array) - cli: - name: staticAcls - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - cliKey: staticAcls - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['staticAcls'] - - parameterName[0]: luns(IscsiTargetUpdatePropertiesLuns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - cliKey: luns - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['luns'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - name: Delete - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - name: iscsiTargetName - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - name: Get - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - cliPath: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - name: iscsiTargetName - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: create - cli: - name: Create - cliKey: CreateOrUpdate#Create - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create'] - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - name: iscsiTargetName - cliKey: iscsiTargetName - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(IscsiTargetCreate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: IscsiTargetCreate - - parameterName[0]: acl_mode(IscsiTargetAclMode^choice) - cli: - name: aclMode - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['aclMode'] - - parameterName[0]: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) - cli: - name: targetIqn - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['targetIqn'] - - parameterName[0]: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) - cli: - name: staticAcls - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['staticAcls'] - - parameterName[0]: luns(IscsiTargetCreatePropertiesLuns^array) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['luns'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['accept'] -schemas: - objects: - all: - - schemaName: StoragePoolOperationListResult - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - cliPath: schemas$$objects['StoragePoolOperationListResult'] - properties: - - propertyName: value(StoragePoolOperationListResultValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(StoragePoolOperationListResultNextLink^string) - cli: - name: nextLink - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: StoragePoolRPOperation - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - cliPath: schemas$$objects['StoragePoolRPOperation'] - properties: - - propertyName: name(StoragePoolRPOperationName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - name: isDataAction - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(StoragePoolRPOperationActionType^string) - cli: - name: actionType - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(StoragePoolOperationDisplay^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(StoragePoolRPOperationOrigin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: StoragePoolOperationDisplay - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - cliPath: schemas$$objects['StoragePoolOperationDisplay'] - properties: - - propertyName: provider(StoragePoolOperationDisplayProvider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(StoragePoolOperationDisplayResource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(StoragePoolOperationDisplayOperation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(StoragePoolOperationDisplayDescription^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: Error - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: schemas$$objects['Error'] - cliPath: schemas$$objects['Error'] - properties: - - propertyName: error(ErrorResponse^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - cliPath: schemas$$objects['Error']$$properties['error'] - - schemaName: ErrorResponse - cli: - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - cliPath: schemas$$objects['ErrorResponse'] - properties: - - propertyName: code(ErrorResponseCode^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - cliPath: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(ErrorResponseMessage^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - cliPath: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(ErrorResponseTarget^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - cliPath: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(ErrorResponseDetails^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - cliPath: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(ErrorResponseAdditionalInfo^array) - cli: - name: additionalInfo - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - cliPath: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: ErrorAdditionalInfo - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - cliPath: schemas$$objects['ErrorAdditionalInfo'] - properties: - - propertyName: type(ErrorAdditionalInfoType^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: DiskPoolListResult - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - cliPath: schemas$$objects['DiskPoolListResult'] - properties: - - propertyName: value(DiskPoolListResultValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - cliPath: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(DiskPoolListResultNextLink^string) - cli: - name: nextLink - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - cliPath: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: DiskPool - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - cliPath: schemas$$objects['DiskPool'] - properties: - - propertyName: system_data(SystemMetadata^object) - cli: - name: systemData - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - cliPath: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(ProvisioningStates^choice) - cli: - name: provisioningState - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - cliPath: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(DiskPoolPropertiesAvailabilityZones^array) - cli: - name: availabilityZones - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - cliPath: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(OperationalStatus^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - cliPath: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(DiskPoolPropertiesDisks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - cliPath: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(DiskPoolPropertiesSubnetId^string) - cli: - name: subnetId - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - cliPath: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(DiskPoolPropertiesAdditionalCapabilities^array) - cli: - name: additionalCapabilities - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - cliPath: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(SkuName^string) - cli: - name: nameSkuName - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - cliPath: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(SkuTier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - cliPath: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: Sku - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - cliPath: schemas$$objects['Sku'] - properties: - - propertyName: name(SkuName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - cliPath: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(SkuTier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - cliPath: schemas$$objects['Sku']$$properties['tier'] - - schemaName: Disk - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - cliPath: schemas$$objects['Disk'] - properties: - - propertyName: id(DiskId^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - cliPath: schemas$$objects['Disk']$$properties['id'] - - schemaName: SystemMetadata - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - cliPath: schemas$$objects['SystemMetadata'] - properties: - - propertyName: created_by(SystemMetadataCreatedBy^string) - cli: - name: createdBy - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - cliPath: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(CreatedByType^choice) - cli: - name: createdByType - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - cliPath: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - name: createdAt - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - cliPath: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(SystemMetadataLastModifiedBy^string) - cli: - name: lastModifiedBy - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(CreatedByType^choice) - cli: - name: lastModifiedByType - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - name: lastModifiedAt - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: TrackedResource - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - cliPath: schemas$$objects['TrackedResource'] - properties: - - propertyName: tags(TrackedResourceTags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - cliPath: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(TrackedResourceLocation^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - cliPath: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: Resource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - cliPath: schemas$$objects['Resource'] - properties: - - propertyName: id(ResourceId^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - cliPath: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(ResourceName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - cliPath: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(ResourceType^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - cliPath: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: DiskPoolCreate - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - cliPath: schemas$$objects['DiskPoolCreate'] - properties: - - propertyName: sku(Sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(DiskPoolCreateTags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(DiskPoolCreateLocation^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(DiskPoolCreateId^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(DiskPoolCreateName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(DiskPoolCreateType^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) - cli: - name: availabilityZones - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(DiskPoolCreatePropertiesDisks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(DiskPoolCreatePropertiesSubnetId^string) - cli: - name: subnetId - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) - cli: - name: additionalCapabilities - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: DiskPoolUpdate - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - cliPath: schemas$$objects['DiskPoolUpdate'] - properties: - - propertyName: tags(DiskPoolUpdateTags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - cliPath: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(DiskPoolUpdatePropertiesDisks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - cliPath: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: DiskPoolZoneListResult - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - cliPath: schemas$$objects['DiskPoolZoneListResult'] - properties: - - propertyName: value(DiskPoolZoneListResultValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(DiskPoolZoneListResultNextLink^string) - cli: - name: nextLink - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: DiskPoolZoneInfo - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - cliPath: schemas$$objects['DiskPoolZoneInfo'] - properties: - - propertyName: availability_zones(DiskPoolZoneInfoAvailabilityZones^array) - cli: - name: availabilityZones - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(DiskPoolZoneInfoAdditionalCapabilities^array) - cli: - name: additionalCapabilities - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(Sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: OutboundEnvironmentEndpointList - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - cliPath: schemas$$objects['OutboundEnvironmentEndpointList'] - properties: - - propertyName: value(OutboundEnvironmentEndpointListValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(OutboundEnvironmentEndpointListNextLink^string) - cli: - name: nextLink - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: OutboundEnvironmentEndpoint - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - cliPath: schemas$$objects['OutboundEnvironmentEndpoint'] - properties: - - propertyName: category(OutboundEnvironmentEndpointCategory^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(OutboundEnvironmentEndpointEndpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: EndpointDependency - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - cliPath: schemas$$objects['EndpointDependency'] - properties: - - propertyName: domain_name(EndpointDependencyDomainName^string) - cli: - name: domainName - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - cliPath: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(EndpointDependencyEndpointDetails^array) - cli: - name: endpointDetails - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - cliPath: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: EndpointDetail - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - cliPath: schemas$$objects['EndpointDetail'] - properties: - - propertyName: ip_address(EndpointDetailIpAddress^string) - cli: - name: ipAddress - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - cliPath: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(Integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - cliPath: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(Number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - cliPath: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - name: isAccessible - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - cliPath: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: IscsiTargetList - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - cliPath: schemas$$objects['IscsiTargetList'] - properties: - - propertyName: value(IscsiTargetListValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - cliPath: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(IscsiTargetListNextLink^string) - cli: - name: nextLink - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - cliPath: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: IscsiTarget - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - cliPath: schemas$$objects['IscsiTarget'] - properties: - - propertyName: system_data(SystemMetadata^object) - cli: - name: systemData - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - cliPath: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(IscsiTargetAclMode^choice) - cli: - name: aclMode - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - cliPath: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(IscsiTargetPropertiesStaticAcls^array) - cli: - name: staticAcls - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - cliPath: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(IscsiTargetPropertiesLuns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - cliPath: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(IscsiTargetPropertiesTargetIqn^string) - cli: - name: targetIqn - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - cliPath: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(ProvisioningStates^choice) - cli: - name: provisioningState - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - cliPath: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(OperationalStatus^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - cliPath: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(IscsiTargetPropertiesEndpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - cliPath: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(Integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - cliPath: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: Acl - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - cliPath: schemas$$objects['Acl'] - properties: - - propertyName: initiator_iqn(AclInitiatorIqn^string) - cli: - name: initiatorIqn - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - cliPath: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(AclMappedLuns^array) - cli: - name: mappedLuns - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - cliPath: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: IscsiLun - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - cliPath: schemas$$objects['IscsiLun'] - properties: - - propertyName: name(IscsiLunName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - cliPath: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(IscsiLunManagedDiskAzureResourceId^string) - cli: - name: managedDiskAzureResourceId - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - cliPath: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: IscsiTargetCreate - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - cliPath: schemas$$objects['IscsiTargetCreate'] - properties: - - propertyName: acl_mode(IscsiTargetAclMode^choice) - cli: - name: aclMode - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) - cli: - name: targetIqn - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) - cli: - name: staticAcls - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(IscsiTargetCreatePropertiesLuns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: IscsiTargetUpdate - cli: - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - cliPath: schemas$$objects['IscsiTargetUpdate'] - properties: - - propertyName: static_acls(IscsiTargetUpdatePropertiesStaticAcls^array) - cli: - name: staticAcls - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(IscsiTargetUpdatePropertiesLuns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: ProxyResource - cli: - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - cliPath: schemas$$objects['ProxyResource'] - choices: - all: - - choiceName: ProvisioningStates - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - cliPath: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - name: Invalid - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - name: Succeeded - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - name: Failed - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - name: Canceled - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - name: Pending - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - name: Creating - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - name: Updating - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - name: Deleting - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: OperationalStatus - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - cliPath: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - name: Invalid - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - name: Unknown - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - name: Healthy - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - name: Unhealthy - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - name: Updating - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - name: Running - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - name: Stopped - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated__ - cli: - name: StoppedDeallocated_ - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: CreatedByType - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - cliPath: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - name: User - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - cliPath: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - name: Application - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - cliPath: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - name: ManagedIdentity - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - cliPath: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - name: Key - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - cliPath: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: IscsiTargetAclMode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - cliPath: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - name: Dynamic - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - name: Static - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: DiskPoolTier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - cliPath: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - name: Basic - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - cliPath: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - name: Standard - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - cliPath: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - name: Premium - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' - cliPath: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000270-complex-marker-pre.yaml b/src/diskpool/_az_debug/clicommon-000270-complex-marker-pre.yaml deleted file mode 100644 index 3f9f3356cb6..00000000000 --- a/src/diskpool/_az_debug/clicommon-000270-complex-marker-pre.yaml +++ /dev/null @@ -1,7849 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: Integer - description: The port an endpoint is connected to. - cli: - name: Integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: Number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - name: Number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: Integer - description: The port used by iSCSI Target portal group. - cli: - name: Integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: String - description: simple string - cli: - name: String - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRPOperationName - description: The name of the operation being performed on this particular object - cli: - name: StoragePoolRPOperationName - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRPOperationActionType - description: Indicates the action type. - cli: - name: StoragePoolRPOperationActionType - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayProvider - description: Localized friendly form of the resource provider name. - cli: - name: StoragePoolOperationDisplayProvider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayResource - description: Localized friendly form of the resource type related to this action/operation. - cli: - name: StoragePoolOperationDisplayResource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayOperation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - name: StoragePoolOperationDisplayOperation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayDescription - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - name: StoragePoolOperationDisplayDescription - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRPOperationOrigin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - name: StoragePoolRPOperationOrigin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationListResultNextLink - description: URI to fetch the next section of the paginated response. - cli: - name: StoragePoolOperationListResultNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponseCode - description: The error code. - cli: - name: ErrorResponseCode - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponseMessage - description: The error message. - cli: - name: ErrorResponseMessage - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponseTarget - description: The error target. - cli: - name: ErrorResponseTarget - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorAdditionalInfoType - description: The additional info type. - cli: - name: ErrorAdditionalInfoType - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: String - description: '' - cli: - name: String - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SkuName - description: Sku name - cli: - name: SkuName - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SkuTier - description: Sku tier - cli: - name: SkuTier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AvailabilityZone - description: Availability zone. - cli: - name: AvailabilityZone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskId - description: Unique Azure Resource ID of the Managed Disk. - cli: - name: DiskId - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: DiskPoolPropertiesSubnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: DiskPoolPropertiesSubnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AdditionalCapability - description: Special capability that can be set on the Disk Pool. - cli: - name: AdditionalCapability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SystemMetadataCreatedBy - description: The identity that created the resource. - cli: - name: SystemMetadataCreatedBy - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SystemMetadataLastModifiedBy - description: The identity that last modified the resource. - cli: - name: SystemMetadataLastModifiedBy - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: String - description: '' - cli: - name: String - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: TrackedResourceLocation - description: The geo-location where the resource lives. - cli: - name: TrackedResourceLocation - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ResourceId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - name: ResourceId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ResourceName - description: The name of the resource - cli: - name: ResourceName - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ResourceType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - name: ResourceType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolListResultNextLink - description: URI to fetch the next section of the paginated response. - cli: - name: DiskPoolListResultNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: String - description: '' - cli: - name: String - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: DiskPoolCreatePropertiesSubnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: DiskPoolCreatePropertiesSubnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: DiskPoolCreateLocation - description: The geo-location where the resource lives. - cli: - name: DiskPoolCreateLocation - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreateId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - name: DiskPoolCreateId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreateName - description: The name of the resource - cli: - name: DiskPoolCreateName - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreateType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - name: DiskPoolCreateType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolZoneListResultNextLink - description: URI to fetch the next section of the paginated response. - cli: - name: DiskPoolZoneListResultNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: OutboundEnvironmentEndpointCategory - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - name: OutboundEnvironmentEndpointCategory - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: EndpointDependencyDomainName - description: The domain name of the dependency. - cli: - name: EndpointDependencyDomainName - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: EndpointDetailIpAddress - description: An IP Address that Domain Name currently resolves to. - cli: - name: EndpointDetailIpAddress - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: OutboundEnvironmentEndpointListNextLink - description: Link to next page of resources. - cli: - name: OutboundEnvironmentEndpointListNextLink - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AclInitiatorIqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - name: AclInitiatorIqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AclMappedLunsItem - description: '' - cli: - name: AclMappedLunsItem - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiLunName - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - name: IscsiLunName - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiLunManagedDiskAzureResourceId - description: Azure Resource ID of the Managed Disk. - cli: - name: IscsiLunManagedDiskAzureResourceId - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetPropertiesTargetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: IscsiTargetPropertiesTargetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetPropertiesEndpointsItem - description: '' - cli: - name: IscsiTargetPropertiesEndpointsItem - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetListNextLink - description: URI to fetch the next section of the paginated response. - cli: - name: IscsiTargetListNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetCreatePropertiesTargetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: IscsiTargetCreatePropertiesTargetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - name: Invalid - description: '' - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - name: Succeeded - description: '' - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - name: Failed - description: '' - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - name: Canceled - description: '' - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - name: Pending - description: '' - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - name: Creating - description: '' - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - name: Updating - description: '' - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - name: Deleting - description: '' - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: ProvisioningStates - description: Provisioning state of the iSCSI Target. - cli: - name: ProvisioningStates - description: Provisioning state of the iSCSI Target. - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - cliPath: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - name: Invalid - description: '' - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - name: Unknown - description: '' - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - name: Healthy - description: '' - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - name: Unhealthy - description: '' - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - name: Updating - description: '' - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - name: Running - description: '' - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - name: Stopped - description: '' - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated__ - description: '' - cli: - name: StoppedDeallocated_ - description: '' - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: OperationalStatus - description: Operational status of the resource. - cli: - name: OperationalStatus - description: Operational status of the resource. - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - cliPath: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - name: User - description: '' - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - name: Application - description: '' - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - name: ManagedIdentity - description: '' - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - name: Key - description: '' - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: CreatedByType - description: The type of identity that created the resource. - cli: - name: CreatedByType - description: The type of identity that created the resource. - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - cliPath: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - name: Dynamic - description: '' - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - name: Static - description: '' - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: IscsiTargetAclMode - description: ACL mode for iSCSI Target. - cli: - name: IscsiTargetAclMode - description: ACL mode for iSCSI Target. - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - cliPath: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - name: Basic - description: '' - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - name: Standard - description: '' - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - name: Premium - description: '' - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: DiskPoolTier - description: SKU of the VM host part of the Disk Pool deployment - cli: - name: DiskPoolTier - description: SKU of the VM host part of the Disk Pool deployment - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - cliPath: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - cli: - name: ApiVersion20210401Preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - cli: - name: Accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - cli: - name: ApplicationJson - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: TrackedResourceTags - description: Resource tags. - cli: - name: TrackedResourceTags - description: Resource tags. - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: DiskPoolCreateTags - description: Resource tags. - cli: - name: DiskPoolCreateTags - description: Resource tags. - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: DiskPoolUpdateTags - description: Resource tags. - cli: - name: DiskPoolUpdateTags - description: Resource tags. - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - name: name - description: The name of the operation being performed on this particular object - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - name: isDataAction - description: Indicates whether the operation applies to data-plane. - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - name: actionType - description: Indicates the action type. - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - name: provider - description: Localized friendly form of the resource provider name. - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolOperationDisplay - description: Metadata about an operation. - namespace: '' - cli: - name: StoragePoolOperationDisplay - description: Metadata about an operation. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - name: display - description: Additional metadata about RP operation. - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolRPOperation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - name: StoragePoolRPOperation - description: Description of a StoragePool RP Operation - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: StoragePoolOperationListResultValue - description: An array of operations supported by the StoragePool RP. - cli: - name: StoragePoolOperationListResultValue - description: An array of operations supported by the StoragePool RP. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - name: value - description: An array of operations supported by the StoragePool RP. - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - name: nextLink - description: URI to fetch the next section of the paginated response. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolOperationListResult - description: List of operations supported by the RP. - namespace: '' - cli: - name: StoragePoolOperationListResult - description: List of operations supported by the RP. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - name: code - description: The error code. - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - name: message - description: The error message. - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - name: target - description: The error target. - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: ErrorResponseDetails - description: The error details. - cli: - name: ErrorResponseDetails - description: The error details. - cli-complexity: array_complex - cli-in-circle: true - cli-mark: checked - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - name: details - description: The error details. - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - name: type - description: The additional info type. - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - name: info - description: The additional info. - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: ErrorAdditionalInfo - description: The resource management error additional info. - namespace: '' - cli: - name: ErrorAdditionalInfo - description: The resource management error additional info. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: ErrorResponseAdditionalInfo - description: The error additional info. - cli: - name: ErrorResponseAdditionalInfo - description: The error additional info. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - name: additionalInfo - description: The error additional info. - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: ErrorResponse - description: The resource management error response. - namespace: '' - cli: - name: ErrorResponse - description: The resource management error response. - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - cliPath: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - name: error - description: RP error response. - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - cliPath: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: Error - description: The resource management error response. - namespace: '' - cli: - name: Error - description: The resource management error response. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - cliPath: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - name: createdBy - description: The identity that created the resource. - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - name: createdByType - description: The type of identity that created the resource. - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - name: createdAt - description: The timestamp of resource creation (UTC). - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - name: lastModifiedBy - description: The identity that last modified the resource. - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - name: lastModifiedByType - description: The type of identity that last modified the resource. - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - name: lastModifiedAt - description: The type of identity that last modified the resource. - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: SystemMetadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - name: SystemMetadata - description: Metadata pertaining to creation and last modification of the resource. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - cliPath: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - name: systemData - description: Resource metadata required by ARM RPC - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - name: aclMode - description: Mode for Target connectivity. - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - name: initiatorIqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - cliPath: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: AclMappedLuns - description: List of LUN names mapped to the ACL. - cli: - name: AclMappedLuns - description: List of LUN names mapped to the ACL. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - name: mappedLuns - description: List of LUN names mapped to the ACL. - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - cliPath: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: Acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - name: Acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - cliPath: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: IscsiTargetPropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: IscsiTargetPropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - name: managedDiskAzureResourceId - description: Azure Resource ID of the Managed Disk. - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: IscsiLun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - name: IscsiLun - description: LUN to expose the Azure Managed Disk. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - cliPath: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: IscsiTargetPropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: IscsiTargetPropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - name: provisioningState - description: State of the operation on the resource. - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - name: status - description: Operational status of the iSCSI Target. - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: IscsiTargetPropertiesEndpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - name: IscsiTargetPropertiesEndpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - name: port - description: The port used by iSCSI Target portal group. - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: IscsiTarget - description: Response for iSCSI Target requests. - namespace: '' - cli: - name: IscsiTarget - description: Response for iSCSI Target requests. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - cliPath: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_186 - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - name: aclMode - description: Mode for Target connectivity. - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - &ref_188 - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - &ref_189 - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: IscsiTargetCreatePropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: IscsiTargetCreatePropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_190 - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: IscsiTargetCreatePropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: IscsiTargetCreatePropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: IscsiTargetCreate - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - name: IscsiTargetCreate - description: Payload for iSCSI Target create or update requests. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_200 - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: IscsiTargetUpdatePropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: IscsiTargetUpdatePropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_202 - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: IscsiTargetUpdatePropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: IscsiTargetUpdatePropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: IscsiTargetUpdate - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - name: IscsiTargetUpdate - description: Payload for iSCSI Target update requests. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - cliPath: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: ProxyResource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - name: ProxyResource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - cliPath: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - cliPath: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - name: name - description: The name of the resource - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - cliPath: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - cliPath: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: Resource - description: ARM resource model definition. - namespace: '' - cli: - name: Resource - description: ARM resource model definition. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - cliPath: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - name: location - description: The geo-location where the resource lives. - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: TrackedResource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - name: TrackedResource - description: The resource model definition for a ARM tracked top level resource. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - cliPath: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - name: systemData - description: Resource metadata required by ARM RPC - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - name: provisioningState - description: State of the operation on the resource. - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: DiskPoolPropertiesAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: DiskPoolPropertiesAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - name: status - description: Operational status of the Disk Pool. - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - cliPath: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: Disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - name: Disk - description: Azure Managed Disk to attach to the Disk Pool. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - cliPath: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: DiskPoolPropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: DiskPoolPropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: DiskPoolPropertiesAdditionalCapabilities - description: List of additional capabilities for Disk Pool. - cli: - name: DiskPoolPropertiesAdditionalCapabilities - description: List of additional capabilities for Disk Pool. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for Disk Pool. - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - name: nameSkuName - description: Sku name - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - name: tier - description: Sku tier - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: DiskPool - description: Response for Disk Pool request. - namespace: '' - cli: - name: DiskPool - description: Response for Disk Pool request. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - cliPath: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: DiskPoolListResultValue - description: An array of Disk pool objects. - cli: - name: DiskPoolListResultValue - description: An array of Disk pool objects. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - name: value - description: An array of Disk pool objects. - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - name: nextLink - description: URI to fetch the next section of the paginated response. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolListResult - description: List of Disk Pools - namespace: '' - cli: - name: DiskPoolListResult - description: List of Disk Pools - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - cliPath: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - name: name - description: Sku name - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - cliPath: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - name: tier - description: Sku tier - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - cliPath: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: Sku - description: Sku for ARM resource - namespace: '' - cli: - name: Sku - description: Sku for ARM resource - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - cliPath: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_120 - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - name: sku - description: Determines the SKU of the Disk Pool - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - &ref_122 - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - &ref_123 - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - name: location - description: The geo-location where the resource lives. - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - name: name - description: The name of the resource - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - &ref_124 - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: DiskPoolCreatePropertiesAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: DiskPoolCreatePropertiesAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - &ref_125 - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: DiskPoolCreatePropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: DiskPoolCreatePropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - &ref_126 - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - &ref_127 - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: DiskPoolCreatePropertiesAdditionalCapabilities - description: List of additional capabilities for a Disk Pool. - cli: - name: DiskPoolCreatePropertiesAdditionalCapabilities - description: List of additional capabilities for a Disk Pool. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for a Disk Pool. - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: DiskPoolCreate - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - name: DiskPoolCreate - description: Request payload for create or update Disk Pool request. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_137 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_139 - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - &ref_141 - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: DiskPoolUpdatePropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: DiskPoolUpdatePropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: DiskPoolUpdate - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - name: DiskPoolUpdate - description: Request payload for Update Disk Pool request. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - cliPath: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_181 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: DiskPoolZoneInfoAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: DiskPoolZoneInfoAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: DiskPoolZoneInfoAdditionalCapabilities - description: List of additional capabilities for Disk Pool. - cli: - name: DiskPoolZoneInfoAdditionalCapabilities - description: List of additional capabilities for Disk Pool. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for Disk Pool. - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolZoneInfo - description: Disk Pool Sku Details - namespace: '' - cli: - name: DiskPoolZoneInfo - description: Disk Pool Sku Details - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: DiskPoolZoneListResultValue - description: The list of Disk Pool Skus. - cli: - name: DiskPoolZoneListResultValue - description: The list of Disk Pool Skus. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - name: value - description: The list of Disk Pool Skus. - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - name: nextLink - description: URI to fetch the next section of the paginated response. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolZoneListResult - description: List Disk Pool skus operation response. - namespace: '' - cli: - name: DiskPoolZoneListResult - description: List Disk Pool skus operation response. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_153 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - name: domainName - description: The domain name of the dependency. - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - name: ipAddress - description: An IP Address that Domain Name currently resolves to. - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - name: port - description: The port an endpoint is connected to. - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - name: isAccessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: EndpointDetail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - name: EndpointDetail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - cliPath: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: EndpointDependencyEndpointDetails - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - name: EndpointDependencyEndpointDetails - description: The IP Addresses and Ports used when connecting to DomainName. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - name: endpointDetails - description: The IP Addresses and Ports used when connecting to DomainName. - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: EndpointDependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - name: EndpointDependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - cliPath: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: OutboundEnvironmentEndpointEndpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - name: OutboundEnvironmentEndpointEndpoints - description: The endpoints that the App Service Environment reaches the service at. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: OutboundEnvironmentEndpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - name: OutboundEnvironmentEndpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: OutboundEnvironmentEndpointListValue - description: Collection of resources. - cli: - name: OutboundEnvironmentEndpointListValue - description: Collection of resources. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - name: value - description: Collection of resources. - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - name: nextLink - description: Link to next page of resources. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: OutboundEnvironmentEndpointList - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - name: OutboundEnvironmentEndpointList - description: Collection of Outbound Environment Endpoints - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_184 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: IscsiTargetListValue - description: An array of iSCSI Targets in a Disk Pool. - cli: - name: IscsiTargetListValue - description: An array of iSCSI Targets in a Disk Pool. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - name: nextLink - description: URI to fetch the next section of the paginated response. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: IscsiTargetList - description: List of iSCSI Targets. - namespace: '' - cli: - name: IscsiTargetList - description: List of iSCSI Targets. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - cliPath: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - name: subscriptionId - description: The ID of the target subscription. - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - cliPath: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - name: $host - description: server parameter - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - cliPath: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - name: ApiVersion - description: Api Version - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - cliPath: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - name: List - description: Gets a list of StoragePool operations. - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - cliPath: 'operationGroups[''Operations'']$$operations[''List'']' - hidden: true - protocol: {} - language: - default: - name: Operation - description: '' - cli: - name: Operation - description: '' - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - cliPath: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - name: ListBySubscription - description: Gets a list of Disk Pools in a subscription - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - name: ListByResourceGroup - description: Gets a list of DiskPools in a resource group. - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - &ref_177 - apiVersions: &ref_158 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_159 - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_160 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_161 - in: header - - &ref_119 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_128 - schema: *ref_59 - implementation: Method - originalParameter: *ref_119 - pathToProperty: &ref_121 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - name: sku - description: Determines the SKU of the Disk Pool - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''sku'']' - protocol: {} - - &ref_129 - schema: *ref_60 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''tags'']' - protocol: {} - - &ref_130 - schema: *ref_61 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - name: location - description: The geo-location where the resource lives. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''location'']' - protocol: {} - - &ref_131 - schema: *ref_87 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''availabilityZones'']' - protocol: {} - - &ref_132 - schema: *ref_88 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''disks'']' - positional: true - positionalKeys: &ref_142 - - id - protocol: {} - - &ref_133 - schema: *ref_65 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''subnetId'']' - protocol: {} - - &ref_134 - schema: *ref_89 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for a Disk Pool. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''additionalCapabilities'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_164 - in: header - signatureParameters: - - *ref_128 - - *ref_129 - - *ref_130 - - *ref_131 - - *ref_132 - - *ref_133 - - *ref_134 - language: - default: - name: '' - description: '' - protocol: - http: &ref_172 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: &ref_175 - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_176 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_178 - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_179 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - name: CreateOrUpdate - description: Create or Update Disk pool. - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - split-operation-names: &ref_198 - - Create - - Update - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_145 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_146 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_138 - schema: *ref_137 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_143 - schema: *ref_66 - implementation: Method - originalParameter: *ref_138 - pathToProperty: &ref_140 [] - required: false - targetProperty: *ref_139 - extensions: - cli-flatten-origin: *ref_139 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - cliKey: tags - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''tags'']' - protocol: {} - - &ref_144 - schema: *ref_90 - implementation: Method - originalParameter: *ref_138 - pathToProperty: *ref_140 - targetProperty: *ref_141 - extensions: - cli-flatten-origin: *ref_141 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - cliKey: disks - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''disks'']' - positional: true - positionalKeys: *ref_142 - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_143 - - *ref_144 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_145 - - *ref_146 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - name: Update - description: Update a Disk pool. - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_147 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_148 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_147 - - *ref_148 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - name: Delete - description: Delete a Disk pool. - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_149 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_150 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_149 - - *ref_150 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - name: Get - description: Get a Disk pool. - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_151 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_152 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_151 - - *ref_152 - responses: - - schema: *ref_153 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependency_endpoint - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - name: ListOutboundNetworkDependencyEndpoint - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_154 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_155 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_154 - - *ref_155 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - name: Start - description: The operation to start a Disk Pool. - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_156 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_157 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_156 - - *ref_157 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - name: Deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - - apiVersions: *ref_158 - parameters: - - *ref_108 - - *ref_113 - - &ref_173 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$parameters[''resourceGroupName'']' - protocol: - http: *ref_159 - - &ref_174 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$parameters[''diskPoolName'']' - protocol: - http: *ref_160 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: *ref_161 - - &ref_162 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_165 - schema: *ref_59 - implementation: Method - originalParameter: *ref_162 - pathToProperty: &ref_163 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - name: sku - description: Determines the SKU of the Disk Pool - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''sku'']' - protocol: {} - - &ref_166 - schema: *ref_60 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''tags'']' - protocol: {} - - &ref_167 - schema: *ref_61 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - name: location - description: The geo-location where the resource lives. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''location'']' - protocol: {} - - &ref_168 - schema: *ref_87 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''availabilityZones'']' - protocol: {} - - &ref_169 - schema: *ref_88 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''disks'']' - positional: true - positionalKeys: *ref_142 - protocol: {} - - &ref_170 - schema: *ref_65 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''subnetId'']' - protocol: {} - - &ref_171 - schema: *ref_89 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for a Disk Pool. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''additionalCapabilities'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''accept'']' - protocol: - http: *ref_164 - signatureParameters: - - *ref_165 - - *ref_166 - - *ref_167 - - *ref_168 - - *ref_169 - - *ref_170 - - *ref_171 - language: - default: - name: '' - description: '' - protocol: - http: *ref_172 - signatureParameters: - - *ref_173 - - *ref_174 - responses: *ref_175 - exceptions: *ref_176 - extensions: - cli-split-operation-original-operation: *ref_177 - x-ms-examples: *ref_178 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_179 - language: - default: - name: create - description: Create Disk pool. - cli: - name: Create - description: Create Disk pool. - cliKey: 'CreateOrUpdate#Create' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']' - protocol: {} - language: - default: - name: DiskPool - description: '' - cli: - name: DiskPool - description: '' - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - cliPath: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_180 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - name: location - description: The location of the resource. - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_180 - responses: - - schema: *ref_181 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - name: List - description: Lists available Disk Pool Skus in an Azure location. - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: DiskPoolZone - description: '' - cli: - name: DiskPoolZone - description: '' - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - cliPath: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_182 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_183 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_182 - - *ref_183 - responses: - - schema: *ref_184 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - name: ListByDiskPool - description: Get iSCSI Targets in a Disk pool. - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - &ref_232 - apiVersions: &ref_214 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_195 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_215 - in: path - - &ref_196 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_216 - in: path - - &ref_197 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: &ref_217 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_218 - in: header - - &ref_185 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_191 - schema: *ref_28 - implementation: Method - originalParameter: *ref_185 - pathToProperty: &ref_187 [] - required: true - targetProperty: *ref_186 - extensions: - cli-flatten-origin: *ref_186 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - name: aclMode - description: Mode for Target connectivity. - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''aclMode'']' - protocol: {} - - &ref_192 - schema: *ref_38 - implementation: Method - originalParameter: *ref_185 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''targetIqn'']' - protocol: {} - - &ref_193 - schema: *ref_102 - implementation: Method - originalParameter: *ref_185 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''staticAcls'']' - protocol: {} - - &ref_194 - schema: *ref_103 - implementation: Method - originalParameter: *ref_185 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_190 - extensions: - cli-flatten-origin: *ref_190 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''luns'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_221 - in: header - signatureParameters: - - *ref_191 - - *ref_192 - - *ref_193 - - *ref_194 - language: - default: - name: '' - description: '' - protocol: - http: &ref_226 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_195 - - *ref_196 - - *ref_197 - responses: &ref_230 - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_231 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_233 - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_234 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - name: CreateOrUpdate - description: Create or Update an iSCSI Target. - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - split-operation-names: *ref_198 - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_205 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_206 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_207 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_199 - schema: *ref_43 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_203 - schema: *ref_104 - implementation: Method - originalParameter: *ref_199 - pathToProperty: &ref_201 [] - targetProperty: *ref_200 - extensions: - cli-flatten-origin: *ref_200 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - cliKey: staticAcls - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''staticAcls'']' - protocol: {} - - &ref_204 - schema: *ref_105 - implementation: Method - originalParameter: *ref_199 - pathToProperty: *ref_201 - targetProperty: *ref_202 - extensions: - cli-flatten-origin: *ref_202 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - cliKey: luns - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''luns'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_203 - - *ref_204 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_205 - - *ref_206 - - *ref_207 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - name: Update - description: Update an iSCSI Target. - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_208 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_209 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_210 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_208 - - *ref_209 - - *ref_210 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - name: Delete - description: Delete an iSCSI Target. - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_211 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_212 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_213 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_211 - - *ref_212 - - *ref_213 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - name: Get - description: Get an iSCSI Target. - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - - apiVersions: *ref_214 - parameters: - - *ref_108 - - *ref_113 - - &ref_227 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''resourceGroupName'']' - protocol: - http: *ref_215 - - &ref_228 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''diskPoolName'']' - protocol: - http: *ref_216 - - &ref_229 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''iscsiTargetName'']' - protocol: - http: *ref_217 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: *ref_218 - - &ref_219 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_222 - schema: *ref_28 - implementation: Method - originalParameter: *ref_219 - pathToProperty: &ref_220 [] - required: true - targetProperty: *ref_186 - extensions: - cli-flatten-origin: *ref_186 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - name: aclMode - description: Mode for Target connectivity. - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''aclMode'']' - protocol: {} - - &ref_223 - schema: *ref_38 - implementation: Method - originalParameter: *ref_219 - pathToProperty: *ref_220 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''targetIqn'']' - protocol: {} - - &ref_224 - schema: *ref_102 - implementation: Method - originalParameter: *ref_219 - pathToProperty: *ref_220 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''staticAcls'']' - protocol: {} - - &ref_225 - schema: *ref_103 - implementation: Method - originalParameter: *ref_219 - pathToProperty: *ref_220 - required: false - targetProperty: *ref_190 - extensions: - cli-flatten-origin: *ref_190 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''luns'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''accept'']' - protocol: - http: *ref_221 - signatureParameters: - - *ref_222 - - *ref_223 - - *ref_224 - - *ref_225 - language: - default: - name: '' - description: '' - protocol: - http: *ref_226 - signatureParameters: - - *ref_227 - - *ref_228 - - *ref_229 - responses: *ref_230 - exceptions: *ref_231 - extensions: - cli-split-operation-original-operation: *ref_232 - x-ms-examples: *ref_233 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_234 - language: - default: - name: create - description: Create an iSCSI Target. - cli: - name: Create - description: Create an iSCSI Target. - cliKey: 'CreateOrUpdate#Create' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']' - protocol: {} - language: - default: - name: IscsiTarget - description: '' - cli: - name: IscsiTarget - description: '' - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - cliPath: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -test-scenario: - - name: /DiskPools/put/Createxxx -language: - default: - name: StoragePoolManagement - description: '' - cli: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-000280-complex-marker-post-simplified.yaml b/src/diskpool/_az_debug/clicommon-000280-complex-marker-post-simplified.yaml deleted file mode 100644 index d809808d8ee..00000000000 --- a/src/diskpool/_az_debug/clicommon-000280-complex-marker-post-simplified.yaml +++ /dev/null @@ -1,2086 +0,0 @@ -operationGroups: - all: - - operationGroupName: Operation - cli: - cliKey: Operations - cliM4Path: operationGroups['Operations'] - cliPath: operationGroups['Operations'] - operations: - - operationName: list - cli: - name: List - cliKey: List - cliM4Path: operationGroups['Operations']$$operations['List'] - cliPath: operationGroups['Operations']$$operations['List'] - hidden: true - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['Operations']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: DiskPool - cli: - cliKey: DiskPools - cliM4Path: operationGroups['DiskPools'] - cliPath: operationGroups['DiskPools'] - operations: - - operationName: list_by_subscription - cli: - name: ListBySubscription - cliKey: ListBySubscription - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription'] - cliPath: operationGroups['DiskPools']$$operations['ListBySubscription'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['ListBySubscription']$$requests[0]$$parameters['accept'] - - operationName: list_by_resource_group - cli: - name: ListByResourceGroup - cliKey: ListByResourceGroup - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$parameters['resourceGroupName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['ListByResourceGroup']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - name: CreateOrUpdate - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(DiskPoolCreate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: DiskPoolCreate - - parameterName[0]: sku(Sku^object) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['sku'] - - parameterName[0]: tags(DiskPoolCreateTags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['tags'] - - parameterName[0]: location(DiskPoolCreateLocation^string) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['location'] - - parameterName[0]: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) - cli: - name: availabilityZones - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['availabilityZones'] - - parameterName[0]: disks(DiskPoolCreatePropertiesDisks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['disks'] - positional: true - positionalKeys: - - id - - parameterName[0]: subnet_id(DiskPoolCreatePropertiesSubnetId^string) - cli: - name: subnetId - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['subnetId'] - - parameterName[0]: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) - cli: - name: additionalCapabilities - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['diskPoolCreatePayload'] - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['additionalCapabilities'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - name: Update - cliKey: Update - cliM4Path: operationGroups['DiskPools']$$operations['Update'] - cliPath: operationGroups['DiskPools']$$operations['Update'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_update_payload(DiskPoolUpdate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - bodySchema: DiskPoolUpdate - - parameterName[0]: tags(DiskPoolUpdateTags^dictionary) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['tags'] - cliKey: tags - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['tags'] - - parameterName[0]: disks(DiskPoolUpdatePropertiesDisks^array) - cli: - cliFlattenTrace: - - operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['diskPoolUpdatePayload'] - - schemas$$objects['DiskPoolUpdate']$$properties['disks'] - cliKey: disks - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['disks'] - positional: true - positionalKeys: - - id - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - name: Delete - cliKey: Delete - cliM4Path: operationGroups['DiskPools']$$operations['Delete'] - cliPath: operationGroups['DiskPools']$$operations['Delete'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - name: Get - cliKey: Get - cliM4Path: operationGroups['DiskPools']$$operations['Get'] - cliPath: operationGroups['DiskPools']$$operations['Get'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: list_outbound_network_dependency_endpoint - cli: - name: ListOutboundNetworkDependencyEndpoint - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['ListOutboundNetworkDependenciesEndpoints']$$requests[0]$$parameters['accept'] - - operationName: start - cli: - name: Start - cliKey: Start - cliM4Path: operationGroups['DiskPools']$$operations['Start'] - cliPath: operationGroups['DiskPools']$$operations['Start'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Start']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Start']$$requests[0]$$parameters['accept'] - - operationName: deallocate - cli: - name: Deallocate - cliKey: Deallocate - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate'] - cliPath: operationGroups['DiskPools']$$operations['Deallocate'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPools']$$operations['Deallocate']$$requests[0]$$parameters['accept'] - - operationName: create - cli: - name: Create - cliKey: CreateOrUpdate#Create - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create'] - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['content-type'] - - parameterName[0]: disk_pool_create_payload(DiskPoolCreate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['diskPoolCreatePayload'] - bodySchema: DiskPoolCreate - - parameterName[0]: sku(Sku^object) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliKey: sku - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['sku'] - - parameterName[0]: tags(DiskPoolCreateTags^dictionary) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliKey: tags - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['tags'] - - parameterName[0]: location(DiskPoolCreateLocation^string) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['location'] - cliKey: location - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['location'] - - parameterName[0]: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) - cli: - name: availabilityZones - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliKey: availabilityZones - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['availabilityZones'] - - parameterName[0]: disks(DiskPoolCreatePropertiesDisks^array) - cli: - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliKey: disks - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['disks'] - positional: true - positionalKeys: - - id - - parameterName[0]: subnet_id(DiskPoolCreatePropertiesSubnetId^string) - cli: - name: subnetId - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliKey: subnetId - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['subnetId'] - - parameterName[0]: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) - cli: - name: additionalCapabilities - cliFlattenTrace: - - schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliKey: additionalCapabilities - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['additionalCapabilities'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliPath: operationGroups['DiskPools']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['accept'] - - operationGroupName: DiskPoolZone - cli: - cliKey: DiskPoolZones - cliM4Path: operationGroups['DiskPoolZones'] - cliPath: operationGroups['DiskPoolZones'] - operations: - - operationName: list - cli: - name: List - cliKey: List - cliM4Path: operationGroups['DiskPoolZones']$$operations['List'] - cliPath: operationGroups['DiskPoolZones']$$operations['List'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: location(String^string) - cli: - cliKey: location - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - cliPath: operationGroups['DiskPoolZones']$$operations['List']$$parameters['location'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['DiskPoolZones']$$operations['List']$$requests[0]$$parameters['accept'] - - operationGroupName: IscsiTarget - cli: - cliKey: IscsiTargets - cliM4Path: operationGroups['IscsiTargets'] - cliPath: operationGroups['IscsiTargets'] - operations: - - operationName: list_by_disk_pool - cli: - name: ListByDiskPool - cliKey: ListByDiskPool - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$parameters['diskPoolName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['ListByDiskPool']$$requests[0]$$parameters['accept'] - - operationName: create_or_update - cli: - name: CreateOrUpdate - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate'] - split-operation-names: - - Create - - Update - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - name: iscsiTargetName - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(IscsiTargetCreate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: IscsiTargetCreate - - parameterName[0]: acl_mode(IscsiTargetAclMode^choice) - cli: - name: aclMode - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['aclMode'] - - parameterName[0]: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) - cli: - name: targetIqn - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['targetIqn'] - - parameterName[0]: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) - cli: - name: staticAcls - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['staticAcls'] - - parameterName[0]: luns(IscsiTargetCreatePropertiesLuns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['luns'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate']$$requests[0]$$parameters['accept'] - - operationName: update - cli: - name: Update - cliKey: Update - cliM4Path: operationGroups['IscsiTargets']$$operations['Update'] - cliPath: operationGroups['IscsiTargets']$$operations['Update'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - name: iscsiTargetName - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_update_payload(IscsiTargetUpdate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - bodySchema: IscsiTargetUpdate - - parameterName[0]: static_acls(IscsiTargetUpdatePropertiesStaticAcls^array) - cli: - name: staticAcls - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - cliKey: staticAcls - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['staticAcls'] - - parameterName[0]: luns(IscsiTargetUpdatePropertiesLuns^array) - cli: - cliFlattenTrace: - - operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['iscsiTargetUpdatePayload'] - - schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - cliKey: luns - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['luns'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['Update']$$requests[0]$$parameters['accept'] - - operationName: delete - cli: - name: Delete - cliKey: Delete - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - name: iscsiTargetName - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['Delete']$$requests[0]$$parameters['accept'] - - operationName: get - cli: - name: Get - cliKey: Get - cliM4Path: operationGroups['IscsiTargets']$$operations['Get'] - cliPath: operationGroups['IscsiTargets']$$operations['Get'] - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - name: iscsiTargetName - cliKey: iscsiTargetName - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliM4Path: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - cliPath: operationGroups['IscsiTargets']$$operations['Get']$$requests[0]$$parameters['accept'] - - operationName: create - cli: - name: Create - cliKey: CreateOrUpdate#Create - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create'] - cli-split-operation-original-operation: CreateOrUpdate - parameters: - - parameterName: $host(String^string) - cli: - cliKey: $host - cliM4Path: globalParameters['$host'] - cliPath: globalParameters['$host'] - - parameterName: subscription_id(String^string) - cli: - name: subscriptionId - cliKey: subscriptionId - cliM4Path: globalParameters['subscriptionId'] - cliPath: globalParameters['subscriptionId'] - - parameterName: resource_group_name(String^string) - cli: - name: resourceGroupName - cliKey: resourceGroupName - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['resourceGroupName'] - - parameterName: disk_pool_name(String^string) - cli: - name: diskPoolName - cliKey: diskPoolName - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['diskPoolName'] - - parameterName: iscsi_target_name(String^string) - cli: - name: iscsiTargetName - cliKey: iscsiTargetName - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$parameters['iscsiTargetName'] - - parameterName: api_version(api_version2021_04_01_preview^constant) - cli: - name: ApiVersion - cliKey: ApiVersion - cliM4Path: globalParameters['ApiVersion'] - cliPath: globalParameters['ApiVersion'] - - parameterName[0]: content_type(application_json^constant) - cli: - name: ContentType - cliKey: content-type - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['content-type'] - - parameterName[0]: iscsi_target_create_payload(IscsiTargetCreate^object) - cli: - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['iscsiTargetCreatePayload'] - bodySchema: IscsiTargetCreate - - parameterName[0]: acl_mode(IscsiTargetAclMode^choice) - cli: - name: aclMode - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliKey: aclMode - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['aclMode'] - - parameterName[0]: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) - cli: - name: targetIqn - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliKey: targetIqn - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['targetIqn'] - - parameterName[0]: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) - cli: - name: staticAcls - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliKey: staticAcls - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['staticAcls'] - - parameterName[0]: luns(IscsiTargetCreatePropertiesLuns^array) - cli: - cliFlattenTrace: - - schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliKey: luns - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['luns'] - - parameterName[0]: accept(accept^constant) - cli: - name: Accept - cliKey: accept - cliPath: operationGroups['IscsiTargets']$$operations['CreateOrUpdate#Create']$$requests[0]$$parameters['accept'] -schemas: - objects: - all: - - schemaName: StoragePoolOperationListResult - cli: - cliKey: StoragePoolOperationListResult - cliM4Path: schemas$$objects['StoragePoolOperationListResult'] - cliPath: schemas$$objects['StoragePoolOperationListResult'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: value(StoragePoolOperationListResultValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['value'] - - propertyName: next_link(StoragePoolOperationListResultNextLink^string) - cli: - name: nextLink - cliKey: nextLink - cliM4Path: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - cliPath: schemas$$objects['StoragePoolOperationListResult']$$properties['nextLink'] - - schemaName: StoragePoolRPOperation - cli: - cliKey: StoragePoolRPOperation - cliM4Path: schemas$$objects['StoragePoolRPOperation'] - cliPath: schemas$$objects['StoragePoolRPOperation'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - cli-mark: checked - properties: - - propertyName: name(StoragePoolRPOperationName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['name'] - - propertyName: is_data_action(boolean^boolean) - cli: - name: isDataAction - cliKey: isDataAction - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['isDataAction'] - - propertyName: action_type(StoragePoolRPOperationActionType^string) - cli: - name: actionType - cliKey: actionType - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['actionType'] - - propertyName: display(StoragePoolOperationDisplay^object) - cli: - cliKey: display - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['display'] - - propertyName: origin(StoragePoolRPOperationOrigin^string) - cli: - cliKey: origin - cliM4Path: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - cliPath: schemas$$objects['StoragePoolRPOperation']$$properties['origin'] - - schemaName: StoragePoolOperationDisplay - cli: - cliKey: StoragePoolOperationDisplay - cliM4Path: schemas$$objects['StoragePoolOperationDisplay'] - cliPath: schemas$$objects['StoragePoolOperationDisplay'] - cli-complexity: object_simple - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - cli-mark: checked - properties: - - propertyName: provider(StoragePoolOperationDisplayProvider^string) - cli: - cliKey: provider - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['provider'] - - propertyName: resource(StoragePoolOperationDisplayResource^string) - cli: - cliKey: resource - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['resource'] - - propertyName: operation(StoragePoolOperationDisplayOperation^string) - cli: - cliKey: operation - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['operation'] - - propertyName: description(StoragePoolOperationDisplayDescription^string) - cli: - cliKey: description - cliM4Path: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - cliPath: schemas$$objects['StoragePoolOperationDisplay']$$properties['description'] - - schemaName: Error - cli: - cliKey: Error - cliM4Path: schemas$$objects['Error'] - cliPath: schemas$$objects['Error'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - cli-mark: checked - properties: - - propertyName: error(ErrorResponse^object) - cli: - cliKey: error - cliM4Path: schemas$$objects['Error']$$properties['error'] - cliPath: schemas$$objects['Error']$$properties['error'] - - schemaName: ErrorResponse - cli: - cli-in-circle: true - cliKey: ErrorResponse - cliM4Path: schemas$$objects['ErrorResponse'] - cliPath: schemas$$objects['ErrorResponse'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - cli-mark: checked - properties: - - propertyName: code(ErrorResponseCode^string) - cli: - cliKey: code - cliM4Path: schemas$$objects['ErrorResponse']$$properties['code'] - cliPath: schemas$$objects['ErrorResponse']$$properties['code'] - readOnly: true - - propertyName: message(ErrorResponseMessage^string) - cli: - cliKey: message - cliM4Path: schemas$$objects['ErrorResponse']$$properties['message'] - cliPath: schemas$$objects['ErrorResponse']$$properties['message'] - readOnly: true - - propertyName: target(ErrorResponseTarget^string) - cli: - cliKey: target - cliM4Path: schemas$$objects['ErrorResponse']$$properties['target'] - cliPath: schemas$$objects['ErrorResponse']$$properties['target'] - readOnly: true - - propertyName: details(ErrorResponseDetails^array) - cli: - cliKey: details - cliM4Path: schemas$$objects['ErrorResponse']$$properties['details'] - cliPath: schemas$$objects['ErrorResponse']$$properties['details'] - readOnly: true - - propertyName: additional_info(ErrorResponseAdditionalInfo^array) - cli: - name: additionalInfo - cliKey: additionalInfo - cliM4Path: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - cliPath: schemas$$objects['ErrorResponse']$$properties['additionalInfo'] - readOnly: true - - schemaName: ErrorAdditionalInfo - cli: - cliKey: ErrorAdditionalInfo - cliM4Path: schemas$$objects['ErrorAdditionalInfo'] - cliPath: schemas$$objects['ErrorAdditionalInfo'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - cli-mark: checked - properties: - - propertyName: type(ErrorAdditionalInfoType^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['type'] - readOnly: true - - propertyName: info(any^any) - cli: - cliKey: info - cliM4Path: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - cliPath: schemas$$objects['ErrorAdditionalInfo']$$properties['info'] - readOnly: true - - schemaName: DiskPoolListResult - cli: - cliKey: DiskPoolListResult - cliM4Path: schemas$$objects['DiskPoolListResult'] - cliPath: schemas$$objects['DiskPoolListResult'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: value(DiskPoolListResultValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['value'] - cliPath: schemas$$objects['DiskPoolListResult']$$properties['value'] - - propertyName: next_link(DiskPoolListResultNextLink^string) - cli: - name: nextLink - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - cliPath: schemas$$objects['DiskPoolListResult']$$properties['nextLink'] - readOnly: true - - schemaName: DiskPool - cli: - cliKey: DiskPool - cliM4Path: schemas$$objects['DiskPool'] - cliPath: schemas$$objects['DiskPool'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: system_data(SystemMetadata^object) - cli: - name: systemData - cliKey: systemData - cliM4Path: schemas$$objects['DiskPool']$$properties['systemData'] - cliPath: schemas$$objects['DiskPool']$$properties['systemData'] - readOnly: true - - propertyName: provisioning_state(ProvisioningStates^choice) - cli: - name: provisioningState - cliKey: provisioningState - cliM4Path: schemas$$objects['DiskPool']$$properties['provisioningState'] - cliPath: schemas$$objects['DiskPool']$$properties['provisioningState'] - readOnly: true - - propertyName: availability_zones(DiskPoolPropertiesAvailabilityZones^array) - cli: - name: availabilityZones - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPool']$$properties['availabilityZones'] - cliPath: schemas$$objects['DiskPool']$$properties['availabilityZones'] - - propertyName: status(OperationalStatus^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['DiskPool']$$properties['status'] - cliPath: schemas$$objects['DiskPool']$$properties['status'] - - propertyName: disks(DiskPoolPropertiesDisks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPool']$$properties['disks'] - cliPath: schemas$$objects['DiskPool']$$properties['disks'] - - propertyName: subnet_id(DiskPoolPropertiesSubnetId^string) - cli: - name: subnetId - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPool']$$properties['subnetId'] - cliPath: schemas$$objects['DiskPool']$$properties['subnetId'] - - propertyName: additional_capabilities(DiskPoolPropertiesAdditionalCapabilities^array) - cli: - name: additionalCapabilities - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - cliPath: schemas$$objects['DiskPool']$$properties['additionalCapabilities'] - - propertyName: name_sku_name(SkuName^string) - cli: - name: nameSkuName - cliKey: name - cliM4Path: schemas$$objects['DiskPool']$$properties['name'] - cliPath: schemas$$objects['DiskPool']$$properties['name'] - - propertyName: tier(SkuTier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['DiskPool']$$properties['tier'] - cliPath: schemas$$objects['DiskPool']$$properties['tier'] - - schemaName: Sku - cli: - cliKey: Sku - cliM4Path: schemas$$objects['Sku'] - cliPath: schemas$$objects['Sku'] - cli-complexity: object_simple - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - cli-mark: checked - properties: - - propertyName: name(SkuName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Sku']$$properties['name'] - cliPath: schemas$$objects['Sku']$$properties['name'] - - propertyName: tier(SkuTier^string) - cli: - cliKey: tier - cliM4Path: schemas$$objects['Sku']$$properties['tier'] - cliPath: schemas$$objects['Sku']$$properties['tier'] - - schemaName: Disk - cli: - cliKey: Disk - cliM4Path: schemas$$objects['Disk'] - cliPath: schemas$$objects['Disk'] - cli-complexity: object_simple - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - cli-mark: checked - properties: - - propertyName: id(DiskId^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Disk']$$properties['id'] - cliPath: schemas$$objects['Disk']$$properties['id'] - - schemaName: SystemMetadata - cli: - cliKey: SystemMetadata - cliM4Path: schemas$$objects['SystemMetadata'] - cliPath: schemas$$objects['SystemMetadata'] - cli-complexity: object_simple - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - cli-mark: checked - properties: - - propertyName: created_by(SystemMetadataCreatedBy^string) - cli: - name: createdBy - cliKey: createdBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdBy'] - cliPath: schemas$$objects['SystemMetadata']$$properties['createdBy'] - - propertyName: created_by_type(CreatedByType^choice) - cli: - name: createdByType - cliKey: createdByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdByType'] - cliPath: schemas$$objects['SystemMetadata']$$properties['createdByType'] - - propertyName: created_at(system_metadata_created_at^date-time) - cli: - name: createdAt - cliKey: createdAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['createdAt'] - cliPath: schemas$$objects['SystemMetadata']$$properties['createdAt'] - - propertyName: last_modified_by(SystemMetadataLastModifiedBy^string) - cli: - name: lastModifiedBy - cliKey: lastModifiedBy - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedBy'] - - propertyName: last_modified_by_type(CreatedByType^choice) - cli: - name: lastModifiedByType - cliKey: lastModifiedByType - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedByType'] - - propertyName: last_modified_at(system_metadata_last_modified_at^date-time) - cli: - name: lastModifiedAt - cliKey: lastModifiedAt - cliM4Path: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - cliPath: schemas$$objects['SystemMetadata']$$properties['lastModifiedAt'] - - schemaName: TrackedResource - cli: - cliKey: TrackedResource - cliM4Path: schemas$$objects['TrackedResource'] - cliPath: schemas$$objects['TrackedResource'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: tags(TrackedResourceTags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['TrackedResource']$$properties['tags'] - cliPath: schemas$$objects['TrackedResource']$$properties['tags'] - - propertyName: location(TrackedResourceLocation^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['TrackedResource']$$properties['location'] - cliPath: schemas$$objects['TrackedResource']$$properties['location'] - - schemaName: Resource - cli: - cliKey: Resource - cliM4Path: schemas$$objects['Resource'] - cliPath: schemas$$objects['Resource'] - cli-complexity: object_simple - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - cli-mark: checked - properties: - - propertyName: id(ResourceId^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['Resource']$$properties['id'] - cliPath: schemas$$objects['Resource']$$properties['id'] - readOnly: true - - propertyName: name(ResourceName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['Resource']$$properties['name'] - cliPath: schemas$$objects['Resource']$$properties['name'] - readOnly: true - - propertyName: type(ResourceType^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['Resource']$$properties['type'] - cliPath: schemas$$objects['Resource']$$properties['type'] - readOnly: true - - schemaName: DiskPoolCreate - cli: - cliKey: DiskPoolCreate - cliM4Path: schemas$$objects['DiskPoolCreate'] - cliPath: schemas$$objects['DiskPoolCreate'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: sku(Sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['sku'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['sku'] - - propertyName: tags(DiskPoolCreateTags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['tags'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['tags'] - - propertyName: location(DiskPoolCreateLocation^string) - cli: - cliKey: location - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['location'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['location'] - - propertyName: id(DiskPoolCreateId^string) - cli: - cliKey: id - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['id'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['id'] - readOnly: true - - propertyName: name(DiskPoolCreateName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['name'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['name'] - readOnly: true - - propertyName: type(DiskPoolCreateType^string) - cli: - cliKey: type - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['type'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['type'] - readOnly: true - - propertyName: availability_zones(DiskPoolCreatePropertiesAvailabilityZones^array) - cli: - name: availabilityZones - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['availabilityZones'] - - propertyName: disks(DiskPoolCreatePropertiesDisks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['disks'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['disks'] - - propertyName: subnet_id(DiskPoolCreatePropertiesSubnetId^string) - cli: - name: subnetId - cliKey: subnetId - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['subnetId'] - - propertyName: additional_capabilities(DiskPoolCreatePropertiesAdditionalCapabilities^array) - cli: - name: additionalCapabilities - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - cliPath: schemas$$objects['DiskPoolCreate']$$properties['additionalCapabilities'] - - schemaName: DiskPoolUpdate - cli: - cliKey: DiskPoolUpdate - cliM4Path: schemas$$objects['DiskPoolUpdate'] - cliPath: schemas$$objects['DiskPoolUpdate'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: tags(DiskPoolUpdateTags^dictionary) - cli: - cliKey: tags - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - cliPath: schemas$$objects['DiskPoolUpdate']$$properties['tags'] - - propertyName: disks(DiskPoolUpdatePropertiesDisks^array) - cli: - cliKey: disks - cliM4Path: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - cliPath: schemas$$objects['DiskPoolUpdate']$$properties['disks'] - - schemaName: DiskPoolZoneListResult - cli: - cliKey: DiskPoolZoneListResult - cliM4Path: schemas$$objects['DiskPoolZoneListResult'] - cliPath: schemas$$objects['DiskPoolZoneListResult'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: value(DiskPoolZoneListResultValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['value'] - - propertyName: next_link(DiskPoolZoneListResultNextLink^string) - cli: - name: nextLink - cliKey: nextLink - cliM4Path: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - cliPath: schemas$$objects['DiskPoolZoneListResult']$$properties['nextLink'] - - schemaName: DiskPoolZoneInfo - cli: - cliKey: DiskPoolZoneInfo - cliM4Path: schemas$$objects['DiskPoolZoneInfo'] - cliPath: schemas$$objects['DiskPoolZoneInfo'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: availability_zones(DiskPoolZoneInfoAvailabilityZones^array) - cli: - name: availabilityZones - cliKey: availabilityZones - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['availabilityZones'] - - propertyName: additional_capabilities(DiskPoolZoneInfoAdditionalCapabilities^array) - cli: - name: additionalCapabilities - cliKey: additionalCapabilities - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['additionalCapabilities'] - - propertyName: sku(Sku^object) - cli: - cliKey: sku - cliM4Path: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - cliPath: schemas$$objects['DiskPoolZoneInfo']$$properties['sku'] - - schemaName: OutboundEnvironmentEndpointList - cli: - cliKey: OutboundEnvironmentEndpointList - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList'] - cliPath: schemas$$objects['OutboundEnvironmentEndpointList'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: value(OutboundEnvironmentEndpointListValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['value'] - - propertyName: next_link(OutboundEnvironmentEndpointListNextLink^string) - cli: - name: nextLink - cliKey: nextLink - cliM4Path: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - cliPath: schemas$$objects['OutboundEnvironmentEndpointList']$$properties['nextLink'] - readOnly: true - - schemaName: OutboundEnvironmentEndpoint - cli: - cliKey: OutboundEnvironmentEndpoint - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint'] - cliPath: schemas$$objects['OutboundEnvironmentEndpoint'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: category(OutboundEnvironmentEndpointCategory^string) - cli: - cliKey: category - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['category'] - - propertyName: endpoints(OutboundEnvironmentEndpointEndpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - cliPath: schemas$$objects['OutboundEnvironmentEndpoint']$$properties['endpoints'] - - schemaName: EndpointDependency - cli: - cliKey: EndpointDependency - cliM4Path: schemas$$objects['EndpointDependency'] - cliPath: schemas$$objects['EndpointDependency'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: domain_name(EndpointDependencyDomainName^string) - cli: - name: domainName - cliKey: domainName - cliM4Path: schemas$$objects['EndpointDependency']$$properties['domainName'] - cliPath: schemas$$objects['EndpointDependency']$$properties['domainName'] - - propertyName: endpoint_details(EndpointDependencyEndpointDetails^array) - cli: - name: endpointDetails - cliKey: endpointDetails - cliM4Path: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - cliPath: schemas$$objects['EndpointDependency']$$properties['endpointDetails'] - - schemaName: EndpointDetail - cli: - cliKey: EndpointDetail - cliM4Path: schemas$$objects['EndpointDetail'] - cliPath: schemas$$objects['EndpointDetail'] - cli-complexity: object_simple - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - cli-mark: checked - properties: - - propertyName: ip_address(EndpointDetailIpAddress^string) - cli: - name: ipAddress - cliKey: ipAddress - cliM4Path: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - cliPath: schemas$$objects['EndpointDetail']$$properties['ipAddress'] - - propertyName: port(Integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['EndpointDetail']$$properties['port'] - cliPath: schemas$$objects['EndpointDetail']$$properties['port'] - - propertyName: latency(Number^number) - cli: - cliKey: latency - cliM4Path: schemas$$objects['EndpointDetail']$$properties['latency'] - cliPath: schemas$$objects['EndpointDetail']$$properties['latency'] - - propertyName: is_accessible(boolean^boolean) - cli: - name: isAccessible - cliKey: isAccessible - cliM4Path: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - cliPath: schemas$$objects['EndpointDetail']$$properties['isAccessible'] - - schemaName: IscsiTargetList - cli: - cliKey: IscsiTargetList - cliM4Path: schemas$$objects['IscsiTargetList'] - cliPath: schemas$$objects['IscsiTargetList'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: value(IscsiTargetListValue^array) - cli: - cliKey: value - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['value'] - cliPath: schemas$$objects['IscsiTargetList']$$properties['value'] - - propertyName: next_link(IscsiTargetListNextLink^string) - cli: - name: nextLink - cliKey: nextLink - cliM4Path: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - cliPath: schemas$$objects['IscsiTargetList']$$properties['nextLink'] - readOnly: true - - schemaName: IscsiTarget - cli: - cliKey: IscsiTarget - cliM4Path: schemas$$objects['IscsiTarget'] - cliPath: schemas$$objects['IscsiTarget'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: system_data(SystemMetadata^object) - cli: - name: systemData - cliKey: systemData - cliM4Path: schemas$$objects['IscsiTarget']$$properties['systemData'] - cliPath: schemas$$objects['IscsiTarget']$$properties['systemData'] - readOnly: true - - propertyName: acl_mode(IscsiTargetAclMode^choice) - cli: - name: aclMode - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTarget']$$properties['aclMode'] - cliPath: schemas$$objects['IscsiTarget']$$properties['aclMode'] - - propertyName: static_acls(IscsiTargetPropertiesStaticAcls^array) - cli: - name: staticAcls - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - cliPath: schemas$$objects['IscsiTarget']$$properties['staticAcls'] - - propertyName: luns(IscsiTargetPropertiesLuns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTarget']$$properties['luns'] - cliPath: schemas$$objects['IscsiTarget']$$properties['luns'] - - propertyName: target_iqn(IscsiTargetPropertiesTargetIqn^string) - cli: - name: targetIqn - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - cliPath: schemas$$objects['IscsiTarget']$$properties['targetIqn'] - - propertyName: provisioning_state(ProvisioningStates^choice) - cli: - name: provisioningState - cliKey: provisioningState - cliM4Path: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - cliPath: schemas$$objects['IscsiTarget']$$properties['provisioningState'] - readOnly: true - - propertyName: status(OperationalStatus^choice) - cli: - cliKey: status - cliM4Path: schemas$$objects['IscsiTarget']$$properties['status'] - cliPath: schemas$$objects['IscsiTarget']$$properties['status'] - - propertyName: endpoints(IscsiTargetPropertiesEndpoints^array) - cli: - cliKey: endpoints - cliM4Path: schemas$$objects['IscsiTarget']$$properties['endpoints'] - cliPath: schemas$$objects['IscsiTarget']$$properties['endpoints'] - - propertyName: port(Integer^integer) - cli: - cliKey: port - cliM4Path: schemas$$objects['IscsiTarget']$$properties['port'] - cliPath: schemas$$objects['IscsiTarget']$$properties['port'] - - schemaName: Acl - cli: - cliKey: Acl - cliM4Path: schemas$$objects['Acl'] - cliPath: schemas$$objects['Acl'] - cli-complexity: object_simple - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: initiator_iqn(AclInitiatorIqn^string) - cli: - name: initiatorIqn - cliKey: initiatorIqn - cliM4Path: schemas$$objects['Acl']$$properties['initiatorIqn'] - cliPath: schemas$$objects['Acl']$$properties['initiatorIqn'] - - propertyName: mapped_luns(AclMappedLuns^array) - cli: - name: mappedLuns - cliKey: mappedLuns - cliM4Path: schemas$$objects['Acl']$$properties['mappedLuns'] - cliPath: schemas$$objects['Acl']$$properties['mappedLuns'] - - schemaName: IscsiLun - cli: - cliKey: IscsiLun - cliM4Path: schemas$$objects['IscsiLun'] - cliPath: schemas$$objects['IscsiLun'] - cli-complexity: object_simple - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - cli-mark: checked - properties: - - propertyName: name(IscsiLunName^string) - cli: - cliKey: name - cliM4Path: schemas$$objects['IscsiLun']$$properties['name'] - cliPath: schemas$$objects['IscsiLun']$$properties['name'] - - propertyName: managed_disk_azure_resource_id(IscsiLunManagedDiskAzureResourceId^string) - cli: - name: managedDiskAzureResourceId - cliKey: managedDiskAzureResourceId - cliM4Path: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - cliPath: schemas$$objects['IscsiLun']$$properties['managedDiskAzureResourceId'] - - schemaName: IscsiTargetCreate - cli: - cliKey: IscsiTargetCreate - cliM4Path: schemas$$objects['IscsiTargetCreate'] - cliPath: schemas$$objects['IscsiTargetCreate'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: acl_mode(IscsiTargetAclMode^choice) - cli: - name: aclMode - cliKey: aclMode - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['aclMode'] - - propertyName: target_iqn(IscsiTargetCreatePropertiesTargetIqn^string) - cli: - name: targetIqn - cliKey: targetIqn - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['targetIqn'] - - propertyName: static_acls(IscsiTargetCreatePropertiesStaticAcls^array) - cli: - name: staticAcls - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['staticAcls'] - - propertyName: luns(IscsiTargetCreatePropertiesLuns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - cliPath: schemas$$objects['IscsiTargetCreate']$$properties['luns'] - - schemaName: IscsiTargetUpdate - cli: - cliKey: IscsiTargetUpdate - cliM4Path: schemas$$objects['IscsiTargetUpdate'] - cliPath: schemas$$objects['IscsiTargetUpdate'] - cli-complexity: object_complex - cli-simplify-indicator: - simplifiable: false - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - cli-mark: checked - properties: - - propertyName: static_acls(IscsiTargetUpdatePropertiesStaticAcls^array) - cli: - name: staticAcls - cliKey: staticAcls - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['staticAcls'] - - propertyName: luns(IscsiTargetUpdatePropertiesLuns^array) - cli: - cliKey: luns - cliM4Path: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - cliPath: schemas$$objects['IscsiTargetUpdate']$$properties['luns'] - - schemaName: ProxyResource - cli: - cliKey: ProxyResource - cliM4Path: schemas$$objects['ProxyResource'] - cliPath: schemas$$objects['ProxyResource'] - cli-complexity: object_simple - cli-simplify-indicator: - simplifiable: true - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - cli-mark: checked - choices: - all: - - choiceName: ProvisioningStates - cli: - cliKey: ProvisioningStates - cliM4Path: schemas$$choices['ProvisioningStates'] - cliPath: schemas$$choices['ProvisioningStates'] - choiceValues: - - choiceValue: invalid - cli: - name: Invalid - cliKey: Invalid - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Invalid]' - - choiceValue: succeeded - cli: - name: Succeeded - cliKey: Succeeded - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Succeeded]' - - choiceValue: failed - cli: - name: Failed - cliKey: Failed - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Failed]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Failed]' - - choiceValue: canceled - cli: - name: Canceled - cliKey: Canceled - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Canceled]' - - choiceValue: pending - cli: - name: Pending - cliKey: Pending - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Pending]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Pending]' - - choiceValue: creating - cli: - name: Creating - cliKey: Creating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Creating]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Creating]' - - choiceValue: updating - cli: - name: Updating - cliKey: Updating - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Updating]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Updating]' - - choiceValue: deleting - cli: - name: Deleting - cliKey: Deleting - cliM4Path: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - cliPath: schemas$$choices['ProvisioningStates']$$choices['Deleting]' - - choiceName: OperationalStatus - cli: - cliKey: OperationalStatus - cliM4Path: schemas$$choices['OperationalStatus'] - cliPath: schemas$$choices['OperationalStatus'] - choiceValues: - - choiceValue: invalid - cli: - name: Invalid - cliKey: Invalid - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Invalid]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Invalid]' - - choiceValue: unknown - cli: - name: Unknown - cliKey: Unknown - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unknown]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Unknown]' - - choiceValue: healthy - cli: - name: Healthy - cliKey: Healthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Healthy]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Healthy]' - - choiceValue: unhealthy - cli: - name: Unhealthy - cliKey: Unhealthy - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Unhealthy]' - - choiceValue: updating - cli: - name: Updating - cliKey: Updating - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Updating]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Updating]' - - choiceValue: running - cli: - name: Running - cliKey: Running - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Running]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Running]' - - choiceValue: stopped - cli: - name: Stopped - cliKey: Stopped - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped]' - - choiceValue: stopped_deallocated__ - cli: - name: StoppedDeallocated_ - cliKey: Stopped (deallocated) - cliM4Path: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - cliPath: schemas$$choices['OperationalStatus']$$choices['Stopped (deallocated)]' - - choiceName: CreatedByType - cli: - cliKey: createdByType - cliM4Path: schemas$$choices['createdByType'] - cliPath: schemas$$choices['createdByType'] - choiceValues: - - choiceValue: user - cli: - name: User - cliKey: User - cliM4Path: schemas$$choices['createdByType']$$choices['User]' - cliPath: schemas$$choices['createdByType']$$choices['User]' - - choiceValue: application - cli: - name: Application - cliKey: Application - cliM4Path: schemas$$choices['createdByType']$$choices['Application]' - cliPath: schemas$$choices['createdByType']$$choices['Application]' - - choiceValue: managed_identity - cli: - name: ManagedIdentity - cliKey: ManagedIdentity - cliM4Path: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - cliPath: schemas$$choices['createdByType']$$choices['ManagedIdentity]' - - choiceValue: key - cli: - name: Key - cliKey: Key - cliM4Path: schemas$$choices['createdByType']$$choices['Key]' - cliPath: schemas$$choices['createdByType']$$choices['Key]' - - choiceName: IscsiTargetAclMode - cli: - cliKey: IscsiTargetAclMode - cliM4Path: schemas$$choices['IscsiTargetAclMode'] - cliPath: schemas$$choices['IscsiTargetAclMode'] - choiceValues: - - choiceValue: dynamic - cli: - name: Dynamic - cliKey: Dynamic - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Dynamic]' - - choiceValue: static - cli: - name: Static - cliKey: Static - cliM4Path: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - cliPath: schemas$$choices['IscsiTargetAclMode']$$choices['Static]' - - choiceName: DiskPoolTier - cli: - cliKey: DiskPoolTier - cliM4Path: schemas$$choices['DiskPoolTier'] - cliPath: schemas$$choices['DiskPoolTier'] - choiceValues: - - choiceValue: basic - cli: - name: Basic - cliKey: Basic - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Basic]' - cliPath: schemas$$choices['DiskPoolTier']$$choices['Basic]' - - choiceValue: standard - cli: - name: Standard - cliKey: Standard - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Standard]' - cliPath: schemas$$choices['DiskPoolTier']$$choices['Standard]' - - choiceValue: premium - cli: - name: Premium - cliKey: Premium - cliM4Path: schemas$$choices['DiskPoolTier']$$choices['Premium]' - cliPath: schemas$$choices['DiskPoolTier']$$choices['Premium]' diff --git a/src/diskpool/_az_debug/clicommon-000280-complex-marker-post.yaml b/src/diskpool/_az_debug/clicommon-000280-complex-marker-post.yaml deleted file mode 100644 index 3f9f3356cb6..00000000000 --- a/src/diskpool/_az_debug/clicommon-000280-complex-marker-post.yaml +++ /dev/null @@ -1,7849 +0,0 @@ -info: - title: StoragePoolManagement - extensions: - cli-dump-index: 30 -schemas: - booleans: - - &ref_3 - type: boolean - language: - default: - name: boolean - description: Indicates whether the operation applies to data-plane. - protocol: {} - - &ref_74 - type: boolean - language: - default: - name: boolean - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - protocol: {} - numbers: - - &ref_72 - type: integer - precision: 32 - language: - default: - name: Integer - description: The port an endpoint is connected to. - cli: - name: Integer - description: The port an endpoint is connected to. - protocol: {} - - &ref_73 - type: number - precision: 64 - language: - default: - name: Number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - name: Number - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - protocol: {} - - &ref_37 - type: integer - precision: 32 - language: - default: - name: Integer - description: The port used by iSCSI Target portal group. - cli: - name: Integer - description: The port used by iSCSI Target portal group. - protocol: {} - strings: - - &ref_0 - type: string - language: - default: - name: String - description: simple string - cli: - name: String - description: simple string - protocol: {} - - &ref_2 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRPOperationName - description: The name of the operation being performed on this particular object - cli: - name: StoragePoolRPOperationName - description: The name of the operation being performed on this particular object - protocol: {} - - &ref_4 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRPOperationActionType - description: Indicates the action type. - cli: - name: StoragePoolRPOperationActionType - description: Indicates the action type. - protocol: {} - - &ref_5 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayProvider - description: Localized friendly form of the resource provider name. - cli: - name: StoragePoolOperationDisplayProvider - description: Localized friendly form of the resource provider name. - protocol: {} - - &ref_6 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayResource - description: Localized friendly form of the resource type related to this action/operation. - cli: - name: StoragePoolOperationDisplayResource - description: Localized friendly form of the resource type related to this action/operation. - protocol: {} - - &ref_7 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayOperation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - name: StoragePoolOperationDisplayOperation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - protocol: {} - - &ref_8 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationDisplayDescription - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - name: StoragePoolOperationDisplayDescription - description: 'Localized friendly description for the operation, as it should be shown to the user.' - protocol: {} - - &ref_9 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolRPOperationOrigin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - name: StoragePoolRPOperationOrigin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - protocol: {} - - &ref_10 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: StoragePoolOperationListResultNextLink - description: URI to fetch the next section of the paginated response. - cli: - name: StoragePoolOperationListResultNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_13 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponseCode - description: The error code. - cli: - name: ErrorResponseCode - description: The error code. - protocol: {} - - &ref_14 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponseMessage - description: The error message. - cli: - name: ErrorResponseMessage - description: The error message. - protocol: {} - - &ref_15 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorResponseTarget - description: The error target. - cli: - name: ErrorResponseTarget - description: The error target. - protocol: {} - - &ref_17 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ErrorAdditionalInfoType - description: The additional info type. - cli: - name: ErrorAdditionalInfoType - description: The additional info type. - protocol: {} - - &ref_106 - type: string - apiVersions: - - version: 2021-04-01-preview - minLength: 1 - language: - default: - name: String - description: '' - cli: - name: String - description: '' - protocol: {} - - &ref_55 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SkuName - description: Sku name - cli: - name: SkuName - description: Sku name - protocol: {} - - &ref_56 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SkuTier - description: Sku tier - cli: - name: SkuTier - description: Sku tier - protocol: {} - - &ref_51 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AvailabilityZone - description: Availability zone. - cli: - name: AvailabilityZone - description: Availability zone. - protocol: {} - - &ref_52 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskId - description: Unique Azure Resource ID of the Managed Disk. - cli: - name: DiskId - description: Unique Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_53 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: DiskPoolPropertiesSubnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: DiskPoolPropertiesSubnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_54 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AdditionalCapability - description: Special capability that can be set on the Disk Pool. - cli: - name: AdditionalCapability - description: Special capability that can be set on the Disk Pool. - protocol: {} - - &ref_23 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SystemMetadataCreatedBy - description: The identity that created the resource. - cli: - name: SystemMetadataCreatedBy - description: The identity that created the resource. - protocol: {} - - &ref_26 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: SystemMetadataLastModifiedBy - description: The identity that last modified the resource. - cli: - name: SystemMetadataLastModifiedBy - description: The identity that last modified the resource. - protocol: {} - - &ref_1 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: String - description: '' - cli: - name: String - description: '' - protocol: {} - - &ref_49 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: TrackedResourceLocation - description: The geo-location where the resource lives. - cli: - name: TrackedResourceLocation - description: The geo-location where the resource lives. - protocol: {} - - &ref_45 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ResourceId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - name: ResourceId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_46 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ResourceName - description: The name of the resource - cli: - name: ResourceName - description: The name of the resource - protocol: {} - - &ref_47 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: ResourceType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - name: ResourceType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_57 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolListResultNextLink - description: URI to fetch the next section of the paginated response. - cli: - name: DiskPoolListResultNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_115 - type: string - apiVersions: - - version: 2021-04-01-preview - maxLength: 90 - minLength: 1 - pattern: '^[-\w\._]*[0-9A-Za-z]$' - language: - default: - name: String - description: '' - cli: - name: String - description: '' - protocol: {} - - &ref_65 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - create - - read - language: - default: - name: DiskPoolCreatePropertiesSubnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: DiskPoolCreatePropertiesSubnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - protocol: {} - - &ref_61 - type: string - apiVersions: - - version: 2021-04-01-preview - extensions: - x-ms-mutability: - - read - - create - language: - default: - name: DiskPoolCreateLocation - description: The geo-location where the resource lives. - cli: - name: DiskPoolCreateLocation - description: The geo-location where the resource lives. - protocol: {} - - &ref_62 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreateId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - name: DiskPoolCreateId - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - protocol: {} - - &ref_63 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreateName - description: The name of the resource - cli: - name: DiskPoolCreateName - description: The name of the resource - protocol: {} - - &ref_64 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolCreateType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - name: DiskPoolCreateType - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - protocol: {} - - &ref_67 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: DiskPoolZoneListResultNextLink - description: URI to fetch the next section of the paginated response. - cli: - name: DiskPoolZoneListResultNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_69 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: OutboundEnvironmentEndpointCategory - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - name: OutboundEnvironmentEndpointCategory - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - protocol: {} - - &ref_70 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: EndpointDependencyDomainName - description: The domain name of the dependency. - cli: - name: EndpointDependencyDomainName - description: The domain name of the dependency. - protocol: {} - - &ref_71 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: EndpointDetailIpAddress - description: An IP Address that Domain Name currently resolves to. - cli: - name: EndpointDetailIpAddress - description: An IP Address that Domain Name currently resolves to. - protocol: {} - - &ref_75 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: OutboundEnvironmentEndpointListNextLink - description: Link to next page of resources. - cli: - name: OutboundEnvironmentEndpointListNextLink - description: Link to next page of resources. - protocol: {} - - &ref_29 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AclInitiatorIqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - name: AclInitiatorIqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - protocol: {} - - &ref_30 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: AclMappedLunsItem - description: '' - cli: - name: AclMappedLunsItem - description: '' - protocol: {} - - &ref_31 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiLunName - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - name: IscsiLunName - description: 'User defined name for iSCSI LUN; example: "lun0"' - protocol: {} - - &ref_32 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiLunManagedDiskAzureResourceId - description: Azure Resource ID of the Managed Disk. - cli: - name: IscsiLunManagedDiskAzureResourceId - description: Azure Resource ID of the Managed Disk. - protocol: {} - - &ref_33 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetPropertiesTargetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: IscsiTargetPropertiesTargetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - - &ref_36 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetPropertiesEndpointsItem - description: '' - cli: - name: IscsiTargetPropertiesEndpointsItem - description: '' - protocol: {} - - &ref_79 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetListNextLink - description: URI to fetch the next section of the paginated response. - cli: - name: IscsiTargetListNextLink - description: URI to fetch the next section of the paginated response. - protocol: {} - - &ref_38 - type: string - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: IscsiTargetCreatePropertiesTargetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: IscsiTargetCreatePropertiesTargetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - protocol: {} - choices: - - &ref_34 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - name: Invalid - description: '' - cliKey: Invalid - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Invalid]''' - - value: Succeeded - language: - default: - name: succeeded - description: '' - cli: - name: Succeeded - description: '' - cliKey: Succeeded - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Succeeded]''' - - value: Failed - language: - default: - name: failed - description: '' - cli: - name: Failed - description: '' - cliKey: Failed - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Failed]''' - - value: Canceled - language: - default: - name: canceled - description: '' - cli: - name: Canceled - description: '' - cliKey: Canceled - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Canceled]''' - - value: Pending - language: - default: - name: pending - description: '' - cli: - name: Pending - description: '' - cliKey: Pending - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Pending]''' - - value: Creating - language: - default: - name: creating - description: '' - cli: - name: Creating - description: '' - cliKey: Creating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Creating]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - name: Updating - description: '' - cliKey: Updating - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Updating]''' - - value: Deleting - language: - default: - name: deleting - description: '' - cli: - name: Deleting - description: '' - cliKey: Deleting - cliM4Path: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - cliPath: 'schemas$$choices[''ProvisioningStates'']$$choices[''Deleting]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: ProvisioningStates - description: Provisioning state of the iSCSI Target. - cli: - name: ProvisioningStates - description: Provisioning state of the iSCSI Target. - cliKey: ProvisioningStates - cliM4Path: 'schemas$$choices[''ProvisioningStates'']' - cliPath: 'schemas$$choices[''ProvisioningStates'']' - protocol: {} - - &ref_35 - choices: - - value: Invalid - language: - default: - name: invalid - description: '' - cli: - name: Invalid - description: '' - cliKey: Invalid - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Invalid]''' - - value: Unknown - language: - default: - name: unknown - description: '' - cli: - name: Unknown - description: '' - cliKey: Unknown - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unknown]''' - - value: Healthy - language: - default: - name: healthy - description: '' - cli: - name: Healthy - description: '' - cliKey: Healthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Healthy]''' - - value: Unhealthy - language: - default: - name: unhealthy - description: '' - cli: - name: Unhealthy - description: '' - cliKey: Unhealthy - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Unhealthy]''' - - value: Updating - language: - default: - name: updating - description: '' - cli: - name: Updating - description: '' - cliKey: Updating - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Updating]''' - - value: Running - language: - default: - name: running - description: '' - cli: - name: Running - description: '' - cliKey: Running - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Running]''' - - value: Stopped - language: - default: - name: stopped - description: '' - cli: - name: Stopped - description: '' - cliKey: Stopped - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped]''' - - value: Stopped (deallocated) - language: - default: - name: stopped_deallocated__ - description: '' - cli: - name: StoppedDeallocated_ - description: '' - cliKey: Stopped (deallocated) - cliM4Path: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - cliPath: 'schemas$$choices[''OperationalStatus'']$$choices[''Stopped (deallocated)]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: OperationalStatus - description: Operational status of the resource. - cli: - name: OperationalStatus - description: Operational status of the resource. - cliKey: OperationalStatus - cliM4Path: 'schemas$$choices[''OperationalStatus'']' - cliPath: 'schemas$$choices[''OperationalStatus'']' - protocol: {} - - &ref_24 - choices: - - value: User - language: - default: - name: user - description: '' - cli: - name: User - description: '' - cliKey: User - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''User]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''User]''' - - value: Application - language: - default: - name: application - description: '' - cli: - name: Application - description: '' - cliKey: Application - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''Application]''' - - value: ManagedIdentity - language: - default: - name: managed_identity - description: '' - cli: - name: ManagedIdentity - description: '' - cliKey: ManagedIdentity - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''ManagedIdentity]''' - - value: Key - language: - default: - name: key - description: '' - cli: - name: Key - description: '' - cliKey: Key - cliM4Path: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - cliPath: 'schemas$$choices[''createdByType'']$$choices[''Key]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: CreatedByType - description: The type of identity that created the resource. - cli: - name: CreatedByType - description: The type of identity that created the resource. - cliKey: createdByType - cliM4Path: 'schemas$$choices[''createdByType'']' - cliPath: 'schemas$$choices[''createdByType'']' - protocol: {} - - &ref_28 - choices: - - value: Dynamic - language: - default: - name: dynamic - description: '' - cli: - name: Dynamic - description: '' - cliKey: Dynamic - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Dynamic]''' - - value: Static - language: - default: - name: static - description: '' - cli: - name: Static - description: '' - cliKey: Static - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - cliPath: 'schemas$$choices[''IscsiTargetAclMode'']$$choices[''Static]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: IscsiTargetAclMode - description: ACL mode for iSCSI Target. - cli: - name: IscsiTargetAclMode - description: ACL mode for iSCSI Target. - cliKey: IscsiTargetAclMode - cliM4Path: 'schemas$$choices[''IscsiTargetAclMode'']' - cliPath: 'schemas$$choices[''IscsiTargetAclMode'']' - protocol: {} - - choices: - - value: Basic - language: - default: - name: basic - description: '' - cli: - name: Basic - description: '' - cliKey: Basic - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Basic]''' - - value: Standard - language: - default: - name: standard - description: '' - cli: - name: Standard - description: '' - cliKey: Standard - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Standard]''' - - value: Premium - language: - default: - name: premium - description: '' - cli: - name: Premium - description: '' - cliKey: Premium - cliM4Path: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - cliPath: 'schemas$$choices[''DiskPoolTier'']$$choices[''Premium]''' - type: choice - apiVersions: - - version: 2021-04-01-preview - choiceType: *ref_0 - language: - default: - name: DiskPoolTier - description: SKU of the VM host part of the Disk Pool deployment - cli: - name: DiskPoolTier - description: SKU of the VM host part of the Disk Pool deployment - cliKey: DiskPoolTier - cliM4Path: 'schemas$$choices[''DiskPoolTier'']' - cliPath: 'schemas$$choices[''DiskPoolTier'']' - protocol: {} - constants: - - &ref_107 - type: constant - value: - value: 2021-04-01-preview - valueType: *ref_0 - language: - default: - name: api_version2021_04_01_preview - description: Api Version (2021-04-01-preview) - cli: - name: ApiVersion20210401Preview - description: Api Version (2021-04-01-preview) - protocol: {} - - &ref_110 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: accept - description: 'Accept: application/json' - cli: - name: Accept - description: 'Accept: application/json' - protocol: {} - - &ref_117 - type: constant - value: - value: application/json - valueType: *ref_0 - language: - default: - name: application_json - description: Content Type 'application/json' - cli: - name: ApplicationJson - description: Content Type 'application/json' - protocol: {} - dictionaries: - - &ref_48 - type: dictionary - elementType: *ref_1 - language: - default: - name: TrackedResourceTags - description: Resource tags. - cli: - name: TrackedResourceTags - description: Resource tags. - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_60 - type: dictionary - elementType: *ref_1 - language: - default: - name: DiskPoolCreateTags - description: Resource tags. - cli: - name: DiskPoolCreateTags - description: Resource tags. - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - - &ref_66 - type: dictionary - elementType: *ref_1 - language: - default: - name: DiskPoolUpdateTags - description: Resource tags. - cli: - name: DiskPoolUpdateTags - description: Resource tags. - cli-complexity: dictionary_simple - cli-mark: checked - protocol: {} - any: - - &ref_18 - type: any - language: - default: - name: any - description: Any object - protocol: {} - dateTimes: - - &ref_25 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_created_at - description: The timestamp of resource creation (UTC). - protocol: {} - - &ref_27 - type: date-time - format: date-time - apiVersions: - - version: 2021-04-01-preview - language: - default: - name: system_metadata_last_modified_at - description: The type of identity that last modified the resource. - protocol: {} - objects: - - &ref_111 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_80 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_11 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_2 - required: true - serializedName: name - language: - default: - name: name - description: The name of the operation being performed on this particular object - cli: - name: name - description: The name of the operation being performed on this particular object - cliKey: name - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''name'']' - protocol: {} - - schema: *ref_3 - required: true - serializedName: isDataAction - language: - default: - name: is_data_action - description: Indicates whether the operation applies to data-plane. - cli: - name: isDataAction - description: Indicates whether the operation applies to data-plane. - cliKey: isDataAction - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''isDataAction'']' - protocol: {} - - schema: *ref_4 - required: false - serializedName: actionType - language: - default: - name: action_type - description: Indicates the action type. - cli: - name: actionType - description: Indicates the action type. - cliKey: actionType - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''actionType'']' - protocol: {} - - schema: &ref_12 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_5 - required: true - serializedName: provider - language: - default: - name: provider - description: Localized friendly form of the resource provider name. - cli: - name: provider - description: Localized friendly form of the resource provider name. - cliKey: provider - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''provider'']' - protocol: {} - - schema: *ref_6 - required: true - serializedName: resource - language: - default: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cli: - name: resource - description: Localized friendly form of the resource type related to this action/operation. - cliKey: resource - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''resource'']' - protocol: {} - - schema: *ref_7 - required: true - serializedName: operation - language: - default: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cli: - name: operation - description: 'Localized friendly name for the operation, as it should be shown to the user.' - cliKey: operation - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''operation'']' - protocol: {} - - schema: *ref_8 - required: true - serializedName: description - language: - default: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cli: - name: description - description: 'Localized friendly description for the operation, as it should be shown to the user.' - cliKey: description - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']$$properties[''description'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolOperationDisplay - description: Metadata about an operation. - namespace: '' - cli: - name: StoragePoolOperationDisplay - description: Metadata about an operation. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: StoragePoolOperationDisplay - cliM4Path: 'schemas$$objects[''StoragePoolOperationDisplay'']' - cliPath: 'schemas$$objects[''StoragePoolOperationDisplay'']' - protocol: {} - required: true - serializedName: display - language: - default: - name: display - description: Additional metadata about RP operation. - cli: - name: display - description: Additional metadata about RP operation. - cliKey: display - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''display'']' - protocol: {} - - schema: *ref_9 - required: false - serializedName: origin - language: - default: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cli: - name: origin - description: The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. - cliKey: origin - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']$$properties[''origin'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolRPOperation - description: Description of a StoragePool RP Operation - namespace: '' - cli: - name: StoragePoolRPOperation - description: Description of a StoragePool RP Operation - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 8 - propertyCountIfSimplifyWithoutSimpleObject: 5 - simplifiable: true - cliKey: StoragePoolRPOperation - cliM4Path: 'schemas$$objects[''StoragePoolRPOperation'']' - cliPath: 'schemas$$objects[''StoragePoolRPOperation'']' - protocol: {} - language: - default: - name: StoragePoolOperationListResultValue - description: An array of operations supported by the StoragePool RP. - cli: - name: StoragePoolOperationListResultValue - description: An array of operations supported by the StoragePool RP. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of operations supported by the StoragePool RP. - cli: - name: value - description: An array of operations supported by the StoragePool RP. - cliKey: value - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_10 - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - name: nextLink - description: URI to fetch the next section of the paginated response. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: StoragePoolOperationListResult - description: List of operations supported by the RP. - namespace: '' - cli: - name: StoragePoolOperationListResult - description: List of operations supported by the RP. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: StoragePoolOperationListResult - cliM4Path: 'schemas$$objects[''StoragePoolOperationListResult'']' - cliPath: 'schemas$$objects[''StoragePoolOperationListResult'']' - protocol: {} - - *ref_11 - - *ref_12 - - &ref_112 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_16 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_13 - readOnly: true - serializedName: code - language: - default: - name: code - description: The error code. - cli: - name: code - description: The error code. - cliKey: code - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''code'']' - protocol: {} - - schema: *ref_14 - readOnly: true - serializedName: message - language: - default: - name: message - description: The error message. - cli: - name: message - description: The error message. - cliKey: message - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''message'']' - protocol: {} - - schema: *ref_15 - readOnly: true - serializedName: target - language: - default: - name: target - description: The error target. - cli: - name: target - description: The error target. - cliKey: target - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''target'']' - protocol: {} - - schema: &ref_81 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_16 - language: - default: - name: ErrorResponseDetails - description: The error details. - cli: - name: ErrorResponseDetails - description: The error details. - cli-complexity: array_complex - cli-in-circle: true - cli-mark: checked - protocol: {} - readOnly: true - serializedName: details - language: - default: - name: details - description: The error details. - cli: - name: details - description: The error details. - cliKey: details - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''details'']' - protocol: {} - - schema: &ref_82 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_19 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_17 - readOnly: true - serializedName: type - language: - default: - name: type - description: The additional info type. - cli: - name: type - description: The additional info type. - cliKey: type - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''type'']' - protocol: {} - - schema: *ref_18 - readOnly: true - serializedName: info - language: - default: - name: info - description: The additional info. - cli: - name: info - description: The additional info. - cliKey: info - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']$$properties[''info'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: ErrorAdditionalInfo - description: The resource management error additional info. - namespace: '' - cli: - name: ErrorAdditionalInfo - description: The resource management error additional info. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorAdditionalInfo - cliM4Path: 'schemas$$objects[''ErrorAdditionalInfo'']' - cliPath: 'schemas$$objects[''ErrorAdditionalInfo'']' - protocol: {} - language: - default: - name: ErrorResponseAdditionalInfo - description: The error additional info. - cli: - name: ErrorResponseAdditionalInfo - description: The error additional info. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - readOnly: true - serializedName: additionalInfo - language: - default: - name: additional_info - description: The error additional info. - cli: - name: additionalInfo - description: The error additional info. - cliKey: additionalInfo - cliM4Path: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - cliPath: 'schemas$$objects[''ErrorResponse'']$$properties[''additionalInfo'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: ErrorResponse - description: The resource management error response. - namespace: '' - cli: - name: ErrorResponse - description: The resource management error response. - cli-complexity: object_complex - cli-in-circle: true - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ErrorResponse - cliM4Path: 'schemas$$objects[''ErrorResponse'']' - cliPath: 'schemas$$objects[''ErrorResponse'']' - protocol: {} - serializedName: error - language: - default: - name: error - description: RP error response. - cli: - name: error - description: RP error response. - cliKey: error - cliM4Path: 'schemas$$objects[''Error'']$$properties[''error'']' - cliPath: 'schemas$$objects[''Error'']$$properties[''error'']' - protocol: {} - serializationFormats: - - json - usage: - - exception - language: - default: - name: Error - description: The resource management error response. - namespace: '' - cli: - name: Error - description: The resource management error response. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Error - cliM4Path: 'schemas$$objects[''Error'']' - cliPath: 'schemas$$objects[''Error'']' - protocol: {} - - *ref_16 - - *ref_19 - - &ref_114 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_86 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_20 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - &ref_21 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_20 - immediate: - - *ref_20 - parents: - all: - - &ref_22 - type: object - apiVersions: - - version: 2021-04-01-preview - children: - all: - - *ref_21 - - *ref_20 - - &ref_41 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - schema: &ref_50 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_23 - serializedName: createdBy - language: - default: - name: created_by - description: The identity that created the resource. - cli: - name: createdBy - description: The identity that created the resource. - cliKey: createdBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdBy'']' - protocol: {} - - schema: *ref_24 - serializedName: createdByType - language: - default: - name: created_by_type - description: The type of identity that created the resource. - cli: - name: createdByType - description: The type of identity that created the resource. - cliKey: createdByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdByType'']' - protocol: {} - - schema: *ref_25 - serializedName: createdAt - language: - default: - name: created_at - description: The timestamp of resource creation (UTC). - cli: - name: createdAt - description: The timestamp of resource creation (UTC). - cliKey: createdAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''createdAt'']' - protocol: {} - - schema: *ref_26 - serializedName: lastModifiedBy - language: - default: - name: last_modified_by - description: The identity that last modified the resource. - cli: - name: lastModifiedBy - description: The identity that last modified the resource. - cliKey: lastModifiedBy - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedBy'']' - protocol: {} - - schema: *ref_24 - serializedName: lastModifiedByType - language: - default: - name: last_modified_by_type - description: The type of identity that last modified the resource. - cli: - name: lastModifiedByType - description: The type of identity that last modified the resource. - cliKey: lastModifiedByType - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedByType'']' - protocol: {} - - schema: *ref_27 - serializedName: lastModifiedAt - language: - default: - name: last_modified_at - description: The type of identity that last modified the resource. - cli: - name: lastModifiedAt - description: The type of identity that last modified the resource. - cliKey: lastModifiedAt - cliM4Path: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - cliPath: 'schemas$$objects[''SystemMetadata'']$$properties[''lastModifiedAt'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: SystemMetadata - description: Metadata pertaining to creation and last modification of the resource. - namespace: '' - cli: - name: SystemMetadata - description: Metadata pertaining to creation and last modification of the resource. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 6 - propertyCountIfSimplifyWithoutSimpleObject: 6 - simplifiable: true - cliKey: SystemMetadata - cliM4Path: 'schemas$$objects[''SystemMetadata'']' - cliPath: 'schemas$$objects[''SystemMetadata'']' - protocol: {} - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - name: systemData - description: Resource metadata required by ARM RPC - cliKey: systemData - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - name: aclMode - description: Mode for Target connectivity. - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''aclMode'']' - protocol: {} - - schema: &ref_98 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_39 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_29 - required: true - serializedName: initiatorIqn - language: - default: - name: initiator_iqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cli: - name: initiatorIqn - description: 'iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".' - cliKey: initiatorIqn - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - cliPath: 'schemas$$objects[''Acl'']$$properties[''initiatorIqn'']' - protocol: {} - - schema: &ref_97 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_30 - language: - default: - name: AclMappedLuns - description: List of LUN names mapped to the ACL. - cli: - name: AclMappedLuns - description: List of LUN names mapped to the ACL. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - required: true - serializedName: mappedLuns - language: - default: - name: mapped_luns - description: List of LUN names mapped to the ACL. - cli: - name: mappedLuns - description: List of LUN names mapped to the ACL. - cliKey: mappedLuns - cliM4Path: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - cliPath: 'schemas$$objects[''Acl'']$$properties[''mappedLuns'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: Acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - namespace: '' - cli: - name: Acl - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: Acl - cliM4Path: 'schemas$$objects[''Acl'']' - cliPath: 'schemas$$objects[''Acl'']' - protocol: {} - language: - default: - name: IscsiTargetPropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: IscsiTargetPropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''staticAcls'']' - protocol: {} - - schema: &ref_99 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_40 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_31 - required: true - serializedName: name - language: - default: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cli: - name: name - description: 'User defined name for iSCSI LUN; example: "lun0"' - cliKey: name - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''name'']' - protocol: {} - - schema: *ref_32 - required: true - serializedName: managedDiskAzureResourceId - language: - default: - name: managed_disk_azure_resource_id - description: Azure Resource ID of the Managed Disk. - cli: - name: managedDiskAzureResourceId - description: Azure Resource ID of the Managed Disk. - cliKey: managedDiskAzureResourceId - cliM4Path: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - cliPath: 'schemas$$objects[''IscsiLun'']$$properties[''managedDiskAzureResourceId'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: IscsiLun - description: LUN to expose the Azure Managed Disk. - namespace: '' - cli: - name: IscsiLun - description: LUN to expose the Azure Managed Disk. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: IscsiLun - cliM4Path: 'schemas$$objects[''IscsiLun'']' - cliPath: 'schemas$$objects[''IscsiLun'']' - protocol: {} - language: - default: - name: IscsiTargetPropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: IscsiTargetPropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''luns'']' - protocol: {} - - schema: *ref_33 - flattenedNames: - - properties - - targetIqn - required: true - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''targetIqn'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - name: provisioningState - description: State of the operation on the resource. - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''provisioningState'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the iSCSI Target. - cli: - name: status - description: Operational status of the iSCSI Target. - cliKey: status - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''status'']' - protocol: {} - - schema: &ref_100 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_36 - language: - default: - name: IscsiTargetPropertiesEndpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - name: IscsiTargetPropertiesEndpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - endpoints - required: false - serializedName: endpoints - language: - default: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cli: - name: endpoints - description: List of private IPv4 addresses to connect to the iSCSI Target. - cliKey: endpoints - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''endpoints'']' - protocol: {} - - schema: *ref_37 - flattenedNames: - - properties - - port - required: false - serializedName: port - language: - default: - name: port - description: The port used by iSCSI Target portal group. - cli: - name: port - description: The port used by iSCSI Target portal group. - cliKey: port - cliM4Path: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - cliPath: 'schemas$$objects[''IscsiTarget'']$$properties[''port'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: IscsiTarget - description: Response for iSCSI Target requests. - namespace: '' - cli: - name: IscsiTarget - description: Response for iSCSI Target requests. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTarget - cliM4Path: 'schemas$$objects[''IscsiTarget'']' - cliPath: 'schemas$$objects[''IscsiTarget'']' - protocol: {} - - &ref_42 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_186 - schema: *ref_28 - flattenedNames: - - properties - - aclMode - required: true - serializedName: aclMode - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - name: aclMode - description: Mode for Target connectivity. - cliKey: aclMode - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - protocol: {} - - &ref_188 - schema: *ref_38 - flattenedNames: - - properties - - targetIqn - required: false - serializedName: targetIqn - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cliKey: targetIqn - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - protocol: {} - - &ref_189 - schema: &ref_102 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: IscsiTargetCreatePropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: IscsiTargetCreatePropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - required: false - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_190 - schema: &ref_103 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: IscsiTargetCreatePropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: IscsiTargetCreatePropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - required: false - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: IscsiTargetCreate - description: Payload for iSCSI Target create or update requests. - namespace: '' - cli: - name: IscsiTargetCreate - description: Payload for iSCSI Target create or update requests. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetCreate - cliM4Path: 'schemas$$objects[''IscsiTargetCreate'']' - cliPath: 'schemas$$objects[''IscsiTargetCreate'']' - protocol: {} - - &ref_43 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - properties: - - &ref_200 - schema: &ref_104 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_39 - language: - default: - name: IscsiTargetUpdatePropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: IscsiTargetUpdatePropertiesStaticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - staticAcls - serializedName: staticAcls - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliKey: staticAcls - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - protocol: {} - - &ref_202 - schema: &ref_105 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_40 - language: - default: - name: IscsiTargetUpdatePropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: IscsiTargetUpdatePropertiesLuns - description: List of LUNs to be exposed through iSCSI Target. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - luns - serializedName: luns - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliKey: luns - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - cliPath: 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - protocol: {} - serializationFormats: - - json - usage: - - input - - output - language: - default: - name: IscsiTargetUpdate - description: Payload for iSCSI Target update requests. - namespace: '' - cli: - name: IscsiTargetUpdate - description: Payload for iSCSI Target update requests. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetUpdate - cliM4Path: 'schemas$$objects[''IscsiTargetUpdate'']' - cliPath: 'schemas$$objects[''IscsiTargetUpdate'']' - protocol: {} - - &ref_44 - type: object - apiVersions: - - version: 2021-04-01-preview - parents: - all: - - *ref_22 - immediate: - - *ref_22 - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: ProxyResource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - namespace: '' - cli: - name: ProxyResource - description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: ProxyResource - cliM4Path: 'schemas$$objects[''ProxyResource'']' - cliPath: 'schemas$$objects[''ProxyResource'']' - protocol: {} - immediate: - - *ref_21 - - *ref_41 - - *ref_42 - - *ref_43 - - *ref_44 - properties: - - schema: *ref_45 - readOnly: true - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cliKey: id - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''id'']' - cliPath: 'schemas$$objects[''Resource'']$$properties[''id'']' - protocol: {} - - schema: *ref_46 - readOnly: true - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - name: name - description: The name of the resource - cliKey: name - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''name'']' - cliPath: 'schemas$$objects[''Resource'']$$properties[''name'']' - protocol: {} - - schema: *ref_47 - readOnly: true - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cliKey: type - cliM4Path: 'schemas$$objects[''Resource'']$$properties[''type'']' - cliPath: 'schemas$$objects[''Resource'']$$properties[''type'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: Resource - description: ARM resource model definition. - namespace: '' - cli: - name: Resource - description: ARM resource model definition. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 0 - propertyCountIfSimplifyWithoutSimpleObject: 0 - simplifiable: true - cliKey: Resource - cliM4Path: 'schemas$$objects[''Resource'']' - cliPath: 'schemas$$objects[''Resource'']' - protocol: {} - immediate: - - *ref_22 - properties: - - schema: *ref_48 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliKey: tags - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''tags'']' - protocol: {} - - schema: *ref_49 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - name: location - description: The geo-location where the resource lives. - cliKey: location - cliM4Path: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - cliPath: 'schemas$$objects[''TrackedResource'']$$properties[''location'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: TrackedResource - description: The resource model definition for a ARM tracked top level resource. - namespace: '' - cli: - name: TrackedResource - description: The resource model definition for a ARM tracked top level resource. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: TrackedResource - cliM4Path: 'schemas$$objects[''TrackedResource'']' - cliPath: 'schemas$$objects[''TrackedResource'']' - protocol: {} - - *ref_22 - immediate: - - *ref_21 - properties: - - schema: *ref_50 - readOnly: true - required: false - serializedName: systemData - language: - default: - name: system_data - description: Resource metadata required by ARM RPC - cli: - name: systemData - description: Resource metadata required by ARM RPC - cliKey: systemData - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''systemData'']' - protocol: {} - - schema: *ref_34 - flattenedNames: - - properties - - provisioningState - readOnly: true - required: true - serializedName: provisioningState - language: - default: - name: provisioning_state - description: State of the operation on the resource. - cli: - name: provisioningState - description: State of the operation on the resource. - cliKey: provisioningState - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''provisioningState'']' - protocol: {} - - schema: &ref_83 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: DiskPoolPropertiesAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: DiskPoolPropertiesAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: true - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''availabilityZones'']' - protocol: {} - - schema: *ref_35 - flattenedNames: - - properties - - status - required: true - serializedName: status - language: - default: - name: status - description: Operational status of the Disk Pool. - cli: - name: status - description: Operational status of the Disk Pool. - cliKey: status - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''status'']' - protocol: {} - - schema: &ref_84 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_58 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_52 - required: true - serializedName: id - language: - default: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cli: - name: id - description: Unique Azure Resource ID of the Managed Disk. - cliKey: id - cliM4Path: 'schemas$$objects[''Disk'']$$properties[''id'']' - cliPath: 'schemas$$objects[''Disk'']$$properties[''id'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: Disk - description: Azure Managed Disk to attach to the Disk Pool. - namespace: '' - cli: - name: Disk - description: Azure Managed Disk to attach to the Disk Pool. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 1 - propertyCountIfSimplifyWithoutSimpleObject: 1 - simplifiable: true - cliKey: Disk - cliM4Path: 'schemas$$objects[''Disk'']' - cliPath: 'schemas$$objects[''Disk'']' - protocol: {} - language: - default: - name: DiskPoolPropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: DiskPoolPropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''disks'']' - protocol: {} - - schema: *ref_53 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''subnetId'']' - protocol: {} - - schema: &ref_85 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: DiskPoolPropertiesAdditionalCapabilities - description: List of additional capabilities for Disk Pool. - cli: - name: DiskPoolPropertiesAdditionalCapabilities - description: List of additional capabilities for Disk Pool. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for Disk Pool. - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_55 - flattenedNames: - - sku - - name - required: false - serializedName: name - language: - default: - name: name_sku_name - description: Sku name - cli: - name: nameSkuName - description: Sku name - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - flattenedNames: - - sku - - tier - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - name: tier - description: Sku tier - cliKey: tier - cliM4Path: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - cliPath: 'schemas$$objects[''DiskPool'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - language: - default: - name: DiskPool - description: Response for Disk Pool request. - namespace: '' - cli: - name: DiskPool - description: Response for Disk Pool request. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPool - cliM4Path: 'schemas$$objects[''DiskPool'']' - cliPath: 'schemas$$objects[''DiskPool'']' - protocol: {} - language: - default: - name: DiskPoolListResultValue - description: An array of Disk pool objects. - cli: - name: DiskPoolListResultValue - description: An array of Disk pool objects. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of Disk pool objects. - cli: - name: value - description: An array of Disk pool objects. - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_57 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - name: nextLink - description: URI to fetch the next section of the paginated response. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''DiskPoolListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolListResult - description: List of Disk Pools - namespace: '' - cli: - name: DiskPoolListResult - description: List of Disk Pools - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolListResult - cliM4Path: 'schemas$$objects[''DiskPoolListResult'']' - cliPath: 'schemas$$objects[''DiskPoolListResult'']' - protocol: {} - - *ref_20 - - &ref_59 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_55 - required: true - serializedName: name - language: - default: - name: name - description: Sku name - cli: - name: name - description: Sku name - cliKey: name - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''name'']' - cliPath: 'schemas$$objects[''Sku'']$$properties[''name'']' - protocol: {} - - schema: *ref_56 - required: false - serializedName: tier - language: - default: - name: tier - description: Sku tier - cli: - name: tier - description: Sku tier - cliKey: tier - cliM4Path: 'schemas$$objects[''Sku'']$$properties[''tier'']' - cliPath: 'schemas$$objects[''Sku'']$$properties[''tier'']' - protocol: {} - serializationFormats: - - json - usage: - - output - - input - extensions: - x-ms-flattened: true - language: - default: - name: Sku - description: Sku for ARM resource - namespace: '' - cli: - name: Sku - description: Sku for ARM resource - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 2 - propertyCountIfSimplifyWithoutSimpleObject: 2 - simplifiable: true - cliKey: Sku - cliM4Path: 'schemas$$objects[''Sku'']' - cliPath: 'schemas$$objects[''Sku'']' - protocol: {} - - *ref_58 - - *ref_50 - - *ref_21 - - *ref_22 - - &ref_118 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_120 - schema: *ref_59 - required: true - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - name: sku - description: Determines the SKU of the Disk Pool - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - protocol: {} - - &ref_122 - schema: *ref_60 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - protocol: {} - - &ref_123 - schema: *ref_61 - required: true - serializedName: location - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - name: location - description: The geo-location where the resource lives. - cliKey: location - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - protocol: {} - - schema: *ref_62 - readOnly: true - required: false - serializedName: id - language: - default: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cli: - name: id - description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' - cliKey: id - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''id'']' - protocol: {} - - schema: *ref_63 - readOnly: true - required: false - serializedName: name - language: - default: - name: name - description: The name of the resource - cli: - name: name - description: The name of the resource - cliKey: name - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''name'']' - protocol: {} - - schema: *ref_64 - readOnly: true - required: false - serializedName: type - language: - default: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cli: - name: type - description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - cliKey: type - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''type'']' - protocol: {} - - &ref_124 - schema: &ref_87 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: DiskPoolCreatePropertiesAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: DiskPoolCreatePropertiesAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - availabilityZones - required: false - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - protocol: {} - - &ref_125 - schema: &ref_88 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: DiskPoolCreatePropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: DiskPoolCreatePropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - required: false - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - protocol: {} - - &ref_126 - schema: *ref_65 - flattenedNames: - - properties - - subnetId - required: true - serializedName: subnetId - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cliKey: subnetId - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - protocol: {} - - &ref_127 - schema: &ref_89 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: DiskPoolCreatePropertiesAdditionalCapabilities - description: List of additional capabilities for a Disk Pool. - cli: - name: DiskPoolCreatePropertiesAdditionalCapabilities - description: List of additional capabilities for a Disk Pool. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - additionalCapabilities - required: false - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for a Disk Pool. - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - protocol: {} - serializationFormats: - - json - usage: - - input - extensions: - x-ms-azure-resource: true - language: - default: - name: DiskPoolCreate - description: Request payload for create or update Disk Pool request. - namespace: '' - cli: - name: DiskPoolCreate - description: Request payload for create or update Disk Pool request. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolCreate - cliM4Path: 'schemas$$objects[''DiskPoolCreate'']' - cliPath: 'schemas$$objects[''DiskPoolCreate'']' - protocol: {} - - &ref_137 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - &ref_139 - schema: *ref_66 - required: false - serializedName: tags - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliKey: tags - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - protocol: {} - - &ref_141 - schema: &ref_90 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_58 - language: - default: - name: DiskPoolUpdatePropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: DiskPoolUpdatePropertiesDisks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - flattenedNames: - - properties - - disks - serializedName: disks - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliKey: disks - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - cliPath: 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - protocol: {} - serializationFormats: - - json - usage: - - input - language: - default: - name: DiskPoolUpdate - description: Request payload for Update Disk Pool request. - namespace: '' - cli: - name: DiskPoolUpdate - description: Request payload for Update Disk Pool request. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolUpdate - cliM4Path: 'schemas$$objects[''DiskPoolUpdate'']' - cliPath: 'schemas$$objects[''DiskPoolUpdate'']' - protocol: {} - - &ref_181 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_93 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_68 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_91 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_51 - language: - default: - name: DiskPoolZoneInfoAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: DiskPoolZoneInfoAvailabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: availabilityZones - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliKey: availabilityZones - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''availabilityZones'']' - protocol: {} - - schema: &ref_92 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_54 - language: - default: - name: DiskPoolZoneInfoAdditionalCapabilities - description: List of additional capabilities for Disk Pool. - cli: - name: DiskPoolZoneInfoAdditionalCapabilities - description: List of additional capabilities for Disk Pool. - cli-complexity: array_simple - cli-mark: checked - protocol: {} - serializedName: additionalCapabilities - language: - default: - name: additional_capabilities - description: List of additional capabilities for Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for Disk Pool. - cliKey: additionalCapabilities - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''additionalCapabilities'']' - protocol: {} - - schema: *ref_59 - serializedName: sku - language: - default: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cli: - name: sku - description: Determines the SKU of VM deployed for Disk Pool - cliKey: sku - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']$$properties[''sku'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolZoneInfo - description: Disk Pool Sku Details - namespace: '' - cli: - name: DiskPoolZoneInfo - description: Disk Pool Sku Details - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneInfo - cliM4Path: 'schemas$$objects[''DiskPoolZoneInfo'']' - cliPath: 'schemas$$objects[''DiskPoolZoneInfo'']' - protocol: {} - language: - default: - name: DiskPoolZoneListResultValue - description: The list of Disk Pool Skus. - cli: - name: DiskPoolZoneListResultValue - description: The list of Disk Pool Skus. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: value - language: - default: - name: value - description: The list of Disk Pool Skus. - cli: - name: value - description: The list of Disk Pool Skus. - cliKey: value - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''value'']' - protocol: {} - - schema: *ref_67 - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - name: nextLink - description: URI to fetch the next section of the paginated response. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: DiskPoolZoneListResult - description: List Disk Pool skus operation response. - namespace: '' - cli: - name: DiskPoolZoneListResult - description: List Disk Pool skus operation response. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: DiskPoolZoneListResult - cliM4Path: 'schemas$$objects[''DiskPoolZoneListResult'']' - cliPath: 'schemas$$objects[''DiskPoolZoneListResult'']' - protocol: {} - - *ref_68 - - &ref_153 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_96 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_76 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_69 - serializedName: category - language: - default: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cli: - name: category - description: 'The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.' - cliKey: category - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''category'']' - protocol: {} - - schema: &ref_95 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_77 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_70 - serializedName: domainName - language: - default: - name: domain_name - description: The domain name of the dependency. - cli: - name: domainName - description: The domain name of the dependency. - cliKey: domainName - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''domainName'']' - protocol: {} - - schema: &ref_94 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: &ref_78 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: *ref_71 - serializedName: ipAddress - language: - default: - name: ip_address - description: An IP Address that Domain Name currently resolves to. - cli: - name: ipAddress - description: An IP Address that Domain Name currently resolves to. - cliKey: ipAddress - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''ipAddress'']' - protocol: {} - - schema: *ref_72 - serializedName: port - language: - default: - name: port - description: The port an endpoint is connected to. - cli: - name: port - description: The port an endpoint is connected to. - cliKey: port - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''port'']' - protocol: {} - - schema: *ref_73 - serializedName: latency - language: - default: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cli: - name: latency - description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port. - cliKey: latency - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''latency'']' - protocol: {} - - schema: *ref_74 - serializedName: isAccessible - language: - default: - name: is_accessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cli: - name: isAccessible - description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port. - cliKey: isAccessible - cliM4Path: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - cliPath: 'schemas$$objects[''EndpointDetail'']$$properties[''isAccessible'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: EndpointDetail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - namespace: '' - cli: - name: EndpointDetail - description: Current TCP connectivity information from the App Service Environment to a single endpoint. - cli-complexity: object_simple - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 4 - propertyCountIfSimplifyWithoutSimpleObject: 4 - simplifiable: true - cliKey: EndpointDetail - cliM4Path: 'schemas$$objects[''EndpointDetail'']' - cliPath: 'schemas$$objects[''EndpointDetail'']' - protocol: {} - language: - default: - name: EndpointDependencyEndpointDetails - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - name: EndpointDependencyEndpointDetails - description: The IP Addresses and Ports used when connecting to DomainName. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpointDetails - language: - default: - name: endpoint_details - description: The IP Addresses and Ports used when connecting to DomainName. - cli: - name: endpointDetails - description: The IP Addresses and Ports used when connecting to DomainName. - cliKey: endpointDetails - cliM4Path: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - cliPath: 'schemas$$objects[''EndpointDependency'']$$properties[''endpointDetails'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: EndpointDependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - namespace: '' - cli: - name: EndpointDependency - description: 'A domain name that a service is reached at, including details of the current connection status.' - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: EndpointDependency - cliM4Path: 'schemas$$objects[''EndpointDependency'']' - cliPath: 'schemas$$objects[''EndpointDependency'']' - protocol: {} - language: - default: - name: OutboundEnvironmentEndpointEndpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - name: OutboundEnvironmentEndpointEndpoints - description: The endpoints that the App Service Environment reaches the service at. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - serializedName: endpoints - language: - default: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cli: - name: endpoints - description: The endpoints that the App Service Environment reaches the service at. - cliKey: endpoints - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']$$properties[''endpoints'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: OutboundEnvironmentEndpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - namespace: '' - cli: - name: OutboundEnvironmentEndpoint - description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpoint - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpoint'']' - protocol: {} - language: - default: - name: OutboundEnvironmentEndpointListValue - description: Collection of resources. - cli: - name: OutboundEnvironmentEndpointListValue - description: Collection of resources. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: Collection of resources. - cli: - name: value - description: Collection of resources. - cliKey: value - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''value'']' - protocol: {} - - schema: *ref_75 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: Link to next page of resources. - cli: - name: nextLink - description: Link to next page of resources. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: OutboundEnvironmentEndpointList - description: Collection of Outbound Environment Endpoints - namespace: '' - cli: - name: OutboundEnvironmentEndpointList - description: Collection of Outbound Environment Endpoints - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: OutboundEnvironmentEndpointList - cliM4Path: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - cliPath: 'schemas$$objects[''OutboundEnvironmentEndpointList'']' - protocol: {} - - *ref_76 - - *ref_77 - - *ref_78 - - &ref_184 - type: object - apiVersions: - - version: 2021-04-01-preview - properties: - - schema: &ref_101 - type: array - apiVersions: - - version: 2021-04-01-preview - elementType: *ref_41 - language: - default: - name: IscsiTargetListValue - description: An array of iSCSI Targets in a Disk Pool. - cli: - name: IscsiTargetListValue - description: An array of iSCSI Targets in a Disk Pool. - cli-complexity: array_complex - cli-mark: checked - protocol: {} - required: true - serializedName: value - language: - default: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cli: - name: value - description: An array of iSCSI Targets in a Disk Pool. - cliKey: value - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''value'']' - protocol: {} - - schema: *ref_79 - readOnly: true - required: false - serializedName: nextLink - language: - default: - name: next_link - description: URI to fetch the next section of the paginated response. - cli: - name: nextLink - description: URI to fetch the next section of the paginated response. - cliKey: nextLink - cliM4Path: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - cliPath: 'schemas$$objects[''IscsiTargetList'']$$properties[''nextLink'']' - protocol: {} - serializationFormats: - - json - usage: - - output - language: - default: - name: IscsiTargetList - description: List of iSCSI Targets. - namespace: '' - cli: - name: IscsiTargetList - description: List of iSCSI Targets. - cli-complexity: object_complex - cli-mark: checked - cli-simplify-indicator: - propertyCountIfSimplify: 10000 - propertyCountIfSimplifyWithoutSimpleObject: 10000 - simplifiable: false - cliKey: IscsiTargetList - cliM4Path: 'schemas$$objects[''IscsiTargetList'']' - cliPath: 'schemas$$objects[''IscsiTargetList'']' - protocol: {} - - *ref_41 - - *ref_39 - - *ref_40 - - *ref_42 - - *ref_43 - - *ref_44 - arrays: - - *ref_80 - - *ref_81 - - *ref_82 - - *ref_83 - - *ref_84 - - *ref_85 - - *ref_86 - - *ref_87 - - *ref_88 - - *ref_89 - - *ref_90 - - *ref_91 - - *ref_92 - - *ref_93 - - *ref_94 - - *ref_95 - - *ref_96 - - *ref_97 - - *ref_98 - - *ref_99 - - *ref_100 - - *ref_101 - - *ref_102 - - *ref_103 - - *ref_104 - - *ref_105 -globalParameters: - - &ref_113 - schema: *ref_106 - implementation: Client - required: true - extensions: - x-ms-priority: 0 - language: - default: - name: subscription_id - description: The ID of the target subscription. - serializedName: subscriptionId - cli: - name: subscriptionId - description: The ID of the target subscription. - cliKey: subscriptionId - cliM4Path: 'globalParameters[''subscriptionId'']' - cliPath: 'globalParameters[''subscriptionId'']' - protocol: - http: - in: path - - &ref_108 - schema: *ref_0 - clientDefaultValue: 'https://management.azure.com' - implementation: Client - origin: 'modelerfour:synthesized/host' - required: true - extensions: - x-ms-skip-url-encoding: true - language: - default: - name: $host - description: server parameter - serializedName: $host - cli: - name: $host - description: server parameter - cliKey: $host - cliM4Path: 'globalParameters[''$host'']' - cliPath: 'globalParameters[''$host'']' - protocol: - http: - in: uri - - &ref_109 - schema: *ref_107 - implementation: Client - origin: 'modelerfour:synthesized/api-version' - required: true - language: - default: - name: api_version - description: Api Version - serializedName: api-version - cli: - name: ApiVersion - description: Api Version - cliKey: ApiVersion - cliM4Path: 'globalParameters[''ApiVersion'']' - cliPath: 'globalParameters[''ApiVersion'']' - protocol: - http: - in: query -operationGroups: - - $key: Operations - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''Operations'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: /providers/Microsoft.StoragePool/operations - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_111 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List operations: - parameters: - api-version: 2021-04-01-preview - responses: - '200': - body: - value: - - name: Microsoft.StoragePool/diskPools/read - display: - description: Read Disk Pool - operation: Read Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/write - display: - description: Create or Update Disk Pool - operation: Create or Update Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Disk Pool - isDataAction: true - - name: Microsoft.StoragePool/diskPools/delete - display: - description: Delete Disk Pool - operation: Delete Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: true - - name: Microsoft.StoragePool/diskPools/start/action - display: - description: Start Disk Pool - operation: Start Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/deallocate/action - display: - description: Deallocate Disk Pool - operation: Deallocate Microsoft.StoragePool/diskPools - provider: Microsoft.StoragePool - resource: Microsoft.StoragePool/diskPools - isDataAction: false - - name: Microsoft.StoragePool/diskPools/iscsiTargets/read - display: - description: Read iSCSI targets - operation: Read Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/write - display: - description: Create or Update iSCSI targets - operation: Create or Update Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - - name: Microsoft.StoragePool/diskPools/iscsiTargets/delete - display: - description: Delete iSCSI targets - operation: Delete Microsoft.StoragePool/diskPools/iscsiTargets - provider: Microsoft.StoragePool - resource: iSCSI targets - isDataAction: true - x-ms-pageable: - nextLinkName: null - language: - default: - name: list - description: Gets a list of StoragePool operations. - paging: - nextLinkName: null - cli: - name: List - description: Gets a list of StoragePool operations. - cliKey: List - cliM4Path: 'operationGroups[''Operations'']$$operations[''List'']' - cliPath: 'operationGroups[''Operations'']$$operations[''List'']' - hidden: true - protocol: {} - language: - default: - name: Operation - description: '' - cli: - name: Operation - description: '' - cliKey: Operations - cliM4Path: 'operationGroups[''Operations'']' - cliPath: 'operationGroups[''Operations'']' - protocol: {} - - $key: DiskPools - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: [] - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by subscription: - parameters: - api-version: 2021-04-01-preview - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_subscription - description: Gets a list of Disk Pools in a subscription - paging: - nextLinkName: nextLink - cli: - name: ListBySubscription - description: Gets a list of Disk Pools in a subscription - cliKey: ListBySubscription - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListBySubscription'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_116 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools' - method: get - uri: '{$host}' - signatureParameters: - - *ref_116 - responses: - - schema: *ref_114 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools: - parameters: - api-version: 2021-04-01-preview - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - - name: myDiskPool2 - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool2 - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_resource_group - description: Gets a list of DiskPools in a resource group. - paging: - nextLinkName: nextLink - cli: - name: ListByResourceGroup - description: Gets a list of DiskPools in a resource group. - cliKey: ListByResourceGroup - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListByResourceGroup'']' - protocol: {} - - &ref_177 - apiVersions: &ref_158 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_135 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_159 - in: path - - &ref_136 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_160 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_161 - in: header - - &ref_119 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_128 - schema: *ref_59 - implementation: Method - originalParameter: *ref_119 - pathToProperty: &ref_121 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - name: sku - description: Determines the SKU of the Disk Pool - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''sku'']' - protocol: {} - - &ref_129 - schema: *ref_60 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''tags'']' - protocol: {} - - &ref_130 - schema: *ref_61 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - name: location - description: The geo-location where the resource lives. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''location'']' - protocol: {} - - &ref_131 - schema: *ref_87 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''availabilityZones'']' - protocol: {} - - &ref_132 - schema: *ref_88 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''disks'']' - positional: true - positionalKeys: &ref_142 - - id - protocol: {} - - &ref_133 - schema: *ref_65 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''subnetId'']' - protocol: {} - - &ref_134 - schema: *ref_89 - implementation: Method - originalParameter: *ref_119 - pathToProperty: *ref_121 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for a Disk Pool. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''additionalCapabilities'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_164 - in: header - signatureParameters: - - *ref_128 - - *ref_129 - - *ref_130 - - *ref_131 - - *ref_132 - - *ref_133 - - *ref_134 - language: - default: - name: '' - description: '' - protocol: - http: &ref_172 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_135 - - *ref_136 - responses: &ref_175 - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_176 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_178 - Create or Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolCreatePayload: - location: westus - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_V0 - tier: Basic - tags: - key: value - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '201': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_179 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update Disk pool. - cli: - name: CreateOrUpdate - description: Create or Update Disk pool. - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate'']' - split-operation-names: &ref_198 - - Create - - Update - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_145 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_146 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_138 - schema: *ref_137 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli: - name: disk_pool_update_payload - description: Request payload for Disk Pool update operation. - cli-flatten: true - cli-flattened: true - cliKey: diskPoolUpdatePayload - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_143 - schema: *ref_66 - implementation: Method - originalParameter: *ref_138 - pathToProperty: &ref_140 [] - required: false - targetProperty: *ref_139 - extensions: - cli-flatten-origin: *ref_139 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''tags'']' - cliKey: tags - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''tags'']' - protocol: {} - - &ref_144 - schema: *ref_90 - implementation: Method - originalParameter: *ref_138 - pathToProperty: *ref_140 - targetProperty: *ref_141 - extensions: - cli-flatten-origin: *ref_141 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliFlattenTrace: - - 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''diskPoolUpdatePayload'']' - - 'schemas$$objects[''DiskPoolUpdate'']$$properties[''disks'']' - cliKey: disks - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''disks'']' - positional: true - positionalKeys: *ref_142 - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_143 - - *ref_144 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_145 - - *ref_146 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - diskPoolUpdatePayload: - properties: - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - tags: - key: value - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0 - - id: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - provisioningState: Pending - status: Unknown - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update a Disk pool. - cli: - name: Update - description: Update a Disk pool. - cliKey: Update - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Update'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_147 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_148 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_147 - - *ref_148 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete a Disk pool. - cli: - name: Delete - description: Delete a Disk pool. - cliKey: Delete - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_149 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_150 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_149 - - *ref_150 - responses: - - schema: *ref_20 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myDiskPool - type: Microsoft.StoragePool/diskPools - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool - location: westus2 - properties: - availabilityZones: - - '1' - disks: - - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0 - provisioningState: Succeeded - status: Healthy - subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet - sku: - name: Basic_0 - tier: Basic - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - tags: - env: int - language: - default: - name: get - description: Get a Disk pool. - cli: - name: Get - description: Get a Disk pool. - cliKey: Get - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Get'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Get'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_151 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_152 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints' - method: get - uri: '{$host}' - signatureParameters: - - *ref_151 - - *ref_152 - responses: - - schema: *ref_153 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get Disk Pool outbound network dependencies: - parameters: - api-version: 2021-04-01-preview - diskPoolName: SampleAse - resourceGroupName: Sample-WestUSResourceGroup - subscriptionId: 34adfa4f-cedf-4dc0-ba29-b6d1a69ab345 - responses: - '200': - body: - nextLink: null - value: - - category: Azure Storage - endpoints: - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 42.0469 - port: 80 - - ipAddress: 52.183.104.36 - isAccessible: true - latency: 41.7038 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.326 - port: 80 - - ipAddress: 52.183.104.25 - isAccessible: true - latency: 37.513600000000004 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 32.789 - port: 80 - - ipAddress: 52.183.104.26 - isAccessible: true - latency: 1.8702 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7378 - port: 80 - - ipAddress: 52.183.104.28 - isAccessible: true - latency: 36.7108 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 4.0261000000000005 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.8264 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.8523 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 40.7501 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 1.2071 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 38.2975 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 59.383700000000005 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 60.0775 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.5512 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.6777 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.5204 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.8193 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.2720000000000002 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0147 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2387 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 3.2804 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.025200000000005 - port: 80 - - ipAddress: 13.66.176.16 - isAccessible: true - latency: 43.1683 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.8598 - port: 80 - - ipAddress: 13.66.176.25 - isAccessible: true - latency: 41.9805 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 30.542900000000003 - port: 80 - - ipAddress: 13.66.176.26 - isAccessible: true - latency: 0.9832000000000001 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 35.9562 - port: 80 - - ipAddress: 13.66.176.28 - isAccessible: true - latency: 36.0643 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 3.2829 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.3393 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.4103000000000003 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1032 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1141 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.0247 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.834 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 2.8198000000000003 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.3855000000000002 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 1.0594000000000001 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4717000000000002 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 2.4827 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.395 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 3.1701 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 1.4308 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 22.5866 - port: 443 - - domainName: blob.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.5372 - port: 80 - - ipAddress: 13.77.184.64 - isAccessible: true - latency: 2.4626 - port: 443 - - domainName: queue.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 3.7873 - port: 80 - - ipAddress: 13.77.184.73 - isAccessible: true - latency: 4.1911000000000005 - port: 443 - - domainName: table.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.9162000000000003 - port: 80 - - ipAddress: 13.77.184.74 - isAccessible: true - latency: 2.7896 - port: 443 - - domainName: file.core.windows.net - endpointDetails: - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.723100000000002 - port: 80 - - ipAddress: 13.77.184.76 - isAccessible: true - latency: 26.735200000000003 - port: 443 - - category: Azure SQL Database - endpoints: - - domainName: database.windows.net - endpointDetails: - - ipAddress: 13.66.226.202 - isAccessible: true - latency: 1.5964 - port: 1433 - - category: Azure Management - endpoints: - - domainName: management.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.246 - isAccessible: true - latency: 46.5764 - port: 443 - - domainName: admin.core.windows.net - endpointDetails: - - ipAddress: 23.102.135.247 - isAccessible: true - latency: 47.408 - port: 443 - - domainName: management.azure.com - endpointDetails: - - ipAddress: 52.151.25.45 - isAccessible: true - latency: 3.9529 - port: 443 - - category: Azure Active Directory - endpoints: - - domainName: graph.windows.net - endpointDetails: - - ipAddress: 20.190.133.83 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.81 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 20.190.133.67 - isAccessible: true - latency: 3.2264 - port: 443 - - ipAddress: 40.126.5.34 - isAccessible: true - latency: 3.2264 - port: 443 - - category: Regional Service - endpoints: - - domainName: gr-prod-mwh.cloudapp.net - endpointDetails: - - ipAddress: 13.66.225.188 - isAccessible: true - latency: 3.3826 - port: 443 - - domainName: az-prod.metrics.nsatc.net - endpointDetails: - - ipAddress: 40.77.24.27 - isAccessible: true - latency: 38.5647 - port: 443 - - category: SSL Certificate Verification - endpoints: - - domainName: ocsp.msocsp.com - endpointDetails: - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.25.243 - isAccessible: true - latency: 12.888 - port: 443 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 6.0651 - port: 80 - - ipAddress: 104.18.24.243 - isAccessible: true - latency: 12.888 - port: 443 - - domainName: mscrl.microsoft.com - endpointDetails: - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 6.742900000000001 - port: 80 - - ipAddress: 152.199.4.33 - isAccessible: true - latency: 7.436100000000001 - port: 443 - - domainName: crl.microsoft.com - endpointDetails: - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.10 - isAccessible: true - latency: 25.0085 - port: 443 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.136200000000002 - port: 80 - - ipAddress: 23.215.102.42 - isAccessible: true - latency: 25.0085 - port: 443 - - domainName: www.microsoft.com - endpointDetails: - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 7.9229 - port: 80 - - ipAddress: 23.49.13.56 - isAccessible: true - latency: 8.4871 - port: 443 - - domainName: crl3.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.4074 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.577 - port: 443 - - domainName: ocsp.digicert.com - endpointDetails: - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 6.8989 - port: 80 - - ipAddress: 72.21.91.29 - isAccessible: true - latency: 5.667400000000001 - port: 443 - - domainName: cacerts.digicert.com - endpointDetails: - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.11.39 - isAccessible: true - latency: 10.7705 - port: 443 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.772400000000001 - port: 80 - - ipAddress: 104.18.10.39 - isAccessible: true - latency: 10.7705 - port: 443 - - domainName: www.thawte.com - endpointDetails: - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 54.69.98.161 - isAccessible: true - latency: 48.5362 - port: 443 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 47.532900000000005 - port: 80 - - ipAddress: 35.167.62.148 - isAccessible: true - latency: 48.5362 - port: 443 - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_outbound_network_dependency_endpoint - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - paging: - nextLinkName: nextLink - cli: - name: ListOutboundNetworkDependencyEndpoint - description: Gets the network endpoints of all outbound dependencies of a Disk Pool - cliKey: ListOutboundNetworkDependenciesEndpoints - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''ListOutboundNetworkDependenciesEndpoints'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_154 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_155 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start' - method: post - uri: '{$host}' - signatureParameters: - - *ref_154 - - *ref_155 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Start Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: start - description: The operation to start a Disk Pool. - cli: - name: Start - description: The operation to start a Disk Pool. - cliKey: Start - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Start'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Start'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_156 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_157 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate' - method: post - uri: '{$host}' - signatureParameters: - - *ref_156 - - *ref_157 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Deallocate Disk Pool: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cli: - name: Deallocate - description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. - cliKey: Deallocate - cliM4Path: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - cliPath: 'operationGroups[''DiskPools'']$$operations[''Deallocate'']' - protocol: {} - - apiVersions: *ref_158 - parameters: - - *ref_108 - - *ref_113 - - &ref_173 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$parameters[''resourceGroupName'']' - protocol: - http: *ref_159 - - &ref_174 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$parameters[''diskPoolName'']' - protocol: - http: *ref_160 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: *ref_161 - - &ref_162 - schema: *ref_118 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli: - name: disk_pool_create_payload - description: Request payload for Disk Pool create operation - cli-flatten: true - cli-flattened: true - cliKey: diskPoolCreatePayload - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''diskPoolCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_165 - schema: *ref_59 - implementation: Method - originalParameter: *ref_162 - pathToProperty: &ref_163 [] - required: true - targetProperty: *ref_120 - extensions: - cli-flatten-origin: *ref_120 - cli-flatten-prefix: '' - language: - default: - name: sku - description: Determines the SKU of the Disk Pool - cli: - name: sku - description: Determines the SKU of the Disk Pool - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''sku'']' - cliKey: sku - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''sku'']' - protocol: {} - - &ref_166 - schema: *ref_60 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_122 - extensions: - cli-flatten-origin: *ref_122 - cli-flatten-prefix: '' - language: - default: - name: tags - description: Resource tags. - cli: - name: tags - description: Resource tags. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''tags'']' - cliKey: tags - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''tags'']' - protocol: {} - - &ref_167 - schema: *ref_61 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: true - targetProperty: *ref_123 - extensions: - cli-flatten-origin: *ref_123 - cli-flatten-prefix: '' - language: - default: - name: location - description: The geo-location where the resource lives. - cli: - name: location - description: The geo-location where the resource lives. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''location'']' - cliKey: location - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''location'']' - protocol: {} - - &ref_168 - schema: *ref_87 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_124 - extensions: - cli-flatten-origin: *ref_124 - cli-flatten-prefix: '' - language: - default: - name: availability_zones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cli: - name: availabilityZones - description: 'Logical zone for Disk Pool resource; example: ["1"].' - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''availabilityZones'']' - cliKey: availabilityZones - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''availabilityZones'']' - protocol: {} - - &ref_169 - schema: *ref_88 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_125 - extensions: - cli-flatten-origin: *ref_125 - cli-flatten-prefix: '' - language: - default: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cli: - name: disks - description: List of Azure Managed Disks to attach to a Disk Pool. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''disks'']' - cliKey: disks - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''disks'']' - positional: true - positionalKeys: *ref_142 - protocol: {} - - &ref_170 - schema: *ref_65 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: true - targetProperty: *ref_126 - extensions: - cli-flatten-origin: *ref_126 - cli-flatten-prefix: '' - language: - default: - name: subnet_id - description: Azure Resource ID of a Subnet for the Disk Pool. - cli: - name: subnetId - description: Azure Resource ID of a Subnet for the Disk Pool. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''subnetId'']' - cliKey: subnetId - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''subnetId'']' - protocol: {} - - &ref_171 - schema: *ref_89 - implementation: Method - originalParameter: *ref_162 - pathToProperty: *ref_163 - required: false - targetProperty: *ref_127 - extensions: - cli-flatten-origin: *ref_127 - cli-flatten-prefix: '' - language: - default: - name: additional_capabilities - description: List of additional capabilities for a Disk Pool. - cli: - name: additionalCapabilities - description: List of additional capabilities for a Disk Pool. - cliFlattenTrace: - - 'schemas$$objects[''DiskPoolCreate'']$$properties[''additionalCapabilities'']' - cliKey: additionalCapabilities - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''additionalCapabilities'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''accept'']' - protocol: - http: *ref_164 - signatureParameters: - - *ref_165 - - *ref_166 - - *ref_167 - - *ref_168 - - *ref_169 - - *ref_170 - - *ref_171 - language: - default: - name: '' - description: '' - protocol: - http: *ref_172 - signatureParameters: - - *ref_173 - - *ref_174 - responses: *ref_175 - exceptions: *ref_176 - extensions: - cli-split-operation-original-operation: *ref_177 - x-ms-examples: *ref_178 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_179 - language: - default: - name: create - description: Create Disk pool. - cli: - name: Create - description: Create Disk pool. - cliKey: 'CreateOrUpdate#Create' - cliPath: 'operationGroups[''DiskPools'']$$operations[''CreateOrUpdate#Create'']' - protocol: {} - language: - default: - name: DiskPool - description: '' - cli: - name: DiskPool - description: '' - cliKey: DiskPools - cliM4Path: 'operationGroups[''DiskPools'']' - cliPath: 'operationGroups[''DiskPools'']' - protocol: {} - - $key: DiskPoolZones - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_109 - - *ref_113 - - &ref_180 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: location - description: The location of the resource. - serializedName: location - cli: - name: location - description: The location of the resource. - cliKey: location - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$parameters[''location'']' - protocol: - http: - in: path - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones' - method: get - uri: '{$host}' - signatureParameters: - - *ref_180 - responses: - - schema: *ref_181 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pool Skus: - parameters: - api-version: 2021-04-01-preview - location: eastus - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - value: - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - - '3' - sku: - name: Basic - tier: Basic - - additionalCapabilities: [] - availabilityZones: - - '1' - - '2' - sku: - name: Basic - tier: Basic - nextLink: 'null' - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list - description: Lists available Disk Pool Skus in an Azure location. - paging: - nextLinkName: nextLink - cli: - name: List - description: Lists available Disk Pool Skus in an Azure location. - cliKey: List - cliM4Path: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - cliPath: 'operationGroups[''DiskPoolZones'']$$operations[''List'']' - protocol: {} - language: - default: - name: DiskPoolZone - description: '' - cli: - name: DiskPoolZone - description: '' - cliKey: DiskPoolZones - cliM4Path: 'operationGroups[''DiskPoolZones'']' - cliPath: 'operationGroups[''DiskPoolZones'']' - protocol: {} - - $key: IscsiTargets - operations: - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_182 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_183 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets' - method: get - uri: '{$host}' - signatureParameters: - - *ref_182 - - *ref_183 - responses: - - schema: *ref_184 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - List Disk Pools by Resource Group: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - nextLink: '' - value: - - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - - name: myIscsiTarget2 - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3261' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_2 - port: 3261 - provisioningState: Succeeded - staticAcls: [] - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server2' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-pageable: - nextLinkName: nextLink - language: - default: - name: list_by_disk_pool - description: Get iSCSI Targets in a Disk pool. - paging: - nextLinkName: nextLink - cli: - name: ListByDiskPool - description: Get iSCSI Targets in a Disk pool. - cliKey: ListByDiskPool - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''ListByDiskPool'']' - protocol: {} - - &ref_232 - apiVersions: &ref_214 - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_195 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''resourceGroupName'']' - protocol: - http: &ref_215 - in: path - - &ref_196 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''diskPoolName'']' - protocol: - http: &ref_216 - in: path - - &ref_197 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$parameters[''iscsiTargetName'']' - protocol: - http: &ref_217 - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: &ref_218 - in: header - - &ref_185 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_191 - schema: *ref_28 - implementation: Method - originalParameter: *ref_185 - pathToProperty: &ref_187 [] - required: true - targetProperty: *ref_186 - extensions: - cli-flatten-origin: *ref_186 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - name: aclMode - description: Mode for Target connectivity. - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''aclMode'']' - protocol: {} - - &ref_192 - schema: *ref_38 - implementation: Method - originalParameter: *ref_185 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''targetIqn'']' - protocol: {} - - &ref_193 - schema: *ref_102 - implementation: Method - originalParameter: *ref_185 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''staticAcls'']' - protocol: {} - - &ref_194 - schema: *ref_103 - implementation: Method - originalParameter: *ref_185 - pathToProperty: *ref_187 - required: false - targetProperty: *ref_190 - extensions: - cli-flatten-origin: *ref_190 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''luns'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']$$requests[0]$$parameters[''accept'']' - protocol: - http: &ref_221 - in: header - signatureParameters: - - *ref_191 - - *ref_192 - - *ref_193 - - *ref_194 - language: - default: - name: '' - description: '' - protocol: - http: &ref_226 - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: put - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_195 - - *ref_196 - - *ref_197 - responses: &ref_230 - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '201' - exceptions: &ref_231 - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: &ref_233 - Create or Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetCreatePayload: - properties: - aclMode: Dynamic - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - targetIqn: 'iqn.2005-03.org.iscsi:server1' - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '201': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Dynamic - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - x-ms-long-running-operation: true - x-ms-long-running-operation-options: &ref_234 - final-state-via: azure-async-operation - language: - default: - name: create_or_update - description: Create or Update an iSCSI Target. - cli: - name: CreateOrUpdate - description: Create or Update an iSCSI Target. - cli-operation-splitted: true - cliKey: CreateOrUpdate - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate'']' - split-operation-names: *ref_198 - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_205 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_206 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_207 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: - in: header - - &ref_199 - schema: *ref_43 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli: - name: iscsi_target_update_payload - description: Request payload for iSCSI Target update operation. - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetUpdatePayload - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - protocol: - style: json - http: - in: body - - &ref_203 - schema: *ref_104 - implementation: Method - originalParameter: *ref_199 - pathToProperty: &ref_201 [] - targetProperty: *ref_200 - extensions: - cli-flatten-origin: *ref_200 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''staticAcls'']' - cliKey: staticAcls - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''staticAcls'']' - protocol: {} - - &ref_204 - schema: *ref_105 - implementation: Method - originalParameter: *ref_199 - pathToProperty: *ref_201 - targetProperty: *ref_202 - extensions: - cli-flatten-origin: *ref_202 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliFlattenTrace: - - 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''iscsiTargetUpdatePayload'']' - - 'schemas$$objects[''IscsiTargetUpdate'']$$properties[''luns'']' - cliKey: luns - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''luns'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: - - *ref_203 - - *ref_204 - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: patch - knownMediaType: json - mediaTypes: - - application/json - uri: '{$host}' - signatureParameters: - - *ref_205 - - *ref_206 - - *ref_207 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Update iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - iscsiTargetUpdatePayload: - properties: - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Pending - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Unknown - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - '202': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: update - description: Update an iSCSI Target. - cli: - name: Update - description: Update an iSCSI Target. - cliKey: Update - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Update'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_208 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_209 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_210 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: delete - uri: '{$host}' - signatureParameters: - - *ref_208 - - *ref_209 - - *ref_210 - responses: - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '200' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '202' - - language: - default: - name: '' - description: '' - protocol: - http: - statusCodes: - - '204' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Delete iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': {} - '202': {} - '204': {} - x-ms-long-running-operation: true - x-ms-long-running-operation-options: - final-state-via: azure-async-operation - language: - default: - name: delete - description: Delete an iSCSI Target. - cli: - name: Delete - description: Delete an iSCSI Target. - cliKey: Delete - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Delete'']' - protocol: {} - - apiVersions: - - version: 2021-04-01-preview - parameters: - - *ref_108 - - *ref_113 - - &ref_211 - schema: *ref_115 - implementation: Method - required: true - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''resourceGroupName'']' - protocol: - http: - in: path - - &ref_212 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''diskPoolName'']' - protocol: - http: - in: path - - &ref_213 - schema: *ref_1 - implementation: Method - required: true - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$parameters[''iscsiTargetName'']' - protocol: - http: - in: path - - *ref_109 - requests: - - parameters: - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']$$requests[0]$$parameters[''accept'']' - protocol: - http: - in: header - signatureParameters: [] - language: - default: - name: '' - description: '' - protocol: - http: - path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/iscsiTargets/{iscsiTargetName}' - method: get - uri: '{$host}' - signatureParameters: - - *ref_211 - - *ref_212 - - *ref_213 - responses: - - schema: *ref_41 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - '200' - exceptions: - - schema: *ref_112 - language: - default: - name: '' - description: '' - protocol: - http: - knownMediaType: json - mediaTypes: - - application/json - statusCodes: - - default - extensions: - x-ms-examples: - Get iSCSI Target: - parameters: - api-version: 2021-04-01-preview - diskPoolName: myDiskPool - iscsiTargetName: myIscsiTarget - resourceGroupName: myResourceGroup - subscriptionId: 00000000-0000-0000-0000-000000000000 - responses: - '200': - body: - name: myIscsiTarget - type: Microsoft.StoragePool/diskPools/iscsiTargets - id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool/iscsiTargets/myIscsiTarget - properties: - aclMode: Static - endpoints: - - '10.0.0.1:3260' - luns: - - name: lun0 - managedDiskAzureResourceId: /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1 - port: 3260 - provisioningState: Succeeded - staticAcls: - - initiatorIqn: 'iqn.2005-03.org.iscsi:client' - mappedLuns: - - lun0 - status: Healthy - targetIqn: 'iqn.2005-03.org.iscsi:server1' - systemData: - createdAt: '2020-06-24T06:53:57+00:00' - createdBy: alias - createdByType: User - lastModifiedAt: '2020-06-24T06:53:57+00:00' - lastModifiedBy: alias - lastModifiedByType: User - language: - default: - name: get - description: Get an iSCSI Target. - cli: - name: Get - description: Get an iSCSI Target. - cliKey: Get - cliM4Path: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''Get'']' - protocol: {} - - apiVersions: *ref_214 - parameters: - - *ref_108 - - *ref_113 - - &ref_227 - schema: *ref_115 - implementation: Method - required: true - extensions: {} - language: - default: - name: resource_group_name - description: The name of the resource group. The name is case insensitive. - serializedName: resourceGroupName - cli: - name: resourceGroupName - description: The name of the resource group. The name is case insensitive. - cliKey: resourceGroupName - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''resourceGroupName'']' - protocol: - http: *ref_215 - - &ref_228 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: disk_pool_name - description: The name of the Disk Pool. - serializedName: diskPoolName - cli: - name: diskPoolName - description: The name of the Disk Pool. - cliKey: diskPoolName - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''diskPoolName'']' - protocol: - http: *ref_216 - - &ref_229 - schema: *ref_1 - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_name - description: The name of the iSCSI Target. - serializedName: iscsiTargetName - cli: - name: iscsiTargetName - description: The name of the iSCSI Target. - cliKey: iscsiTargetName - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$parameters[''iscsiTargetName'']' - protocol: - http: *ref_217 - - *ref_109 - requests: - - parameters: - - schema: *ref_117 - implementation: Method - origin: 'modelerfour:synthesized/content-type' - required: true - extensions: {} - language: - default: - name: content_type - description: Body Parameter content-type - serializedName: Content-Type - cli: - name: ContentType - description: Body Parameter content-type - cliKey: content-type - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''content-type'']' - protocol: - http: *ref_218 - - &ref_219 - schema: *ref_42 - flattened: true - implementation: Method - required: true - extensions: {} - language: - default: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli: - name: iscsi_target_create_payload - description: Request payload for iSCSI Target create operation. - cli-flatten: true - cli-flattened: true - cliKey: iscsiTargetCreatePayload - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''iscsiTargetCreatePayload'']' - protocol: - style: json - http: - in: body - - &ref_222 - schema: *ref_28 - implementation: Method - originalParameter: *ref_219 - pathToProperty: &ref_220 [] - required: true - targetProperty: *ref_186 - extensions: - cli-flatten-origin: *ref_186 - cli-flatten-prefix: '' - language: - default: - name: acl_mode - description: Mode for Target connectivity. - cli: - name: aclMode - description: Mode for Target connectivity. - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''aclMode'']' - cliKey: aclMode - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''aclMode'']' - protocol: {} - - &ref_223 - schema: *ref_38 - implementation: Method - originalParameter: *ref_219 - pathToProperty: *ref_220 - required: false - targetProperty: *ref_188 - extensions: - cli-flatten-origin: *ref_188 - cli-flatten-prefix: '' - language: - default: - name: target_iqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cli: - name: targetIqn - description: 'iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".' - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''targetIqn'']' - cliKey: targetIqn - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''targetIqn'']' - protocol: {} - - &ref_224 - schema: *ref_102 - implementation: Method - originalParameter: *ref_219 - pathToProperty: *ref_220 - required: false - targetProperty: *ref_189 - extensions: - cli-flatten-origin: *ref_189 - cli-flatten-prefix: '' - language: - default: - name: static_acls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cli: - name: staticAcls - description: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''staticAcls'']' - cliKey: staticAcls - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''staticAcls'']' - protocol: {} - - &ref_225 - schema: *ref_103 - implementation: Method - originalParameter: *ref_219 - pathToProperty: *ref_220 - required: false - targetProperty: *ref_190 - extensions: - cli-flatten-origin: *ref_190 - cli-flatten-prefix: '' - language: - default: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cli: - name: luns - description: List of LUNs to be exposed through iSCSI Target. - cliFlattenTrace: - - 'schemas$$objects[''IscsiTargetCreate'']$$properties[''luns'']' - cliKey: luns - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''luns'']' - protocol: {} - - schema: *ref_110 - implementation: Method - origin: 'modelerfour:synthesized/accept' - required: true - extensions: {} - language: - default: - name: accept - description: Accept header - serializedName: Accept - cli: - name: Accept - description: Accept header - cliKey: accept - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']$$requests[0]$$parameters[''accept'']' - protocol: - http: *ref_221 - signatureParameters: - - *ref_222 - - *ref_223 - - *ref_224 - - *ref_225 - language: - default: - name: '' - description: '' - protocol: - http: *ref_226 - signatureParameters: - - *ref_227 - - *ref_228 - - *ref_229 - responses: *ref_230 - exceptions: *ref_231 - extensions: - cli-split-operation-original-operation: *ref_232 - x-ms-examples: *ref_233 - x-ms-long-running-operation: true - x-ms-long-running-operation-options: *ref_234 - language: - default: - name: create - description: Create an iSCSI Target. - cli: - name: Create - description: Create an iSCSI Target. - cliKey: 'CreateOrUpdate#Create' - cliPath: 'operationGroups[''IscsiTargets'']$$operations[''CreateOrUpdate#Create'']' - protocol: {} - language: - default: - name: IscsiTarget - description: '' - cli: - name: IscsiTarget - description: '' - cliKey: IscsiTargets - cliM4Path: 'operationGroups[''IscsiTargets'']' - cliPath: 'operationGroups[''IscsiTargets'']' - protocol: {} -security: - authenticationRequired: true -test-scenario: - - name: /DiskPools/put/Createxxx -language: - default: - name: StoragePoolManagement - description: '' - cli: - name: StoragePoolManagement - description: '' -protocol: - http: {} diff --git a/src/diskpool/_az_debug/clicommon-flatten-object-map.txt b/src/diskpool/_az_debug/clicommon-flatten-object-map.txt deleted file mode 100644 index 30358832e78..00000000000 --- a/src/diskpool/_az_debug/clicommon-flatten-object-map.txt +++ /dev/null @@ -1,28 +0,0 @@ -storage_pool_operation_list_result<2> -storage_pool_RP_operation<5>(display:storage_pool_operation_display) -storage_pool_operation_display<4> -error<1>(error:error_response) -error_response<5> -error_additional_info<2> -disk_pool_list_result<2> -disk_pool<9>(system_data:system_metadata) -sku<2> -disk<1> -system_metadata<6> -tracked_resource<2> -resource<3> -disk_pool_create<10>(sku:sku) -disk_pool_update<2> -disk_pool_zone_list_result<2> -disk_pool_zone_info<3>(sku:sku) -outbound_environment_endpoint_list<2> -outbound_environment_endpoint<2> -endpoint_dependency<2> -endpoint_detail<4> -iscsi_target_list<2> -iscsi_target<9>(system_data:system_metadata) -acl<2> -iscsi_lun<2> -iscsi_target_create<4> -iscsi_target_update<2> -proxy_resource<0> \ No newline at end of file From 6eab3af3e12271f5c3b6e47f281f25c180b8a3bd Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Tue, 25 May 2021 16:31:45 +0800 Subject: [PATCH 27/30] add option --- .../azext_diskpool/generated/_params.py | 3 ++- src/diskpool/gen.zip | Bin 12264 -> 12264 bytes 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/diskpool/azext_diskpool/generated/_params.py b/src/diskpool/azext_diskpool/generated/_params.py index 282c6a81caa..8dd4b8bbe98 100644 --- a/src/diskpool/azext_diskpool/generated/_params.py +++ b/src/diskpool/azext_diskpool/generated/_params.py @@ -50,7 +50,8 @@ def load_arguments(self, _): c.argument('disks', action=AddDiskPoolCreateDisks, nargs='+', help='List of Azure Managed Disks to attach to a ' 'Disk Pool.') c.argument('subnet_id', type=str, help='Azure Resource ID of a Subnet for the Disk Pool.') - c.argument('additional_capabilities', nargs='+', help='List of additional capabilities for a Disk Pool.') + c.argument('additional_capabilities', options_list=['--additional-capabilities', '-a'], nargs='+', help='List ' + 'of additional capabilities for a Disk Pool.') with self.argument_context('disk-pool update') as c: c.argument('resource_group_name', resource_group_name_type) diff --git a/src/diskpool/gen.zip b/src/diskpool/gen.zip index 58de247e213c2f6c7a21400803a77c834bd8f91b..523bb334ba926c6c781478455e186efb40c5afb4 100644 GIT binary patch delta 51 wcmaD6{~~@v2RqYc=gnR0w Date: Tue, 25 May 2021 16:32:43 +0800 Subject: [PATCH 28/30] add codeowner --- .github/CODEOWNERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 940c7ae84e9..bda2c789d63 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -193,3 +193,5 @@ /src/webpubsub/ @zackliu /src/connectedvmware/ @sanmishra18 + +/src/diskpool/ @Juliehzl From 563347dce35e71d51a94d9dfbdde37ccd77a9c75 Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Tue, 25 May 2021 16:43:15 +0800 Subject: [PATCH 29/30] add service name --- src/service_name.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/service_name.json b/src/service_name.json index 1aca3d20c18..5c646e1b589 100644 --- a/src/service_name.json +++ b/src/service_name.json @@ -114,6 +114,11 @@ "AzureServiceName": "Azure Data Share", "URL": "https://docs.microsoft.com/azure/data-share/" }, + { + "Command": "az disk-pool", + "AzureServiceName": "Azure Disk Pool Service", + "URL": "https://docs.microsoft.com/azure/disk-pool/" + }, { "Command": "az dedicated-hsm", "AzureServiceName": "Azure Dedicated HSM", From 3fbac5b734f0e06751ad75d11907378ab8a1064f Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Tue, 25 May 2021 17:14:34 +0800 Subject: [PATCH 30/30] remove generated test --- .../tests/latest/example_steps.py | 198 ------------------ .../azext_diskpool/tests/latest/preparers.py | 165 --------------- .../tests/latest/test_diskpool_scenario.py | 67 ------ 3 files changed, 430 deletions(-) delete mode 100644 src/diskpool/azext_diskpool/tests/latest/example_steps.py delete mode 100644 src/diskpool/azext_diskpool/tests/latest/preparers.py delete mode 100644 src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py diff --git a/src/diskpool/azext_diskpool/tests/latest/example_steps.py b/src/diskpool/azext_diskpool/tests/latest/example_steps.py deleted file mode 100644 index d5460be9100..00000000000 --- a/src/diskpool/azext_diskpool/tests/latest/example_steps.py +++ /dev/null @@ -1,198 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - - -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_V0" 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/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: /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" ' - '--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: /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) - - -# 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) diff --git a/src/diskpool/azext_diskpool/tests/latest/preparers.py b/src/diskpool/azext_diskpool/tests/latest/preparers.py deleted file mode 100644 index 7fc50485f49..00000000000 --- a/src/diskpool/azext_diskpool/tests/latest/preparers.py +++ /dev/null @@ -1,165 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -import os -from datetime import datetime -from azure_devtools.scenario_tests import SingleValueReplacer -from azure.cli.testsdk.preparers import NoTrafficRecordingPreparer -from azure.cli.testsdk.exceptions import CliTestError -from azure.cli.testsdk.reverse_dependency import get_dummy_cli - - -KEY_RESOURCE_GROUP = 'rg' -KEY_VIRTUAL_NETWORK = 'vnet' -KEY_VNET_SUBNET = 'subnet' -KEY_VNET_NIC = 'nic' - - -class VirtualNetworkPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): - def __init__( - self, - name_prefix='clitest.vn', - parameter_name='virtual_network', - resource_group_name=None, - resource_group_key=KEY_RESOURCE_GROUP, - dev_setting_name='AZURE_CLI_TEST_DEV_VIRTUAL_NETWORK_NAME', - random_name_length=24, - key=KEY_VIRTUAL_NETWORK, - ): - if ' ' in name_prefix: - raise CliTestError('Error: Space character in name prefix \'%s\'' % name_prefix) - super(VirtualNetworkPreparer, self).__init__(name_prefix, random_name_length) - self.cli_ctx = get_dummy_cli() - self.parameter_name = parameter_name - self.key = key - self.resource_group_name = resource_group_name - self.resource_group_key = resource_group_key - self.dev_setting_name = os.environ.get(dev_setting_name, None) - - def create_resource(self, name, **_): - if self.dev_setting_name: - return { - self.parameter_name: self.dev_setting_name, - } - - if not self.resource_group_name: - self.resource_group_name = self.test_class_instance.kwargs.get(self.resource_group_key) - if not self.resource_group_name: - raise CliTestError("Error: No resource group configured!") - - tags = {'product': 'azurecli', 'cause': 'automation', 'date': datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ')} - if 'ENV_JOB_NAME' in os.environ: - tags['job'] = os.environ['ENV_JOB_NAME'] - tags = ' '.join(['{}={}'.format(key, value) for key, value in tags.items()]) - template = 'az network vnet create --resource-group {} --name {} --subnet-name default --tag ' + tags - self.live_only_execute(self.cli_ctx, template.format(self.resource_group_name, name)) - - self.test_class_instance.kwargs[self.key] = name - return {self.parameter_name: name} - - def remove_resource(self, name, **_): - # delete vnet if test is being recorded and if the vnet is not a dev rg - if not self.dev_setting_name: - self.live_only_execute( - self.cli_ctx, - 'az network vnet delete --name {} --resource-group {}'.format(name, self.resource_group_name), - ) - - -class VnetSubnetPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): - def __init__( - self, - name_prefix='clitest.vn', - parameter_name='subnet', - resource_group_key=KEY_RESOURCE_GROUP, - vnet_key=KEY_VIRTUAL_NETWORK, - address_prefixes="11.0.0.0/24", - dev_setting_name='AZURE_CLI_TEST_DEV_VNET_SUBNET_NAME', - key=KEY_VNET_SUBNET, - ): - if ' ' in name_prefix: - raise CliTestError('Error: Space character in name prefix \'%s\'' % name_prefix) - super(VnetSubnetPreparer, self).__init__(name_prefix, 15) - self.cli_ctx = get_dummy_cli() - self.parameter_name = parameter_name - self.key = key - self.resource_group = [resource_group_key, None] - self.vnet = [vnet_key, None] - self.address_prefixes = address_prefixes - self.dev_setting_name = os.environ.get(dev_setting_name, None) - - def create_resource(self, name, **_): - if self.dev_setting_name: - return { - self.parameter_name: self.dev_setting_name, - } - - if not self.resource_group[1]: - self.resource_group[1] = self.test_class_instance.kwargs.get(self.resource_group[0]) - if not self.resource_group[1]: - raise CliTestError("Error: No resource group configured!") - if not self.vnet[1]: - self.vnet[1] = self.test_class_instance.kwargs.get(self.vnet[0]) - if not self.vnet[1]: - raise CliTestError("Error: No vnet configured!") - - self.test_class_instance.kwargs[self.key] = 'default' - return {self.parameter_name: name} - - def remove_resource(self, name, **_): - pass - - -class VnetNicPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): - def __init__( - self, - name_prefix='clitest.nic', - parameter_name='subnet', - resource_group_key=KEY_RESOURCE_GROUP, - vnet_key=KEY_VIRTUAL_NETWORK, - dev_setting_name='AZURE_CLI_TEST_DEV_VNET_NIC_NAME', - key=KEY_VNET_NIC, - ): - if ' ' in name_prefix: - raise CliTestError('Error: Space character in name prefix \'%s\'' % name_prefix) - super(VnetNicPreparer, self).__init__(name_prefix, 15) - self.cli_ctx = get_dummy_cli() - self.parameter_name = parameter_name - self.key = key - self.resource_group = [resource_group_key, None] - self.vnet = [vnet_key, None] - self.dev_setting_name = os.environ.get(dev_setting_name, None) - - def create_resource(self, name, **_): - if self.dev_setting_name: - return { - self.parameter_name: self.dev_setting_name, - } - - if not self.resource_group[1]: - self.resource_group[1] = self.test_class_instance.kwargs.get(self.resource_group[0]) - if not self.resource_group[1]: - raise CliTestError("Error: No resource group configured!") - if not self.vnet[1]: - self.vnet[1] = self.test_class_instance.kwargs.get(self.vnet[0]) - if not self.vnet[1]: - raise CliTestError("Error: No vnet configured!") - - template = 'az network nic create --resource-group {} --name {} --vnet-name {} --subnet default ' - self.live_only_execute(self.cli_ctx, template.format(self.resource_group[1], name, self.vnet[1])) - - self.test_class_instance.kwargs[self.key] = name - return {self.parameter_name: name} - - def remove_resource(self, name, **_): - if not self.dev_setting_name: - self.live_only_execute( - self.cli_ctx, 'az network nic delete --name {} --resource-group {}'.format(name, self.resource_group[1]) - ) diff --git a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py deleted file mode 100644 index 0e14d73a790..00000000000 --- a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py +++ /dev/null @@ -1,67 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -import os -from azure.cli.testsdk import ScenarioTest -from azure.cli.testsdk import ResourceGroupPreparer -from .preparers import VirtualNetworkPreparer -from .. import ( - try_manual, - raise_if, - calc_coverage -) - - -TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) - - -# Env setup_scenario -@try_manual -def setup_scenario(test, rg): - pass - - -# Env cleanup_scenario -@try_manual -def cleanup_scenario(test, rg): - pass - - -# Testcase: Scenario -@try_manual -def call_scenario(test, rg): - setup_scenario(test, rg) - # STEP NOT FOUND: /DiskPools/put/Createxxx - cleanup_scenario(test, rg) - - -# Test class for Scenario -@try_manual -class DiskpoolScenarioTest(ScenarioTest): - - def __init__(self, *args, **kwargs): - super(DiskpoolScenarioTest, self).__init__(*args, **kwargs) - self.kwargs.update({ - 'subscription_id': self.get_subscription_id() - }) - - self.kwargs.update({ - 'myDisk': self.create_random_name(prefix='disk', length=10), - 'zone': "3", - 'myDiskPool': self.create_random_name(prefix='diskpool', length=16), - 'myIscsiTarget': self.create_random_name(prefix='iscsi', length=10), - }) - - @ResourceGroupPreparer(name_prefix='clitestdiskpool_myResourceGroup'[:7], key='rg', parameter_name='rg') - @VirtualNetworkPreparer(name_prefix='clitestdiskpool_myvnet'[:7], key='vn', resource_group_key='rg') - def test_diskpool_Scenario(self, rg): - call_scenario(self, rg) - calc_coverage(__file__) - raise_if()